1 2014-11-19 Roland McGrath <roland@hack.frob.com>
3 * nptl/tst-bad-schedattr.c: New file.
4 * nptl/Makefile (tests): Add it.
6 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7 Florian Weimer <fweimer@redhat.com>
8 Joseph Myers <joseph@codesourcery.com>
9 Adam Conrad <adconrad@0c3.net>
10 Andreas Schwab <schwab@suse.de>
11 Brooks <bmoses@google.com>
14 * wordexp-test.c (__dso_handle): Add prototype.
15 (__register_atfork): Likewise.
16 (__app_register_atfork): New function.
17 (registered_forks): New global.
18 (register_fork): New function.
19 (test_case): Add 3 new tests for WRDE_CMDSUB.
20 (main): Call __app_register_atfork.
21 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22 fork count is non-zero fail the test.
23 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25 (parse_dollars): Remove check for WRDE_NOCMD.
26 (parse_dquote): Likewise.
28 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * Makeconfig (built-modules): List non-library modules to be
32 (module-cppflags): Include libc-modules.h for
33 everything except shlib-versions.v.i.
35 (before-compile): Add libc-modules.h.
36 ($(common-objpfx)libc-modules.h,
37 $(common-objpfx)libc-modules.stmp): New targets.
38 (common-generated): Add libc-modules.h and libc-modules.stmp.
39 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40 * include/libc-symbols.h: Don't include libc-modules.h.
41 * include/libc-modules.h: Remove file.
42 * scripts/gen-libc-modules.awk: New script to generate
44 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
45 Depend on libc-modules.stmp.
47 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
49 * Makeconfig (in-module): Get value of libof set for the
51 (CPPFLAGS): Use $(in-module).
52 * Makerules: Don't suffix routine names for nonlib.
53 * include/libc-modules.h: New file.
54 * include/libc-symbols.h: Include libc-modules.h
55 (IS_IN): New macro to replace IS_IN_* macros.
56 * elf/Makefile: Set libof-* for each routine.
57 * elf/rtld-Rules: Likewise.
58 * extra-modules.mk: Likewise.
59 * iconv/Makefile: Likewise.
60 * iconvdata/Makefile: Likewise.
61 * locale/Makefile: Likewise.
62 * malloc/Makefile: Likewise.
63 * nss/Makefile: Likewise.
64 * sysdeps/gnu/Makefile: Likewise.
65 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
66 * sysdeps/unix/sysv/linux/Makefile: Likewise.
67 * sysdeps/s390/s390-64/Makefile: Likewise.
68 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
69 CPPFLAGS for nscd instead of nonlib.
71 2014-11-18 Roland McGrath <roland@hack.frob.com>
73 * nptl/createthread.c: New file.
75 * nptl/createthread.c: Moved ...
76 * sysdeps/unix/sysv/linux/createthread.c: ... here.
78 * nptl/createthread.c: Add proper top-line comment.
79 (do_clone): Folded into ...
80 (create_thread): ... here. Take new arguments STOPPED_START and
81 THREAD_RAN. Always set PD->stopped_start to something here. Don't
82 increment __nptl_threads, do event-reporting logic, do
83 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
84 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
85 resource cleanup if sched_setaffinity or sched_setscheduler fails,
87 * nptl/pthread_create.c: Forward-declare create_thread before
88 including createthread.c.
89 (start_thread): Use new macro START_THREAD_DEFN to replace defining
90 declaration, and new macro START_THREAD_SELF to replace argument.
91 Remove return statement.
92 (report_thread_creation): New function.
93 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
94 synchronization logic, and __nptl_nthreads increment here, around
95 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
96 PD->parent_cancelhandling here, before create_thread. When
97 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
98 __deallocate_stack, and ENOMEM translation here.
100 2014-11-18 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
104 (mptwo): Rename to __mptwo.
105 (__inv): Use __mptwo instead of mptwo.
106 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
107 (mptwo): Rename to __mptwo.
108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
109 of mpone and __mptwo instead of mptwo.
110 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
113 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
114 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
115 of mpone and __mptwo instead of mptwo.
116 (__mpranred): Use __mpone instead of mpone.
117 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
119 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
120 (test-xfail-ISO99/math.h/linknamespace): Likewise.
121 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
122 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
123 (test-xfail-ISO11/math.h/linknamespace): Likewise.
124 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
125 (test-xfail-XPG3/math.h/linknamespace): Likewise.
126 (test-xfail-XPG4/math.h/linknamespace): Likewise.
127 (test-xfail-POSIX/math.h/linknamespace): Likewise.
128 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
129 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
130 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
131 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
132 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
133 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
134 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
135 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
136 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
137 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
139 2014-11-18 Tom de Vries <tom@codesoucery.com>
141 * manual/signal.texi (Primitives Interrupted by Signals): In section,
142 replace BSD Handler xref with BSD Signal Handling.
144 2014-11-17 Richard Henderson <rth@redhat.com>
146 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
147 (_FP_PACK_RAW_2): Remove.
148 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
149 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
150 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
151 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
152 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
153 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
154 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
155 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
156 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
157 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
158 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
159 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
160 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
161 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
162 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
163 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
165 2014-11-14 Roland McGrath <roland@hack.frob.com>
167 * signal/signal.h [__USE_MISC]
168 (struct sigvec): Remove type.
169 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
170 (sigvec): Remove declaration.
171 * sysdeps/posix/sigvec.c: Moved ...
172 * signal/sigvec.c: ... here, replacing old file.
173 (struct sigvec): New type, copied from old signal.h definition.
174 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
175 (__sigvec): Convert definition to prototype.
176 (sigvec): Replace weak_alias with compat_symbol.
177 * signal/Versions (libc: GLIBC_2.21): New version set.
178 * include/signal.h: Remove __sigvec declaration.
179 * sysdeps/unix/bsd/sigvec.c: Remove file.
180 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
181 * manual/signal.texi (BSD Handler): Remove subsection.
182 Move siginterrupt up to ...
183 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
184 (Blocking in BSD): Fold subsection into its parent.
185 * NEWS: Mention sigvec removal.
187 2014-11-14 Joseph Myers <joseph@codesourcery.com>
189 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
190 (DLA_FMS): Make definition conditional only on [__FMA4__].
191 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
194 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
195 Make definition conditional only on [PROF].
196 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
198 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
199 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
201 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
203 * include/signal.h (__sigpause): Move declaration above call to
205 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
207 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
208 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
210 2014-11-14 David S. Miller <davem@davemloft.net>
212 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
213 Define before including <string/memcpy.c> and <string/mempcpy.c>.
215 2014-11-14 Joseph Myers <joseph@codesourcery.com>
217 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
218 * configure: Regenerated.
219 * manual/install.texi (Tools for Compilation): Document a
220 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
221 compiler verified to work.
222 * INSTALL: Regenerated.
224 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
225 redeclare with asm name.
226 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
227 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
228 including <string.h>.
229 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
230 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
231 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
232 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
233 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
235 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
237 2014-11-13 Joseph Myers <joseph@codesourcery.com>
239 * stdlib/strtol.c (__strtol): Use prototype definition.
242 * stdlib/strtol.c (SYM__): New macro.
244 (__strtol): Likewise.
245 (strtol): Rename to __strtol and define as weak alias of
246 __strtol. Use libc_hidden_weak.
248 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
250 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
251 Use numbered labels in inline assembly.
253 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
255 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
256 Add setjmp LIBC_PROBE.
257 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
259 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
260 Add longjmp, longjmp_target LIBC_PROBE.
261 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
264 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
267 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
268 to get rid of unused variable warning.
270 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
272 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
273 Check for unwind_backtrace == NULL only in SHARED case.
274 (__backchain_backtrace): Compile only in SHARED case.
275 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
277 (__backchain_backtrace): Declare as static.
279 2014-11-12 Roland McGrath <roland@hack.frob.com>
281 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
282 (__libc_multiple_threads_ptr): Variable moved ...
283 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
285 2014-11-12 Joseph Myers <joseph@codesourcery.com>
287 * conform/GlibcConform.pm: New file.
288 * conform/conformtest.pl: Use GlibcConform module.
289 * conform/linknamespace.pl: New file.
290 * conform/list-header-symbols.pl: Likewise.
291 * conform/Makefile (linknamespace-symlists-base): New variable.
292 (linknamespace-symlists-tests): Likewise.
293 (linknamespace-header-base): Likewise.
294 (linknamespace-header-tests): Likewise.
295 (tests-special): Add new tests.
296 ($(linknamespace-symlists-tests)): New rule.
297 (linknamespace-libs): New variable.
298 ($(objpfx)symlist-stdlibs): New rule.
299 ($(linknamespace-header-tests)): Likewise.
300 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
301 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
302 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
303 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
304 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
305 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
306 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
307 (test-xfail-ISO/math.h/linknamespace): Likewise.
308 (test-xfail-ISO/signal.h/linknamespace): Likewise.
309 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
310 (test-xfail-ISO/time.h/linknamespace): Likewise.
311 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
312 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
313 (test-xfail-ISO99/math.h/linknamespace): Likewise.
314 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
315 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
316 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
317 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
318 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
319 (test-xfail-ISO11/math.h/linknamespace): Likewise.
320 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
321 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
322 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
323 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
324 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
325 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
326 (test-xfail-XPG3/math.h/linknamespace): Likewise.
327 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
328 (test-xfail-XPG3/search.h/linknamespace): Likewise.
329 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
330 (test-xfail-XPG3/time.h/linknamespace): Likewise.
331 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
332 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
333 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
334 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
335 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
336 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
337 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
338 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
339 (test-xfail-XPG4/math.h/linknamespace): Likewise.
340 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
341 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
342 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
343 (test-xfail-XPG4/search.h/linknamespace): Likewise.
344 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
345 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
346 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
347 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
348 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
349 (test-xfail-XPG4/time.h/linknamespace): Likewise.
350 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
351 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
352 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
353 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
354 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
355 (test-xfail-POSIX/math.h/linknamespace): Likewise.
356 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
357 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
358 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
359 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
360 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
361 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
362 (test-xfail-POSIX/time.h/linknamespace): Likewise.
363 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
364 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
365 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
366 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
367 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
368 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
369 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
370 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
371 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
372 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
373 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
374 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
375 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
376 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
377 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
378 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
379 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
380 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
381 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
382 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
383 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
384 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
385 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
386 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
387 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
388 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
389 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
390 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
391 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
392 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
393 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
394 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
395 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
396 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
397 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
398 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
399 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
400 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
401 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
402 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
403 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
404 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
405 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
406 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
407 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
408 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
409 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
410 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
411 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
412 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
413 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
414 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
415 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
416 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
417 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
418 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
419 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
420 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
421 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
422 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
423 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
424 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
425 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
426 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
427 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
428 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
429 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
430 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
431 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
432 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
433 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
434 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
435 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
436 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
437 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
438 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
439 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
440 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
441 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
442 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
443 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
444 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
445 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
446 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
447 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
448 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
449 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
450 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
451 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
452 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
453 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
454 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
455 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
456 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
457 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
458 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
459 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
460 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
463 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
467 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
468 (memmem): Rename to __memmem and define as weak alias of
469 __memmem. Use libc_hidden_weak.
470 (__memmem): Use libc_hidden_def.
471 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
472 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
476 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
477 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
478 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
479 and define as weak alias of __fgets_unlocked. Use
481 (__fgets_unlocked): Use libc_hidden_def.
482 * include/stdio.h (__fgets_unlocked): Declare. Use
484 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
485 __fgets_unlocked instead of fgets_unlocked.
486 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
487 (GET_NPROCS_CONF_PARSER): Likewise.
488 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
489 (GET_NPROCS_CONF_PARSER): Likewise.
492 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
493 weak alias of __wmemset. Use libc_hidden_weak.
494 (__wmemset): Use libc_hidden_def.
495 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
496 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
500 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
501 with asm name __mempcpy.
502 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
505 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
506 and define as weak alias of __rawmemchr.
507 (__rawmemchr): Do not define as strong alias of rawmemchr.
510 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
512 (qsort): Call __qsort_r instead of qsort_r.
513 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
514 (__qsort_r): Declare. Call libc_hidden_proto.
515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
517 * nscd/gai.c (__qsort_r): Define to qsort_r.
518 * posix/tst-rfc3484.c (__qsort_r): Likewise.
519 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
520 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
523 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
524 define as weak alias of __malloc_info.
527 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
528 as weak alias of __rewinddir. Don't use libc_hidden_def.
529 (__rewinddir): Use libc_hidden_def.
530 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
531 as weak alias of __rewinddir. Don't use libc_hidden_def.
532 (__rewinddir): Use libc_hidden_def.
533 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
534 weak alias of __rewinddir. Don't use libc_hidden_def.
535 (__rewinddir): Use libc_hidden_def.
536 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
537 (__rewinddir): Use libc_hidden_proto.
538 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
540 (__getcwd): Use __rewinddir instead of rewinddir.
543 * libio/fileno.c (fileno): Rename to __fileno and define as weak
544 alias of __fileno. Use libc_hidden_weak.
545 (__fileno): Use libc_hidden_def.
546 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
547 * libio/ftello.c (ftello): Rename to __ftello and define as weak
549 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
551 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
552 (__fread_unlocked): Define as strong alias of _IO_fread. Use
554 (fread_unlocked): Don't use libc_hidden_ver.
555 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
556 and define as weak alias of __fread_unlocked. Don't use
558 (__fread_unlocked): Use libc_hidden_def.
559 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
560 (ftello): Don't use libc_hidden_proto.
561 (__ftello): Declare. Use libc_hidden_proto.
562 (fread_unlocked): Don't use libc_hidden_proto.
563 (__fread_unlocked): Declare. Use libc_hidden_proto.
564 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
565 and __ftello instead of fileno, fread_unlocked and ftello.
567 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
569 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
573 (_dl_start_user): Likewise.
574 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
576 2014-11-12 Carlos O'Donell <carlos@redhat.com>
577 Siddhesh Poyarekar <siddhesh@redhat.com>
579 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
580 Move argv and envp down instead of moving argc up.
581 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
583 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
586 * test-skeleton.c (main): Return successful if one of
587 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
588 * string/tst-strcoll-overflow.c: Define expected status.
590 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
593 * locale/iso-639.def: Define Bhili and Tulu language codes.
595 2014-11-11 Alan Hayward <alan.hayward@arm.com>
597 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
599 2014-11-10 Renlin Li <Renlin.Li@arm.com>
602 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
604 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
606 * configure.ac: Updated check of minimal required version to
608 * manual/install.texi (Tools for Compilation): Updated version
610 * configure: Regenerated.
613 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
615 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
618 2014-11-07 Joseph Myers <joseph@codesourcery.com>
620 * include/sys/wait.h (__libc_waitpid): Remove declaration.
621 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
622 (__waitpid): Don't define as alias. Use libc_hidden_def not
624 (waitpid): Define as alias of __waitpid.
625 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
627 (__waitpid): Don't define as alias. Use libc_hidden_def not
629 (waitpid): Define as alias of __waitpid.
630 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
631 __libc_waitpid alias.
632 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
635 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
636 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
637 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
639 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
641 (__waitpid): Don't define as alias. Use libc_hidden_def not
643 (waitpid): Define as alias of __waitpid.
645 2014-11-06 Carlos O'Donell <carlos@redhat.com>
647 * manual/llio.texi: Add comment that write safety has been
650 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
651 (localplt-build-dso): Add elf/ld.so.
652 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
653 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
656 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
661 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
662 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
663 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
664 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
665 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
666 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
667 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
668 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
669 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
670 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
671 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
673 2014-11-05 Joseph Myers <joseph@codesourcery.com>
676 * include/libc-symbols.h (INTUSE): Remove macro.
678 (INTVARDEF): Likewise.
679 (_INTVARDEF): Likewise.
681 (INTVARDEF2): Likewise.
682 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
683 rtld_hidden_def instead of INTVARDEF.
684 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
685 (_dl_starting_up_internal): Remove declaration.
686 (_dl_starting_up): Use rtld_hidden_proto.
687 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
689 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
690 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
692 * elf/dl-writev.h (_dl_writev): Likewise.
693 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
694 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
695 _dl_starting_up_internal.
697 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
702 2014-11-05 Will Newton <will.newton@linaro.org>
704 * benchtests/Makefile: (bench-malloc): Add malloc thread
705 scalability benchmark.
706 * benchtests/bench-malloc-threads.c: New file.
708 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
710 * sysdeps/aarch64/strchrnul.S: New file.
712 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
714 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
716 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
718 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
727 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
729 * catgets/test-gencat.c: Use test-skeleton.c.
730 * catgets/tst-catgets.c: Likewise.
731 * csu/tst-empty.c: Likewise.
732 * elf/tst-audit2.c: Likewise.
733 * elf/tst-global1.c: Likewise.
734 * elf/tst-pathopt.c: Likewise.
735 * elf/tst-piemod1.c: Likewise.
736 * elf/tst-tls10.c: Likewise.
737 * elf/tst-tls11.c: Likewise.
738 * elf/tst-tls12.c: Likewise.
739 * gnulib/tst-gcc.c: Likewise.
740 * iconvdata/tst-e2big.c: Likewise.
741 * iconvdata/tst-loading.c: Likewise.
742 * iconv/tst-iconv1.c: Likewise.
743 * iconv/tst-iconv2.c: Likewise.
744 * inet/test-inet6_opt.c: Likewise.
745 * inet/tst-gethnm.c: Likewise.
746 * inet/tst-network.c: Likewise.
747 * inet/tst-ntoa.c: Likewise.
748 * intl/tst-codeset.c: Likewise.
749 * intl/tst-gettext2.c: Likewise.
750 * intl/tst-gettext3.c: Likewise.
751 * intl/tst-ngettext.c: Likewise.
752 * intl/tst-translit.c: Likewise.
753 * io/test-stat.c: Likewise.
754 * libio/test-fmemopen.c: Likewise.
755 * libio/tst-freopen.c: Likewise.
756 * libio/tst-sscanf.c: Likewise.
757 * libio/tst-ungetwc1.c: Likewise.
758 * libio/tst-ungetwc2.c: Likewise.
759 * libio/tst-widetext.c: Likewise.
760 * localedata/tst-ctype.c: Likewise.
761 * localedata/tst-digits.c: Likewise.
762 * localedata/tst-leaks.c: Likewise.
763 * localedata/tst-mbswcs1.c: Likewise.
764 * localedata/tst-mbswcs2.c: Likewise.
765 * localedata/tst-mbswcs3.c: Likewise.
766 * localedata/tst-mbswcs4.c: Likewise.
767 * localedata/tst-mbswcs5.c: Likewise.
768 * localedata/tst-setlocale.c: Likewise.
769 * localedata/tst-trans.c: Likewise.
770 * localedata/tst-wctype.c: Likewise.
771 * localedata/tst-xlocale1.c: Likewise.
772 * login/tst-grantpt.c: Likewise.
773 * malloc/tst-calloc.c: Likewise.
774 * malloc/tst-malloc.c: Likewise.
775 * malloc/tst-mallocstate.c: Likewise.
776 * malloc/tst-mcheck.c: Likewise.
777 * malloc/tst-mtrace.c: Likewise.
778 * malloc/tst-obstack.c: Likewise.
779 * math/atest-exp2.c: Likewise.
780 * math/atest-exp.c: Likewise.
781 * math/atest-sincos.c: Likewise.
782 * math/test-matherr.c: Likewise.
783 * math/test-misc.c: Likewise.
784 * math/test-powl.c: Likewise.
785 * math/tst-definitions.c: Likewise.
786 * misc/tst-dirname.c: Likewise.
787 * misc/tst-efgcvt.c: Likewise.
788 * misc/tst-fdset.c: Likewise.
789 * misc/tst-hsearch.c: Likewise.
790 * misc/tst-mntent2.c: Likewise.
791 * nptl/tst-sem7.c: Likewise.
792 * nptl/tst-sem8.c: Likewise.
793 * nptl/tst-sem9.c: Likewise.
794 * nss/test-netdb.c: Likewise.
795 * posix/tst-fnmatch.c: Likewise.
796 * posix/tst-getlogin.c: Likewise.
797 * posix/tst-gnuglob.c: Likewise.
798 * posix/tst-mmap.c: Likewise.
799 * pwd/tst-getpw.c: Likewise.
800 * resolv/tst-inet_ntop.c: Likewise.
801 * rt/tst-timer.c: Likewise.
802 * stdio-common/test-fseek.c: Likewise.
803 * stdio-common/test-popen.c: Likewise.
804 * stdio-common/test-vfprintf.c: Likewise.
805 * stdio-common/tst-cookie.c: Likewise.
806 * stdio-common/tst-fileno.c: Likewise.
807 * stdio-common/tst-gets.c: Likewise.
808 * stdio-common/tst-obprintf.c: Likewise.
809 * stdio-common/tst-perror.c: Likewise.
810 * stdio-common/tst-sprintf2.c: Likewise.
811 * stdio-common/tst-sprintf3.c: Likewise.
812 * stdio-common/tst-sprintf.c: Likewise.
813 * stdio-common/tst-swprintf.c: Likewise.
814 * stdio-common/tst-tmpnam.c: Likewise.
815 * stdio-common/tst-unbputc.c: Likewise.
816 * stdio-common/tst-wc-printf.c: Likewise.
817 * stdlib/tst-environ.c: Likewise.
818 * stdlib/tst-fmtmsg.c: Likewise.
819 * stdlib/tst-limits.c: Likewise.
820 * stdlib/tst-rand48-2.c: Likewise.
821 * stdlib/tst-rand48.c: Likewise.
822 * stdlib/tst-random2.c: Likewise.
823 * stdlib/tst-random.c: Likewise.
824 * stdlib/tst-strtol.c: Likewise.
825 * stdlib/tst-strtoll.c: Likewise.
826 * stdlib/tst-tls-atexit.c: Likewise.
827 * stdlib/tst-xpg-basename.c: Likewise.
828 * string/test-ffs.c: Likewise.
829 * string/tst-bswap.c: Likewise.
830 * string/tst-inlcall.c: Likewise.
831 * string/tst-strtok.c: Likewise.
832 * string/tst-strxfrm.c: Likewise.
833 * sysdeps/x86_64/tst-audit10.c: Likewise.
834 * sysdeps/x86_64/tst-audit3.c: Likewise.
835 * sysdeps/x86_64/tst-audit4.c: Likewise.
836 * sysdeps/x86_64/tst-audit5.c: Likewise.
837 * time/tst-ftime_l.c: Likewise.
838 * time/tst-getdate.c: Likewise.
839 * time/tst-mktime3.c: Likewise.
840 * time/tst-mktime.c: Likewise.
841 * time/tst-posixtz.c: Likewise.
842 * time/tst-strptime2.c: Likewise.
843 * time/tst-strptime3.c: Likewise.
844 * wcsmbs/tst-btowc.c: Likewise.
845 * wcsmbs/tst-mbrtowc.c: Likewise.
846 * wcsmbs/tst-mbsrtowcs.c: Likewise.
847 * wcsmbs/tst-wchar-h.c: Likewise.
848 * wcsmbs/tst-wcpncpy.c: Likewise.
849 * wcsmbs/tst-wcrtomb.c: Likewise.
850 * wcsmbs/tst-wcsnlen.c: Likewise.
851 * wcsmbs/tst-wcstof.c: Likewise.
853 2014-11-04 Joseph Myers <joseph@codesourcery.com>
856 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
858 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
860 (_dl_mcount): Use rtld_hidden_proto.
861 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
863 * elf/rtld.c (_rtld_global_ro): Likewise.
866 * elf/dl-init.c (_dl_init): Don't use INTDEF.
867 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
868 of _dl_init_internal.
869 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
870 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
871 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
872 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
873 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
874 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
875 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
876 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
877 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
878 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
879 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
880 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
881 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
882 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
883 * sysdeps/tile/dl-start.S (_start): Likewise.
884 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
885 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
888 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
889 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
890 (rtld_progname): Make macro definition unconditional.
891 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
893 (dlmopen_doit): Do not use INTUSE with _dl_argv.
895 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
896 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
897 instead of _dl_argv_internal.
898 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
899 __GI__dl_argv instead of INTUSE(_dl_argv).
900 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
901 __GI__dl_argv instead of _dl_argv_internal.
903 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
904 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
906 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
907 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
909 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
910 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
913 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
915 2014-11-04 Andreas Schwab <schwab@suse.de>
917 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
919 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
922 mtvsrd instruction in binary form.
924 2014-11-03 Andreas Schwab <schwab@suse.de>
927 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
928 for less than MB_LEN_MAX use a local buffer of that size.
929 * libio/tst-fputws.c: New file.
930 * libio/Makefile (tests): Add tst-fputws.
932 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
934 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
935 the size of the fpu_fr.fpu_dregs[] array.
937 2014-11-01 Joseph Myers <joseph@codesourcery.com>
939 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
940 (__nanosleep): Do not define as alias.
941 (nanosleep): Define as alias of __nanosleep.
942 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
943 __libc_nanosleep name.
945 2014-10-31 Joseph Myers <joseph@codesourcery.com>
947 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
948 install.texi in comment.
950 2014-10-31 Torvald Riegel <triegel@redhat.com>
952 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
953 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
954 ... add here and use lwsync or sync ...
955 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
956 ... and add here using lwsync.
958 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
960 * elf/dl-machine-reject-phdr.h: New file.
961 * elf/dl-load.c: #include that.
962 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
963 if that returned true.
965 2014-10-31 Roland McGrath <roland@hack.frob.com>
968 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
969 gen-as-const-headers chunk. Add a big scare comment after the last
970 safe place to touch before-compile.
972 2014-10-31 Joseph Myers <joseph@codesourcery.com>
974 * manual/install.texi (Tools for Compilation): Update autoconf
975 version requirements.
976 * INSTALL: Regenerated.
978 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
979 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
980 (__libc_pselect): Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
988 2014-10-31 Torvald Riegel <triegel@redhat.com>
990 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
991 correct barrier instruction.
992 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
994 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
997 2014-10-30 Roland McGrath <roland@hack.frob.com>
999 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1000 after defining inlines. Instead, just use parens to defeat macro
1001 expansion of __isctype in its declaration.
1003 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1005 * include/sys/uio.h (__libc_readv): Remove declaration.
1006 (__libc_writev): Likewise.
1007 * misc/readv.c (__libc_readv): Rename to __readv.
1008 (__readv): Do not define as alias.
1009 (readv): Define as alias of __readv.
1010 * misc/writev.c (__libc_writev): Rename to __writev.
1011 (__writev): Do not define as alias.
1012 (writev): Define as alias of __writev.
1013 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1014 (__readv): Do not define as alias.
1015 (readv): Define unconditionally as alias of __readv.
1016 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1017 (__writev): Do not define as alias.
1018 (writev): Define unconditionally as alias of __writev.
1019 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1021 (writev): Do not define __libc_writev name.
1023 2014-10-30 Roland McGrath <roland@hack.frob.com>
1025 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1026 (convert_charseq): New function, broken out of ...
1027 (use_from_charmap): ... here. Call it.
1028 (use_to_charmap): Use convert_charseq and free instead of duplicating
1029 its code with a variable-length stack struct.
1031 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1033 * include/fcntl.h (__libc_creat): Remove declaration.
1034 * io/creat.c (__libc_creat): Rename to creat.
1035 (creat): Do not define as alias.
1036 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1037 of creat instead of __libc_creat.
1038 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1040 (creat): Do not define as alias.
1041 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1043 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1048 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1050 * manual/llio.texi: Add comments discussing why write() may be
1051 considered MT-unsafe on Linux.
1053 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1055 * dl-load.c (local_strdup): Remove.
1056 (expand_dynamic_string_token): Use __strdup.
1057 (decompose_rpath): Likewise.
1058 (_dl_map_object): Likewise.
1060 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1063 * sysdeps/generic/unwind-dw2-fde.c
1064 (__register_frame_info_bases_internal): Do not declare.
1065 (__register_frame_info_table_bases_internal): Likewise.
1066 (__deregister_frame_info_bases_internal): Likewise.
1067 (__register_frame_info_bases): Declare and use hidden_proto before
1068 definition. Use hidden_def instead of INTDEF.
1069 (__register_frame_info_table_bases): Likewise.
1070 (__deregister_frame_info_bases): Likewise.
1071 (__register_frame_info): Do not use INTUSE.
1072 (__register_frame): Likewise.
1073 (__register_frame_info_table): Likewise.
1074 (__register_frame_table): Likewise.
1075 (__deregister_frame_info): Likewise.
1076 (__deregister_frame): Likewise.
1078 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1081 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1083 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1085 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1088 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1091 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1092 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1093 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1094 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1095 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1096 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1098 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1099 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1100 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1101 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1102 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1103 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1105 (setfsuid): Likewise.
1106 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1107 (setfsuid): Likewise.
1108 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1109 (setfsuid): Likewise.
1110 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1112 (setfsuid): Likewise.
1113 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1114 (setfsuid): Likewise.
1115 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1117 (setfsuid): Likewise.
1119 2014-10-27 Andreas Schwab <schwab@suse.de>
1122 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1123 check for Slow_SSE4_2 feature bit.
1124 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1125 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1126 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1127 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1129 2014-10-24 Roland McGrath <roland@hack.frob.com>
1131 * configure.ac: Validate compiler version with a empirical test of
1132 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1134 * configure: Regenerated.
1136 * inet/htons.c (htons): Prototypify.
1137 * inet/htonl.c (htonl): Likewise.
1139 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1141 * string/strncat.c (strncat): Improve performance by using strlen.
1143 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1145 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1147 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1149 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1150 Call libc_fetestexcept_aarch64.
1152 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1154 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1155 Call libc_feholdexcept_aarch64.
1157 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1159 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1160 Call get_rounding_mode.
1162 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1164 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1167 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1169 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1172 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1175 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1176 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1177 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1178 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1179 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1180 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1181 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1182 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1183 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1184 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1185 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1187 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1188 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1189 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1190 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1191 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1192 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1193 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1194 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1195 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1197 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1199 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1200 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1201 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1203 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1204 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1205 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1206 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1207 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1208 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1209 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1210 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1211 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1213 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1215 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1217 (geteuid): Likewise.
1220 (getresgid): Likewise.
1221 (getresuid): Likewise.
1222 (getgroups): Likewise.
1223 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1224 (geteuid): Likewise.
1227 (getresgid): Likewise.
1228 (getresuid): Likewise.
1229 (getgroups): Likewise.
1230 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1231 (geteuid): Likewise.
1234 (getresgid): Likewise.
1235 (getresuid): Likewise.
1236 (getgroups): Likewise.
1237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1239 (geteuid): Likewise.
1242 (getresgid): Likewise.
1243 (getresuid): Likewise.
1244 (getgroups): Likewise.
1245 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1246 (geteuid): Likewise.
1249 (getresgid): Likewise.
1250 (getresuid): Likewise.
1251 (getgroups): Likewise.
1252 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1254 (geteuid): Likewise.
1257 (getgroups): Likewise.
1260 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1261 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1262 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1263 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1264 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1266 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1267 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1268 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1269 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1270 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1274 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1281 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1289 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1291 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1294 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1296 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1299 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1301 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1302 Remove unused include.
1304 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1306 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1307 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1308 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1309 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1311 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1312 Helge Deller <deller@gmx.de>
1315 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1316 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1317 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1319 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1322 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1323 Remove macro definition.
1324 (__ashrdi3_v_glibc20): Likewise.
1325 (__lshrdi3_v_glibc20): Likewise.
1326 (__cmpdi2_v_glibc20): Likewise.
1327 (__ucmpdi2_v_glibc20): Likewise.
1328 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1329 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1330 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1331 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1332 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1333 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1335 2014-10-22 Roland McGrath <roland@hack.frob.com>
1337 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1338 old GNU extension [0] syntax.
1339 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1340 alloca rather than an array member with variable length.
1341 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1342 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1343 (parse_opt): ... here. Likewise use alloca there.
1344 Validate the -i argument before checking for rootness.
1345 (send_shutdown): New function, broken out of ...
1346 (parse_opt): ... here.
1348 2014-10-22 Roland McGrath <roland@hack.frob.com>
1350 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1351 macro to get at the _rt_local_ro field.
1352 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1353 ([PIC] case) or _dl_hwcap ([!PIC] case).
1354 * sysdeps/arm/setjmp.S: Likewise.
1356 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1357 * sysdeps/arm/configure.ac: New check to define it.
1358 * sysdeps/arm/configure: Regenerated.
1359 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1360 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1361 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1362 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1363 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1364 Use move/movt pair instead of a load.
1365 (LDST_GLOBAL): Macro removed.
1366 (LDR_GLOBAL): New macro replaces it.
1367 (LDR_HIDDEN): New macro.
1368 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1369 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1371 * setjmp/tst-setjmp-static.c: New file.
1372 * setjmp/Makefile (tests): Add it.
1373 (tests-static): New variable.
1375 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1378 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1380 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1383 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1385 2014-10-21 Roland McGrath <roland@hack.frob.com>
1387 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1389 2014-10-20 Roland McGrath <roland@hack.frob.com>
1391 * io/fts.c (dirent_not_directory): New function.
1392 (fts_build): Call it.
1394 2014-10-20 Roland McGrath <roland@hack.frob.com>
1396 * nptl/version.c (__nptl_main): Use normal __write rather than
1398 (banner): Update copyright years.
1400 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1402 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1403 * nptl/pthread_cond_timedwait.c: Likewise.
1404 * nptl/pthread_mutex_timedlock.c: Likewise.
1405 * nptl/sem_timedwait.c: Likewise.
1407 * sysdeps/nptl/bits/libc-lock.h
1408 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1409 (__libc_lock_init_recursive): Return void, not 0.
1410 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1411 (__libc_rwlock_init): Likewise.
1412 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1414 2014-10-20 Torvald Riegel <triegel@redhat.com>
1417 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1418 (__pthread_once_slow): ... here.
1419 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1420 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1422 2014-10-20 Torvald Riegel <triegel@redhat.com>
1425 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1426 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1427 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1428 * nptl/pthread_once.c (__pthread_once): Likewise.
1431 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1436 (writev): Use __libc_writev as strong name.
1437 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1438 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1440 2014-10-17 Roland McGrath <roland@hack.frob.com>
1442 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1444 * sysdeps/i386/nptl/tls.h
1445 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1446 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1448 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1449 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1450 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1451 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1452 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1453 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1455 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1456 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1458 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1460 (__pthread_mutex_init): ... here. Call it.
1461 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1462 Conditionalize PI cases on [__NR_futex].
1463 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1464 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1465 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1467 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1468 conditional on [SIGSETXID].
1469 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1470 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1471 is defined. Likewise for SIGSETXID.
1472 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1473 Conditionalize definitions on [SIGSETXID].
1474 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1475 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1476 unblocking on [SIGCANCEL].
1478 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1479 [__NR_set_robust_list].
1481 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1483 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1484 (do_compare): Likewise.
1486 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1489 * string/strcoll_l.c: Don't include stdio.h.
1490 (coll_seq): Remove members idxarr and rulearr.
1491 (get_next_seq_cached): Remove function.
1492 (get_next_seq): Likewise.
1493 (get_next_seq_nocache): Rename to get_next_seq.
1494 (do_compare): Remove function.
1495 (do_compare_nocache): Rename to do_compare.
1496 (STRCOLL): Remove weight and rules cache.
1498 2014-10-16 Roland McGrath <roland@hack.frob.com>
1500 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1501 * sysdeps/arm/sfp-machine.h: ... to here.
1502 * sysdeps/arm/Implies: Remove arm/soft-fp.
1504 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1506 * conform/data/sys/utsname.h-data (*_t): Allow.
1507 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1508 [POSIX] (WEXITED): Do not expect constant.
1509 [POSIX] (WSTOPPED): Likewise.
1510 [POSIX] (WNOHANG): Likewise.
1511 [POSIX] (WNOWAIT): Likewise.
1512 [POSIX] (siginfo_t): Do not expect type or elements.
1513 [POSIX] (pid_t): Do not expect type.
1514 [POSIX] (signal.h): Do not allow header.
1515 [POSIX] (sys/resource.h): Likewise.
1516 [POSIX] (si_*): Do not allow pattern.
1517 [POSIX] (W*): Likewise.
1518 [POSIX] (P_*): Likewise.
1519 [POSIX] (BUS_*): Likewise.
1520 [POSIX] (CLD_*): Likewise.
1521 [POSIX] (FPE_*): Likewise.
1522 [POSIX] (ILL_*): Likewise.
1523 [POSIX] (POLL_*): Likewise.
1524 [POSIX] (SEGV_*): Likewise.
1525 [POSIX] (SI_*): Likewise.
1526 [POSIX] (TRAP_*): Likewise.
1527 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1530 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1533 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1534 infinite loop when __recvmsg returns 0.
1536 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1538 * CANCEL-FCT-WAIVE: Remove file.
1539 * CANCEL-FILE-WAIVE: Likewise.
1542 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1543 instead of INTVARDEF.
1544 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1545 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1546 rtld_hidden_data_def instead of INTVARDEF.
1547 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1548 * elf/dl-deps.c (expand_dst): Likewise.
1549 * elf/dl-load.c (_dl_dst_count): Likewise.
1550 (_dl_dst_substitute): Likewise.
1551 (decompose_rpath): Likewise.
1552 (_dl_init_paths): Likewise.
1553 (open_path): Likewise.
1554 (_dl_map_object): Likewise.
1555 * elf/rtld.c (dl_main): Likewise.
1556 (process_dl_audit): Likewise.
1557 (process_envvars): Likewise.
1558 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1560 (__libc_enable_secure): Use rtld_hidden_proto.
1562 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1565 (add_path): New function broken out of _dl_rtld_di_serinfo.
1566 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1568 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1570 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1571 parentheses around macro arguments.
1572 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1574 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1577 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1583 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1584 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1585 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1586 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1587 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1588 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1589 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1590 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1591 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1592 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1597 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1598 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1601 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1602 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1603 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1604 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1605 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1606 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1607 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1610 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1611 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1612 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1614 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1616 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1617 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1618 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1619 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1620 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1621 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1624 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1625 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1627 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1630 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1631 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1632 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1633 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1634 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1635 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1636 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1637 (_FP_FRAC_SRS_1): Likewise.
1638 (_FP_FRAC_CLZ_1): Likewise.
1639 (_FP_MUL_MEAT_1_imm): Likewise.
1640 (_FP_MUL_MEAT_1_wide): Likewise.
1641 (_FP_MUL_MEAT_1_hard): Likewise.
1642 (_FP_SQRT_MEAT_1): Likewise.
1643 (_FP_FRAC_ASSEMBLE_1): Likewise.
1644 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1645 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1646 (__FP_CLZ_2): Likewise.
1647 (_FP_MUL_MEAT_2_wide): Likewise.
1648 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1649 (_FP_MUL_MEAT_2_gmp): Likewise.
1650 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1651 (_FP_SQRT_MEAT_2): Likewise.
1652 (_FP_FRAC_ASSEMBLE_2): Likewise.
1653 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1654 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1655 (_FP_FRAC_CLZ_4): Likewise.
1656 (_FP_MUL_MEAT_4_wide): Likewise.
1657 (_FP_MUL_MEAT_4_gmp): Likewise.
1658 (_FP_SQRT_MEAT_4): Likewise.
1659 (_FP_FRAC_ASSEMBLE_4): Likewise.
1660 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1661 * soft-fp/op-common.h (_FP_CMP): Likewise.
1662 (_FP_CMP_EQ): Likewise.
1663 (_FP_CMP_UNORD): Likewise.
1664 (_FP_TO_INT): Likewise.
1665 (_FP_FROM_INT): Likewise.
1666 [!__FP_CLZ] (__FP_CLZ): Likewise.
1667 (_FP_DIV_HELP_imm): Likewise.
1668 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1675 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1679 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1681 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1682 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1683 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1684 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1685 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1686 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1689 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1690 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1699 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1701 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1702 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1703 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1704 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1705 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1706 (FP_UNPACK_RAW_SP): Likewise.
1707 (FP_PACK_RAW_S): Likewise.
1708 (FP_PACK_RAW_SP): Likewise.
1709 (FP_UNPACK_S): Likewise.
1710 (FP_UNPACK_SP): Likewise.
1711 (FP_UNPACK_SEMIRAW_S): Likewise.
1712 (FP_UNPACK_SEMIRAW_SP): Likewise.
1713 (FP_PACK_S): Likewise.
1714 (FP_PACK_SP): Likewise.
1715 (FP_PACK_SEMIRAW_S): Likewise.
1716 (FP_PACK_SEMIRAW_SP): Likewise.
1717 (_FP_SQRT_MEAT_S): Likewise.
1718 (FP_CMP_S): Likewise.
1719 (FP_CMP_EQ_S): Likewise.
1720 (FP_CMP_UNORD_S): Likewise.
1721 (FP_TO_INT_S): Likewise.
1722 (FP_FROM_INT_S): Likewise.
1724 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1726 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1727 (FP_EX_INVALID_IMZ): Likewise.
1728 (FP_EX_INVALID_IMZ_FMA): Likewise.
1729 (FP_EX_INVALID_ISI): Likewise.
1730 (FP_EX_INVALID_ZDZ): Likewise.
1731 (FP_EX_INVALID_IDI): Likewise.
1732 (FP_EX_INVALID_SQRT): Likewise.
1733 (FP_EX_INVALID_CVI): Likewise.
1734 (FP_EX_INVALID_VC): Likewise.
1735 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1736 "invalid" exceptions.
1737 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1738 (_FP_ADD_INTERNAL): Likewise.
1739 (_FP_MUL): Likewise.
1740 (_FP_FMA): Likewise.
1741 (_FP_DIV): Likewise.
1742 (_FP_CMP_CHECK_NAN): Likewise.
1743 (_FP_SQRT): Likewise.
1744 (_FP_TO_INT): Likewise.
1745 (FP_EXTEND): Likewise.
1747 2014-10-09 Allan McRae <allan@archlinux.org>
1749 * po/fr.po: Update French translation from translation project.
1751 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1754 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1756 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1757 (__cxa_atexit): Use libc_hidden_proto.
1758 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1761 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1763 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1764 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1765 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1766 [!_ISOMAC] (__iswctype_internal): Likewise.
1767 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1768 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1770 (fcntl): Remove __fcntl_internal alias.
1771 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1772 __connect_internal alias.
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1776 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1777 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1779 (_FP_CHECK_FLUSH_ZERO): New macro.
1780 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1781 (_FP_CMP): Likewise.
1782 (_FP_CMP_EQ): Likewise.
1783 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1785 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1786 (FP_TRUNC): Likewise.
1788 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1789 treated as invalid conversion, not as normal exponent.
1791 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1792 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1793 (_FP_CMP_EQ): Likewise.
1794 (_FP_CMP_UNORD): Likewise.
1795 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1796 (FP_CMP_EQ_D): Likewise.
1797 (FP_CMP_UNORD_D): Likewise.
1798 * soft-fp/extended.h (FP_CMP_E): Likewise.
1799 (FP_CMP_EQ_E): Likewise.
1800 (FP_CMP_UNORD_E): Likewise.
1801 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1802 (FP_CMP_EQ_Q): Likewise.
1803 (FP_CMP_UNORD_Q): Likewise.
1804 * soft-fp/single.h (FP_CMP_S): Likewise.
1805 (FP_CMP_EQ_S): Likewise.
1806 (FP_CMP_UNORD_S): Likewise.
1807 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1808 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1809 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1810 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1811 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1812 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1813 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1814 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1815 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1816 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1817 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1818 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1819 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1821 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1823 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1824 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1826 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1828 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1829 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1830 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1831 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1833 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1835 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1836 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1838 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1840 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1841 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1842 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1843 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1846 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1847 a subnormal result, set the underflow exception if trapping on
1848 underflow is enabled.
1849 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1850 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1851 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1853 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1854 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1855 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1856 * soft-fp/extendxftf2.c (__extendxftf2): Use
1857 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1859 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1860 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1861 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1862 FP_HANDLE_EXCEPTIONS.
1863 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1864 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1865 FP_HANDLE_EXCEPTIONS.
1866 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1867 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1868 FP_HANDLE_EXCEPTIONS.
1869 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1870 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1871 FP_HANDLE_EXCEPTIONS.
1873 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1876 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1877 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1879 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1880 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1882 (__adjtimex): Define using libc_hidden_ver.
1883 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1885 (ntp_gettime): Call __adjtimex directly.
1886 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1888 (ntp_gettimex): Call __adjtimex directly.
1889 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1890 __adjtimex_internal alias.
1892 2014-10-08 Roland McGrath <roland@hack.frob.com>
1895 * nscd/nscd.c (more_help): Rewrite list of tables collection
1896 using xstrdup and asprintf.
1898 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1900 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1901 Roland McGrath <roland@hack.frob.com>
1903 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1904 (do_lookup_unique): ... local function 'enter' here; update callers.
1906 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1908 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1909 compat_symbol calls on [SHARED].
1910 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1911 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1913 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1914 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1915 (oldsetrlimit): Remove.
1916 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1918 (lchown): New syscall entry.
1919 (oldsetrlimit): Remove.
1920 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1922 (oldsetrlimit): Remove.
1923 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1926 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1927 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1928 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1929 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1930 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1931 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1933 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1938 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1941 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1942 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1943 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1944 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1946 (__old_sem_post): Likewise.
1948 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1950 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1951 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1952 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1953 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1954 Use INLINE_VSYSCALL macro.
1955 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1956 __vdso_clock_gettime.
1957 * sysdeps/unix/sysv/linux/tile/init-first.c
1958 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1959 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1960 __vdso_clock_gettime.
1962 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1963 to set up frame more cleanly.
1965 * sysdeps/tile/memcmp.c: New file.
1967 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1969 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1970 * sysdeps/tile/tilegx/strcasestr.c: New file.
1971 * sysdeps/tile/tilegx/strnlen.c: New file.
1972 * sysdeps/tile/tilegx/strstr.c: New file.
1974 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1976 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1978 * nptl/tst-setuid3.c: Write errors to stdout.
1980 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1983 (preload): New functions broken out of _dl_map_object_deps.
1984 (_dl_map_object_deps): Remove a nested function. Update call sites.
1986 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1989 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1990 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1992 2014-10-01 Steve Ellcey <sellcey@mips.com>
1994 * sysdeps/mips/strcmp.S: New.
1996 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1999 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2001 (mkdirat): Likewise.
2002 (readlinkat): Likewise.
2003 (renameat): Likewise.
2004 (symlinkat): Likewise.
2005 (unlinkat): Likewise.
2006 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2007 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2008 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2009 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2010 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2011 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2012 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2014 2014-09-30 Will Newton <will.newton@linaro.org>
2016 * math/math.h: Define long double math functions if
2017 _LIBC_TEST is defined.
2018 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2020 * localedata/Makefile: Move assignment to tests-special
2021 into an ifdef testing run-built-tests.
2022 * timezone/Makefile: Likewise.
2024 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2026 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2027 with $(BASH) not $(SHELL).
2029 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2030 Matthew LeGendre <legendre1@llnl.gov>
2033 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2036 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2038 * stdio-common/printf_fp.c
2039 (hack_digit): New function, broken out of ...
2040 (__printf_fp): ... local function here. Update call sites.
2041 hack_digit now takes an additional parameter that is a pointer
2042 to a struct of the referenced locals. Those locals moved inside
2043 the struct and references updated.
2045 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2047 * aclocal.m4: Require autoconf 2.69.
2048 * configure: Regenerated.
2049 * sysdeps/aarch64/configure: Likewise.
2050 * sysdeps/alpha/configure: Likewise.
2051 * sysdeps/arm/armv7/configure: Likewise.
2052 * sysdeps/arm/configure: Likewise.
2053 * sysdeps/ia64/configure: Likewise.
2054 * sysdeps/mach/configure: Likewise.
2055 * sysdeps/mips/configure: Likewise.
2056 * sysdeps/s390/configure: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2060 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2062 * sysdeps/ia64/configure.ac: Likewise.
2064 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2067 specify symbol version for ld.so. Do not include entry for
2069 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2074 * Makeconfig [$(build-shared) = yes]
2075 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2077 [$(build-shared) = yes && $(soversions.mk-done) = t]
2078 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2079 [$(build-shared) = yes && $(soversions.mk-done) = t]
2080 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2082 [$(build-shared) = yes && $(soversions.mk-done) = t]
2083 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2085 [$(build-shared) = yes && $(soversions.mk-done) = t]
2086 (common-generated): Don't append gnu/lib-names.h and
2087 gnu/lib-names.stmp here.
2088 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2089 (lib-names-h-abi): New variable.
2090 [$(build-shared) = yes && $(soversions.mk-done) = t]
2091 (lib-names-stmp-abi): Likewise.
2092 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2093 abi-variants] (before-compile): Append
2094 $(common-objpfx)$(lib-names-h-abi).
2095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2096 abi-variants] (common-generated): Append gnu/lib-names.h.
2097 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2098 abi-variants] (install-others-nosubdir): Depend on
2099 $(inst_includedir)/$(lib-names-h-abi).
2100 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2101 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2102 [$(build-shared) = yes && $(soversions.mk-done) = t]
2103 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2104 [$(build-shared) = yes && $(soversions.mk-done) = t]
2105 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2106 [$(build-shared) = yes && $(soversions.mk-done) = t]
2107 (common-generated): Append $(lib-names-h-abi) and
2108 $(lib-names-stmp-abi).
2109 * scripts/lib-names.awk: Do not handle multi being set.
2110 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2112 (abi-lp64_be-ld-soname): Likewise.
2113 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2115 (abi-hard-ld-soname): Likewise.
2116 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2117 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2119 (abi-o32_hard-ld-soname): Likewise.
2120 (abi-o32_soft_2008-ld-soname): Likewise.
2121 (abi-o32_hard_2008-ld-soname): Likewise.
2122 (abi-n32_soft-ld-soname): Likewise.
2123 (abi-n32_hard-ld-soname): Likewise.
2124 (abi-n32_soft_2008-ld-soname): Likewise.
2125 (abi-n32_hard_2008-ld-soname): Likewise.
2126 (abi-n64_soft-ld-soname): Likewise.
2127 (abi-n64_hard-ld-soname): Likewise.
2128 (abi-n64_soft_2008-ld-soname): Likewise.
2129 (abi-n64_hard_2008-ld-soname): Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2132 (abi-64-v2-ld-soname): Likewise.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2135 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2137 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2139 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2141 (abi-64-ld-soname): Likewise.
2142 (abi-x32-ld-soname): Likewise.
2143 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2145 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2147 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2150 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2151 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2152 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2154 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2155 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2156 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2157 syscall entry for GLIBC_2.2 symbol version.
2158 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2161 (setrlimit): Likewise.
2162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2165 2014-09-23 Will Newton <will.newton@linaro.org>
2167 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2168 _LINUX_ARM_SYSDEP_H include guard too.
2169 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2172 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2174 * sysdeps/unix/sysv/linux/eventfd.c:
2175 Make first argument unsigned.
2176 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2177 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2179 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2181 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2182 * socket/sys/socket.h: Likewise
2183 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2185 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2187 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2189 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2191 * time/tst-ftime.c: New test.
2192 * time/Makefile (tests): Add tst-ftime.
2194 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2196 * soft-fp/extended.h: Fix comment formatting.
2197 * soft-fp/op-1.h: Likewise.
2198 * soft-fp/op-2.h: Likewise.
2199 * soft-fp/op-4.h: Likewise.
2200 * soft-fp/op-8.h: Likewise.
2201 * soft-fp/op-common.h: Likewise.
2202 * soft-fp/soft-fp.h: Likewise.
2204 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2206 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2209 * Makeconfig (soversions-default-setname): Remove variable.
2210 ($(common-objpfx)soversions.i): Don't pass default_setname to
2212 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2213 oldest_abi to abi-versions.awk.
2214 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2215 * config.make.in (oldest-abi): Remove variable.
2216 * configure.ac (--enable-oldest-abi): Remove configure option.
2217 * configure: Regenerated.
2218 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2220 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2221 * scripts/soversions.awk: Do not handle default_setname variable.
2222 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2224 * sysdeps/mach/hurd/configure: Regenerated.
2225 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2227 * sysdeps/unix/sysv/linux/configure: Regenerated.
2229 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * elf/Makefile (CFLAGS-interp.c): Remove.
2232 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2234 * elf/interp.c: Include generated runtime-linker.h
2236 * Makerules (lib%.so): Don't include $(+interp) in
2238 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2239 * dlfcn/eval.c: Remove file.
2241 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2245 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2249 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2251 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2252 Jakub Jelinek <jakub@redhat.com>
2255 * libio/stdio.h: Check definition of __fortify_function
2256 instead of __extern_always_inline to include bits/stdio2.h.
2257 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2258 check if __extern_always_inline is defined.
2259 [__USE_MISC || __USE_XOPEN]: Likewise.
2260 [__USE_ISOC99] Likewise.
2261 * misc/sys/cdefs.h (__fortify_function): Define only if
2262 __extern_always_inline is defined.
2263 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2264 __extern_always_inline and __extern_inline only for g++-4.3
2265 and newer or a compatible gcc.
2267 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2270 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2271 last change to handle zero prefix length.
2273 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2275 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2278 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2281 2014-09-13 Allan McRae <allan@archlinux.org>
2283 * po/ru.po: Update Russian translation from translation project.
2285 2014-09-12 Roland McGrath <roland@hack.frob.com>
2287 * locale/programs/locale.c (show_locale_vars): Inline local function
2288 into its sole call site. Clean up some style nits.
2289 (print_item): New function, broken out of ...
2290 (show_info): ... local function here. Clean up style nits.
2292 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2294 (set_class_defaults): ... local function set_default here.
2295 Define set_default as a macro locally to pass constant parameters.
2296 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2297 rather than a shared local.
2299 * stdlib/rpmatch.c (try): New function, broken out of ...
2300 (rpmatch): ... local function here. Also, prototypify definition.
2302 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2304 * scripts/soversions.awk: Do not handle configuration names.
2305 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2306 vendor and os variables to soversions.awk.
2307 * configure.ac: Do not modify gnu-* host_os.
2308 * configure: Regenerated
2309 * shlib-versions: Remove first column with configuration names.
2310 * nptl/shlib-versions: Likewise.
2311 * nptl_db/shlib-versions: Likewise.
2312 * sysdeps/hppa/shlib-versions: Likewise.
2313 * sysdeps/m68k/shlib-versions: Likewise.
2314 * sysdeps/mach/hurd/shlib-versions: Likewise.
2315 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2316 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2317 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2318 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2319 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2320 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2321 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2322 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2325 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2326 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2327 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2330 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2331 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2332 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2335 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2338 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2340 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2342 * shlib-versions: Remove OS-specific entries. Moved to files in
2344 * sysdeps/mach/hurd/shlib-versions: New file.
2345 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2347 * nptl/shlib-versions: Remove architecture-specific entries.
2348 Moved to files in sysdeps.
2349 * shlib-versions: Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2352 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2357 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2358 (UDP_NO_CHECK6_RX): Likewise.
2360 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2362 * sysdeps/posix/sysconf.c (__sysconf): Spell
2363 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2365 2014-08-12 Florian Weimer <fweimer@redhat.com>
2367 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2369 * iconv/Versions (__gconv_transliterate): Export for use from
2371 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2372 (struct __gconv_trans_data, __gconv_trans_fct,
2373 __gconv_trans_context_fct, __gconv_trans_query_fct,
2374 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2376 (struct __gconv_step_data): Remove __trans member.
2377 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2378 longer hidden. Remove unused trans_data argument.
2379 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2380 (__gconv_translit_find): Remove declaration.
2381 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2383 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2384 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2385 trans_data argument. Add hidden definition.
2386 (__gconv_translit_find): Remove.
2387 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2388 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2389 * iconv/skeleton.c: Remove transliteration initialization.
2390 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2391 __gconv_step_data initialization.
2392 * libio/iofwide.c (__libio_translit_): Remove.
2393 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2394 * wcsmbs/btowc.c (__btowc): Likewise.
2395 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2396 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2397 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2398 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2399 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2400 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2401 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2402 * wcsmbs/wctob.c (wctob): Likewise.
2404 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2407 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2408 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2410 * sysdeps/x86/Makefile: Adjust.
2412 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2413 Roland McGrath <roland@hack.frob.com>
2415 * locale/weight.h: Add include guard.
2416 (findidx): Make static rather than auto; take new parameters
2417 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2418 * locale/weightwc.h: Likewise.
2419 * posix/fnmatch_loop.c
2420 (FCT): Change type of EXTRA from int32_t to wint_t.
2421 Don't include either header inside the function.
2422 Call FINDIDX rather than findidx, and pass new arguments.
2423 #undef FINDIDX at the end of the file.
2424 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2425 FINDIDX before including fnmatch_loop.c for the non-wide version.
2426 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2427 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2428 for the wide version.
2429 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2430 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2431 Pass new arguments to findidx.
2432 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2433 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2434 Don't #include it inside the function. Pass new arguments to findidx.
2435 * posix/regex_internal.h
2436 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2437 (re_string_elem_size_at): Don't #include it inside the function.
2438 Pass new arguments to findidx.
2439 * string/strcoll_l.c: #include WEIGHT_H at top level.
2440 (get_next_seq): Don't #include it inside the function.
2441 Pass new arguments to findidx.
2442 (get_next_seq_nocache): Likewise.
2443 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2444 (STRXFRM): Don't #include it inside the function.
2445 Pass new arguments to findidx.
2447 2014-09-11 Florian Weimer <fweimer@redhat.com>
2450 * malloc/malloc.c (unlink): Turn asserts into a call to
2453 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2456 * libio/wfileops (do_ftell_wide): Free OUT.
2458 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2460 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2462 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2465 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2466 group if the current group is empty.
2468 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2470 * benchtests/bench-memset.c (test_main): Add more test from size
2471 from 32 to 512 bytes.
2472 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2473 Add POWER8 memset object.
2474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2476 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2478 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2480 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2481 multiarch POWER8 memset optimization.
2482 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2483 POWER8 memset optimization.
2485 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2486 Remove bzero multiarch objects.
2487 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2488 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2492 [__bzero]: Redefine to specific name.
2493 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2497 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2498 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2500 2014-09-10 Florian Weimer <fweimer@redhat.com>
2502 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2503 warnings into errors.
2505 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2506 __cxa_thread_atexit_impl prototype.
2508 2014-09-09 Steve Ellcey <sellcey@mips.com>
2510 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2511 Fix capitalization of error message.
2513 2014-09-09 Steve Ellcey <sellcey@mips.com>
2515 * sysdeps/mips/preconfigure: Modify ABI tests.
2517 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2519 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2521 2014-09-07 Roland McGrath <roland@hack.frob.com>
2522 Carlos O'Donell <carlos@systemhalted.org>
2524 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2525 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2526 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2527 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2528 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2529 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2530 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2531 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2532 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2533 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2534 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2535 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2536 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2537 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2538 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2539 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2540 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2541 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2542 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2543 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2545 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2546 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2547 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2548 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2549 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2550 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2551 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2552 Deconditionalize the code that was previously under [RESET_PID].
2553 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2554 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2555 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2556 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2559 2014-09-08 Allan McRae <allan@archlinux.org>
2561 * version.h (RELEASE): Set to "development".
2562 (VERSION): Set to "2.20.90"
2564 2014-09-07 Allan McRae <allan@archlinux.org
2566 * version.h (RELEASE): Set to "stable".
2567 (VERSION): Set to "2.20"
2568 * include/features.h (__GLIBC_MINOR__): Set to 20.
2570 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2573 * po/ko.po: Update Korean translation from translation project.
2575 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2578 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2579 macro for handling signed relocations.
2581 2014-09-03 Florian Weimer <fweimer@redhat.com>
2584 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2585 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2587 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2588 * iconvdata/ibm935.c (BODY): Likewise.
2589 * iconvdata/ibm937.c (BODY): Likewise.
2590 * iconvdata/ibm939.c (BODY): Likewise.
2591 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2593 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2595 * iconvdata/run-iconv-test.sh: New test loop for checking for
2598 2014-09-02 Khem Raj <raj.khem@gmail.com>
2600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2603 2014-09-01 Allan McRae <allan@archlinux.org>
2605 * po/eo.po: Update Esperanto translation from translation project.
2607 * po/ca.po: Update Catalan translation from translation project.
2609 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2611 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2614 2014-08-27 Mark Wielaard <mjw@redhat.com>
2617 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2618 to call set_thread_area instead of hand written asm.
2619 (__NR_set_thread_area): Removed define.
2620 (TLS_FLAG_WRITABLE): Likewise.
2621 (__ASSUME_SET_THREAD_AREA): Remove check.
2622 (TLS_EBX_ARG): Remove define.
2623 (TLS_LOAD_EBX): Likewise.
2625 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2627 Simplify atomicity of socket creation in bind.
2629 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2630 looking up the name after linking the file.
2632 2014-08-27 Allan McRae <allan@archlinux.org>
2634 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2636 2014-08-26 Florian Weimer <fweimer@redhat.com>
2639 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2640 trans_compare, open_translit, __gconv_translit_find):
2641 Remove module loading code.
2643 2014-08-26 Allan McRae <allan@archlinux.org>
2645 * po/vi.po: Update Vietnamese translation from translation project.
2647 * po/uk.po: Update Ukrainian translation from translation project.
2649 * po/fr.po: Update French translation from translation project.
2651 * po/ru.po: Update Russian translation from translation project.
2653 * po/pl.po: Update Polish translation from translation project.
2655 * po/cs.po: Update Czech translation from translation project.
2657 * po/de.po: Update German translation from translation project.
2659 * po/bg.po: Update Bulgarian translation from translation project.
2661 * po/sv.po: Update Sweedish translation from translation project.
2663 * po/nl.po: Update Dutch translation from translation project.
2665 * po/es.po: Update Spanish translation from translation project.
2667 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2669 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2671 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2672 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2673 (CPPFLAGS-iconvconfig): Likewise.
2674 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2676 * include/libc-symbols.h: Remove unnecessary check for
2678 * nptl/pthreadP.h: Likewise.
2679 * sysdeps/aarch64/setjmp.S: Likewise.
2680 * sysdeps/alpha/setjmp.S: Likewise.
2681 * sysdeps/arm/sysdep.h: Likewise.
2682 * sysdeps/i386/setjmp.S: Likewise.
2683 * sysdeps/m68k/setjmp.c: Likewise.
2684 * sysdeps/posix/getcwd.c: Likewise.
2685 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2686 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2687 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2688 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2689 * sysdeps/sh/sh3/setjmp.S: Likewise.
2690 * sysdeps/sh/sh4/setjmp.S: Likewise.
2691 * sysdeps/unix/alpha/sysdep.h: Likewise.
2692 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2694 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2695 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2700 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2703 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2705 * sysdeps/x86_64/setjmp.S: Likewise.
2707 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2710 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2712 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2713 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2715 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2717 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2720 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2721 and __x86_64__ when disabling x87 inline functions.
2723 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2726 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2727 asm statement with __cpuid_count.
2729 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2731 * configure.ac: Change __ehdr_start code to dereference the struct.
2732 Run readelf on the output to look for relocations.
2733 * configure: Regenerated.
2735 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2738 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2740 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2742 2014-08-12 Roland McGrath <roland@hack.frob.com>
2744 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2746 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2749 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2750 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2752 2014-08-12 Sean Anderson <seanga2@gmail.com>
2754 * malloc/malloc.c: Fix typo in comment.
2756 2014-08-09 Allan McRae <allan@archlinux.org>
2758 * Regenerate libc.po.
2760 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2762 * intl/tst-gettext2.sh: Check every lang file for creation.
2764 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2766 * sysdeps/aarch64/fpu/math_private.h
2767 (libc_feholdsetround_noex_aarch64_ctx): New function.
2769 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2771 * sysdeps/arm/armv6/strcpy.S (strcpy):
2772 Fix performance issue in misaligned cases.
2774 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2776 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2777 Move definition from termios.h.
2778 (struct termio): Likewise.
2779 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2780 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2781 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2782 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2784 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2785 Move definition to ioctl-types.h
2786 (struct termio): Likewise.
2787 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2788 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2789 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2790 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2793 2014-08-05 Richard Henderson <rth@redhat.com>
2795 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2797 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2799 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2800 Use __feraiseexcept.
2801 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2802 Protect libm symbols with IS_IN_libm.
2804 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2806 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2808 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2810 2014-08-04 Will Newton <will.newton@linaro.org>
2812 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2815 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2817 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2818 variants for each function.
2820 2014-08-04 Roland McGrath <roland@hack.frob.com>
2822 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2824 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2825 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2827 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2828 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2829 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2830 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2831 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2832 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2833 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2834 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2835 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2836 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2837 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2838 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2839 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2841 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2843 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2845 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2847 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2849 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2863 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2864 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2865 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2866 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2867 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2868 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2869 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2870 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2871 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2873 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2875 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2876 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2877 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2878 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2879 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2881 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2882 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2884 2014-08-04 Roland McGrath <roland@hack.frob.com>
2886 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2887 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2888 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2889 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2890 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2891 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2893 2014-08-04 Roland McGrath <roland@hack.frob.com>
2895 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2896 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2897 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2898 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2900 2014-08-04 Roland McGrath <roland@hack.frob.com>
2902 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2903 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2904 (__libc_vfork): Define function under this name.
2905 (__vfork): Define as an alias.
2906 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2907 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2909 2014-08-04 Roland McGrath <roland@hack.frob.com>
2911 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2912 that was previously under [RESET_PID].
2913 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2915 2014-08-04 Andreas Schwab <schwab@suse.de>
2917 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2919 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2921 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2924 2014-08-01 Roland McGrath <roland@hack.frob.com>
2926 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2928 2014-08-01 Richard Henderon <rth@redhat.com>
2930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2931 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2932 typo in exact zero test.
2933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2937 2014-08-01 Roland McGrath <roland@hack.frob.com>
2939 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2940 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2941 * sysdeps/arm/sysdep.h: ... here.
2942 [!__ASSEMBLER__]: Include <stdint.h>.
2944 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2947 (HAVE_WCTYPE_H): Likewise.
2948 (HAVE_ISWCTYPE): Likewise.
2949 (ENABLE_NLS): Likewise.
2950 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2951 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2953 * posix/regex_internal.c: Check if DEBUG is defined and is
2956 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2957 (HAVE_MBSRTOWCS): Likewise.
2958 * posix/fnmatch.c: Include string.h unconditionally.
2960 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2962 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2965 2014-07-31 Roland McGrath <roland@hack.frob.com>
2967 * sysdeps/generic/safe-fatal.h: New file.
2968 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2969 * nptl/forward.c: Include it.
2970 (__pthread_unwind): Use __safe_fatal as default action, rather
2971 than a bogus use of INTERNAL_SYSCALL that could never work.
2973 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2974 * configure.ac (libc_cv_builtin_trap): New test.
2975 * configure: Regenerated.
2976 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2977 (ABORT_INSTRUCTION): Define using __builtin_trap.
2979 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2980 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2981 * sysdeps/nptl/nptl-signals.h: New file.
2982 * nptl/pthreadP.h: Include <nptl-signals.h>.
2984 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2986 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2987 (ONE_DIRECTION): Define.
2988 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2989 (ONE_DIRECTION): Define.
2990 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2991 (ONE_DIRECTION): Define.
2993 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2995 * sysdeps/s390/Makefile: Delete file.
2996 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2997 * sysdeps/s390/__longjmp.c: Delete file.
2998 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2999 Remove fields __flags and __reserved.
3000 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3002 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3003 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3004 * sysdeps/s390/rtld-setjmp.S: Likewise.
3005 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3006 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3007 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3008 * sysdeps/s390/s390-32/setjmp.S: ... here.
3010 (__sigsetjmp): Remove setting __flags field.
3011 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3012 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3013 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3014 * sysdeps/s390/s390-64/setjmp.S: ... here.
3016 (__sigsetjmp): Remove setting __flags field.
3017 * sysdeps/s390/setjmp.S: Delete file.
3018 * sysdeps/s390/sigjmp.c: Likewise.
3019 * sysdeps/s390/v1-longjmp.c: Likewise.
3020 * sysdeps/s390/v1-setjmp.h: Likewise.
3021 * sysdeps/s390/v1-sigjmp.c: Likewise.
3022 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3023 Remove v1-longjmp_chk.
3024 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3025 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3026 Include debug/longjmp_chk.c and add versioning.
3027 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3028 Include nptl/pt-longjmp.c and add versioning.
3029 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3030 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3031 Include __longjmp.c.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3034 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3035 (__getcontext): Remove setting __flags field.
3037 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3038 Don't restore upper high grps.
3039 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3041 (__swapcontext): Remove setting uc_flags field.
3042 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3044 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3045 Include __longjmp.c.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3048 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3049 (__getcontext): Remove setting __flags field.
3051 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3052 (__swapcontext): Remove setting uc_flags field.
3053 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3054 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3055 Remove fields uc_high_gprs and __reserved.
3056 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3057 New file with reverted content.
3058 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3059 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3061 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3064 2014-07-31 Andreas Schwab <schwab@suse.de>
3066 * config.h.in (HAVE_IFUNC): Define to 0.
3067 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3070 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3073 memmove-avx-unaligned, memcpy-avx-unaligned and
3074 mempcpy-avx-unaligned.
3075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3076 Add tests for AVX memcpy functions.
3077 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3078 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3080 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3081 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3083 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3084 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3086 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3087 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3088 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3090 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3093 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3096 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3099 * manual/llio.texi: Add section about open file description locks.
3100 * manual/examples/ofdlocks.c: Example of open file description
3102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3103 F_OFD_SETLK, and F_OFD_SETLKW.
3105 2014-07-23 Allan McRae <allan@archlinux.org>
3107 * po/es.po: Update Spanish translation from translation project.
3109 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3111 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3113 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3116 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3117 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3118 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3120 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3123 * math/fesetenv.c (__fesetenv)
3124 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3125 * math/feupdateenv.c (__feupdateenv)
3126 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3129 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3130 (__ASSUME_SOCKETCALL): Do not define.
3132 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3133 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3134 (__ASSUME_SOCKETCALL): Do not define.
3135 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3136 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3137 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3138 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3139 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3140 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3141 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3142 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3144 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3145 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3146 (__ASSUME_SOCKETCALL): Do not define.
3147 (__ASSUME_IPC64): Define unconditionally.
3148 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3149 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3150 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3151 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3152 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3153 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3154 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3157 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3158 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3159 (__ASSUME_SOCKETCALL): Do not define.
3160 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3161 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3162 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3163 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3164 (__ASSUME_REQUEUE_PI): Define unconditionally.
3165 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3166 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3167 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3168 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3169 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3170 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3172 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3173 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3174 (__ASSUME_SOCKETCALL): Do not define.
3175 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3176 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3177 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3178 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3179 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3180 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3182 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3183 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3184 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3185 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3186 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3187 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3188 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3189 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3190 (__ASSUME_GETCPU_SYSCALL): Likewise.
3192 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3193 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3194 cases for individual architectures.
3195 * sysdeps/gnu/configure: Regenerated.
3196 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3197 LIBC_SLIBDIR_RTLDDIR.
3198 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3199 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3200 LIBC_SLIBDIR_RTLDDIR.
3201 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3203 LIBC_SLIBDIR_RTLDDIR.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3206 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3207 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3209 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3210 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3212 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3213 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3214 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3215 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3217 * sysdeps/aarch64/shlib-versions: Move to ...
3218 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3219 * sysdeps/alpha/shlib-versions: Move to ...
3220 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3221 * sysdeps/arm/shlib-versions: Move to ...
3222 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3223 * sysdeps/hppa/shlib-versions: Move all contents except for
3224 libgcc_s entry to ...
3225 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3227 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3228 * sysdeps/ia64/shlib-versions: Move to ...
3229 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3231 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3232 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3234 * sysdeps/microblaze/shlib-versions: Move to ...
3235 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3236 * sysdeps/mips/shlib-versions: Move to ...
3237 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3239 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3240 * sysdeps/tile/shlib-versions: Move to ...
3241 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3242 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3244 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3245 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3247 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3249 2014-07-17 Will Newton <will.newton@linaro.org>
3251 * sysdeps/arm/bits/atomic.h
3252 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3253 (__arch_compare_and_exchange_bool_16_int): Likewise.
3254 (__arch_compare_and_exchange_bool_64_int): Likewise.
3256 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3257 into an #else block.
3259 2014-07-16 Roland McGrath <roland@hack.frob.com>
3261 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3262 just Linux configurations. Test empirically that the compiler sets
3263 __ARM_EABI__, rather than using the tuple to decide.
3264 * sysdeps/arm/preconfigure: Regenerated.
3265 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3266 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3267 contents appended ...
3268 * sysdeps/arm/configure.ac: ... here.
3269 * sysdeps/arm/configure: Regenerated.
3271 2014-07-15 Roland McGrath <roland@hack.frob.com>
3273 * nptl/pthread_kill.c: New file.
3274 * nptl/pthread_sigmask.c: New file.
3275 * nptl/pthread_sigqueue.c: New file.
3277 * sysdeps/nptl/lowlevellock.h: New file.
3278 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3279 * sysdeps/nptl/lowlevellock-futex.h: New file.
3281 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3282 Remove dead declarations.
3284 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3286 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3287 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3289 * sysdeps/x86_64/configure.ac: Likewise.
3290 * sysdeps/i386/configure: Regenerated.
3291 * sysdeps/x86_64/configure: Likewise.
3292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3293 memset-avx2 only if config-cflags-avx2 is yes.
3294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3295 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3297 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3298 only if HAVE_AVX2_SUPPORT is defined.
3299 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3301 2014-07-14 Alan Modra <amodra@gmail.com>
3304 * elf/elf.h (DT_PPC64_NUM): Correct value.
3305 * NEWS: Add to fixed bug list.
3307 2014-07-13 Jim Meyering <meyering@fb.com>
3310 regex: don't deref NULL upon heap allocation failure
3311 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3312 failure in one more place.
3313 To trigger the segfault, configure grep -with-included-regex,
3314 build it, and run these commands:
3315 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3317 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3319 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3321 2014-07-11 Richard Henderson <rth@redhat.com>
3323 * sysdeps/aarch64/libm-test-ulps: Update.
3325 2014-07-10 Florian Weimer <fweimer@redhat.com>
3328 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3329 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3330 (__nptl_setxid): Initialize error member. Call
3331 __nptl_setxid_error.
3332 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3333 * nptl/descr.h (struct xid_command): Add error member.
3334 * nptl/tst-setuid3.c: New file.
3335 * nptl/Makefile (tests): Add it.
3337 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3341 (__lll_trylock): Use __lll_base_trylock.
3342 (__lll_cond_trylock): Likewise.
3344 2014-07-10 Roland McGrath <roland@hack.frob.com>
3346 * nptl/pthread_create.c (start_thread): Use atomic_or and
3347 lll_futex_wake directly rather than lll_robust_dead.
3348 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3349 (lll_robust_dead): Macro removed.
3350 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3351 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3352 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3353 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3354 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3355 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3356 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3357 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3358 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3359 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3361 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3363 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3366 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3367 Use atomic_compare_and_exchange_val_acq directly rather than
3369 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3370 (__lll_robust_trylock, lll_robust_trylock): Removed.
3371 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3372 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3373 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3374 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3375 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3376 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3377 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3378 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3383 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3386 2014-07-02 Florian Weimer <fweimer@redhat.com>
3388 * manual/locale.texi (Locale Names): New section documenting
3389 locale name syntax. Adjust menu and node chaining accordingly.
3390 (Choosing Locale): Reference Locale Names, Locale Categories.
3391 Mention setting LC_ALL=C. Reflect that name syntax is now
3393 (Locale Categories): New section title. Reference Locale Names.
3394 LC_ALL is an environment variable, but not a category.
3395 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3396 description, now in Locale Name. Reference that section. Locale
3397 name syntax is now documented.
3399 2014-07-02 Florian Weimer <fweimer@redhat.com>
3402 * locale/findlocale.c (name_present, valid_locale_name): New
3404 (_nl_find_locale): Use the loc_name variable to store name
3405 candidates. Call name_present and valid_locale_name to check and
3406 validate locale names. Return an error if the locale is invalid.
3408 2014-07-02 Florian Weimer <fweimer@redhat.com>
3410 * locale/setlocale.c (setlocale): Use strdup for allocating
3411 composite name copy.
3413 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3415 Sync up with gnulib.
3416 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3417 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3418 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3419 and _GL_ARG_NONNULL.
3420 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3421 [!_LIBC]: Include code for Windows and Cygwin.
3422 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3423 Include prototype for int strerror_r.
3424 [!_LIBC] (is_open): New function.
3425 (flush_stdout): New function.
3426 (print_errno_message): Use it.
3428 (error_at_line): Likewise.
3429 (error_tail) Add function attribute macros. Use
3432 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3434 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3436 * io/ftw.c: Include sys/param.h unconditionally.
3438 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3441 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3443 (freecache): New function to free CACHE on exit.
3445 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3448 2014-07-09 David S. Miller <davem@davemloft.net>
3450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3452 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3453 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3454 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3455 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3456 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3457 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3458 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3459 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3460 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3461 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3462 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3463 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3464 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3466 2014-07-09 Andreas Schwab <schwab@suse.de>
3468 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3470 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3471 (do_test): Likewise.
3473 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3475 2014-07-09 Will Newton <will.newton@linaro.org>
3477 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3478 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3479 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3480 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3481 * sysdeps/hppa/start.S (_start): Likewise.
3483 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3485 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3487 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3490 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3492 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3493 after checking that it is non-NULL.
3495 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3497 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * sysdeps/powerpc/memmove.c: Remove file.
3500 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3501 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3503 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3505 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3506 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3507 string memmove instead of removed powerpc one.
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3510 [weak_alias]: Fix compiler warning due trailing data.
3511 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3512 [weak_alias]: Likewise.
3513 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3514 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3517 (__libc_ifunc_impl_list): Add memmove functions.
3519 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3521 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3523 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3525 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3527 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3529 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3531 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3533 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3535 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3537 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3539 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3541 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3543 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3545 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3547 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3549 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3551 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3553 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3556 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3559 to avoid alignment traps in non-cacheable memory.
3560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3564 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3565 file: multiarch power7 memmove.
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3567 multiarch default memmove.
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3569 multiarch memove for powerpc32/power4.
3571 * string/bcopy.c: Use full path to include memmove.c.
3572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3574 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3575 bcopy for powerpc64.
3576 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3577 bcopy for powerpc64.
3578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3579 and memmove implementations.
3580 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3581 optimized multiarch memmove for POWER7/powerpc64.
3582 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3583 default multiarch memmove for powerpc64.
3584 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3585 multiarch for powerpc64.
3586 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3587 for POWER7/powerpc64.
3588 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3589 memmove for POWER7/powerpc64.
3591 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3594 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3595 __ELF_NATIVE_CLASS equal to 64.
3597 2014-07-07 Roland McGrath <roland@hack.frob.com>
3599 * sysdeps/nptl/lowlevellock.h: File removed.
3601 * NEWS: NPTL is no longer an add-on!
3602 * nptl/internaltypes.h: Moved ...
3603 * sysdeps/nptl/internaltypes.h: ... here.
3604 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3605 * sysdeps/nptl/fork.c: Likewise.
3606 * sysdeps/nptl/gai_misc.h: Likewise.
3607 * sysdeps/nptl/librt-cancellation.c: Likewise.
3608 * sysdeps/nptl/jmp-unwind.c: Likewise.
3609 * sysdeps/nptl/setxid.h: Likewise.
3610 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3611 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3612 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3613 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3614 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3615 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3616 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3617 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3618 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3619 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3620 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3621 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3622 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3623 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3624 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3625 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3626 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3627 * nptl/Makeconfig: Moved ...
3628 * sysdeps/nptl/Makeconfig: ... here.
3629 * nptl/configure: File removed.
3630 * nptl/ANNOUNCE: File removed.
3631 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3632 * sysdeps/unix/sysv/linux/configure: Regenerated.
3634 * nptl/Makefile (routines): Add libc_pthread_init,
3635 libc_multiple_threads, register-atfork and unregister-atfork.
3636 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3637 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3638 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3639 pthread-pi-defines.sym, structsem.sym.
3640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3641 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3642 [$(subdir) = nptl] (tests): Add tst-setgetname.
3643 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3644 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3645 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3646 [!LIBC_SIGACTION]: Remove aliases.
3647 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3648 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3649 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3650 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3651 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3652 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3656 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3657 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3658 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3659 __libc_allocate_rtsig_private.
3660 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3661 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3662 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3663 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3664 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3665 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3666 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3667 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3668 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3669 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3670 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3671 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3672 * nptl/internaltypes.h: ... here.
3673 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3674 * sysdeps/nptl/jmp-unwind.c: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3676 * nptl/libc-lowlevellock.c: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3678 * nptl/libc_multiple_threads.c: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3680 * nptl/libc_pthread_init.c: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3682 * nptl/lowlevelbarrier.sym: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3684 * nptl/lowlevelcond.sym: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3686 * nptl/lowlevellock.c: ... here.
3687 * nptl/lowlevellock.h: Moved ...
3688 * sysdeps/nptl/lowlevellock.h: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3690 * nptl/lowlevelrobustlock.c: ... here.
3691 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3692 * nptl/lowlevelrobustlock.sym: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3694 * nptl/lowlevelrwlock.sym: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3696 * nptl/pt-fork.c: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3698 * nptl/pthread-pi-defines.sym: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3700 * nptl/pthread_attr_getaffinity.c: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3702 * nptl/pthread_attr_setaffinity.c: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3704 * nptl/pthread_mutex_cond_lock.c: ... here.
3705 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3707 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3708 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3709 * nptl/pthread_once.c: ... here, replacing old file.
3710 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3711 * nptl/pthread_yield.c: ... here.
3712 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3713 * nptl/register-atfork.c: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3715 * nptl/sem_post.c: ... here.
3716 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3717 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3718 * nptl/sem_timedwait.c: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3720 * nptl/sem_trywait.c: ... here.
3721 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3722 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3723 * nptl/sem_wait.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3725 * nptl/structsem.sym: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3727 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3728 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3729 * nptl/unregister-atfork.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3731 * nptl/unwindbuf.sym: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3733 * sysdeps/nptl/fork.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3735 * sysdeps/nptl/fork.h: ... here.
3736 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3737 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3738 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3739 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3740 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3741 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3742 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3744 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3746 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3747 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3748 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3750 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3752 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3753 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3754 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3755 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3756 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3758 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3760 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3762 * sysdeps/unix/sysv/linux/raise.c: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3764 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3766 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3768 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3770 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3772 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3774 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3776 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3777 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3779 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3781 * sysdeps/generic/memcopy.h: Add comment for
3782 MEMCPY_OK_FOR_FWD_MEMMOVE.
3784 2014-07-04 Will Newton <will.newton@linaro.org>
3786 * string/memchr.c: Merge from gnulib.
3787 [_LIBC]: Remove conditionals.
3788 (__ptr_t): Remove define.
3789 (LONG_MAX_32_BITS): Likewise.
3790 (LONG_MAX): Likewise.
3791 (MEMCHR): Use ANSI prototype and optimize algorithm.
3793 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3795 2014-07-03 Roland McGrath <roland@hack.frob.com>
3797 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3798 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3800 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3801 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3802 in a bare environment with no <stdlib.h> installed.
3803 * sysdeps/nptl/configure: Regenerated.
3805 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3807 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3808 AC_EGREP_CPP for kernel header checks, so they only succeed if
3809 including <linux/version.h> actually works right.
3810 * sysdeps/unix/sysv/linux/configure: Regenerated.
3812 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3813 value so it's not diagnosed as unused.
3815 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3816 thing) with "ifeq ($(subdir),rt)".
3818 2014-07-03 Richard Henderson <rth@redhat.com>
3820 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3821 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3822 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3824 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3825 (math_force_eval): New.
3827 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3828 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3830 * sysdeps/alpha/fpu/s_round.c: Remove file.
3831 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3833 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3834 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3835 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3836 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3837 (_dl_start, print_statistics): Likewise.
3838 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3839 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3841 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3842 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3843 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3844 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3845 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3846 (HP_SMALL_TIMING_AVAIL): Define.
3847 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3849 (HP_SMALL_TIMING_AVAIL): Define.
3850 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3851 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3853 * sysdeps/aarch64/hp-timing.h: New file.
3855 * sysdeps/generic/hp-timing.h: Remove dead comment.
3856 * sysdeps/generic/hp-timing-common.h: New file.
3857 * sysdeps/alpha/hp-timing.h: Include it.
3858 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3859 * sysdeps/i386/i686/hp-timing.h: Likewise.
3860 * sysdeps/ia64/hp-timing.h: Likewise.
3861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3862 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3863 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3864 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3865 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3866 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3869 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3870 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3871 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3872 * elf/rtld.c (_dl_start_final): Likewise.
3873 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3874 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3875 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3876 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3877 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3879 (HP_TIMING_DIFF_INIT): Remove.
3880 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3881 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3882 (HP_TIMING_DIFF_INIT): Remove.
3883 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3884 * sysdeps/i386/i686/hp-timing.c: Remove file.
3885 * sysdeps/x86_64/hp-timing.c: Remove file.
3886 * sysdeps/ia64/hp-timing.c: Remove file.
3887 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3888 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3889 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3890 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3892 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3893 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3894 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3895 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3897 (HP_TIMING_ACCUM): Remove.
3898 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3899 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3900 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3902 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3903 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3904 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3905 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3907 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3908 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3909 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3911 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3913 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3915 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3917 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3919 Sync up with gettext.
3920 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3921 [_MSC_VER]: Include malloc.h
3922 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3923 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3924 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3925 TEMP_FAILURE_RETRY. Cast return of alloca.
3926 [!_LIBC] Call gl_rwlock_init.
3927 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3929 2014-07-02 Roland McGrath <roland@hack.frob.com>
3931 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3932 before checking its value.
3934 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3936 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3938 * debug/memcpy_chk.c: Don't include pagecopy.h.
3939 * debug/mempcpy_chk.c: Likewise.
3940 * string/memcpy.c: Likewise.
3941 * string/memmove.c: Likewise.
3942 * sysdeps/powerpc/memmove.c: Likewise.
3943 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3944 definition of PAGE_COPY_FWD_MAYBE here...
3945 * sysdeps/generic/pagecopy.h: ... from here.
3946 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3948 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3949 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3955 (__libc_ifunc_impl_list): Likewise.
3956 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3957 multiarch strcat for PPC64.
3958 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3959 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3961 2014-07-02 Roland McGrath <roland@hack.frob.com>
3963 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3965 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3967 * intl/loadmsgcat.c: Remove declaration of
3968 get_sysdep_segment_value.
3969 (get_sysdep_segment_value): Use ISO C style.
3970 (_nl_load_domain): Use ISO C style. Get rid of redundant
3971 semicolon. Fix typo and formatting in comment.
3972 (_nl_unload_domain): Use ISO C style.
3974 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3976 2014-07-02 Will Newton <will.newton@linaro.org>
3978 * malloc/obstack.c: Merge from gnulib master.
3979 [HAVE_CONFIG_H]: Remove conditional code.
3980 [!_LIBC]: Include config.h.
3981 [!ELIDE_CODE]: Don't include inttypes.h, include
3982 stdint.h unconditionally.
3983 (print_and_abort): Mark as _Noreturn.
3984 (_obstack_allocated_p): Mark as __attribute_pure__.
3985 (obstack_free): Rename to __obstack_free.
3986 [!__attribute__]: Remove conditional code.
3987 * malloc/obstack.h: Merge from gnulib master.
3988 [__cplusplus]: Move conditional down.
3989 [!__attribute_pure__]: Define __attribute_pure__ here
3990 if it is not already defined.
3991 (_obstack_memory_used): Mark as __attribute_pure__.
3992 [!__obstack_free]: Define as obstack_free.
3993 [__GNUC__]: Remove check for ancient NeXT gcc.
3995 2014-07-02 Will Newton <will.newton@linaro.org>
3996 Paul Eggert <eggert@cs.ucla.edu>
3998 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4000 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4002 * resolv/gethnamaddr.c: Add comment warning that the file is
4005 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4007 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4010 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4011 entry for aio_cancel and aio_cancel64.
4012 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4013 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4014 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4015 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4016 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4017 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4018 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4019 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4020 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4021 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4022 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4023 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4024 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4026 2014-07-01 Roland McGrath <roland@hack.frob.com>
4028 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4029 * nptl/pthread_mutex_lock.c: Likewise.
4030 * nptl/pthread_mutex_timedlock.c: Likewise.
4031 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4033 2014-07-01 Richard henderson <rth@redhat.com>
4035 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4036 (__isnan, __isnanl): Remove.
4037 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4039 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4041 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4043 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4045 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4047 * resolv/nss_dns/dns-host.c (getanswer_r)
4048 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4050 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4053 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4055 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4056 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4058 2014-07-01 Roland McGrath <roland@hack.frob.com>
4060 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4061 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4063 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4064 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4066 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4067 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4069 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4070 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4072 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4073 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4074 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4075 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4077 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4078 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4079 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4083 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4085 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4106 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4109 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4110 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4111 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4112 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4113 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4115 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4117 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4118 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4119 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4122 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4126 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4128 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4129 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4131 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4133 * sysdeps/arm/libm-test-ulps: Regenerated.
4135 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4136 Roland McGrath <roland@hack.frob.com>
4138 * test-skeleton.c (signal_handler): Kill the whole process group
4139 before killing the child individually.
4140 (main): Report any failure on `setpgid'.
4142 2014-06-30 Roland McGrath <roland@hack.frob.com>
4144 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4145 from _TLS_H to _ARM_NPTL_TLS_H.
4146 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4147 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4149 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4153 (__expm1l): Return argument unchanged when small but not
4156 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4158 (_FP_UNPACK_RAW_1_P): Likewise.
4159 (_FP_PACK_RAW_1): Likewise.
4160 (_FP_PACK_RAW_1_P): Likewise.
4161 (_FP_MUL_MEAT_1_wide): Likewise.
4162 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4163 (_FP_MUL_MEAT_1_hard): Likewise.
4164 (_FP_DIV_MEAT_1_imm): Likewise.
4165 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4166 (_FP_DIV_MEAT_1_udiv): Likewise.
4167 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4168 (_FP_UNPACK_RAW_2): Likewise.
4169 (_FP_UNPACK_RAW_2_P): Likewise.
4170 (_FP_PACK_RAW_2): Likewise.
4171 (_FP_PACK_RAW_2_P): Likewise.
4172 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4173 (_FP_MUL_MEAT_2_wide): Likewise.
4174 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4175 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4176 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4177 (_FP_MUL_MEAT_2_gmp): Likewise.
4178 (_FP_DIV_MEAT_2_udiv): Likewise.
4179 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4180 (_FP_FRAC_SRL_4): Likewise.
4181 (_FP_FRAC_SRST_4): Likewise.
4182 (_FP_FRAC_SRS_4): Likewise.
4183 (_FP_UNPACK_RAW_4): Likewise.
4184 (_FP_UNPACK_RAW_4_P): Likewise.
4185 (_FP_PACK_RAW_4): Likewise.
4186 (_FP_PACK_RAW_4_P): Likewise.
4187 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4188 (_FP_MUL_MEAT_4_wide): Likewise.
4189 (_FP_MUL_MEAT_4_gmp): Likewise.
4190 (umul_ppppmnnn): Likewise.
4191 (_FP_DIV_MEAT_4_udiv): Likewise.
4192 (__FP_FRAC_ADD_4): Likewise.
4193 (__FP_FRAC_SUB_3): Likewise.
4194 (__FP_FRAC_SUB_4): Likewise.
4195 (__FP_FRAC_DEC_3): Likewise.
4196 (__FP_FRAC_DEC_4): Likewise.
4197 (__FP_FRAC_ADDI_4): Likewise.
4198 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4199 (_FP_FRAC_SRL_8): Likewise.
4200 (_FP_FRAC_SRS_8): Likewise.
4202 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4204 (FP_UNPACK_RAW_EP): Likewise.
4205 (FP_PACK_RAW_E): Likewise.
4206 (FP_PACK_RAW_EP): Likewise.
4207 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4208 (_FP_ISSIGNAN): Likewise.
4209 (_FP_ADD_INTERNAL): Likewise.
4210 (_FP_FMA): Likewise.
4211 (_FP_CMP): Likewise.
4212 (_FP_SQRT): Likewise.
4213 (_FP_TO_INT): Likewise.
4214 (_FP_FROM_INT): Likewise.
4215 (FP_EXTEND): Likewise.
4216 (_FP_DIV_MEAT_N_loop): Likewise.
4218 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4220 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4223 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4226 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4227 result with correct sign in case of exponents that produce
4228 overflow except for X very close to 1.
4230 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4232 mktime: merge #if/#ifdef usage from glibc
4233 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4234 as that works with both Glibc's and Gnulib's style.
4235 See thread starting at Siddhesh Poyarekar's bug report at:
4236 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4238 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4240 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4241 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4242 * sysdeps/tile/tilegx/memmove.c: Remove file.
4244 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4246 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4247 abi-name definition.
4248 * scripts/soversions.awk: Do not handle or generate ABI lines.
4249 * shlib-versions: Remove ABI entries.
4250 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4251 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4253 2014-06-27 Roland McGrath <roland@hack.frob.com>
4255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4256 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4257 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4263 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4286 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4291 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4303 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4305 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4308 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4311 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4313 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4314 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4316 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4319 Identical file removed.
4320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4322 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4324 Identical file removed.
4325 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4327 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4329 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4331 Identical file removed.
4332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4333 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4335 Identical file removed.
4336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4338 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4339 Identical file removed.
4340 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4343 Identical file removed.
4344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4346 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4348 Identical file removed.
4349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4355 Identical file removed.
4356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4358 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4361 Identical file removed.
4362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4364 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4366 Identical file removed.
4367 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4369 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4371 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4374 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4377 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4378 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4380 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4381 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4382 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4383 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4384 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4386 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4389 * nscd/nscd.c (monitor_child): Return exit status of child
4390 instead of return value from wait syscall.
4392 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4394 * configure.ac (libc_commonpagesize): Remove variable.
4395 (libc_relro_required): Likewise.
4396 (libc_cv_z_relro): Remove configure test.
4397 * configure: Regenerated.
4398 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4400 (libc_relro_required): Likewise.
4401 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4402 (libc_relro_required): Likewise.
4403 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4404 (libc_relro_required): Likewise.
4405 * sysdeps/arm/preconfigure: Regenerated.
4406 * sysdeps/ia64/preconfigure: Remove file.
4407 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4409 (libc_relro_required): Likewise.
4413 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4414 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4415 recompute overflowing results in original rounding mode.
4416 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4417 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4418 recompute overflowing results in original rounding mode.
4419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4420 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4421 recompute overflowing results in original rounding mode.
4422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4423 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4424 recompute overflowing results in original rounding mode.
4425 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4426 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4427 recompute overflowing results in original rounding mode.
4428 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4429 (libc_feholdsetround_ctx): New macro.
4430 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4434 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4436 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4437 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4438 corresponding .cpsetup call.
4440 2014-06-26 Roland McGrath <roland@hack.frob.com>
4442 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4443 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4444 * sysdeps/arm/Makefile [$(subdir) = csu]
4445 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4446 (static-only-routines): Add aeabi_read_tp here.
4447 (shared-only-routines): Add libc-aeabi_read_tp here.
4448 (CFLAGS-libc-start.c): Add -fexceptions here.
4449 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4450 (sysdep_routines, static-only-routines, shared-only-routines):
4451 Don't add to these here.
4452 (CFLAGS-libc-start.c): Likewise.
4454 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4455 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4456 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4457 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4458 * sysdeps/arm/Makefile [$(subdir) = rt]
4459 (librt-sysdep_routines, librt-shared-only-routines):
4460 Append rt-aeabi_unwind_cpp_pr1 here.
4461 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4462 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4463 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4464 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4465 Append nptl-aeabi_unwind_cpp_pr1 here.
4466 (tests): Filter out tst-cleanupx4 here.
4467 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4468 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4469 Don't do those here.
4471 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4473 * scripts/list-sources.sh: Do not handle ports specially.
4475 2014-06-26 Roland McGrath <roland@hack.frob.com>
4477 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4478 * sysdeps/arm/feupdateenv.c: Likewise.
4480 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4482 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4484 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4485 trailing whitespace removed.
4486 * scripts/config.guess: Update to version 2014-03-23.
4487 * scripts/config.sub: Update to version 2014-05-01
4488 * scripts/install-sh: Update to version 2013-12-25.23.
4489 * scripts/move-if-change: Update from gnulib.
4491 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4493 * debug/memmove_chk.c: Remove pagecopy.h include.
4495 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4497 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4498 identical to gnulib mktime.
4500 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4502 * configure.ac: Do not test for machine being rs6000. Do not test
4504 * configure: Regenerated.
4506 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4508 * configure: Regenerated.
4509 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4510 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4511 Remove configure test.
4512 * sysdeps/arm/configure: Regenerated.
4513 * sysdeps/nptl/configure.ac: Do not check
4514 libc_cv_asm_cfi_directives.
4515 * sysdeps/nptl/configure: Regenerated.
4516 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4517 * sysdeps/x86_64/nptl/configure: Remove generated file.
4518 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4520 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4522 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4524 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4525 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4526 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4529 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4530 instead of whether it is defined.
4531 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4532 * sysdeps/hppa/dl-machine.h: Likewise.
4533 * sysdeps/ia64/dl-machine.h: Likewise.
4534 * sysdeps/m68k/dl-machine.h: Likewise.
4535 * sysdeps/microblaze/dl-machine.h: Likewise.
4536 * sysdeps/mips/dl-machine.: Likewise.
4537 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4538 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4539 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4540 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4541 * sysdeps/sh/dl-machine.h: Likewise.
4542 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4543 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4544 * sysdeps/tile/dl-machine.h: Likewise.
4545 * sysdeps/x86_64/dl-machine.h: Likewise.
4547 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4549 (verify_persistent_db): Likewise.
4551 2014-06-26 Roland McGrath <roland@hack.frob.com>
4553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4556 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4559 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4562 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4564 Identical file removed.
4565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4566 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4568 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4574 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4577 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4584 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4586 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4588 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4590 Identical file removed.
4591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4592 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4597 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4606 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4608 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4611 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4614 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4616 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4619 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4623 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4625 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4626 * sysdeps/unix/sysv/linux/s390/Versions
4627 (libpthread: GLIBC_2.19): New version set.
4628 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4629 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4630 (librt: GLIBC_2.3.3): New version set.
4631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4633 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4635 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4636 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4637 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4638 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4639 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4641 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4643 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4645 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4647 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4651 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4653 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4655 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4659 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4661 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4667 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4669 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4675 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4678 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4679 (__libc_vfork): Define the function under this name.
4680 [!NOT_IN_libc] (__vfork): Make this an alias.
4681 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4683 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4684 (__libc_vfork): Define the function under this name.
4685 [!NOT_IN_libc] (__vfork): Make this an alias.
4686 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4687 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4688 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4689 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4693 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4694 code that was previously under [RESET_PID].
4695 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4696 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4697 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4699 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4700 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4701 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4702 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4703 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4704 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4705 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4706 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4707 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4711 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4713 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4714 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4715 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4735 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4736 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4737 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4738 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4739 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4741 2014-06-25 Roland McGrath <roland@hack.frob.com>
4743 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4744 that was previously under [RESET_PID].
4745 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4747 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4749 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4750 not undefine and redefine.
4751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4752 [O_CLOEXEC]: Make code unconditional.
4753 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4754 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4755 <kernel-features.h>.
4756 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4757 conditional variable definition.
4758 (shm_open) [O_CLOEXEC]: Make code unconditional.
4759 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4762 * configure.ac (USE_REGPARMS): Don't define here.
4763 * configure: Regenerated.
4764 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4765 * sysdeps/i386/configure: Regenerated.
4767 * nptl/createthread.c: Don't include kernel-features.h.
4768 * nptl/pthread_cancel.c: Likewise.
4769 * nptl/pthread_condattr_setclock.c: Likewise.
4770 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4771 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4772 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4773 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4774 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4775 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4776 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4779 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4780 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4781 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4782 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4783 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4784 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4785 * nscd/gai.c: Likewise.
4786 * nss/nss_db/db-open.c: Likewise.
4787 * sysdeps/generic/ldsodefs.h: Likewise.
4788 * sysdeps/sh/nptl/tls.h: Likewise.
4789 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4790 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4791 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4792 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4793 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4794 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4795 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4796 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4798 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4799 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4800 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4801 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4802 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4803 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4804 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4805 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4806 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4807 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4808 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4811 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4812 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4817 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4818 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4819 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4820 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4821 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4822 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4824 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4825 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4826 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4827 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4828 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4829 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4830 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4831 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4833 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4834 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4835 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4837 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4838 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4839 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4840 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4841 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4842 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4843 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4844 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4869 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4870 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4871 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4872 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4873 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4875 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4876 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4877 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4878 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4879 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4880 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4881 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4882 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4883 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4884 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4885 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4886 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4887 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4888 * sysdeps/unix/sysv/linux/system.c: Likewise.
4889 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4890 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4891 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4892 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4893 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4894 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4895 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4897 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4898 * configure: Regenerated.
4899 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4901 * configure.ac (base_machine): Do not set specially for particular
4903 * configure: Regenerated.
4904 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4905 settings from configure.ac.
4906 * sysdeps/i386/preconfigure: New file.
4907 * sysdeps/s390/preconfigure: Likewise.
4908 * sysdeps/sh/preconfigure: Likewise.
4909 * sysdeps/sparc/preconfigure: Likewise.
4911 2014-06-25 Roland McGrath <roland@hack.frob.com>
4913 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4914 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4915 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4916 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4917 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4918 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4919 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4920 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4921 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4922 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4923 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4924 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4925 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4926 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4927 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4928 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4930 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4931 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4933 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4934 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4935 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4936 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4937 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4938 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4939 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4940 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4941 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4942 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4943 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4944 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4945 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4946 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4947 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4948 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4949 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4950 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4951 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4952 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4954 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4958 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4960 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4963 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4964 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4965 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4966 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4967 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4968 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4970 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4973 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4978 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4986 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4988 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5005 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5007 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5009 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5011 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5014 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5022 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5024 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5026 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5028 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5031 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5034 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5043 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5045 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5047 * timezone/checktab.awk: Update from tzcode 2014e.
5048 * timezone/private.h: Likewise.
5049 * timezone/tzfile.h: Likewise.
5050 * timezone/zdump.c: Likewise.
5051 * timezone/zic.c: Likewise.
5053 * sysdeps/unix/sysv/linux/kernel-features.h
5054 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5055 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5056 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5058 Remove conditional code.
5060 2014-06-25 Will Newton <will.newton@linaro.org>
5062 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5063 (_dl_arm_cap_flags): Add HWCAP2 values.
5064 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5065 (_DL_HWCAP_COUNT): Increase to 37.
5066 (_DL_HWCAP_LAST): New define.
5067 (_DL_HWCAP2_LAST): New define.
5068 (_dl_procinfo): Add support for printing
5070 (_dl_string_hwcap): Use _dl_hwcap_string.
5072 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5076 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5078 * README: Do not mention ports directory.
5080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5082 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5083 <kernel-features.h>.
5084 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5085 conditional variable definition.
5086 (__futimes): Update comment.
5087 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5088 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5091 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5092 arguments close to 0.
5093 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5095 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5097 * math/auto-libm-test-in: Add more tests of exp10.
5098 * math/auto-libm-test-out: Regenerated.
5099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5101 * sysdeps/unix/sysv/linux/kernel-features.h
5102 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5103 * sysdeps/unix/sysv/linux/readv.c: Do not include
5104 <kernel-features.h>.
5105 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5106 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5107 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5109 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5111 * sysdeps/unix/sysv/linux/writev.c: Do not include
5112 <kernel-features.h>.
5113 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5114 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5115 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5117 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5120 2014-06-25 Will Newton <will.newton@linaro.org>
5122 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5123 comment changes throughout the file. Remove checks
5124 for HAVE_*_H definitions that are not required.
5125 (__gen_tempname): Call abort if an unknown kind value is
5128 2014-06-25 Andreas Schwab <schwab@suse.de>
5131 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5132 scalbln, scalblnf, scalblnl in libc.
5134 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5137 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5138 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5139 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5141 2014-06-24 Roland McGrath <roland@hack.frob.com>
5143 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5144 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5145 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5146 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5148 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5149 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5151 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5153 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5154 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5155 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5156 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5157 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5158 * sysdeps/x86/bits/semaphore.h: ... here.
5159 * sysdeps/x86/nptl/elide.h: Moved ...
5160 * sysdeps/x86/elide.h: ... here.
5161 * sysdeps/x86_64/nptl/Implies: File removed.
5162 * sysdeps/i386/nptl/Implies: File removed.
5164 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5168 return the argument for normal arguments with exponent below -64.
5169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5171 * math/auto-libm-test-in: Add another test of expm1.
5172 * math/auto-libm-test-out: Regenerated.
5175 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5176 calling __erfcl for arguments at least 16.
5177 * math/auto-libm-test-in: Add more tests of erf.
5178 * math/auto-libm-test-out: Regenerated.
5180 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5181 individual architectures.
5182 * sysdeps/unix/sysv/linux/configure: Regenerated.
5183 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5184 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5185 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5186 (ldd_rewrite_script): Define variable.
5187 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5192 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5193 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5194 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5195 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5196 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5197 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5198 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5199 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5201 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5204 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5205 Rename member __data.d to __data.__elision_data.
5207 2014-06-24 Wilco <wdijkstr@arm.com>
5209 * NEWS: Add 16918 to fixed bug list.
5211 2014-06-24 Wilco <wdijkstr@arm.com>
5213 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5215 2014-06-24 Wilco <wdijkstr@arm.com>
5217 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5218 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5219 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5220 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5221 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5222 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5223 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5226 2014-06-24 Wilco <wdijkstr@arm.com>
5228 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5230 2014-06-24 Wilco <wdijkstr@arm.com>
5232 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5233 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5234 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5235 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5237 2014-06-24 Wilco <wdijkstr@arm.com>
5240 * sysdeps/arm/feupdateenv.c (feupdateenv):
5241 Rewrite to reduce FPSCR accesses and fix return value.
5243 2014-06-24 Wilco <wdijkstr@arm.com>
5245 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5246 Optimize to avoid unnecessary FPSCR writes.
5247 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5248 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5249 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5250 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5252 2014-06-24 Wilco <wdijkstr@arm.com>
5254 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5255 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5256 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5257 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5258 Call libc_fetestexcept_vfp.
5259 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5260 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5261 __SOFTFP__ ifdef so that they can be built for softfp.
5263 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5265 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5266 argument type signed char.
5268 * Makerules (check-abi): Dump diff of symlist if the test
5271 2014-06-23 Roland McGrath <roland@hack.frob.com>
5273 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5276 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5277 Remove unused variable ST.
5279 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5283 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5284 small arguments before calling __expm1.
5285 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5286 small arguments before calling __expm1f.
5287 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5288 small arguments before calling __expm1l.
5289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5291 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5292 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5293 spurious underflow for some cosh tests.
5294 * math/auto-libm-test-out: Regenerated.
5295 * sysdeps/i386/fpu/libm-test-ulps: Update.
5298 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5299 (__ieee754_y1): Set errno if return value overflows.
5300 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5301 (__ieee754_y1f): Set errno if return value overflows.
5302 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5303 (__ieee754_y1l): Set errno if return value overflows.
5304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5305 (__ieee754_y1l): Set errno if return value overflows.
5306 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5307 * math/auto-libm-test-out: Regenerated.
5309 * math/gen-auto-libm-tests.c: Document use of
5310 ignore-zero-inf-sign.
5311 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5312 (input_flags): Add ignore-zero-inf-sign.
5313 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5314 * math/gen-libm-test.pl (generate_testfile): Handle
5315 ignore-zero-inf-sign.
5316 * math/auto-libm-test-in: Mark some cpow tests with
5317 ignore-zero-inf-sign and some with xfail-rounding.
5318 * math/auto-libm-test-out: Regenerated.
5319 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5320 * sysdeps/i386/fpu/libm-test-ulps: Update.
5321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5325 overflowing or underflowing operations take place with sign of
5327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5329 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5330 (__ieee754_pow): Recompute overflowing and underflowing results in
5331 original rounding mode.
5332 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5333 (__powl_helper): Allow negative argument X and scale negated value
5334 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5335 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5336 overflowing or underflowing operations take place with sign of
5338 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5340 * math/auto-libm-test-in: Add more tests of pow.
5341 * math/auto-libm-test-out: Regenerated.
5342 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5343 (pow_tonearest_test_data): Remove.
5344 (pow_test_tonearest): Likewise.
5345 (pow_towardzero_test_data): Likewise.
5346 (pow_test_towardzero): Likewise.
5347 (pow_downward_test_data): Likewise.
5348 (pow_test_downward): Likewise.
5349 (pow_upward_test_data): Likewise.
5350 (pow_test_upward): Likewise.
5351 (main): Don't call removed functions.
5352 * sysdeps/i386/fpu/libm-test-ulps: Update.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355 2014-06-23 Roland McGrath <roland@hack.frob.com>
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5531 2014-06-23 Will Newton <will.newton@linaro.org>
5532 Wilco <wdijkstr@arm.com>
5534 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5535 implementation. Include get-rounding-mode.h.
5536 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5537 [!libc_feholdsetround_noex_ctx]: Define
5538 libc_feholdsetround_noex_ctx.
5539 [!libc_feholdsetround_noexf_ctx]: Define
5540 libc_feholdsetround_noexf_ctx.
5541 [!libc_feholdsetround_noexl_ctx]: Define
5542 libc_feholdsetround_noexl_ctx.
5543 (libc_feholdsetround_ctx): New function.
5544 (libc_feresetround_ctx): New function.
5545 (libc_feholdsetround_noex_ctx): New function.
5546 (libc_feresetround_noex_ctx): New function.
5548 2014-06-23 Roland McGrath <roland@hack.frob.com>
5550 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5551 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5552 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5553 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5554 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5555 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5557 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5558 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5559 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5560 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5561 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5562 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5564 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5565 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5569 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5572 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5577 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5579 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5581 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5583 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5586 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5589 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5591 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5594 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5596 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5598 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5599 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5600 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5602 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5605 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5608 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5610 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5612 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5616 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5621 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5623 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5625 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5628 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5630 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5632 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5634 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5635 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5636 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5651 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5653 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5658 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5659 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5663 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5666 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5667 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5668 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5669 (IPV6_PMTUDISC_INTERFACE): Likewise.
5670 (IPV6_PMTUDISC_OMIT): Likewise.
5672 2014-06-23 Andreas Schwab <schwab@suse.de>
5674 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5675 Remove unused errout label.
5677 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5680 macro: hardware supports Vector Crypto instructions.
5682 2014-06-23 Will Newton <will.newton@linaro.org>
5684 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5685 rather than __builtin_expect.
5687 * elf/dl-lookup.c (undefined_msg): Remove variable.
5688 (_dl_lookup_symbol_x): Replace undefined_msg with string
5691 * elf/dl-lookup.c (do_lookup_unique): New function.
5692 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5693 to a separate function.
5695 2014-06-23 Andreas Schwab <schwab@suse.de>
5698 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5699 before reading the next line.
5701 2014-06-23 Will Newton <will.newton@linaro.org>
5703 * test-skeleton.c (signal_handler): Use printf and %m
5704 rather than perror. Use printf rather than fprintf to
5705 stderr. Use puts rather than fputs to stderr.
5708 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5710 * nscd/nscd.c (thread_info_t): Remove typedef.
5711 (thread_info): Remove variable.
5713 2014-06-21 Allan McRae <allan@archlinux.org>
5715 * NEWS: Mention CVE-2014-4043.
5717 2014-06-20 Roland McGrath <roland@hack.frob.com>
5719 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5720 * nptl/smp.h: ... here.
5722 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5724 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5725 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5726 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5727 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5729 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5730 * nptl/stack-aliasing.h: New file.
5731 * sysdeps/i386/i686/stack-aliasing.h: New file.
5732 * sysdeps/i386/i686/nptl/Makefile: File removed.
5733 * sysdeps/x86_64/stack-aliasing.h: New file.
5734 * sysdeps/x86_64/nptl/Makefile
5735 (CFLAGS-pthread_create.c): Variable removed.
5737 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5738 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5740 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5741 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5744 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5747 (__ASSUME_SIGFRAME_V2): Remove macro.
5748 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5749 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5750 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5751 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5752 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5753 Declare as function. Remove conditional macro definitions.
5754 (__default_rt_sa_restorer): Likewise.
5755 (__default_sa_restorer_v1): Remove declaration.
5756 (__default_sa_restorer_v2): Likewise.
5757 (__default_rt_sa_restorer_v1): Likewise.
5758 (__default_rt_sa_restorer_v2): Likewise.
5759 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5760 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5761 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5763 2014-06-20 Roland McGrath <roland@hack.frob.com>
5765 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5766 (libpthread-routines): Add sysdep.
5767 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5768 * sysdeps/unix/sysv/linux/sparc/Versions
5769 (libpthread: GLIBC_2.3.3): New version set.
5770 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5771 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5772 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5773 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5774 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5775 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5777 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5779 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5781 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5782 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5783 * sysdeps/sparc/nptl/sem_init.c: ... here.
5784 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5785 * sysdeps/sparc/nptl/sem_post.c: ... here.
5786 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5787 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5788 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5789 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5790 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5791 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5792 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5793 (libpthread-routines): Add cpu_relax.
5794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5796 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5797 (librt: GLIBC_2.3.3): New version set.
5798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5799 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5801 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5804 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5809 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5811 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5813 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5815 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5818 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5822 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5826 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5830 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5841 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5854 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5856 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5858 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5860 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5861 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5862 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5863 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5864 * nscd/nscd.c: Likewise.
5865 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5866 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5867 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5868 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5871 <kernel-features.h>.
5872 (init_mq_netlink): Remove conditional have_sock_cloexec
5873 definitions. Remove code conditional on have_sock_cloexec < 0.
5874 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5875 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5876 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5877 <kernel-features.h>.
5878 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5879 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5881 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5884 Add tests for memset_chk and memset.
5886 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5889 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5892 * elf/tst-dl-iter-static.c: New file.
5893 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5895 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5898 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5900 * sysdeps/unix/sysv/linux/kernel-features.h
5901 (__ASSUME_F_GETOWN_EX): Remove macro.
5902 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5903 <kernel-features.h>.
5904 (miss_F_GETOWN_EX): Remove variable or macro.
5905 (do_fcntl): Do not check miss_F_GETOWN_EX.
5906 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5911 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5912 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5914 * sysdeps/unix/sysv/linux/kernel-features.h
5915 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5916 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5917 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5918 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5920 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5923 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5924 Fix calculation of the symbol's value.
5925 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5926 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5927 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5928 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5929 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5930 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5931 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5932 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5933 (modules-names): Add `tst-armtlsdescmod',
5934 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5935 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5936 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5937 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5938 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5939 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5940 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5941 ($(objpfx)tst-armtlsdescloc): New dependency.
5942 ($(objpfx)tst-armtlsdescextnow): Likewise.
5943 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5944 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5946 * sysdeps/arm/configure: Regenerate.
5948 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5950 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5951 (__atfct_seterrno_2): Likewise.
5952 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5953 <kernel-features.h>.
5954 (__ASSUME_ATFCTS): Do not undefine and redefine.
5955 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5956 (__have_atfcts): Remove conditional definition.
5957 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5958 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5959 unreachable if [__ASSUME_ATFCTS].
5960 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5961 not undefine and redefine.
5962 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5963 <kernel-features.h>.
5964 (faccessat) [__NR_faccessat]: Make code unconditional.
5965 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5966 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5967 <kernel-features.h>.
5968 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5969 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5970 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5971 <kernel-features.h>.
5972 (fchownat) [__NR_fchownat]: Make code unconditional.
5973 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5974 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5975 <kernel-features.h>.
5976 (futimesat) [__NR_futimesat]: Make code unconditional.
5977 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5978 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5979 <kernel-features.h>.
5980 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5981 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5982 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5983 <kernel-features.h>.
5984 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5985 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5986 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5987 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5988 <kernel-features.h>.
5989 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5990 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5991 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5992 <kernel-features.h>.
5993 (linkat) [__NR_linkat]: Make code unconditional.
5994 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5995 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5996 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5997 <kernel-features.h>.
5998 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5999 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6000 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6001 <kernel-features.h>.
6002 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6003 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6004 * sysdeps/unix/sysv/linux/openat.c: Do not include
6005 <kernel-features.h>.
6006 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6007 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6008 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6009 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6010 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6011 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6012 <kernel-features.h>.
6013 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6014 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6015 result of INLINE_SYSCALL directly, not via int variable.
6016 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6017 <kernel-features.h>.
6018 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6019 (renameat) [__NR_renameat]: Make code unconditional.
6020 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6021 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6022 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6023 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6024 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6025 (__ASSUME_ATFCTS): Do not undefine and redefine.
6026 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6027 <kernel-features.h>.
6028 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6029 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6030 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6031 <kernel-features.h>.
6032 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6033 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6034 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6035 (__ASSUME_ATFCTS): Do not undefine and redefine.
6036 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6037 <kernel-features.h>.
6038 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6039 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6040 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6041 <kernel-features.h>.
6042 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6043 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6045 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6047 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6049 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6052 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6053 constructed tree before returning error.
6054 * posix/bug-regexp36.c: Expand test case.
6056 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6059 * math/libm-test.inc (scalbln_test_date):
6060 Add errno expectations.
6061 * math/w_scalblnf.c: New File.
6062 Add wrapper which checks for setting errno to ERANGE.
6063 Add weak_alias for corresponding scalbln function.
6064 * math/w_scalbln.c: Likewise.
6065 * math/w_scalblnl.c: Likewise.
6066 * math/Makefile (libm-calls): Add w_scalbln.
6067 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6068 Remove weak_alias for corresponding scalbln function.
6069 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6071 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6073 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6074 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6075 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6076 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6077 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6078 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6079 Remove long_double_symbol for scalblnl function in libm, libc.
6080 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6081 Add wrapper which checks for setting errno to ERANGE.
6082 Add long_double_symbol for scalblnl function in libm, libc.
6083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6084 Remove long_double_symbol for scalblnl in libm.
6085 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6086 Add wrapper which checks for setting errno to ERANGE.
6087 Add long_double_symbol for scalblnl function in libm.
6088 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6089 Do not use wrapper because of own implementation.
6091 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6093 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6094 3 bytes for __pad1 for x32.
6095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6097 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6098 H.J. Lu <hongjiu.lu@intel.com>
6100 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6101 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6102 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6103 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6104 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6106 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6109 * posix/regcomp.c (parse_expression): Deallocate partially
6110 constructed tree before returning error.
6111 * posix/Makefile.c (tests): Add bug-regex36.
6112 (generated): Add bug-regex36.mtrace.
6113 (tests-special): Add $(objpfx)bug-regex36-mem.out
6114 (bug-regex36-ENV): New variable.
6115 ($(objpfx)bug-regex36-mem.out): New rule.
6116 * posix/bug-regex36.c: New file.
6118 2014-06-19 Will Newton <will.newton@linaro.org>
6120 * malloc/malloc.c (systrim): If extra is zero then return
6123 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6125 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6127 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6129 * sysdeps/aarch64/strchr.S: New file.
6131 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6134 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6135 from arguments -2 or below.
6136 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6137 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6139 2014-06-18 Andreas Schwab <schwab@suse.de>
6142 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6143 of a bracket expr not to run off the end of the string.
6144 * posix/Makefile (tests): Add tst-fnmatch3.
6145 * posix/tst-fnmatch3.c: New file.
6147 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6149 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6151 [$(cross-compiling) = no]: Likewise.
6152 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6153 [$(cross-compiling) = no]: Likewise.
6155 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6159 double, adjusted for any remainder from the high double.
6160 * math/libm-test.inc (nearbyint): Add tests.
6163 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165 * nptl/sysdeps/powerpc/Makefile: Moved ...
6166 * sysdeps/powerpc/nptl/Makefile: ... here.
6167 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6168 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6169 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6170 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6171 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6172 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6173 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6174 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6175 * nptl/sysdeps/powerpc/tls.h: Moved ...
6176 * sysdeps/powerpc/nptl/tls.h: ... here.
6178 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6181 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6182 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6183 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6184 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6185 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6186 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6187 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6188 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6189 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6191 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6193 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6195 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6197 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6200 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6203 2014-06-16 Florian Weimer <fweimer@redhat.com>
6206 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6207 non-executed part of the test.
6209 2014-06-16 Andreas Schwab <schwab@suse.de>
6211 * string/bits/string2.h (strdup, strndup): Update feature guard.
6213 2014-06-14 David S. Miller <davem@davemloft.net>
6215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6217 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6219 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6220 that was previously under [RESET_PID].
6221 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6223 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6224 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6225 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6227 (__libc_vfork): New strong alias.
6228 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6230 2014-06-14 Andi Kleen <ak@linux.intel.com>
6232 * sysdeps/generic/elide.h: New file.
6234 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6236 * Makefile (installed-headers): Adjust path of pthread.h header.
6238 2014-06-13 Roland McGrath <roland@hack.frob.com>
6240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6241 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6242 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6243 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6245 * nptl/sysdeps/s390/Makefile: Moved ...
6246 * sysdeps/s390/nptl/Makefile: ... here.
6247 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6248 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6249 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6250 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6251 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6252 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6253 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6254 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6255 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6256 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6257 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6258 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6259 * nptl/sysdeps/s390/tls.h: Moved ...
6260 * sysdeps/s390/nptl/tls.h: ... here.
6262 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6263 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6265 2014-06-13 David S. Miller <davem@davemloft.net>
6267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6270 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6275 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6276 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6277 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6278 Remove RESET_PID cpp guards.
6279 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6280 Remove RESET_PID cpp guards.
6281 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6283 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6285 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6288 2014-06-13 Andi Kleen <ak@linux.intel.com>
6290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6297 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6302 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6303 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6306 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6307 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6311 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6312 (pthread_rwlock_rdlock): Add elision.
6313 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6314 (pthread_rwlock_wrlock): Add elision.
6315 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6316 (pthread_rwlock_trywrlock): Add elision.
6317 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6318 (pthread_rwlock_tryrdlock): Add elision.
6319 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6320 (pthread_rwlock_tryrdlock): Add elision unlock.
6321 * nptl/sysdeps/pthread/pthread.h:
6322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6323 (PTHREAD_RWLOCK_INITIALIZER,
6324 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6325 Handle new elision field.
6326 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6327 * sysdeps/arm/nptl/bits/pthreadtypes.h
6328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6329 * sysdeps/sh/nptl/bits/pthreadtypes.h
6330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6331 * sysdeps/tile/nptl/bits/pthreadtypes.h
6332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6333 * sysdeps/a/nptl/bits/pthreadtypes.h
6334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6335 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6337 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6339 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6341 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6343 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6345 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6347 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6349 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6351 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6352 (elision_init): Set try_xbegin to zero when no RTM.
6353 * sysdeps/x86/nptl/bits/pthreadtypes.h
6354 (pthread_rwlock_t): Change __pad1 to __rwelision.
6355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6357 2014-06-13 Andi Kleen <ak@linux.intel.com>
6359 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6360 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6361 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6362 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6364 2014-06-13 Meador Inge <meadori@codesourcery.com>
6367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6368 that the cached result has been set before returning it.
6370 2014-06-12 Roland McGrath <roland@hack.frob.com>
6372 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6373 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6375 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6376 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6377 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6379 * nptl/sysdeps/sparc/Makefile: Moved ...
6380 * sysdeps/sparc/nptl/Makefile: ... here.
6381 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6382 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6383 * nptl/sysdeps/sparc/tls.h: Moved ...
6384 * sysdeps/sparc/nptl/tls.h: ... here.
6385 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6386 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6387 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6388 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6389 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6390 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6391 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6392 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6393 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6394 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6395 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6396 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6397 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6398 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6399 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6400 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6401 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6402 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6404 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6405 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6407 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6414 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6416 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6417 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6419 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6420 (struct list_links): Type removed.
6421 (struct thread_node, struct timer_node): Replace struct list_links
6422 with struct list_head.
6423 (list_unlink_ip): Likewise.
6424 * sysdeps/pthread/timer_routines.c
6425 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6426 (list_append, list_insbefore): Likewise.
6427 (list_init): Function removed.
6428 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6429 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6430 * sysdeps/pthread/Makefile: ... here, new file.
6432 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6433 * sysdeps/nptl/Implies: ... here.
6434 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6435 * nptl/sysdeps/pthread/list.h: Moved ...
6436 * include/list.h: ... here.
6437 * nptl/sysdeps/pthread/createthread.c: Moved ...
6438 * nptl/createthread.c: ... here.
6439 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6440 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6441 * nptl/pt-longjmp.c: ... here.
6442 * nptl/sysdeps/pthread/Makefile: Moved ...
6443 * sysdeps/nptl/Makefile: ... here.
6444 * nptl/sysdeps/pthread/Subdirs: Moved ...
6445 * sysdeps/nptl/Subdirs: ... here.
6446 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6447 * sysdeps/nptl/aio_misc.h: ... here.
6448 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6449 * sysdeps/nptl/bits/libc-lock.h: ... here.
6450 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6451 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6452 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6453 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6454 * nptl/sysdeps/pthread/configure: Moved ...
6455 * sysdeps/nptl/configure: ... here.
6456 * nptl/sysdeps/pthread/configure.ac: Moved ...
6457 * sysdeps/nptl/configure.ac: ... here.
6458 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6459 * sysdeps/nptl/gai_misc.h: ... here.
6460 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6461 * sysdeps/nptl/librt-cancellation.c: ... here.
6462 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6463 * sysdeps/nptl/malloc-machine.h: ... here.
6464 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6465 * sysdeps/nptl/pthread-functions.h: ... here.
6466 * nptl/sysdeps/pthread/pthread.h: Moved ...
6467 * sysdeps/nptl/pthread.h: ... here.
6468 * nptl/sysdeps/pthread/setxid.h: Moved ...
6469 * sysdeps/nptl/setxid.h: ... here.
6470 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6471 * sysdeps/nptl/sigfillset.c: ... here.
6472 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6473 * sysdeps/nptl/tcb-offsets.h: ... here.
6474 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6475 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6476 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6477 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6478 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6479 * sysdeps/pthread/allocalim.h: ... here.
6480 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6481 * sysdeps/pthread/bits/sigthread.h: ... here.
6482 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6483 * sysdeps/pthread/flockfile.c: ... here.
6484 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6485 * sysdeps/pthread/ftrylockfile.c: ... here.
6486 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6487 * sysdeps/pthread/funlockfile.c: ... here.
6488 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6489 * sysdeps/pthread/posix-timer.h: ... here.
6490 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6491 * sysdeps/pthread/timer_create.c: ... here.
6492 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6493 * sysdeps/pthread/timer_delete.c: ... here.
6494 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6495 * sysdeps/pthread/timer_getoverr.c: ... here.
6496 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6497 * sysdeps/pthread/timer_gettime.c: ... here.
6498 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6499 * sysdeps/pthread/timer_routines.c: ... here.
6500 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6501 * sysdeps/pthread/timer_settime.c: ... here.
6502 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6503 * sysdeps/pthread/tst-timer.c: ... here.
6504 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6505 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6507 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6508 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6510 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6511 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6512 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6513 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6514 Update #include target.
6515 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6516 * sysdeps/i386/i686/nptl/Makefile: ... here.
6517 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6518 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6519 Update #include target.
6520 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6521 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6522 * nptl/sysdeps/i386/Makefile: Moved ...
6523 * sysdeps/i386/nptl/Makefile: ... here.
6524 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6525 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6526 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6527 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6528 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6529 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6530 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6531 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6532 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6533 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6534 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6535 * nptl/sysdeps/i386/tls.h: Moved ...
6536 * sysdeps/i386/nptl/tls.h: ... here.
6538 * sysdeps/sh/Makefile [$(subdir) = csu]
6539 (gen-as-const-headers): Add tcb-offsets.sym.
6540 * nptl/sysdeps/sh/Makefile: File removed.
6541 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6542 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6543 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6544 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6545 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6546 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6547 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6548 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6549 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6550 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6551 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6552 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6553 * nptl/sysdeps/sh/tls.h: Moved ...
6554 * sysdeps/sh/nptl/tls.h: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6556 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6557 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6558 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6559 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6560 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6561 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6562 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6563 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6564 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6566 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6568 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6570 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6572 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6574 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6576 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6578 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6589 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6590 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6591 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6592 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6593 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6594 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6595 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6596 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6597 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6598 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6599 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6600 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6601 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6602 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6604 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6606 * posix/spawn_faction_addopen.c: Include string.h.
6608 2014-06-11 Roland McGrath <roland@hack.frob.com>
6610 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6611 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6612 * nptl/sysdeps/x86_64/Makefile: Moved ...
6613 * sysdeps/x86_64/nptl/Makefile: ... here.
6614 * nptl/sysdeps/x86_64/configure: Moved ...
6615 * sysdeps/x86_64/nptl/configure: ... here.
6616 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6617 * sysdeps/x86_64/nptl/configure.ac: ... here.
6618 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6619 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6620 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6621 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6622 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6623 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6624 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6625 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6626 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6627 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6628 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6629 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6630 * nptl/sysdeps/x86_64/tls.h: Moved ...
6631 * sysdeps/x86_64/nptl/tls.h: ... here.
6632 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6633 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6634 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6635 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6637 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6639 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6643 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6645 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6647 [POSIX] (off_t): Likewise.
6648 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6649 [POSIX] (S_ISBLK): Require macro.
6650 [POSIX] (S_ISCHR): Likewise.
6651 [POSIX] (S_ISDIR): Likewise.
6652 [POSIX] (S_ISFIFO): Likewise.
6653 [POSIX] (S_ISREG): Likewise.
6654 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6656 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6658 [POSIX] (time_t): Likewise.
6659 [POSIX] (timer_t): Likewise.
6661 2014-06-11 Florian Weimer <fweimer@redhat.com>
6664 * posix/spawn_int.h (struct __spawn_action): Make the path string
6665 non-const to support deallocation.
6666 * posix/spawn_faction_addopen.c
6667 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6668 * posix/spawn_faction_destroy.c
6669 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6670 path in all spawn_do_open actions.
6671 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6672 posix_spawn_file_actions_addopen.
6674 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6676 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6677 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6678 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6679 conditional code always true.
6680 (__libc_vfork): New alias.
6682 2014-06-11 Roland McGrath <roland@hack.frob.com>
6684 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6685 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6687 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6689 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6690 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6692 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6693 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6695 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6696 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6698 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6700 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6701 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6702 multiarch strcmp for PPC64.
6703 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6704 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6706 multiarch optimizations.
6707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6708 (__libc_ifunc_impl_list): Likewise.
6710 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6712 * benchtests/scripts/validate_benchout.py: New script.
6713 * benchtests/Makefile (bench-func): Call it.
6714 * benchtests/scripts/benchout.schema.json: New file.
6716 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6719 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6720 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6721 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6722 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6723 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6724 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6725 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6726 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6727 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6728 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6729 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6730 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6731 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6732 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6733 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6838 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6839 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6840 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6843 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6846 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6848 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6850 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6852 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6854 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6856 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6859 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6862 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6867 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6869 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6870 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6871 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6872 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6873 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6875 2014-06-10 Wilco <wdijkstr@arm.com>
6877 * math/test-fenv-return.c: New file.
6878 * math/Makefile: Add new test test-fenv-return.
6880 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6883 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6885 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6886 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6888 0.0L for an argument of 1.0L.
6889 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6891 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6892 value when x - 1 is zero.
6893 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6894 * sysdeps/i386/fpu/libm-test-ulps: Update.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6897 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6900 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6902 2014-06-09 Roland McGrath <roland@hack.frob.com>
6904 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6905 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6907 2014-06-09 Roland McGrath <roland@hack.frob.com>
6909 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6910 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6912 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6913 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6915 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6916 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6918 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6919 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6921 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6922 if not already defined.
6923 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6924 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6925 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6926 (TLS_INIT_TP): Use it.
6927 (TLS_DEFINE_INIT_TP): New macro.
6928 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6930 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6932 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6934 [POSIX] (IXANY): Likewise.
6935 [POSIX] (OLCUC): Likewise.
6936 [POSIX || POSIX2008] (CBAUD): Do not allow.
6937 [POSIX || POSIX2008] (DEFECHO): Likewise.
6938 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6939 [POSIX || POSIX2008] (ECHOKE): Likewise.
6940 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6941 [POSIX || POSIX2008] (EXTA): Likewise.
6942 [POSIX || POSIX2008] (EXTB): Likewise.
6943 [POSIX || POSIX2008] (FLUSHO): Likewise.
6944 [POSIX || POSIX2008] (LOBLK): Likewise.
6945 [POSIX || POSIX2008] (PENDIN): Likewise.
6946 [POSIX || POSIX2008] (SWTCH): Likewise.
6947 [POSIX || POSIX2008] (VDISCARD): Likewise.
6948 [POSIX || POSIX2008] (VDSUSP): Likewise.
6949 [POSIX || POSIX2008] (VLNEXT): Likewise.
6950 [POSIX || POSIX2008] (VREPRINT): Likewise.
6951 [POSIX || POSIX2008] (VSTATUS): Likewise.
6952 [POSIX || POSIX2008] (VWERASE): Likewise.
6953 (B*): Change to B[0123456789]*.
6954 * conform/data/time.h-data [POSIX || UNIX98]
6955 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6956 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6957 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6958 [POSIX] (tm_*): Do not allow.
6960 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6962 * Makefile (install): Don't set LANGUAGE.
6963 * Makefile.in (install): Likewise.
6964 * assert/Makefile (test-assert-ENV): Remove variable.
6965 (test-assert-perr-ENV): Likewise.
6966 * elf/Makefile (neededtest4-ENV): Likewise.
6967 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6968 [$(cross-compiling) = no]: Don't set LANGUAGE.
6969 * io/ftwtest-sh (LANG): Remove variable.
6970 * libio/Makefile (tst-widetext-ENV): Likewise.
6971 * manual/install.texi (Running make install): Don't refer to
6972 environment settings for make install.
6973 * INSTALL: Regenerated.
6974 * nptl/tst-tls6.sh: Don't set LANG.
6975 * posix/globtest.sh (LANG): Remove variable.
6976 * string/Makefile (tester-ENV): Likewise.
6977 (inl-tester-ENV): Likewise.
6978 (noinl-tester-ENV): Likewise.
6979 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6980 [$(cross-compiling) = no]: Don't set LANGUAGE.
6981 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6982 without explicit environment settings.
6984 2014-06-06 Roland McGrath <roland@hack.frob.com>
6986 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6987 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6988 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6989 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6991 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6993 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6994 other files in the crypt directory.
6995 * crypt/crypt.c: Remove duplicate includes.
6996 * crypt/crypt-entry.c: Likewise.
6997 * crypt/crypt_util.c: Likewise.
6999 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7001 * Makeconfig (run-program-env): New variable.
7002 (run-program-prefix-before-env): Likewise.
7003 (run-program-prefix-after-env): Likewise.
7004 (run-program-prefix): Define in terms of new variables.
7005 (built-program-cmd-before-env): New variable.
7006 (built-program-cmd-after-env): Likewise.
7007 (built-program-cmd): Define in terms of new variables.
7008 (test-program-prefix-before-env): New variable.
7009 (test-program-prefix-after-env): Likewise.
7010 (test-program-prefix): Define in terms of new variables.
7011 (test-program-cmd-before-env): New variable.
7012 (test-program-cmd-after-env): Likewise.
7013 (test-program-cmd): Define in terms of new variables.
7014 * Rules (make-test-out): Use $(run-program-env).
7015 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7016 (help): Do not mention environment variables. Mention
7017 --timeoutfactor option.
7018 (timeoutfactor): New variable.
7019 (blacklist_exports): Remove function.
7020 (exports): Remove variable.
7021 (command): Do not include ${exports}.
7022 * manual/install.texi (Configuring and compiling): Do not mention
7023 test wrappers preserving environment variables. Mention that last
7024 assignment to a variable must take precedence.
7025 * INSTALL: Regenerated.
7026 * benchtests/Makefile (run-bench): Use $(run-program-env).
7027 * catgets/Makefile ($(objpfx)test1.cat): Use
7028 $(built-program-cmd-before-env), $(run-program-env) and
7029 $(built-program-cmd-after-env).
7030 ($(objpfx)test2.cat): Do not specify environment variables
7032 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7033 $(run-program-env) and $(built-program-cmd-after-env).
7034 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7035 $(run-program-env) and $(test-program-cmd-after-env).
7036 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7038 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7039 run_program_env and test_program_cmd_after_env arguments.
7040 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7041 * elf/tst-pathopt.sh: Use run_program_env argument.
7042 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7043 $(test-wrapper-env) and $(run-program-env).
7044 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7045 run_program_env arguments.
7046 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7047 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7048 $(test-program-prefix-before-env), $(run-program-env) and
7049 $(test-program-prefix-after-env).
7050 ($(objpfx)tst-gettext2.out): Likewise.
7051 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7052 run_program_env and test_program_prefix_after_env arguments.
7053 * intl/tst-gettext2.sh: Likewise.
7054 * intl/tst-gettext4.sh: Do not set environment variables
7056 * intl/tst-gettext6.sh: Likewise.
7057 * intl/tst-translit.sh: Likewise.
7058 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7059 $(test-program-prefix-before-env), $(run-program-env) and
7060 $(test-program-prefix-after-env).
7061 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7062 run_program_env and test_program_prefix_after_env arguments.
7063 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7064 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7065 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7066 explicitly with each use of ${test_wrapper_env}.
7067 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7068 $(test-program-prefix-before-env), $(run-program-env) and
7069 $(test-program-prefix-after-env).
7070 * posix/tst-getconf.sh: Do not set environment variables
7072 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7073 run_program_env and test_program_prefix_after_env arguments.
7074 * stdio-common/tst-printf.sh: Do not set environment variables
7076 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7077 $(test-program-prefix-before-env), $(run-program-env) and
7078 $(test-program-prefix-after-env).
7079 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7080 run_program_env and test_program_prefix_after_env arguments.
7081 Split $test calls into $test_pre and $test.
7082 * timezone/Makefile (build-testdata): Use
7083 $(built-program-cmd-before-env), $(run-program-env) and
7084 $(built-program-cmd-after-env).
7086 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7089 strlen for non SHARED builds.
7091 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7093 * nptl/allocatestack.c (check_list): Inlined function...
7094 (__reclaim_stacks): ... here.
7096 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7099 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7102 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7104 * Rules (make-test-out): Include
7105 LOCPATH=$(common-objpfx)localedata in default environment.
7106 * debug/Makefile (tst-chk1-ENV): Remove variable.
7107 (tst-chk2-ENV): Likewise.
7108 (tst-chk3-ENV): Likewise.
7109 (tst-chk4-ENV): Likewise.
7110 (tst-chk5-ENV): Likewise.
7111 (tst-chk6-ENV): Likewise.
7112 (tst-lfschk1-ENV): Likewise.
7113 (tst-lfschk2-ENV): Likewise.
7114 (tst-lfschk3-ENV): Likewise.
7115 (tst-lfschk4-ENV): Likewise.
7116 (tst-lfschk5-ENV): Likewise.
7117 (tst-lfschk6-ENV): Likewise.
7118 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7119 (tst-iconv7-ENV): Likewise.
7120 * intl/Makefile (LOCPATH-ENV): Likewise.
7121 (tst-codeset-ENV): Likewise.
7122 (tst-gettext3-ENV): Likewise.
7123 (tst-gettext5-ENV): Likewise.
7124 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7125 (tst-fopenloc-ENV): Likewise.
7126 (tst-fgetws-ENV): Remove variable.
7127 (tst-ungetwc1-ENV): Likewise.
7128 (tst-ungetwc2-ENV): Likewise.
7129 (bug-ungetwc2-ENV): Likewise.
7130 (tst-swscanf-ENV): Likewise.
7131 (bug-ftell-ENV): Likewise.
7132 (tst-fgetwc-ENV): Likewise.
7133 (tst-fseek-ENV): Likewise.
7134 (tst-ftell-partial-wide-ENV): Likewise.
7135 (tst-ftell-active-handler-ENV): Likewise.
7136 (tst-ftell-append-ENV): Likewise.
7137 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7138 (tst-regexloc-ENV): Likewise.
7139 (bug-regex1-ENV): Likewise.
7140 (tst-regex-ENV): Likewise.
7141 (tst-regex2-ENV): Likewise.
7142 (bug-regex5-ENV): Likewise.
7143 (bug-regex6-ENV): Likewise.
7144 (bug-regex17-ENV): Likewise.
7145 (bug-regex18-ENV): Likewise.
7146 (bug-regex19-ENV): Likewise.
7147 (bug-regex20-ENV): Likewise.
7148 (bug-regex22-ENV): Likewise.
7149 (bug-regex23-ENV): Likewise.
7150 (bug-regex25-ENV): Likewise.
7151 (bug-regex26-ENV): Likewise.
7152 (bug-regex30-ENV): Likewise.
7153 (bug-regex32-ENV): Likewise.
7154 (bug-regex33-ENV): Likewise.
7155 (bug-regex34-ENV): Likewise.
7156 (bug-regex35-ENV): Likewise.
7157 (tst-rxspencer-ENV): Likewise.
7158 (tst-rxspencer-no-utf8-ENV): Likewise.
7159 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7160 (tst-sscanf-ENV): Likewise.
7161 (tst-swprintf-ENV): Likewise.
7162 (tst-swscanf-ENV): Likewise.
7163 (test-vfprintf-ENV): Likewise.
7164 (scanf13-ENV): Likewise.
7165 (bug14-ENV): Likewise.
7166 (tst-grouping-ENV): Likewise.
7167 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7168 (tst-strtod3-ENV): Likewise.
7169 (tst-strtod4-ENV): Likewise.
7170 (tst-strtod5-ENV): Likewise.
7171 (testmb2-ENV): Likewise./
7172 * string/Makefile (tst-strxfrm-ENV): Likewise.
7173 (tst-strxfrm2-ENV): Likewise.
7174 (bug-strcoll1-ENV): Likewise.
7175 (test-strcasecmp-ENV): Likewise.
7176 (test-strncasecmp-ENV): Likewise.
7177 * time/Makefile (tst-strptime-ENV): Likewise.
7178 (tst-ftime_l-ENV): Likewise.
7179 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7180 (tst-mbrtowc-ENV): Likewise.
7181 (tst-wcrtomb-ENV): Likewise.
7182 (tst-mbrtowc2-ENV): Likewise.
7183 (tst-c16c32-1-ENV): Likewise.
7184 (tst-mbsnrtowcs-ENV): Likewise.
7186 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7188 * manual/resource.texi (How to get information about the memory
7189 subsystem?): Fix typo.
7190 Reported by Peon de la Parra Ivan <peon@keba.com>
7192 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7195 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7196 (pthread_spin_lock): Branch out of spin loop to proper location.
7197 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7198 (pthread_spin_lock): Likewise.
7200 * nptl/tst-spin4.c: New test.
7201 * nptl/Makefile (tests): Add tst-spin4.
7203 2014-06-03 Andreas Schwab <schwab@suse.de>
7206 * resolv/res_send.c (send_dg): Reload file descriptor after
7209 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7211 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7213 2014-06-03 Richard Henderson <rth@redhat.com>
7215 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7216 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7217 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7218 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7219 in the SAVE_PID block.
7220 (__libc_vfork): New alias.
7221 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7223 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7224 child in registers, not on the stack. Remove RESET_PID conditionals.
7225 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7227 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7229 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7231 2014-06-03 Wilco <wdijkstr@arm.com>
7233 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7234 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7235 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7236 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7237 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7240 2014-06-03 Wilco <wdijkstr@arm.com>
7242 * sysdeps/aarch64/fpu/math_private.h
7243 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7244 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7245 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7246 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7249 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7251 * crypt/crypt-private.h: Include ufc-crypt.h.
7252 (__b64_from_24bit): Declare extern.
7253 * crypt/crypt_util.c(__b64_from_24bit): New function.
7254 (b64t): New static const variable.
7255 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7256 (b64t): Remove variable.
7257 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7258 * crypt/sha256-crypt.c: Include crypt-private.h.
7259 (b64t): Remove variable.
7260 (__sha256_crypt_r): Remove b64_from_24bit and replace
7261 with __b64_from_24bit.
7262 * crypt/sha512-crypt.c: Likewise.
7264 2014-06-02 Roland McGrath <roland@hack.frob.com>
7266 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7267 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7268 Label the code __libc_vfork rather than __vfork.
7269 [!NOT_IN_libc] (vfork): Define as weak alias.
7270 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7271 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7272 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7274 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 * malloc/malloc.c (malloc_info): Fix format specifier for
7279 2014-06-02 Wilco <wdijkstr@arm.com>
7281 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7284 2014-06-02 Wilco <wdijkstr@arm.com>
7287 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7288 Rewrite to reduce FPCR/FPSR accesses.
7290 2014-06-01 David S. Miller <davem@davemloft.net>
7292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7294 2014-05-31 David S. Miller <davem@davemloft.net>
7296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7297 to occur in round to nearest mode when |x| >= 2.0
7299 2014-05-30 Richard Henderson <rth@twiddle.net>
7301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7302 (PSEUDO_RET_NOERRNO): Remove.
7303 (ret): Don't redefine.
7304 (ret_NOERRNO): Define in terms of ret.
7305 (ret_ERRVAL): Likewise.
7307 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7308 use of PSEUDO_RET; perform the error check directly.
7310 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7312 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7315 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7317 * malloc/malloc (malloc_info): Fix formatting.
7319 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7320 Roland McGrath <roland@hack.frob.com>
7322 * malloc/malloc (malloc_info): Also print mmapped statistics.
7324 2014-05-30 Roland McGrath <roland@hack.frob.com>
7326 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7327 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7329 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7331 * malloc/malloc.c (malloc_info): Inline mi_arena.
7333 2014-05-29 Richard Henderson <rth@twiddle.net>
7335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7336 Remove comma before expanding ASM_ARGS_##nr.
7337 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7338 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7340 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7341 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7342 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7343 (ASM_ARGS_1): Add leading comma.
7345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7346 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7347 to __errno_location.
7348 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7349 Remove the expected plt for __errno_location.
7351 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7352 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7356 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7357 it and break it down.
7358 (DOCARGS_0, DOCARGS_1): Do nothing.
7359 (DOCARGS_2): Update to store into the new stack frame.
7360 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7361 (UNDOCARGS_1): Update to restore from the new stack frame.
7362 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7363 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7366 (SINGLE_THREAD_P): New parameter for result regno.
7367 (PSEUDO): Update to match; use cbz instead of beq.
7369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7370 Use ENTRY to define the _nocancel entry point. Share the syscall
7371 and syscall error check paths with the cancel path.
7374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7375 whitespace; tabs before and after asm mnemonics.
7377 2014-05-29 Eric Wong <normalperson@yhbt.net>
7380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7381 Call fstat64 or stat64 internally, depending on arguments passed.
7382 Replace stat buffer argument with file descriptor argument.
7383 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7384 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7385 Pass fd to __internal_statvfs instead of calling fstat64.
7386 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7387 Pass fd to __internal_statvfs64 instead of calling fstat64.
7388 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7389 Pass -1 to __internal_statvfs instead of calling stat64.
7390 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7391 Pass -1 to __internal_statvfs64 instead of calling stat64.
7393 2014-05-28 Roland McGrath <roland@hack.frob.com>
7395 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7396 that was previously under [RESET_PID].
7397 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7399 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7400 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7402 2014-05-27 Roland McGrath <roland@hack.frob.com>
7404 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7406 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7407 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7409 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7411 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7413 2014-05-27 Andreas Schwab <schwab@suse.de>
7415 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7417 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7418 * elf/rtld.c (init_tls, dl_main): Likewise.
7419 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7420 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7421 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7422 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7423 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7424 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7425 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7426 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7427 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7428 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7429 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7430 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7431 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7432 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7433 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7434 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7435 * sysdeps/generic/tls.h: Update description.
7437 2014-05-27 Will Newton <will.newton@linaro.org>
7440 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7441 and restore r2 rather than just restoring.
7443 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 * libio/tst-ftell-append.c: New test case.
7447 * libio/Makefile (tests): Add test case.
7448 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7450 * libio/wfileops.c (do_ftell_wide): Likewise.
7452 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7460 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7461 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7462 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7463 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7465 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7473 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7474 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7475 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7476 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7478 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7481 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7485 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7486 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7487 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7490 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7491 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7492 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7515 conditional [RESET_PID].
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7525 (__libc_vfork): New strong alias.
7526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7533 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7534 (__libc_vfork): New strong alias.
7535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7540 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7542 * malloc/malloc.c (mi_arena): New function.
7543 (malloc_info): Remove nested function mi_arena. Call non-nosted
7546 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7548 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7550 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7551 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7552 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7553 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7554 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7555 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7556 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7558 2014-05-26 Andreas Schwab <schwab@suse.de>
7561 * locale/programs/repertoire.c (repertoire_read): Add slash
7562 between I18NPATH element and file name.
7563 * locale/programs/locfile.c (locfile_read): Likewise.
7565 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7567 * nptl/pthread_mutexattr_settype.c
7568 (__pthread_mutexattr_settype):
7569 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7571 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7573 * nptl/tst-mutex5 (do_test):
7574 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7576 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7578 * benchtests/README: Document 'init' directive.
7579 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7581 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7582 (parse_file): Recognize 'init' directive.
7584 2014-05-26 Kyle McMartin <kyle@redhat.com>
7587 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7588 alignment of struct pthread.
7590 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7593 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7594 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7595 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7596 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7598 2014-05-25 Richard Henderson <rth@twiddle.net>
7600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7601 (SINGLE_THREAD_P_PIC): Remove.
7602 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7603 (SINGLE_THREAD_P_PIC): Remove.
7605 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7606 branch to syscall error ...
7608 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7609 from __local_syscall_error to .Lsyscall_error.
7610 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7611 (SYSCALL_ERROR): Update label name.
7613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7614 Do not use DOARGS/UNDOARGS.
7615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7616 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7617 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7618 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7619 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7621 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7624 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7625 define if !NOT_IN_libc.
7626 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7627 define with non-default symbol versions.
7629 2014-05-23 Richard Henderson <rth@twiddle.net>
7631 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7632 (vfork, __vfork): Define via compat_symbol.
7634 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7635 [!HAVE_IFUNC] (vfork_compat): Remove.
7636 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7638 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7641 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7642 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7645 2014-05-23 Richard Henderson <rth@twiddle.net>
7647 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7648 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7649 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7650 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7652 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7653 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7654 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7655 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7656 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7657 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7659 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7660 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7661 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7662 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7663 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7664 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7665 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7666 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7667 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7668 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7669 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7670 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7671 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7672 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7673 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7674 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7675 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7676 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7677 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7678 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7679 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7680 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7681 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7682 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7683 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7684 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7685 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7686 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7687 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7688 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7689 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7690 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7691 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7692 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7693 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7694 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7695 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7696 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7697 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7699 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7701 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7703 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7705 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7707 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7709 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7710 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7711 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7712 before exiting on error.
7713 (__libc_vfork): New strong alias.
7714 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7715 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7717 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7718 that was previously under [RESET_PID].
7719 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7721 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7723 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7726 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7727 value when x - 1 is zero.
7728 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7729 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7730 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7731 0.0L for an argument of 1.0L.
7732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7734 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7735 value when x - 1 is zero.
7736 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7737 * sysdeps/i386/fpu/libm-test-ulps: Update.
7738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7742 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7743 alphasort and versionsort.
7745 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7747 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7749 [copysignf]: Likewise.
7751 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7753 * crypt/md5-crypt.c: Fix formatting.
7755 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7757 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7758 (b64_from_24bit): New function.
7760 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7763 libc_hidden_builtin_def to ifunc.
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7765 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7767 2014-05-21 Roland McGrath <roland@hack.frob.com>
7769 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7770 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7772 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7774 * nscd/Depend (linuxthreads): Remove.
7776 * resolv/Depend (linuxthreads): Remove.
7777 * rt/Depend (linuxthreads): Remove.
7779 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7780 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7781 $(common-objpfx)elf/.
7782 (link-libc-before-gnulib): Likewise.
7783 (elfobjdir): Remove variable.
7784 * Makefile (install): Use $(elf-objpfx) instead of
7785 $(common-objpfx)elf/.
7786 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7788 (link-libc-deps): Likewise.
7789 ($(common-objpfx)libc.so): Likewise.
7790 ($(common-objpfx)linkobj/libc.so): Likewise.
7791 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7792 instead of $(common-objpfx)elf/.
7793 (symbolic-link-list): Likewise.
7794 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7795 [$(cross-compiling) = no]: Likewise.
7796 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7798 (static-gnulib-arch): Likewise.
7799 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7800 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7801 $(common-objpfx)elf/.
7803 2014-05-21 Richard Henderson <rth@redhat.com>
7805 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7806 (SINGLE_THREAD_P): Use the correct width load. Fold
7807 into the ldr offset.
7809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7810 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7812 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7814 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7815 (libgcc_s_resume): Use __attribute_used__.
7816 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7819 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7822 optimization when used with float constants.
7824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7826 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7829 * locale/nl_langinfo_l.c: Make direct reference to every
7830 _nl_current_CATEGORY symbol.
7831 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7832 (tests-static): Add tst-langinfo-static.
7833 (tests-special): Add tst-langinfo-static.out.
7834 ($(objpfx)tst-langinfo.out): Redirect output.
7835 ($(objpfx)tst-langinfo-static.out): New.
7836 * localedata/tst-langinfo.sh: Send output to stdout.
7837 * localedata/tst-langinfo-static.c: New file.
7840 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7841 when the shift amount is modulo the limb size.
7843 2014-05-20 Richard Henderson <rth@redhat.com>
7846 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7847 Change type of sa_flags from unsigned int to int.
7850 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7852 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7854 2014-05-20 Will Newton <will.newton@linaro.org>
7856 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7857 Test the return value of the system call in the nocancel case.
7859 2014-05-20 Will Newton <will.newton@linaro.org>
7860 Yvan Roux <yvan.roux@linaro.org>
7862 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7863 #include of asm/ptrace.h.
7864 (PTRACE_GET_THREAD_AREA): Remove #undef.
7865 (PTRACE_GETHBPREGS): Likewise.
7866 (PTRACE_SETHBPREGS): Likewise.
7867 (struct user_regs_struct): New structure.
7868 (struct user_fpsimd_struct): New structure.
7869 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7870 #include of asm/ptrace.h and second #include of sys/user.h.
7871 (PTRACE_GET_THREAD_AREA): Remove #undef.
7872 (PTRACE_GETHBPREGS): Likewise.
7873 (PTRACE_SETHBPREGS): Likewise.
7874 (ELF_NGREG): Use new struct user_regs_struct.
7875 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7877 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7880 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7882 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7886 membar to avoid block loads/stores to overlap previous stores.
7888 2014-05-17 Richard Henderson <rth@redhat.com>
7890 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7891 Create the __##syscall_name##_nocancel entry point.
7892 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7893 Remove; let the sysdep-cancel.h code create it.
7895 2014-05-17 David S. Miller <davem@davemloft.net>
7897 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7898 Protect with __USE_GNU.
7899 (TIOCSET_TEMPT): Likewise.
7900 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7901 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7902 these are already provided in bits/ioctl-types.h
7904 2014-05-16 Roland McGrath <roland@hack.frob.com>
7906 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7907 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7909 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7910 Use wait4 regardless of [__NR_waitpid].
7912 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7915 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7916 (_FP_NANSIGN_Q): Set the quiet bit.
7918 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7920 * benchtests/Makefile
7921 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7922 not $(common-objpfx)math/libm.so.
7923 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7924 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7925 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7926 $(common-objpfx)dlfcn/libdl.so.
7927 ($(objpfx)tst-audit8): Depend on $(libm), not
7928 $(common-objpfx)math/libm.so.
7929 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7930 not $(common-objpfx)dlfcn/libdl.so.
7932 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7933 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7934 [$(build-shared) = yes].
7935 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7936 $(common-objpfx)nptl/libpthread.so.
7937 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7938 $(common-objpfx)math/libm.so$(libm.so-version) or
7939 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7940 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7941 $(common-objpfx)dlfcn/libdl.so.
7942 * setjmp/Makefile (link-libm): Remove variable.
7943 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7944 * stdio-common/Makefile (link-libm): Remove variable.
7945 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7946 * stdlib/Makefile (link-libm): Remove variable.
7947 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7948 ($(objpfx)tst-strtod-round): Likewise.
7949 ($(objpfx)tst-tininess): Likewise.
7950 ($(objpfx)tst-strtod-underflow): Likewise.
7951 ($(objpfx)tst-strtod6): Likewise.
7952 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7953 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7954 $(common-objpfx)dlfcn/libdl.so.
7956 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7959 BSD terminal modes definitions.
7961 2014-05-16 Roland McGrath <roland@hack.frob.com>
7963 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7964 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7966 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7967 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7968 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7969 Don't do #include_next.
7970 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7971 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7972 Don't do #include_next.
7973 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7974 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7975 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7976 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7978 2014-05-16 Allan McRae <allan@archlinux.org>
7980 * po/sv.po: Update Swedish translation from translation project.
7982 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7985 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7988 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7989 errno if the TIOCGPTN ioctl fails with an error different than
7991 * login/tst-ptsname.c: New file.
7992 * login/Makefile (tests): Add tst-ptsname.
7995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7998 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8002 herrno to return EAI_AGAIN.
8004 2014-05-14 Roland McGrath <roland@hack.frob.com>
8006 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8007 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8008 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8009 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8010 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8011 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8015 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8016 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8017 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8021 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8023 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8025 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8027 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8029 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8031 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8033 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8034 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8035 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8037 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8042 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8046 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8048 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8050 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8052 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8054 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8056 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8058 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8060 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8062 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8066 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8071 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8079 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8081 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8092 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8096 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8097 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8098 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8099 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8100 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8102 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8104 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8106 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8108 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8110 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8112 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8114 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8116 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8118 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8120 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8122 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8128 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8129 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8131 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8132 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8133 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8134 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8135 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8136 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8138 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8141 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8144 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8149 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8152 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8154 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8156 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8158 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8161 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8162 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8164 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8166 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8167 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8168 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8169 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8170 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8174 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8178 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8180 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8183 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8186 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8189 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8194 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8197 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8198 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8199 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8201 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8203 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8206 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8209 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8211 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8212 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8213 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8214 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8215 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8219 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8222 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8223 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8224 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8225 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8229 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8235 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8238 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8241 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8242 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8243 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8245 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8248 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8250 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8252 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8254 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8262 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8263 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8264 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8265 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8266 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8274 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8275 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8280 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8281 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8282 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8284 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8285 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8287 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8288 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8290 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8291 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8292 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8294 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8300 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8302 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8304 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8306 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8309 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8316 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8318 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8320 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8332 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8334 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8336 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8338 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8340 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8345 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8346 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8347 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8348 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8350 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8351 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8353 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8354 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8355 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8356 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8357 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8358 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8359 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8364 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8365 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8367 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8369 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8370 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8371 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8373 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8375 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8377 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8408 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8410 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8415 that was previously under [RESET_PID].
8416 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8417 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8418 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8420 * sysdeps/i386/nptl/Implies: New file.
8421 * sysdeps/x86_64/nptl/Implies: New file.
8422 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8423 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8425 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8427 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8428 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8429 (__libc_vfork): New strong alias.
8430 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8431 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8433 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8435 (__libc_vfork): New strong alias.
8436 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8437 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8439 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8440 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8441 (__libc_vfork): New strong alias.
8442 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8443 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8444 * nptl/pt-vfork.c: New file.
8445 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8446 (libpthread: GLIBC_2.20): New version set (empty).
8448 2014-05-14 Will Newton <will.newton@linaro.org>
8450 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8453 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8456 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8457 arguments with exponent 65 or above.
8458 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8459 arguments 0x1p113L or above.
8460 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8461 to arguments 0x1p107L or above.
8462 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8463 positive arguments with exponent 65 or above.
8464 * math/auto-libm-test-in: Add more tests of log1p.
8465 * math/auto-libm-test-out: Regenerated.
8468 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8469 non-finite arguments is +0.
8470 * math/s_cacosf.c (__cacosf): Likewise.
8471 * math/s_cacosl.c (__cacosl): Likewise.
8472 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8477 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8479 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8480 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8481 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8482 for explicit high bit of mantissa when testing for argument equal
8484 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8485 * sysdeps/i386/fpu/libm-test-ulps: Update.
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8489 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8490 (__erf): Scale by 16 instead of 8 in potentially underflowing
8491 case. Ensure exception if result actually underflows.
8492 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8493 (__erff): Scale by 16 instead of 8 in potentially underflowing
8494 case. Ensure exception if result actually underflows.
8495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8496 (efx8): Remove variable.
8497 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8498 case. Ensure exception if result actually underflows.
8499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8500 (efx8): Remove variable.
8501 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8502 case. Ensure exception if result actually underflows.
8503 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8504 (efx8): Remove variable.
8505 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8506 case. Ensure exception if result actually underflows.
8507 * math/auto-libm-test-in: Add more tests of erf.
8508 * math/auto-libm-test-out: Regenerated.
8510 2014-05-14 Andreas Schwab <schwab@suse.de>
8512 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8513 Remove code conditionalized on USE___THREAD.
8515 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8516 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8519 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8522 Define unconditionally.
8523 (__ASSUME_O_CLOEXEC): Likewise.
8524 (__ASSUME_SOCK_CLOEXEC): Likewise.
8525 (__ASSUME_IN_NONBLOCK): Likewise.
8526 (__ASSUME_PIPE2): Likewise.
8527 (__ASSUME_EVENTFD2): Likewise.
8528 (__ASSUME_SIGNALFD4): Likewise.
8529 (__ASSUME_DUP3): Likewise.
8530 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8531 (__ASSUME_DUP3): Do not define.
8532 (__ASSUME_EVENTFD2): Likewise.
8533 (__ASSUME_IN_NONBLOCK): Likewise.
8534 (__ASSUME_O_CLOEXEC): Likewise.
8535 (__ASSUME_PIPE2): Likewise.
8536 (__ASSUME_SIGNALFD4): Likewise.
8537 (__ASSUME_SOCK_CLOEXEC): Likewise.
8538 (__ASSUME_UTIMES): Undefine.
8539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8540 (__ASSUME_UTIMES): Do not define.
8541 (__ASSUME_O_CLOEXEC): Likewise.
8542 (__ASSUME_SOCK_CLOEXEC): Likewise.
8543 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8544 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8546 (__ASSUME_PIPE2): Likewise.
8547 (__ASSUME_EVENTFD2): Likewise.
8548 (__ASSUME_SIGNALFD4): Likewise.
8549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8550 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8552 (__ASSUME_EVENTFD2): Likewise.
8553 (__ASSUME_SIGNALFD4): Likewise.
8554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8555 (__ASSUME_32BITUIDS): Likewise.
8556 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8557 (__ASSUME_IPC64): Likewise.
8558 (__ASSUME_ST_INO_64_BIT): Likewise.
8559 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8560 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8562 (__ASSUME_UTIMES): Do not define.
8563 (__ASSUME_PSELECT): Likewise.
8564 (__ASSUME_PPOLL): Likewise.
8565 (__ASSUME_O_CLOEXEC): Likewise.
8566 (__ASSUME_SOCK_CLOEXEC): Likewise.
8567 (__ASSUME_IN_NONBLOCK): Likewise.
8568 (__ASSUME_PIPE2): Likewise.
8569 (__ASSUME_EVENTFD2): Likewise.
8570 (__ASSUME_SIGNALFD4): Likewise.
8571 (__ASSUME_DUP3): Likewise.
8572 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8573 (__ASSUME_UTIMES): Likewise.
8574 (__ASSUME_O_CLOEXEC): Likewise.
8575 (__ASSUME_SOCK_CLOEXEC): Likewise.
8576 (__ASSUME_IN_NONBLOCK): Likewise.
8577 (__ASSUME_PIPE2): Likewise.
8578 (__ASSUME_EVENTFD2): Likewise.
8579 (__ASSUME_SIGNALFD4): Likewise.
8580 (__ASSUME_DUP3): Likewise.
8581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8582 (__ASSUME_UTIMES): Likewise.
8583 (__ASSUME_O_CLOEXEC): Likewise.
8584 (__ASSUME_SOCK_CLOEXEC): Likewise.
8585 (__ASSUME_IN_NONBLOCK): Likewise.
8586 (__ASSUME_PIPE2): Likewise.
8587 (__ASSUME_EVENTFD2): Likewise.
8588 (__ASSUME_SIGNALFD4): Likewise.
8589 (__ASSUME_DUP3): Likewise.
8590 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8592 (__ASSUME_UTIMES): Likewise.
8593 (__ASSUME_EVENTFD2): Likewise.
8594 (__ASSUME_SIGNALFD4): Likewise.
8595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8596 (__ASSUME_O_CLOEXEC): Likewise.
8597 (__ASSUME_SOCK_CLOEXEC): Likewise.
8598 (__ASSUME_IN_NONBLOCK): Likewise.
8599 (__ASSUME_PIPE2): Likewise.
8600 (__ASSUME_EVENTFD2): Likewise.
8601 (__ASSUME_SIGNALFD4): Likewise.
8602 (__ASSUME_DUP3): Likewise.
8603 (__ASSUME_UTIMES): Undefine.
8605 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8606 feclearexcept. Remove symbol versioning code.
8607 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8608 symbol versioning code.
8609 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8610 symbol versioning code.
8611 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8612 feupdateenv. Remove symbol versioning code.
8613 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8614 fegetexceptflag. Remove symbol versioning code.
8615 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8616 fesetexceptflag. Remove symbol versioning code.
8617 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8618 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8619 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8620 (__posix_fadvise64_l32): Remove prototype.
8621 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8624 2014-05-13 Roland McGrath <roland@hack.frob.com>
8626 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8627 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8628 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8629 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8631 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8633 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8634 current working directory
8636 2014-05-13 Roland McGrath <roland@hack.frob.com>
8638 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8639 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8640 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8641 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8642 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8643 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8644 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8645 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8647 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8648 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8649 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8650 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8651 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8652 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8653 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8654 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8655 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8663 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8665 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8671 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8672 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8673 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8674 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8675 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8676 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8677 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8678 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8679 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8681 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8682 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8684 * sysdeps/unix/sysv/linux/arm/Makefile
8685 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8686 Add rt-aeabi_unwind_cpp_pr1.
8687 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8688 Add nptl-aeabi_unwind_cpp_pr1.
8689 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8690 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8691 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8692 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8693 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8694 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8696 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8697 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8698 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8699 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8701 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8702 Deconditionalize the code that was previously under [RESET_PID].
8703 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8705 * sysdeps/generic/exit-thread.h: New file.
8706 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8707 * include/unistd.h (__exit_thread): Remove declaration.
8708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8709 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8710 * csu/libc-start.c: Include <exit-thread.h>.
8711 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8712 * nptl/pthread_create.c: Include <exit-thread.h>.
8713 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8714 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8715 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8716 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8717 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8718 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8719 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8720 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8721 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8722 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8723 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8724 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8725 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8726 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8727 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8728 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8729 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8731 2014-05-13 Andreas Schwab <schwab@suse.de>
8733 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8735 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8737 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8738 (__ASSUME_UTIMES): Do not condition on kernel version.
8739 (__ASSUME_PSELECT): Define unconditionally.
8740 (__ASSUME_PPOLL): Likewise.
8741 (__ASSUME_ATFCTS): Likewise.
8742 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8743 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8744 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8745 (__ASSUME_UTIMENSAT): Define unconditionally.
8746 (__ASSUME_PRIVATE_FUTEX): Likewise.
8747 (__ASSUME_FALLOCATE): Likewise.
8748 (__ASSUME_O_CLOEXEC): Likewise.
8749 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8750 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8751 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8752 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8753 (__ASSUME_IN_NONBLOCK): Likewise.
8754 (__ASSUME_PIPE2): Likewise.
8755 (__ASSUME_EVENTFD2): Likewise.
8756 (__ASSUME_SIGNALFD4): Likewise.
8757 (__ASSUME_DUP3): Likewise.
8758 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8759 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8760 (__ASSUME_AT_RANDOM): Likewise.
8761 (__ASSUME_PREADV): Likewise.
8762 (__ASSUME_PWRITEV): Likewise.
8763 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8764 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8765 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8766 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8767 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8769 (__ASSUME_O_CLOEXEC): Define unconditionally.
8770 (__ASSUME_PSELECT): Do not undefine conditionally.
8771 (__ASSUME_PPOLL): Likewise.
8772 (__ASSUME_ATFCTS): Likewise.
8773 (__ASSUME_SET_ROBUST_LIST): Likewise.
8774 (__ASSUME_UTIMENSAT): Likewise.
8775 (__ASSUME_FDATASYNC): Define unconditionally.
8776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8777 (__ASSUME_SIGFRAME_V2): Likewise.
8778 )__ASSUME_EVENTFD2): Likewise.
8779 (__ASSUME_SIGNALFD4): Likewise.
8780 (__ASSUME_PSELECT): Do not undefine conditionally.
8781 (__ASSUME_PPOLL): Likewise.
8782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8783 (__ASSUME_PSELECT): Define unconditionally.
8784 (__ASSUME_PPOLL): Likewise.
8785 (__ASSUME_O_CLOEXEC): Likewise.
8786 (__ASSUME_SOCK_CLOEXEC): Likewise.
8787 (__ASSUME_IN_NONBLOCK): Likewise.
8788 (__ASSUME_PIPE2): Likewise.
8789 (__ASSUME_EVENTFD2): Likewise.
8790 (__ASSUME_SIGNALFD4): Likewise.
8791 (__ASSUME_DUP3): Likewise.
8792 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8793 (__ASSUME_O_CLOEXEC): Likewise.
8794 (__ASSUME_SOCK_CLOEXEC): Likewise.
8795 (__ASSUME_IN_NONBLOCK): Likewise.
8796 (__ASSUME_PIPE2): Likewise.
8797 (__ASSUME_EVENTFD2): Likewise.
8798 (__ASSUME_SIGNALFD4): Likewise.
8799 (__ASSUME_DUP3): Likewise.
8800 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8801 (__ASSUME_EVENTFD2): Likewise.
8802 (__ASSUME_SIGNALFD4): Likewise.
8803 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8805 2014-05-12 Andreas Schwab <schwab@suse.de>
8808 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8809 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8810 than maximum RPC packet size.
8811 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8812 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8813 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8814 (_nss_nis_getservbyport_r): Likewise.
8816 2014-05-12 Will Newton <will.newton@linaro.org>
8818 * malloc/Makefile (tests): Add tst-mallopt.
8819 * malloc/tst-mallopt.c: New file.
8821 2014-05-09 Roland McGrath <roland@hack.frob.com>
8823 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8824 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8826 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8828 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8829 (tst-tlsmod6.so): Likewise.
8831 2014-05-09 Roland McGrath <roland@hack.frob.com>
8833 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8835 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8838 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8839 and <dl-procinfo.h>.
8840 (__fegetenv): Save SSE state in envp->__eip if supported.
8841 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8842 envp->__eip if supported.
8843 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8844 and <dl-procinfo.h>.
8845 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8846 __data_offset and __data_selector in environment to 0. Set SSE
8848 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8850 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8852 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8854 2014-05-09 Will Newton <will.newton@linaro.org>
8856 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8857 and libc_relro_required for ARM.
8858 * sysdeps/arm/preconfigure: Regenerate.
8860 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8861 Stefan Liebler <stli@linux.vnet.ibm.com>
8863 * config.make.in (enable-lock-elision): New Makefile variable.
8864 * configure.ac: Likewise.
8865 * configure: Regenerate.
8866 * sysdeps/s390/configure.ac:
8867 Add check for gcc transactions support.
8868 * sysdeps/s390/configure: Regenerate.
8869 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8870 Build elision files if enabled.
8871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8872 Add lock elision support for s390.
8873 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8874 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8875 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8876 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8877 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8878 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8887 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8888 (__lll_timedlock_elision, __lll_lock_elision)
8889 (__lll_unlock_elision, __lll_trylock_elision)
8890 (lll_timedlock_elision, lll_lock_elision)
8891 (lll_unlock_elision, lll_trylock_elision): Add.
8892 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8893 (pthread_mutex_t): Add lock elision support for s390.
8895 2014-05-14 Wilco <wdijkstr@arm.com>
8897 * sysdeps/arm/fclrexcpt.c: Cleanup.
8898 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8899 * sysdeps/arm/feenablxcpt.c: Cleanup.
8900 * sysdeps/arm/fegetenv.c: Cleanup.
8901 * sysdeps/arm/fegetexcept.c: Cleanup.
8902 * sysdeps/arm/fegetround.c: Cleanup.
8903 * sysdeps/arm/feholdexcpt.c: Cleanup.
8904 * sysdeps/arm/fesetenv.c: Cleanup.
8905 * sysdeps/arm/fesetround.c: Cleanup.
8906 * sysdeps/arm/feupdateenv.c: Cleanup.
8907 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8908 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8909 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8910 * sysdeps/arm/ftestexcept.c: Cleanup.
8911 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8912 * sysdeps/arm/setfpucw.c: Cleanup.
8914 2014-05-09 Will Newton <will.newton@linaro.org>
8916 * sysdeps/arm/armv7/strcmp.S: New file.
8917 * NEWS: Mention addition of ARMv7 optimized strcmp.
8919 2014-05-08 Roland McGrath <roland@hack.frob.com>
8921 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8922 look for %.ac rather than %.in.
8924 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8925 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8926 * sysdeps/mach/hurd/configure: Regenerated.
8927 * sysdeps/unix/sysv/linux/configure: Regenerated.
8929 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8931 2014-05-07 Steve Ellcey <sellcey@mips.com>
8934 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8938 2014-05-07 Andreas Schwab <schwab@suse.de>
8940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8941 when skipping over non-matching result from nscd.
8943 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8946 * nptl/sockperf.c (client): Check socket return value.
8949 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8950 nscd security class.
8952 2014-05-06 Roland McGrath <roland@hack.frob.com>
8954 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8955 * sysdeps/arm/unwind.h: ... here.
8957 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8960 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8963 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8965 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8966 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8967 multiarch strncpy for PPC64.
8968 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8969 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8971 multiarch optimizations.
8972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8973 (__libc_ifunc_impl_list): Likewise.
8974 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8975 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8976 multiarch stpncpy for PPC64.
8977 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8978 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8980 2014-05-06 Andreas Schwab <schwab@suse.de>
8983 * gmon/mcount.c (_MCOUNT_DECL): Use
8984 atomic_compare_and_exchange_bool_acq instead of
8985 catomic_compare_and_exchange_bool_acq.
8987 2014-05-05 Roland McGrath <roland@hack.frob.com>
8989 * elf/Makefile (others, install-bin): Remove pldd.
8990 (pldd-modules): Variable removed.
8991 ($(objpfx)pldd): Target removed.
8992 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8993 (others, install-bin): Append pldd here.
8994 ($(objpfx)pldd): New target.
8996 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8997 to 0, so the first #if test emitted later doesn't see it undefined.
8998 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8999 * sysdeps/gnu/errlist.c: Regenerated.
9001 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9004 [libc_hidden_builtin_def]: Define to empty value.
9005 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9006 [libc_hidden_builtin_def]: Likewise.
9007 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9008 [libc_hidden_builtin_def]: Likewise.
9009 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9010 [libc_hidden_builtin_def]: Likewise.
9011 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9012 __redirect_memcpy and define ifunc as default hidden symbol.
9013 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9014 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9016 2014-05-04 Adam Conrad <adconrad@0c3.net>
9018 * locale/iso-4217.def: Reintroduce XDR currency.
9020 2014-05-04 Allan McRae <allan@archlinux.org>
9022 * po/eo.po: Update Esperanto translation from translation project.
9024 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9026 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9027 and FEATURE_INDEX_MAX to 1.
9028 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9030 2014-05-01 Steve Ellcey <sellcey@mips.com>
9032 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9033 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9034 * iconvdata/big5.c (ONE_DIRECTION): Define.
9035 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9036 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9037 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9038 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9039 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9040 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9041 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9042 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9043 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9044 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9045 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9046 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9047 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9048 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9049 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9050 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9051 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9052 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9053 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9054 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9055 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9056 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9057 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9058 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9059 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9060 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9061 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9062 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9063 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9064 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9065 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9066 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9067 * iconvdata/johab.c (ONE_DIRECTION): Define.
9068 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9069 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9070 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9071 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9072 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9073 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9074 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9075 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9076 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9077 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9079 2014-05-01 Roland McGrath <roland@hack.frob.com>
9081 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9082 (_IO_JUMPS_OFFSET): Define to 0.
9084 * nptl/sysdeps/pthread/bits/libc-lock.h
9085 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9086 (__libc_lock_define_initialized_recursive): Always define using
9087 initializer. Modern compilers treat uninitialized (implicit zero) and
9088 explicit zero initializers the same (i.e. put the datum in bss).
9090 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9092 * nscd/nscd-client.h: Include <string.h>.
9094 2014-05-01 David S. Miller <davem@davemloft.net>
9097 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9098 multiple zero bytes exist at the end of a string.
9099 Reported by Aurelien Jarno <aurelien@aurel32.net>
9101 * string/test-strcmp.c (check): Add explicit test for situations where
9102 there are multiple zero bytes after the first.
9104 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9107 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9108 when compiling wprintf.
9109 * stdio-common/tstdiomisc.c (t3): New function.
9112 2014-05-01 Steve Ellcey <sellcey@mips.com>
9114 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9115 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9116 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9117 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9119 2014-05-01 Steve Ellcey <sellcey@mips.com>
9121 * stdlib/longlong.h: Updated from GCC.
9123 2014-05-01 Will Newton <will.newton@linaro.org>
9124 Bernard Ogden <bernie.ogden@linaro.org>
9126 * NEWS: Update fixed bug list.
9129 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9131 2014-04-30 David S. Miller <davem@davemloft.net>
9133 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9134 (libc_feholdexcept_setround_sparc_ctx): New function.
9135 (libc_fesetenv_sparc_ctx): Likewise.
9136 (libc_feupdateenv_sparc_ctx): Likewise.
9137 (libc_feholdsetround_sparc_ctx): Likewise.
9138 (libc_feholdexcept_setround_ctx): Define.
9139 (libc_feholdexcept_setroundf_ctx): Likewise.
9140 (libc_feholdexcept_setroundl_ctx): Likewise.
9141 (libc_fesetenv_ctx): Likewise.
9142 (libc_fesetenvf_ctx): Likewise.
9143 (libc_fesetenvl_ctx): Likewise.
9144 (libc_feupdateenv_ctx): Likewise.
9145 (libc_feupdateenvf_ctx): Likewise.
9146 (libc_feupdateenvl_ctx): Likewise.
9147 (libc_feresetround_ctx): Likewise.
9148 (libc_feresetroundf_ctx): Likewise.
9149 (libc_feresetroundl_ctx): Likewise.
9150 (libc_feholdsetround_ctx): Likewise.
9151 (libc_feholdsetroundf_ctx): Likewise.
9152 (libc_feholdsetroundl_ctx): Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9155 with __USE_GNU instead of XOPEN cpp guards.
9157 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9161 with XOPEN cpp guards.
9163 2014-04-30 Julian Brown <julian@codesourcery.com>
9166 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9169 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9172 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9174 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9175 * sysdeps/unix/sysv/linux/configure: Regenerated.
9176 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9177 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9178 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9179 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9180 * README: Update reference to required Linux kernel version.
9181 * manual/install.texi (Linux): Update reference to required Linux
9182 kernel headers version.
9183 * INSTALL: Regenerated.
9185 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9187 [POSIX] (limits.h): Likewise.
9188 [POSIX] (math.h): Likewise.
9189 [POSIX] (sys/wait.h): Likewise.
9190 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9192 [POSIX] (stddef.h): Do not allow header inclusion.
9194 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9196 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9198 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9200 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9201 Return immediately after lll_futex_wake.
9203 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9206 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9208 (datahead_init_pos): Call datahead_init_common early.
9209 (datahead_init_neg): Likewise.
9211 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9212 datahead_init_neg): New functions.
9213 * nscd/aicache.c (addhstaiX): Use them.
9214 * nscd/grpcache.c (cache_addgr): Likewise.
9215 * nscd/hstcache.c (cache_addhst): Likewise.
9216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9217 * nscd/netgroupcache.c (do_notfound): Likewise.
9218 (addgetnetgrentX): Likewise.
9219 (addinnetgrX): Likewise.
9220 * nscd/pwdcache.c (cache_addpw): Likewise.
9221 * nscd/servicescache.c (cache_addserv): Likewise.
9223 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9224 Atsushi Onoe <atsushi@onoe.org>
9229 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9230 one response is valid.
9231 * resolv/res_send.c (send_dg): Check for validity of other
9232 response if the current response is a referral.
9234 2014-04-29 Steve Ellcey <sellcey@mips.com>
9236 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9238 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9241 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9242 Always divide by positive zero when computing -Inf result.
9243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9244 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9246 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9248 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9249 FPSCR if value do not change.
9250 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9251 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9252 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9253 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9254 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9255 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9258 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9260 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9261 * sysdeps/unix/sysv/linux/hppa: Move directory from
9262 ports/systeps/unix/sysv/linux/hppa.
9263 * README: Update listing for hppa-*-linux-gnu.
9265 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9268 * manual/stdio.texi (Hook functions): Fix types of stream hook
9271 * socket/sys/socket.h: Fix typo in comment.
9273 2014-04-28 Wilco <wdijkstr@arm.com>
9275 * sysdeps/arm/fenv_private.h: New file.
9276 * sysdeps/arm/math_private.h: New file.
9277 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9279 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9281 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9283 (La_x86_64_retval): Likewise.
9285 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9287 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9288 fpsr if value didn't change.
9289 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9290 to fpcr if value didn't change.
9291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9292 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9293 fpsr or fpcr if value didn't change.
9294 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9295 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9296 fpcr if value didn't change.
9297 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9298 to fpsr if value didn't change.
9300 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * nptl/tst-sem3.c: Use test-skeleton.c
9303 (main): Rename to do_test. Use return instead of
9305 * nptl/tst-sem4.c: Use test-skeleton.c
9306 (main): Rename to do_test.
9308 2014-04-22 David S. Miller <davem@davemloft.net>
9310 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9311 (struct sigaction): New struct member __glibc_reserved0, change
9312 type of sa_flags to int.
9314 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9316 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9317 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9319 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9321 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9322 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9324 2014-04-22 Will Newton <will.newton@linaro.org>
9325 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9327 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9328 (__longjmp): Add longjmp and longjmp_target SystemTap
9330 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9331 (__sigsetjmp): Add setjmp SystemTap probe.
9333 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9335 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9338 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9340 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9342 * sysdeps/powerpc/fpu/fenv_private.h
9343 (libc_feholdexcept_setroundl_ctx): Define to
9344 libc_feholdexcept_setround_ppc_ctx.
9345 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9346 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9347 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9348 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9350 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9352 * sysdeps/aarch64/math-tests.h: New file.
9354 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9356 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9359 Check and set bit_AVX2_Usable.
9360 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9362 (bit_AVX2): Likewise.
9363 (index_AVX2_Usable): Likewise.
9364 (CPUID_AVX2): Likewise.
9365 (HAS_AVX2): Likewise.
9367 2014-04-17 Will Newton <will.newton@linaro.org>
9369 * manual/setjmp.texi (System V contexts): Add note that
9370 calling setcontext on a context created by a call to a
9371 signal handler is undefined. Update text to note that
9372 setcontext from a signal handler is possible but not
9376 * stdlib/tst-setcontext.c: Include signal.h.
9377 (main): Check that the signal stack before and
9378 after swapcontext is the same.
9380 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9381 Re-implement to restore registers in user code and avoid
9382 rt_sigreturn system call.
9384 2014-04-17 Wilco <wdijkstr@arm.com>
9386 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9387 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9388 * math/test-fenv.c: Skip exception trap tests on targets which only
9389 support non-stop mode.
9391 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9392 Wilco Dijkstra <wilco.dijkstra@arm.com>
9394 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9395 (libc_feholdsetround_aarch64_ctx)
9396 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9397 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9398 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9399 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9400 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9401 (libc_feresetround_noexl_ctx): Define.
9403 2014-04-16 Richard Henderson <rth@redhat.com>
9405 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9407 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9410 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9411 const from the non-libc, non-ldso copy.
9413 * sysdeps/alpha/libm-test-ulps: Regenerate.
9415 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9416 Wilco Dijkstra <wilco.dijkstra@arm.com>
9418 * sysdeps/aarch64/fpu/math_private.h: New file.
9420 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9422 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9424 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9427 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9428 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9430 Intel MPX bound registers before _dl_profile_fixup.
9431 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9432 registers after _dl_profile_fixup. Save and restore bound
9433 registers bnd0/bnd1 when calling _dl_call_pltexit.
9434 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9435 (LR_BND_OFFSET): Likewise.
9436 (LRV_BND0_OFFSET): Likewise.
9437 (LRV_BND1_OFFSET): Likewise.
9439 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9441 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9443 * sysdeps/mach/hurd/i386/tls.h: ... here.
9444 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9445 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9448 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9452 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9454 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9456 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9459 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9460 * sysdeps/s390/configure: Regenerate.
9463 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9464 Set round-to-nearest internally to reduce error accumulation.
9466 2014-04-16 Alan Modra <amodra@gmail.com>
9470 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9471 * math/libm-test.inc (frexp_test_data): Add tests.
9472 * NEWS: Update fixed bug list.
9474 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9476 * benchtests/Makefile: Depend on libraries in build directory.
9477 (bench-math): Separate out math tests.
9478 (bench-pthread): Separate out pthread tests.
9479 (bench): Include math and pthread tests.
9481 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9484 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9485 _dl_debug_initialize.
9487 * configure.ac: Remove SELinux header check.
9488 * configure: Regenerate.
9489 * nscd/selinux.c (perms): Array of const char* to permission names.
9490 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9491 default policy. Call string_to_security_class and string_to_av_perm to
9492 translate strings. Enforce default policy and call avs_has_perm with
9493 results of translated strings.
9495 2014-04-13 David S. Miller <davem@davemloft.net>
9497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9499 2014-04-12 Allan McRae <allan@archlinux.org>
9502 * manual/string.texi (Collation Functions): Fix qsort argument
9504 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9506 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9508 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9509 Make the test a no-op if there are no exceptions defined.
9511 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9513 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9514 enable-hardcoded-path-in-tests
9516 2014-04-11 Will Newton <will.newton@linaro.org>
9518 * benchtests/Makefile (extra-objs): Add json-lib.o.
9519 (bench-func): Tidy up JSON output.
9520 * benchtests/bench-skeleton.c: Include json-lib.h.
9521 (main): Use JSON library functions to do output of
9523 * benchtests/bench-timing-type.c (main): Output the
9524 timing type simply, leaving formatting to the user.
9525 * benchtests/json-lib.c: New file.
9526 * benchtests/json-lib.h: Likewise.
9528 2014-04-11 Torvald Riegel <triegel@redhat.com>
9531 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9532 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9533 memory barriers. Add comments.
9534 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9535 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9536 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9537 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9538 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9539 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9541 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9543 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9544 * sysdeps/s390/s390-64/configure.ac: ... this ...
9545 * sysdeps/s390/configure.ac: ... to here.
9546 * sysdeps/s390/s390-32/configure: Delete file.
9547 * sysdeps/s390/s390-64/configure: Delete file.
9548 * sysdeps/s390/configure: Regenerate.
9550 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9552 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9554 2014-04-11 Will Newton <will.newton@linaro.org>
9556 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9557 to zero if it is not defined elsewhere. (mtrim): Test
9558 the value of MALLOC_DEBUG with #if rather than #ifdef.
9560 2014-04-10 Torvald Riegel <triegel@redhat.com>
9562 * benchtests/pthread_once-inputs: New file.
9563 * benchtests/pthread_once-source.c: New file.
9564 * benchtests/README: Update documentation.
9566 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9567 H.J. Lu <hongjiu.lu@intel.com>
9570 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9571 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9572 * sysdeps/x86_64/configure: Regenerated.
9573 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9575 (REGISTER_SAVE_RAX): Likewise.
9576 (REGISTER_SAVE_RCX): Likewise.
9577 (REGISTER_SAVE_RDX): Likewise.
9578 (REGISTER_SAVE_RSI): Likewise.
9579 (REGISTER_SAVE_RDI): Likewise.
9580 (REGISTER_SAVE_R8): Likewise.
9581 (REGISTER_SAVE_R9): Likewise.
9582 (REGISTER_SAVE_BND0): Likewise.
9583 (REGISTER_SAVE_BND1): Likewise.
9584 (REGISTER_SAVE_BND2): Likewise.
9585 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9586 bound registers when calling _dl_fixup.
9588 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9590 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9591 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9593 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9594 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9595 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9596 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9597 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9598 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9599 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9601 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9604 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9605 pathconf(_PC_NAME_MAX).
9607 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9611 (__PTHREAD_SPINS): Move definition to ...
9612 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9613 (__PTHREAD_SPINS): ... here.
9614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9615 (__PTHREAD_SPIN): Likewise.
9616 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9617 (__PTHREAD_SPIN): Likewise.
9618 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9619 (__PTHREAD_SPIN): Likewise.
9620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9621 (__PTHREAD_SPIN): Likewise.
9622 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9623 (__PTHREAD_SPIN): Likewise.
9624 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9625 (__PTHREAD_SPIN): Likewise.
9626 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9627 (__PTHREAD_SPIN): Likewise.
9628 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9629 (__PTHREAD_SPIN): Likewise.
9630 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9631 (__PTHREAD_SPIN): Likewise.
9632 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9633 (__PTHREAD_SPIN): Likewise.
9634 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9635 (__PTHREAD_SPIN): Likewise.
9636 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9637 (__PTHREAD_SPIN): Likewise.
9639 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9641 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9642 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9645 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9646 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9647 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9649 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9650 strlen symbol for non multi-arch builds.
9651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9652 missing hidden_def and weak_alias.
9654 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9656 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9658 2014-04-07 Will Newton <will.newton@linaro.org>
9660 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9661 and contents. [!_LIBC] Remove #ifndef and contents.
9662 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9663 * string/memccpy.c (__memccpy): Use ANSI prototype.
9664 * string/memfrob.c (memfrob): Likewise.
9665 * string/strcoll.c (STRCOLL): Likewise.
9666 * string/strlen.c (strlen): Likewise.
9667 * string/strtok.c (STRTOK): Likewise.
9668 * string/strcat.c: Remove unused #include of memcopy.h.
9669 (strcat): Use ANSI prototype.
9670 * string/strchr.c: Remove unused #include of memcopy.h.
9671 (strchr): Use ANSI prototype.
9672 * string/strcmp.c: Remove unused #include of memcopy.h.
9673 (strcmp): Use ANSI prototype.
9674 * string/strcpy.c: Remove unused #include of memcopy.h.
9675 (strcpy): Use ANSI prototype.
9677 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9679 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9680 * config.make.in (config-extra-cppflags): Set it from
9681 libc_extra_cppflags.
9682 * configure.ac (libc_extra_cflags): Make it accumulate over
9683 configure fragments.
9684 (libc_extra_cppflags): New flag.
9685 * configure. Regenerate.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9687 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9688 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9693 result for FE_DOWNWARD rounding mode.
9694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9698 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9700 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9701 in function argument name.
9703 2014-04-03 David Svoboda <svoboda@cert.org>
9706 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9709 2014-04-03 Roland McGrath <roland@hack.frob.com>
9711 * elf/dl-unmap-segments.h: New file.
9712 * sysdeps/generic/ldsodefs.h
9713 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9714 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9715 * elf/dl-fptr.c: Likewise.
9716 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9717 * sysdeps/aarch64/tlsdesc.c: Likewise.
9718 * sysdeps/arm/tlsdesc.c: Likewise.
9719 * sysdeps/i386/tlsdesc.c: Likewise.
9720 * sysdeps/tile/dl-runtime.c: Likewise.
9721 * sysdeps/x86_64/tlsdesc.c: Likewise.
9722 * elf/dl-load.h: New file.
9723 * elf/dl-load.c: Include it.
9724 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9725 Macros moved to dl-load.h.
9726 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9727 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9728 Use _dl_unmap_segments in place of __munmap.
9729 Break out segment-mapping loop into ...
9730 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9732 2014-04-03 Will Newton <will.newton@linaro.org>
9734 * elf/dl-lookup.c (do_lookup_x): Remove comment
9735 referring to nested function and move variable
9736 declarations down to before first use.
9738 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9742 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9744 * math/s_catanf.c (__catanf): Likewise.
9745 * math/s_catanh.c (__catanh): Likewise.
9746 * math/s_catanhf.c (__catanhf): Likewise.
9747 * math/s_catanhl.c (__catanhl): Likewise.
9748 * math/s_catanl.c (__catanl): Likewise.
9749 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9750 by positive zero when computing -Inf result.
9751 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9752 (catanh_test): Likewise.
9753 * sysdeps/i386/fpu/libm-test-ulps: Update.
9754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9757 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9758 instead of using underflowing value in computing result.
9759 * math/s_clog10.c (__clog10): Likewise.
9760 * math/s_clog10f.c (__clog10f): Likewise.
9761 * math/s_clog10l.c (__clog10l): Likewise.
9762 * math/s_clogf.c (__clogf): Likewise.
9763 * math/s_clogl.c (__clogl): Likewise.
9764 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9765 (clog10_test): Likewise.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769 2014-04-02 Alan Modra <amodra@gmail.com>
9772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9773 output when value is near a power of two. Use int64_t for lx and
9774 remove casts. Use decimal rather than hex exponent constants.
9775 Don't use long double multiplication when double will suffice.
9776 * math/libm-test.inc (nextafter_test_data): Add tests.
9777 * NEWS: Add 16739 and 16786 to bug list.
9779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9781 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9783 2014-04-01 Will Newton <will.newton@linaro.org>
9785 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9786 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9788 2014-04-01 Florian Weimer <fweimer@redhat.com>
9791 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9792 * nptl/tst-setuid2.c: New file.
9793 * nptl/Makefile (xtests): Add tst-setuid2.
9795 2014-04-01 Alan Modra <amodra@gmail.com>
9798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9800 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9804 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9805 set errno as appropriate.
9806 * math/w_scalbf.c (__scalbf): Likewise.
9807 * math/w_scalbl.c (__scalbl): Likewise.
9808 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9809 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9810 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9814 * math/w_atan2.c: Include <errno.h>.
9815 (__atan2): Set errno for result underflowing to zero.
9816 * math/w_atan2f.c: Include <errno.h>.
9817 (__atan2f): Set errno for result underflowing to zero.
9818 * math/w_atan2l.c: Include <errno.h>.
9819 (__atan2l): Set errno for result underflowing to zero.
9820 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9822 * math/auto-libm-test-out: Regenerated.
9824 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9826 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9827 Encode instruction correctly in little endian.
9828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9834 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9837 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9840 * sysdeps/unix/sysv/linux/kernel-features.h
9841 [__sparc__ && !__arch64__ && !__sparc_v9__]
9842 (__ASSUME_SET_ROBUST_LIST): Do not define.
9843 [__sparc__ && !__arch64__ && !__sparc_v9__]
9844 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9845 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9848 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9849 (__ASSUME_REQUEUE_PI): Likewise.
9850 (__ASSUME_SET_ROBUST_LIST): Likewise.
9851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9852 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9862 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9864 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9865 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9870 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9871 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9873 2014-03-31 Will Newton <will.newton@linaro.org>
9875 * benchtests/Makefile (bench): Add ffs and ffsll to list
9877 * benchtests/ffs-inputs: New file.
9878 * benchtests/ffsll-inputs: Likewise.
9880 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9883 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9884 too large before casting to int.
9885 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9886 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9887 * math/libm-test.inc (scalb_test_data): Add more tests.
9889 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9891 * benchtests/Makefile (DETAILED_OPT): New make option.
9892 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9894 * benchtests/bench-skeleton.c: Include stdbool.h.
9895 (main): Store and print timings per input.
9896 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9897 member to each argument value.
9898 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9899 (_print_arg_data): Initialize per-input timing to 0.
9901 * benchtests/Makefile (timing-type): New binary.
9902 (bench-clean): Also remove bench-timing-type.
9903 (bench): New target for timing-type.
9904 (bench-func): Print output in JSON format.
9905 * benchtests/bench-skeleton.c (main): Print output in JSON
9907 * benchtests/bench-timing-type.c: New file.
9908 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9909 (TIMING_PRINT_STATS): Remove.
9910 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9913 * benchtests/bench-modf.c: Remove.
9914 * benchtests/modf-inputs: New inputs file.
9916 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9919 * math/s_clog10.c (M_PI_LOG10E): New macro.
9920 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9921 imaginary parts are 0.
9922 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9923 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9924 imaginary parts are 0.
9925 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9926 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9927 imaginary parts are 0.
9928 * math/libm-test.inc (clog10_test_data): Update expected results
9929 for when real and imaginary parts are 0.
9931 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9933 * elf/dl-load.c: Finish conversion of __builtin_expect into
9936 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9940 1+x for argument with exponent below -67.
9941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9943 * math/auto-libm-test-in: Add more tests of exp.
9944 * math/auto-libm-test-out: Regenerated.
9946 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9949 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9950 (nscd_getnetgrent): Use it.
9953 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9956 2014-03-27 Andi Kleen <ak@linux.intel.com>
9958 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9959 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9960 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9961 (lll_robust_unlock): Remove out of line section. Use cfi
9963 (LLL_STUB_UNWIND_INFO*): Remove.
9964 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9965 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9966 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9967 (lll_robust_unlock): Remove out of line section. Use cfi
9969 (LLL_STUB_UNWIND_INFO*): Remove.
9971 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9977 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9979 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9981 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9984 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9986 * math/test-fenv-preserve.c: New file.
9987 * math/Makefile (tests): Add test-fenv-preserve.
9989 2014-03-26 Will Newton <will.newton@linaro.org>
9991 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9993 2014-03-25 Roland McGrath <roland@hack.frob.com>
9995 * scripts/versionlist.awk: Partition the version sets and emit all
9996 GLIBC_* (sorted) before all others (sorted).
9998 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10000 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10001 GLIBC_2.2.5 version.
10003 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10013 2014-03-25 Andreas Schwab <schwab@suse.de>
10015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10016 label to be used after in6ailist is initialized.
10018 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10021 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10023 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10027 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10029 (fp_formats): Update initializers.
10030 (init_fp_formats): Initialize new field.
10031 (output_for_one_input_case): Allow underflow for results up to
10033 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10034 * math/auto-libm-test-in: Don't mark some underflows from asin and
10036 * math/auto-libm-test-out: Regenerated.
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10040 2014-03-25 Andreas Schwab <schwab@suse.de>
10042 * libio/Makefile (tst-ftell-partial-wide-ENV)
10043 (tst-ftell-active-handler-ENV): Define.
10045 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10047 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10049 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10051 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10053 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10056 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10057 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10059 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10062 * elf/dl-load.c (open_verify): Add mode parameter.
10063 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10064 (open_path): Change from boolean 'secure' to complete flag 'mode'
10065 (_dl_map_object): Adjust.
10066 * elf/Makefile (tests): Add tst-dlopen-aout.
10067 * elf/tst-dlopen-aout.c: New test.
10069 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10072 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10073 (struct stat): Rename member pad0 to __glibc_reserved0.
10076 * sysdeps/s390/s390-32/bits/wordsize.h
10077 (__WORDSIZE32_SIZE_ULONG): New define.
10078 * sysdeps/s390/s390-64/bits/wordsize.h
10079 (__WORDSIZE32_SIZE_ULONG): Likewise.
10080 * sysdeps/generic/stdint.h (SIZE_MAX):
10081 Define as UL if __WORDSIZE32_SIZE_ULONG.
10084 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10085 (__glibc_reserved0): New variable.
10086 (sa_flags): Change type to int.
10088 * posix/Makefile (before-compile): Use += before-compile instead
10091 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10092 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10094 2014-03-20 Andreas Schwab <schwab@suse.de>
10097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10098 non-matching result from nscd.
10100 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10102 * scripts/bench.py: Moved to ...
10103 * benchtests/scripts/bench.py: ... here.
10104 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10106 2014-03-24 Andreas Schwab <schwab@suse.de>
10109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10110 alloca_account and account alloca use for struct in6ailist.
10112 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10115 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10116 rounding mode to recompute results that overflow to infinity or
10118 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10120 * math/auto-libm-test-out: Regenerated.
10121 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10122 (ccosh_test): Likewise.
10123 (csin_test_data): Use plus_oflow.
10124 (csin_test): Use ALL_RM_TEST.
10125 (csinh_test_data): Use plus_oflow.
10126 (csinh_test): Use ALL_RM_TEST.
10127 * sysdeps/i386/fpu/libm-test-ulps: Update.
10128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10130 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10132 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10133 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10134 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10137 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10138 when x - 1 is zero.
10139 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10140 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10141 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10144 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10145 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10147 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10148 * sysdeps/i386/fpu/libm-test-ulps: Update.
10149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10151 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10153 * scripts/bench.pl: Remove file.
10154 * scripts/bench.py: New benchmark script.
10155 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10156 * benchtests/README: Mention python dependency.
10157 * scripts/pylintrc: New file.
10158 * scripts/pylint: New file.
10160 * bits/mathdef.h: Use #ifdef instead of #if.
10161 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10162 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10163 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10164 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10165 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10168 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10169 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10171 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10173 and strpbrk-ppc64 objects.
10174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10175 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10176 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10177 multiarch strpbrk for POWER7.
10178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10179 multiarch strpbrk for PPC64.
10180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10182 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10183 strpbrk for POWER7.
10185 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10187 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10188 (atan_test): Likewise.
10189 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10190 (atanh_test): Use ALL_RM_TEST.
10191 (atan2_test_data): Likewise.
10192 (cabs_test): Likewise.
10193 (cacosh_test): Likewise.
10194 (carg_test): Likewise.
10195 (casin_test): Likewise.
10196 (casinh_test): Likewise.
10197 (cbrt_test): Likewise.
10198 (csqrt_test): Likewise.
10199 (erf_test): Likewise.
10200 (erfc_test): Likewise.
10201 (pow10_test): Likewise.
10202 (exp2_test): Likewise.
10203 (hypot_test): Likewise.
10204 (j0_test): Likewise.
10205 (j1_test): Likewise.
10206 (lgamma_test): Likewise.
10207 (gamma_test): Likewise.
10208 (sincos_test): Likewise.
10209 (tanh_test): Likewise.
10210 (y0_test): Likewise.
10211 (y1_test): Likewise.
10212 * sysdeps/i386/fpu/libm-test-ulps: Update.
10213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10219 and strcspn-ppc64 objects.
10220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10221 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10222 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10223 multiarch strcspn for POWER7.
10224 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10225 multiarch strcspn for PPC64.
10226 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10228 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10229 strcspn for POWER7.
10231 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10233 * math/gen-libm-test.pl (generate_testfile): Expect only function
10234 name as argument to AUTO_TESTS_* and pass results for all rounding
10235 modes to parse_args.
10236 (parse_auto_input): Separate inputs of automatic tests from
10237 outputs before storing in %auto_tests.
10238 * math/libm-test.inc (acos_test_data): Update call to
10240 (acos_test): Use ALL_RM_TEST.
10241 (acos_tonearest_test_data): Remove.
10242 (acos_test_tonearest): Likewise.
10243 (acos_towardzero_test_data): Likewise.
10244 (acos_test_towardzero): Likewise.
10245 (acos_downward_test_data): Likewise.
10246 (acos_test_downward): Likewise.
10247 (acos_upward_test_data): Likewise.
10248 (acos_test_upward): Likewise.
10249 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10250 (asin_test_data): Likewise.
10251 (asin_test): Use ALL_RM_TEST.
10252 (asin_tonearest_test_data): Remove.
10253 (asin_test_tonearest): Likewise.
10254 (asin_towardzero_test_data): Likewise.
10255 (asin_test_towardzero): Likewise.
10256 (asin_downward_test_data): Likewise.
10257 (asin_test_downward): Likewise.
10258 (asin_upward_test_data): Likewise.
10259 (asin_test_upward): Likewise.
10260 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10261 (atan_test_data): Likewise.
10262 (atanh_test_data): Likewise.
10263 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10264 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10265 (carg_test_data): Likewise.
10266 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10267 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10268 (ccosh_test_data): Likewise.
10269 (cexp_test_data): Likewise.
10270 (clog_test_data): Likewise.
10271 (clog10_test_data): Likewise.
10272 (cos_test_data): Update call to AUTO_TESTS_f_f.
10273 (cos_test): Use ALL_RM_TEST.
10274 (cos_tonearest_test_data): Remove.
10275 (cos_test_tonearest): Likewise.
10276 (cos_towardzero_test_data): Likewise.
10277 (cos_test_towardzero): Likewise.
10278 (cos_downward_test_data): Likewise.
10279 (cos_test_downward): Likewise.
10280 (cos_upward_test_data): Likewise.
10281 (cos_test_upward): Likewise.
10282 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10283 (cosh_test): Use ALL_RM_TEST.
10284 (cosh_tonearest_test_data): Remove.
10285 (cosh_test_tonearest): Likewise.
10286 (cosh_towardzero_test_data): Likewise.
10287 (cosh_test_towardzero): Likewise.
10288 (cosh_downward_test_data): Likewise.
10289 (cosh_test_downward): Likewise.
10290 (cosh_upward_test_data): Likewise.
10291 (cosh_test_upward): Likewise.
10292 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10293 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10294 (ctan_test_data): Likewise.
10295 (ctan_test): Use ALL_RM_TEST.
10296 (ctan_tonearest_test_data): Remove.
10297 (ctan_test_tonearest): Likewise.
10298 (ctan_towardzero_test_data): Likewise.
10299 (ctan_test_towardzero): Likewise.
10300 (ctan_downward_test_data): Likewise.
10301 (ctan_test_downward): Likewise.
10302 (ctan_upward_test_data): Likewise.
10303 (ctan_test_upward): Likewise.
10304 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10305 (ctanh_test): Use ALL_RM_TEST.
10306 (ctanh_tonearest_test_data): Remove.
10307 (ctanh_test_tonearest): Likewise.
10308 (ctanh_towardzero_test_data): Likewise.
10309 (ctanh_test_towardzero): Likewise.
10310 (ctanh_downward_test_data): Likewise.
10311 (ctanh_test_downward): Likewise.
10312 (ctanh_upward_test_data): Likewise.
10313 (ctanh_test_upward): Likewise.
10314 (erf_test_data): Update call to AUTO_TESTS_f_f.
10315 (erfc_test_data): Likewise.
10316 (exp_test_data): Likewise.
10317 (exp_test): Use ALL_RM_TEST.
10318 (exp_tonearest_test_data): Remove.
10319 (exp_test_tonearest): Likewise.
10320 (exp_towardzero_test_data): Likewise.
10321 (exp_test_towardzero): Likewise.
10322 (exp_downward_test_data): Likewise.
10323 (exp_test_downward): Likewise.
10324 (exp_upward_test_data): Likewise.
10325 (exp_test_upward): Likewise.
10326 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10327 (exp10_test): Use ALL_RM_TEST.
10328 (exp10_tonearest_test_data): Remove.
10329 (exp10_test_tonearest): Likewise.
10330 (exp10_towardzero_test_data): Likewise.
10331 (exp10_test_towardzero): Likewise.
10332 (exp10_downward_test_data): Likewise.
10333 (exp10_test_downward): Likewise.
10334 (exp10_upward_test_data): Likewise.
10335 (exp10_test_upward): Likewise.
10336 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10337 (expm1_test_data): Likewise.
10338 (expm1_test): Use ALL_RM_TEST.
10339 (expm1_tonearest_test_data): Remove.
10340 (expm1_test_tonearest): Likewise.
10341 (expm1_towardzero_test_data): Likewise.
10342 (expm1_test_towardzero): Likewise.
10343 (expm1_downward_test_data): Likewise.
10344 (expm1_test_downward): Likewise.
10345 (expm1_upward_test_data): Likewise.
10346 (expm1_test_upward): Likewise.
10347 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10348 (fma_test): Use ALL_RM_TEST.
10349 (fma_towardzero_test_data): Remove.
10350 (fma_test_towardzero): Likewise.
10351 (fma_downward_test_data): Likewise.
10352 (fma_test_downward): Likewise.
10353 (fma_upward_test_data): Likewise.
10354 (fma_test_upward): Likewise.
10355 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10356 (j0_test_data): Update call to AUTO_TESTS_f_f.
10357 (j1_test_data): Likewise.
10358 (jn_test_data): Update call to AUTO_TESTS_if_f.
10359 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10360 (log_test_data): Update call to AUTO_TESTS_f_f.
10361 (log10_test_data): Likewise.
10362 (log1p_test_data): Likewise.
10363 (log2_test_data): Likewise.
10364 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10365 (pow_tonearest_test_data): Likewise.
10366 (sin_test_data): Update call to AUTO_TESTS_f_f.
10367 (sin_test): Use ALL_RM_TEST.
10368 (sin_tonearest_test_data): Remove.
10369 (sin_test_tonearest): Likewise.
10370 (sin_towardzero_test_data): Likewise.
10371 (sin_test_towardzero): Likewise.
10372 (sin_downward_test_data): Likewise.
10373 (sin_test_downward): Likewise.
10374 (sin_upward_test_data): Likewise.
10375 (sin_test_upward): Likewise.
10376 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10377 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10378 (sinh_test): Use ALL_RM_TEST.
10379 (sinh_tonearest_test_data): Remove.
10380 (sinh_test_tonearest): Likewise.
10381 (sinh_towardzero_test_data): Likewise.
10382 (sinh_test_towardzero): Likewise.
10383 (sinh_downward_test_data): Likewise.
10384 (sinh_test_downward): Likewise.
10385 (sinh_upward_test_data): Likewise.
10386 (sinh_test_upward): Likewise.
10387 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10388 (sqrt_test): Use ALL_RM_TEST.
10389 (sqrt_tonearest_test_data): Remove.
10390 (sqrt_test_tonearest): Likewise.
10391 (sqrt_towardzero_test_data): Likewise.
10392 (sqrt_test_towardzero): Likewise.
10393 (sqrt_downward_test_data): Likewise.
10394 (sqrt_test_downward): Likewise.
10395 (sqrt_upward_test_data): Likewise.
10396 (sqrt_test_upward): Likewise.
10397 (tan_test_data): Update call to AUTO_TESTS_f_f.
10398 (tan_test): Use ALL_RM_TEST.
10399 (tan_tonearest_test_data): Remove.
10400 (tan_test_tonearest): Likewise.
10401 (tan_towardzero_test_data): Likewise.
10402 (tan_test_towardzero): Likewise.
10403 (tan_downward_test_data): Likewise.
10404 (tan_test_downward): Likewise.
10405 (tan_upward_test_data): Likewise.
10406 (tan_test_upward): Likewise.
10407 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10408 (tgamma_test_data): Likewise.
10409 (y0_test_data): Likewise.
10410 (y1_test_data): Likewise.
10411 (yn_test_data): Update call to AUTO_TESTS_if_f.
10412 (main): Do not call removed functions.
10414 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10416 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10417 (ldexp_test_data): Remove.
10418 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10420 (scalb_test): Use ALL_RM_TEST.
10422 2014-03-19 Andreas Schwab <schwab@suse.de>
10424 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10426 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10431 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10432 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10433 (__ASSUME_PREADV): Undefine.
10434 (__ASSUME_PWRITEV): Likewise.
10436 2014-03-18 Roland McGrath <roland@hack.frob.com>
10438 * bits/mman-linux.h: Add comment about non-Linux use.
10439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10440 bits/mman-linux.h resting place.
10442 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10443 * bits/mman-linux.h: ... here.
10445 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10447 * conform/conformtest.pl: Add standard definition when calling C
10448 preprocessor on data files.
10449 (checknamespace): Remove unused variable.
10451 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10453 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10454 minus_oflow, plus_uflow and minus_uflow in expected results.
10455 * math/libm-test.inc (scalbn_test_data): Add more tests of
10456 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10458 (scalbn_test): Use ALL_RM_TEST.
10459 (scalbln_test_data): Add more tests of negative arguments. Use
10460 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10461 (scalbln_test): Use ALL_RM_TEST.
10463 2014-03-18 Roland McGrath <roland@hack.frob.com>
10465 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10467 2014-03-18 Will Newton <will.newton@linaro.org>
10469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10470 inaccurate comment.
10472 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10474 * Makerules [!subdir] (check-abi): Exit with error status if a
10477 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10479 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10480 for rint. Include results for all rounding modes.
10481 (nearbyint_test): Use ALL_RM_TEST.
10482 (rint_test_data): Include all tests used for nearbyint.
10484 2014-03-17 Will Newton <will.newton@linaro.org>
10486 * nptl/sysdeps/pthread/pthread.h: Revert previous
10489 * sysdeps/generic/ldsodefs.h: Revert previous
10492 * libio/genops.c: Revert previous change.
10493 * libio/libioP.h: Likewise.
10494 * stdio-common/vfprintf.c: Likewise.
10496 * sysdeps/generic/math_private.h: Revert previous
10499 * sysdeps/generic/math_private.h: Check whether
10500 HAVE_RM_CTX is defined with #ifdef rather
10503 * argp/argp-fmtstream.h: Check whether
10504 __STRICT_ANSI__ is defined with #ifdef rather
10506 * argp/argp.h: Likewise.
10508 * libio/genops.c: Check whether
10509 _IO_JUMPS_OFFSET is defined with #ifdef rather
10511 * libio/libioP.h: Likewise.
10512 * stdio-common/vfprintf.c: Likewise.
10514 * sysdeps/generic/ldsodefs.h: Check whether
10515 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10518 * nptl/sysdeps/pthread/pthread.h: Check
10519 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10522 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10524 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10526 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10530 * libio/fileops.c (_IO_file_open): Seek to end of file but
10531 don't cache the offset.
10532 (get_file_offset): Remove function.
10533 (do_ftell): Use cached offset when available.
10534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10535 don't cache the offset.
10536 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10538 (do_one_test): Call it.
10539 (do_ftell_test): Fix up expected old offset for a+ mode.
10540 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10543 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10544 up test status with function return status.
10545 (do_write_test): Likewise.
10546 (do_append_test): Likewise.
10548 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10549 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10552 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10554 * math/gen-libm-test.pl (parse_args): Handle results specified for
10555 each rounding mode separately.
10556 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10557 tests and results from lrint_tonearest_test_data,
10558 lrint_towardzero_test_data, lrint_downward_test_data and
10559 lrint_upward_test_data.
10560 (lrint_test): Use ALL_RM_TEST.
10561 (lrint_tonearest_test_data): Remove.
10562 (lrint_test_tonearest): Likewise.
10563 (lrint_towardzero_test_data): Likewise.
10564 (lrint_test_towardzero): Likewise.
10565 (lrint_downward_test_data): Likewise.
10566 (lrint_test_downward): Likewise.
10567 (lrint_upward_test_data): Likewise.
10568 (lrint_test_upward): Likewise.
10569 (llrint_test_data): Merge in per-rounding-mode tests and results
10570 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10571 llrint_downward_test_data and llrint_upward_test_data.
10572 (llrint_test): Use ALL_RM_TEST.
10573 (llrint_tonearest_test_data): Remove.
10574 (llrint_test_tonearest): Likewise.
10575 (llrint_towardzero_test_data): Likewise.
10576 (llrint_test_towardzero): Likewise.
10577 (llrint_downward_test_data): Likewise.
10578 (llrint_test_downward): Likewise.
10579 (llrint_upward_test_data): Likewise.
10580 (llrint_test_upward): Likewise.
10581 (rint_test_data): Merge in per-rounding-mode tests and results
10582 from rint_tonearest_test_data, rint_towardzero_test_data,
10583 rint_downward_test_data and rint_upward_test_data. Add
10584 per-rounding-mode results for tests not in those arrays.
10585 (rint_test): Use ALL_RM_TEST.
10586 (rint_tonearest_test_data): Remove.
10587 (rint_test_tonearest): Likewise.
10588 (rint_towardzero_test_data): Likewise.
10589 (rint_test_towardzero): Likewise.
10590 (rint_downward_test_data): Likewise.
10591 (rint_test_downward): Likewise.
10592 (rint_upward_test_data): Likewise.
10593 (rint_test_upward): Likewise.
10594 (main): Don't call removed functions.
10596 2014-03-14 Roland McGrath <roland@hack.frob.com>
10598 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10599 "Compiled on ..." crapola. It is anti-useful.
10601 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10603 * scripts/evaluate-test.sh: Handle fourth argument to determine
10604 whether test run should stop on failure.
10605 * Makeconfig (stop-on-test-failure): New variable.
10606 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10607 $(stop-on-test-failure).
10608 * Makefile (tests): Give a summary of results from testing and
10609 exit with failure status if they include an ERROR or FAIL.
10610 (xtests): Likewise.
10611 * manual/install.texi (Configuring and compiling): Mention
10612 stop-on-test-failure=y.
10613 * INSTALL: Regenerated.
10615 2014-03-14 Roland McGrath <roland@hack.frob.com>
10617 * scripts/versionlist.awk: New file.
10618 * Makerules [$(build-shared) = yes]
10619 (postclean-generated): Add Versions.def, not Versions.def.v and
10621 ($(common-objpfx)Versions.def.v.i): Target removed.
10622 ($(common-objpfx)Versions.def): New target.
10623 ($(common-objpfx)Versions.all): Depend on that rather that
10624 $(common-objpfx)Versions.def.v.
10625 * Versions.def: File removed.
10627 * Makeconfig (+gccwarn): Add -Wundef.
10628 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10629 a dl-sysdep.h breaking its contract.
10630 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10631 * include/stackinfo.h: New file.
10632 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10633 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10634 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10635 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10636 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10637 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10638 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10639 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10640 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10641 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10642 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10643 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10644 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10645 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10646 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10648 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10651 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10653 * math/libm-test.inc (round_test_data): Add more tests.
10656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10658 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10661 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10663 * math/libm-test.inc (ceil_test_data): Add more tests.
10665 * math/libm-test.inc (trunc_test_data): Add more tests related to
10668 2014-03-14 Roland McGrath <roland@hack.frob.com>
10670 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10671 with #if rather than #ifdef.
10672 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10674 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10677 first. Disable AVX-512 GCC support if assembler doesn't support
10679 * sysdeps/x86_64/configure: Regenerated.
10681 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10683 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10684 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10685 (__old_pthread_attr_setstack): Likewise.
10686 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10687 [!_STACK_GROWS_DOWN]: Likewise.
10689 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10691 * config.make.in (have-bash2): Delete.
10692 * configure.ac (libc_cv_have_bash2): Delete.
10693 * configure: Regenerate.
10694 * elf/Makefile (common-ldd-rewrite): Rename to ...
10695 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10696 (sh-ldd-rewrite): Delete.
10697 (bash-ldd-rewrite): Delete.
10698 (have-bash2): Delete checks.
10699 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10702 * config.make.in (have-ksh): Delete.
10704 * configure.ac (libc_cv_have_ksh): Delete.
10705 * configure: Regenerate.
10707 * elf/Makefile: Delete $(have-ksh) check.
10708 ($(objpfx)sotruss): Change KSH to BASH.
10709 * elf/sotruss.ksh: Rename to ...
10710 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10711 function style to match POSIX. Drop ksh vim mode setting.
10713 * manual/time.texi (Specifying the Time Zone with TZ): Change
10714 Tuesday to Thursday.
10716 * debug/tst-longjmp_chk2.c: Update header comment.
10717 (stackoverflow_handler): Add comment. Call assert on pass value.
10719 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10722 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10723 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10724 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10725 (La_x86_64_vector): Add zmm.
10726 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10727 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10728 ($(objpfx)tst-audit10): New target.
10729 ($(objpfx)tst-audit10.out): Likewise.
10730 (tst-audit10-ENV): New.
10731 (AVX512-CFLAGS): Likewise.
10732 (CFLAGS-tst-audit10.c): Likewise.
10733 (CFLAGS-tst-auditmod10a.c): Likewise.
10734 (CFLAGS-tst-auditmod10b.c): Likewise.
10735 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10736 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10737 * sysdeps/x86_64/configure: Regenerated.
10738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10739 AVX-512 zmm register support.
10740 (_dl_x86_64_save_sse): Likewise.
10741 (_dl_x86_64_restore_sse): Likewise.
10742 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10743 size vector registers.
10744 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10745 (ZMM_SIZE): Likewise.
10746 * sysdeps/x86_64/tst-audit10.c: New file.
10747 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10748 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10750 2014-03-13 Roland McGrath <roland@hack.frob.com>
10752 * configure.ac (HAVE_EHDR_START): New check.
10753 * configure: Regenerated.
10754 * config.h.in (HAVE_EHDR_START): New #undef.
10755 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10756 assuming the lowest-addressed segment maps the start of the file.
10758 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10760 * INSTALL: Regenerated.
10762 2014-03-13 Will Newton <will.newton@linaro.org>
10764 * manual/setjmp.texi (System V contexts): Improve
10765 clarity and grammar of documentation.
10767 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10770 * elf/Makefile (tests): Add tst-pie2.
10771 (tests-pie): Add tst-pie2.
10772 * elf/tst-pie2.c: New file.
10773 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10775 * elf/rtld.c (map_doit): Load executable as lt_executable.
10776 (dl_main): Likewise.
10778 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10782 (__ASSUME_PSELECT): Undefine.
10784 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10788 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10791 selector for static builds.
10793 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10796 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10799 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10801 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10802 IFUNC selector for static builds.
10804 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10806 * sysdeps/mips/math_private.h [__mips_hard_float]
10807 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10808 libc_feresetround_mips_ctx.
10809 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10810 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10811 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10814 * math/s_nextafter.c (__nextafter): Do not return value from
10815 overflowing computation.
10816 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10817 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10822 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10823 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10825 2014-03-11 Roland McGrath <roland@hack.frob.com>
10827 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10828 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10829 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10830 the new mov targetting sp.
10832 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10835 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10836 Define it for static builds as well.
10837 (NO_BZERO_IMPL): Likewise.
10839 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10841 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10842 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10843 multiarch strspn for PPC64.
10844 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10845 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10847 (__libc_ifunc_impl_list): Likewise.
10848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10849 multiarch optimizations
10850 * string/strspn.c (strspn): Using macro to redefine symbol name.
10852 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10853 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10855 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10856 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10857 multiarch strncat for PPC64.
10858 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10859 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10861 (__libc_ifunc_impl_list): Likewise.
10862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10863 multiarch optimizations
10865 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10868 * nscd/nscd.service: Make service type forking.
10870 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10872 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10873 sign in non default rounding modes.
10874 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10876 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10878 * math/libm-test.inc (ALL_RM_TEST): New macro.
10879 (ceil_test): Use ALL_RM_TEST.
10880 (cimag_test): Likewise.
10881 (conj_test): Likewise.
10882 (copysign_test): Likewise.
10883 (cproj_test): Likewise.
10884 (creal_test): Likewise.
10885 (fabs_test): Likewise.
10886 (floor_test): Likewise.
10887 (fmax_test): Likewise.
10888 (fmin_test): Likewise.
10889 (fmod_test): Likewise.
10890 (fpclassify_test): Likewise.
10891 (frexp_test): Likewise.
10892 (ilogb_test): Likewise.
10893 (isfinite_test): Likewise.
10894 (finite_test): Likewise.
10895 (isgreater_test): Likewise.
10896 (isgreaterequal_test): Likewise.
10897 (isinf_test): Likewise.
10898 (isless_test): Likewise.
10899 (islessequal_test): Likewise.
10900 (islessgreater_test): Likewise.
10901 (isnan_test): Likewise.
10902 (isnormal_test): Likewise.
10903 (issignaling_test): Likewise.
10904 (isunordered_test): Likewise.
10905 (logb_test): Likewise.
10906 (logb_downward_test_data): Remove.
10907 (logb_test_downward): Likewise.
10908 (lround_test): Use ALL_RM_TEST.
10909 (llround_test): Likewise.
10910 (modf_test): Likewise.
10911 (nexttoward_test): Likewise.
10912 (remainder_test): Likewise.
10913 (drem_test): Likewise.
10914 (remainder_tonearest_test_data): Likewise.
10915 (remainder_test_tonearest): Likewise.
10916 (drem_test_tonearest): Likewise.
10917 (remainder_towardzero_test_data): Likewise.
10918 (remainder_test_towardzero): Likewise.
10919 (drem_test_towardzero): Likewise.
10920 (remainder_downward_test_data): Likewise.
10921 (remainder_test_downward): Likewise.
10922 (drem_test_downward): Likewise.
10923 (remainder_upward_test_data): Likewise.
10924 (remainder_test_upward): Likewise.
10925 (drem_test_upward): Likewise.
10926 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10927 (round_test): Use ALL_RM_TEST.
10928 (signbit_test): Likewise.
10929 (trunc_test): Likewise.
10930 (significand_test): Likewise.
10931 (main): Don't call removed functions.
10933 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10936 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10937 || __USE_XOPEN2K8].
10938 (ILL_ILLOPN): Likewise.
10939 (ILL_ILLADR): Likewise.
10940 (ILL_ILLTRP): Likewise.
10941 (ILL_PRVOPC): Likewise.
10942 (ILL_PRVREG): Likewise.
10943 (ILL_COPROC): Likewise.
10944 (ILL_BADSTK): Likewise.
10945 (FPE_INTDIV): Likewise.
10946 (FPE_INTOVF): Likewise.
10947 (FPE_FLTDIV): Likewise.
10948 (FPE_FLTOVF): Likewise.
10949 (FPE_FLTUND): Likewise.
10950 (FPE_FLTRES): Likewise.
10951 (FPE_FLTINV): Likewise.
10952 (FPE_FLTSUB): Likewise.
10953 (SEGV_MAPERR): Likewise.
10954 (SEGV_ACCERR): Likewise.
10955 (BUS_ADRALN): Likewise.
10956 (BUS_ADRERR): Likewise.
10957 (BUS_OBJERR): Likewise.
10958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10959 (TRAP_TRACE): Likewise.
10960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10962 (CLD_KILLED): Likewise.
10963 (CLD_DUMPED): Likewise.
10964 (CLD_TRAPPED): Likewise.
10965 (CLD_STOPPED): Likewise.
10966 (CLD_CONTINUED): Likewise.
10967 (POLL_IN): Likewise.
10968 (POLL_OUT): Likewise.
10969 (POLL_MSG): Likewise.
10970 (POLL_ERR): Likewise.
10971 (POLL_PRI): Likewise.
10972 (POLL_HUP): Likewise.
10973 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10975 (ILL_ILLOPN): Likewise.
10976 (ILL_ILLADR): Likewise.
10977 (ILL_ILLTRP): Likewise.
10978 (ILL_PRVOPC): Likewise.
10979 (ILL_PRVREG): Likewise.
10980 (ILL_COPROC): Likewise.
10981 (ILL_BADSTK): Likewise.
10982 (FPE_INTDIV): Likewise.
10983 (FPE_INTOVF): Likewise.
10984 (FPE_FLTDIV): Likewise.
10985 (FPE_FLTOVF): Likewise.
10986 (FPE_FLTUND): Likewise.
10987 (FPE_FLTRES): Likewise.
10988 (FPE_FLTINV): Likewise.
10989 (FPE_FLTSUB): Likewise.
10990 (SEGV_MAPERR): Likewise.
10991 (SEGV_ACCERR): Likewise.
10992 (BUS_ADRALN): Likewise.
10993 (BUS_ADRERR): Likewise.
10994 (BUS_OBJERR): Likewise.
10995 (BUS_MCEERR_AR): Likewise.
10996 (BUS_MCEERR_AO): Likewise.
10997 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10998 (TRAP_TRACE): Likewise.
10999 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11001 (CLD_KILLED): Likewise.
11002 (CLD_DUMPED): Likewise.
11003 (CLD_TRAPPED): Likewise.
11004 (CLD_STOPPED): Likewise.
11005 (CLD_CONTINUED): Likewise.
11006 (POLL_IN): Likewise.
11007 (POLL_OUT): Likewise.
11008 (POLL_MSG): Likewise.
11009 (POLL_ERR): Likewise.
11010 (POLL_PRI): Likewise.
11011 (POLL_HUP): Likewise.
11012 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11013 (ILL_ILLOPN): Likewise.
11014 (ILL_ILLADR): Likewise.
11015 (ILL_ILLTRP): Likewise.
11016 (ILL_PRVOPC): Likewise.
11017 (ILL_PRVREG): Likewise.
11018 (ILL_COPROC): Likewise.
11019 (ILL_BADSTK): Likewise.
11020 (FPE_INTDIV): Likewise.
11021 (FPE_INTOVF): Likewise.
11022 (FPE_FLTDIV): Likewise.
11023 (FPE_FLTOVF): Likewise.
11024 (FPE_FLTUND): Likewise.
11025 (FPE_FLTRES): Likewise.
11026 (FPE_FLTINV): Likewise.
11027 (FPE_FLTSUB): Likewise.
11028 (SEGV_MAPERR): Likewise.
11029 (SEGV_ACCERR): Likewise.
11030 (BUS_ADRALN): Likewise.
11031 (BUS_ADRERR): Likewise.
11032 (BUS_OBJERR): Likewise.
11033 (BUS_MCEERR_AR): Likewise.
11034 (BUS_MCEERR_AO): Likewise.
11035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11036 (TRAP_TRACE): Likewise.
11037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11039 (CLD_KILLED): Likewise.
11040 (CLD_DUMPED): Likewise.
11041 (CLD_TRAPPED): Likewise.
11042 (CLD_STOPPED): Likewise.
11043 (CLD_CONTINUED): Likewise.
11044 (POLL_IN): Likewise.
11045 (POLL_OUT): Likewise.
11046 (POLL_MSG): Likewise.
11047 (POLL_ERR): Likewise.
11048 (POLL_PRI): Likewise.
11049 (POLL_HUP): Likewise.
11050 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11052 (ILL_ILLOPN): Likewise.
11053 (ILL_ILLADR): Likewise.
11054 (ILL_ILLTRP): Likewise.
11055 (ILL_PRVOPC): Likewise.
11056 (ILL_PRVREG): Likewise.
11057 (ILL_COPROC): Likewise.
11058 (ILL_BADSTK): Likewise.
11059 (ILL_BADIADDR): Likewise.
11060 (ILL_BREAK): Likewise.
11061 (FPE_INTDIV): Likewise.
11062 (FPE_INTOVF): Likewise.
11063 (FPE_FLTDIV): Likewise.
11064 (FPE_FLTOVF): Likewise.
11065 (FPE_FLTUND): Likewise.
11066 (FPE_FLTRES): Likewise.
11067 (FPE_FLTINV): Likewise.
11068 (FPE_FLTSUB): Likewise.
11069 (FPE_DECOVF): Likewise.
11070 (FPE_DECDIV): Likewise.
11071 (FPE_DECERR): Likewise.
11072 (FPE_INVASC): Likewise.
11073 (FPE_INVDEC): Likewise.
11074 (SEGV_MAPERR): Likewise.
11075 (SEGV_ACCERR): Likewise.
11076 (SEGV_PSTKOVF): Likewise.
11077 (BUS_ADRALN): Likewise.
11078 (BUS_ADRERR): Likewise.
11079 (BUS_OBJERR): Likewise.
11080 (BUS_MCEERR_AR): Likewise.
11081 (BUS_MCEERR_AO): Likewise.
11082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11083 (TRAP_TRACE): Likewise.
11084 (TRAP_BRANCH): Likewise.
11085 (TRAP_HWBKPT): 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/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11100 (ILL_ILLOPN): Likewise.
11101 (ILL_ILLADR): Likewise.
11102 (ILL_ILLTRP): Likewise.
11103 (ILL_PRVOPC): Likewise.
11104 (ILL_PRVREG): Likewise.
11105 (ILL_COPROC): Likewise.
11106 (ILL_BADSTK): Likewise.
11107 (FPE_INTDIV): Likewise.
11108 (FPE_INTOVF): Likewise.
11109 (FPE_FLTDIV): Likewise.
11110 (FPE_FLTOVF): Likewise.
11111 (FPE_FLTUND): Likewise.
11112 (FPE_FLTRES): Likewise.
11113 (FPE_FLTINV): Likewise.
11114 (FPE_FLTSUB): Likewise.
11115 (SEGV_MAPERR): Likewise.
11116 (SEGV_ACCERR): Likewise.
11117 (BUS_ADRALN): Likewise.
11118 (BUS_ADRERR): Likewise.
11119 (BUS_OBJERR): Likewise.
11120 (BUS_MCEERR_AR): Likewise.
11121 (BUS_MCEERR_AO): Likewise.
11122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11123 (TRAP_TRACE): Likewise.
11124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11126 (CLD_KILLED): Likewise.
11127 (CLD_DUMPED): Likewise.
11128 (CLD_TRAPPED): Likewise.
11129 (CLD_STOPPED): Likewise.
11130 (CLD_CONTINUED): Likewise.
11131 (POLL_IN): Likewise.
11132 (POLL_OUT): Likewise.
11133 (POLL_MSG): Likewise.
11134 (POLL_ERR): Likewise.
11135 (POLL_PRI): Likewise.
11136 (POLL_HUP): Likewise.
11137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11138 (ILL_ILLOPN): Likewise.
11139 (ILL_ILLADR): Likewise.
11140 (ILL_ILLTRP): Likewise.
11141 (ILL_PRVOPC): Likewise.
11142 (ILL_PRVREG): Likewise.
11143 (ILL_COPROC): Likewise.
11144 (ILL_BADSTK): Likewise.
11145 (FPE_INTDIV): Likewise.
11146 (FPE_INTOVF): Likewise.
11147 (FPE_FLTDIV): Likewise.
11148 (FPE_FLTOVF): Likewise.
11149 (FPE_FLTUND): Likewise.
11150 (FPE_FLTRES): Likewise.
11151 (FPE_FLTINV): Likewise.
11152 (FPE_FLTSUB): Likewise.
11153 (SEGV_MAPERR): Likewise.
11154 (SEGV_ACCERR): Likewise.
11155 (BUS_ADRALN): Likewise.
11156 (BUS_ADRERR): Likewise.
11157 (BUS_OBJERR): Likewise.
11158 (BUS_MCEERR_AR): Likewise.
11159 (BUS_MCEERR_AO): Likewise.
11160 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11161 (TRAP_TRACE): Likewise.
11162 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11164 (CLD_KILLED): Likewise.
11165 (CLD_DUMPED): Likewise.
11166 (CLD_TRAPPED): Likewise.
11167 (CLD_STOPPED): Likewise.
11168 (CLD_CONTINUED): Likewise.
11169 (POLL_IN): Likewise.
11170 (POLL_OUT): Likewise.
11171 (POLL_MSG): Likewise.
11172 (POLL_ERR): Likewise.
11173 (POLL_PRI): Likewise.
11174 (POLL_HUP): Likewise.
11175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11176 (ILL_ILLOPN): Likewise.
11177 (ILL_ILLADR): Likewise.
11178 (ILL_ILLTRP): Likewise.
11179 (ILL_PRVOPC): Likewise.
11180 (ILL_PRVREG): Likewise.
11181 (ILL_COPROC): Likewise.
11182 (ILL_BADSTK): Likewise.
11183 (FPE_INTDIV): Likewise.
11184 (FPE_INTOVF): Likewise.
11185 (FPE_FLTDIV): Likewise.
11186 (FPE_FLTOVF): Likewise.
11187 (FPE_FLTUND): Likewise.
11188 (FPE_FLTRES): Likewise.
11189 (FPE_FLTINV): Likewise.
11190 (FPE_FLTSUB): Likewise.
11191 (SEGV_MAPERR): Likewise.
11192 (SEGV_ACCERR): Likewise.
11193 (BUS_ADRALN): Likewise.
11194 (BUS_ADRERR): Likewise.
11195 (BUS_OBJERR): Likewise.
11196 (BUS_MCEERR_AR): Likewise.
11197 (BUS_MCEERR_AO): Likewise.
11198 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11199 (TRAP_TRACE): Likewise.
11200 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11202 (CLD_KILLED): Likewise.
11203 (CLD_DUMPED): Likewise.
11204 (CLD_TRAPPED): Likewise.
11205 (CLD_STOPPED): Likewise.
11206 (CLD_CONTINUED): Likewise.
11207 (POLL_IN): Likewise.
11208 (POLL_OUT): Likewise.
11209 (POLL_MSG): Likewise.
11210 (POLL_ERR): Likewise.
11211 (POLL_PRI): Likewise.
11212 (POLL_HUP): Likewise.
11213 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11214 (ILL_ILLOPN): Likewise.
11215 (ILL_ILLADR): Likewise.
11216 (ILL_ILLTRP): Likewise.
11217 (ILL_PRVOPC): Likewise.
11218 (ILL_PRVREG): Likewise.
11219 (ILL_COPROC): Likewise.
11220 (ILL_BADSTK): Likewise.
11221 (ILL_DBLFLT): Likewise.
11222 (ILL_HARDWALL): Likewise.
11223 (FPE_INTDIV): Likewise.
11224 (FPE_INTOVF): Likewise.
11225 (FPE_FLTDIV): Likewise.
11226 (FPE_FLTOVF): Likewise.
11227 (FPE_FLTUND): Likewise.
11228 (FPE_FLTRES): Likewise.
11229 (FPE_FLTINV): Likewise.
11230 (FPE_FLTSUB): Likewise.
11231 (SEGV_MAPERR): Likewise.
11232 (SEGV_ACCERR): Likewise.
11233 (BUS_ADRALN): Likewise.
11234 (BUS_ADRERR): Likewise.
11235 (BUS_OBJERR): Likewise.
11236 (BUS_MCEERR_AR): Likewise.
11237 (BUS_MCEERR_AO): Likewise.
11238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11239 (TRAP_TRACE): Likewise.
11240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11242 (CLD_KILLED): Likewise.
11243 (CLD_DUMPED): Likewise.
11244 (CLD_TRAPPED): Likewise.
11245 (CLD_STOPPED): Likewise.
11246 (CLD_CONTINUED): Likewise.
11247 (POLL_IN): Likewise.
11248 (POLL_OUT): Likewise.
11249 (POLL_MSG): Likewise.
11250 (POLL_ERR): Likewise.
11251 (POLL_PRI): Likewise.
11252 (POLL_HUP): Likewise.
11253 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11254 (ILL_ILLOPN): Likewise.
11255 (ILL_ILLADR): Likewise.
11256 (ILL_ILLTRP): Likewise.
11257 (ILL_PRVOPC): Likewise.
11258 (ILL_PRVREG): Likewise.
11259 (ILL_COPROC): Likewise.
11260 (ILL_BADSTK): Likewise.
11261 (FPE_INTDIV): Likewise.
11262 (FPE_INTOVF): Likewise.
11263 (FPE_FLTDIV): Likewise.
11264 (FPE_FLTOVF): Likewise.
11265 (FPE_FLTUND): Likewise.
11266 (FPE_FLTRES): Likewise.
11267 (FPE_FLTINV): Likewise.
11268 (FPE_FLTSUB): Likewise.
11269 (SEGV_MAPERR): Likewise.
11270 (SEGV_ACCERR): Likewise.
11271 (BUS_ADRALN): Likewise.
11272 (BUS_ADRERR): Likewise.
11273 (BUS_OBJERR): Likewise.
11274 (BUS_MCEERR_AR): Likewise.
11275 (BUS_MCEERR_AO): Likewise.
11276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11277 (TRAP_TRACE): Likewise.
11278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11280 (CLD_KILLED): Likewise.
11281 (CLD_DUMPED): Likewise.
11282 (CLD_TRAPPED): Likewise.
11283 (CLD_STOPPED): Likewise.
11284 (CLD_CONTINUED): Likewise.
11285 (POLL_IN): Likewise.
11286 (POLL_OUT): Likewise.
11287 (POLL_MSG): Likewise.
11288 (POLL_ERR): Likewise.
11289 (POLL_PRI): Likewise.
11290 (POLL_HUP): Likewise.
11291 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11292 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11295 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11296 before #include of <time.h>.
11297 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11298 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11299 (test-xfail-UNIX98/sched.h/conform): Likewise.
11301 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11303 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11304 error absence of trapping exception support.
11305 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11307 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11309 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11310 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11311 * timezone/Makefile (testdata): Move definition above include of
11313 (test-zones): New variable.
11314 (tests-special): Add zone files.
11315 (build-testdata): Use $(evaluate-test).
11317 * elf/Makefile (tests-special): Rename tests to end with .out.
11318 ($(objpfx)noload-mem): Likewise.
11319 ($(objpfx)tst-leaks1-mem): Likewise.
11320 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11321 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11322 $(objpfx)test-iconvconfig.out.
11323 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11324 set -e inside subshell and redirect output to file.
11325 * iconvdata/Makefile (generated): Rename tests to end with .out.
11327 (tests-special): Rename tests to end with .out.
11328 ($(objpfx)mtrace-tst-loading): Likewise.
11329 * intl/Makefile (generated): Likewise.
11330 (tests-special): Likewise.
11331 ($(objpfx)mtrace-tst-gettext): Likewise.
11332 * misc/Makefile (generated): Likewise.
11333 (tests-special): Likewise.
11334 ($(objpfx)tst-error1-mem): Likewise.
11335 * nptl/Makefile (tests-special): Likewise.
11336 ($(objpfx)tst-stack3-mem): Likewise.
11337 (generated): Likewise.
11338 * posix/Makefile (generated): Likewise.
11339 (tests-special): Likewise.
11340 (xtests-special): Likewise.
11341 ($(objpfx)tst-fnmatch-mem): Likewise.
11342 ($(objpfx)bug-regex2-mem): Likewise.
11343 ($(objpfx)bug-regex14-mem): Likewise.
11344 ($(objpfx)bug-regex21-mem): Likewise.
11345 ($(objpfx)bug-regex31-mem): Likewise.
11346 ($(objpfx)tst-vfork3-mem): Likewise.
11347 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11348 ($(objpfx)tst-pcre-mem): Likewise.
11349 ($(objpfx)tst-boost-mem): Likewise.
11350 ($(objpfx)bug-ga2-mem): Likewise.
11351 ($(objpfx)bug-glob2-mem): Likewise.
11352 * resolv/Makefile (generate): Likewise.
11353 (tests-special): Likewise.
11354 (xtests-special): Likewise.
11355 (generated): Likewise.
11356 ($(objpfx)mtrace-tst-leaks): Likewise.
11357 ($(objpfx)mtrace-tst-leaks2): Likewise.
11359 * scripts/merge-test-results.sh: New file.
11360 * Makefile (tests-special-notdir): New variable.
11361 (tests): Run merge-test-results.sh.
11362 (xtests): Likewise.
11363 * Rules (tests-special-notdir): New variable.
11364 (xtests-special-notdir): Likewise.
11365 (tests): Run merge-test-results.sh
11366 (xtests): Likewise.
11368 * Makeconfig (test-xfail-name): New variable.
11369 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11370 compute variable name for expected failures.
11371 * conform/Makefile (conformtest-headers-data): New variable.
11372 (conformtest-standards): Likewise.
11373 (conformtest-headers-ISO): Likewise.
11374 (conformtest-headers-ISO99): Likewise.
11375 (conformtest-headers-ISO11): Likewise.
11376 (conformtest-headers-POSIX): Likewise.
11377 (conformtest-headers-XPG3): Likewise.
11378 (conformtest-headers-XPG4): Likewise.
11379 (conformtest-headers-UNIX98): Likewise.
11380 (conformtest-headers-XOPEN2K): Likewise.
11381 (conformtest-headers-POSIX2008): Likewise.
11382 (conformtest-headers-XOPEN2K8): Likewise.
11383 (conformtest-header-list-base): Likewise.
11384 (conformtest-header-list-tests): Likewise.
11385 (conformtest-header-base): Likewise.
11386 (conformtest-header-tests): Likewise.
11387 (tests-special): Add $(conformtest-header-list-tests). If
11388 [$(fast-check) && !$(cross-compiling)], add
11389 $(conformtest-header-tests) instead of
11390 $(objpfx)run-conformtest.out.
11391 (generated): Add $(conformtest-header-list-base). If
11392 [$(fast-check) && !$(cross-compiling)], add
11393 $(conformtest-header-base). Remove previous setting.
11394 ($(conformtest-header-list-tests)): New target.
11395 (test-xfail-run-conformtest): Remove variable.
11396 ($(objpfx)run-conformtest.out): Remove target.
11397 (test-xfail-ISO11/complex.h/conform): New variable.
11398 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11399 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11400 (test-xfail-XPG3/varargs.h/conform): Likewise.
11401 (test-xfail-XPG4/varargs.h/conform): Likewise.
11402 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11403 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11404 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11405 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11406 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11407 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11408 (test-xfail-XPG3/ftw.h/conform): Likewise.
11409 (test-xfail-XPG3/grp.h/conform): Likewise.
11410 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11411 (test-xfail-XPG3/limits.h/conform): Likewise.
11412 (test-xfail-XPG3/pwd.h/conform): Likewise.
11413 (test-xfail-XPG3/search.h/conform): Likewise.
11414 (test-xfail-XPG3/signal.h/conform): Likewise.
11415 (test-xfail-XPG3/stdio.h/conform): Likewise.
11416 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11417 (test-xfail-XPG3/string.h/conform): Likewise.
11418 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11419 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11420 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11421 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11422 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11423 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11424 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11425 (test-xfail-XPG3/termios.h/conform): Likewise.
11426 (test-xfail-XPG3/time.h/conform): Likewise.
11427 (test-xfail-XPG3/unistd.h/conform): Likewise.
11428 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11429 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11430 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11431 (test-xfail-XPG4/netdb.h/conform): Likewise.
11432 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11433 (test-xfail-XPG4/signal.h/conform): Likewise.
11434 (test-xfail-XPG4/stdio.h/conform): Likewise.
11435 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11436 (test-xfail-XPG4/stropts.h/conform): Likewise.
11437 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11438 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11439 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11440 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11441 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11442 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11443 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11444 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11445 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11446 (test-xfail-XPG4/termios.h/conform): Likewise.
11447 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11448 (test-xfail-XPG4/unistd.h/conform): Likewise.
11449 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11450 (test-xfail-POSIX/sched.h/conform): Likewise.
11451 (test-xfail-POSIX/signal.h/conform): Likewise.
11452 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11453 (test-xfail-POSIX/tar.h/conform): Likewise.
11454 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11455 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11456 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11457 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11458 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11459 (test-xfail-UNIX98/sched.h/conform): Likewise.
11460 (test-xfail-UNIX98/signal.h/conform): Likewise.
11461 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11462 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11463 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11464 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11465 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11466 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11467 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11468 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11469 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11470 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11471 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11472 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11473 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11474 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11475 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11476 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11477 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11478 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11479 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11480 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11481 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11482 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11483 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11484 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11485 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11486 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11487 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11488 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11489 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11490 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11491 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11492 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11493 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11494 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11495 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11496 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11497 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11498 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11499 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11500 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11501 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11502 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11503 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11504 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11505 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11506 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11507 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11508 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11509 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11510 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11511 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11512 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11513 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11514 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11515 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11516 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11517 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11518 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11519 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11520 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11521 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11522 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11523 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11524 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11525 (conformtest-cc-flags): Likewise.
11526 ($(conformtest-header-tests): New target.
11527 * conform/check-header-lists.sh: New file.
11528 * conform/run-conformtest.sh: Remove.
11530 * conform/conformtest.pl: Allow ' and \ in values given for
11532 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11534 [POSIX] (sys/types.h): Likewise.
11535 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11537 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11539 * conform/data/signal.h-data (SIGIO): Remove expectation.
11540 [XPG3] (SIGBUS): Do not expect.
11541 [POSIX || XPG3] (SIGPOLL): Likewise.
11542 [POSIX || XPG3] (SIGPROF): Likewise.
11543 [POSIX || XPG3] (SIGSYS): Likewise.
11544 [XPG3] (SIGTRAP): Likewise.
11545 [POSIX || XPG3] (SIGURG): Likewise.
11546 [POSIX || XPG3] (SIGVTALRM): Likewise.
11547 [POSIX || XPG3] (SIGXCPU): Likewise.
11548 [POSIX || XPG3] (SIGXFSZ): Likewise.
11549 [POSIX] (SA_SIGINFO): Expect.
11550 [XPG3] (siginfo_t): Do not expect type or contents.
11551 [POSIX] (si_pid): Do not expect element.
11552 [POSIX] (si_uid): Likewise.
11553 [POSIX] (si_addr): Likewise.
11554 [POSIX] (si_status): Likewise.
11555 [POSIX] (si_band): Likewise.
11556 [XPG4] (si_value): Likewise.
11557 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11558 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11559 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11560 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11561 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11562 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11563 [POSIX || XPG3] (ILL_COPROC): Likewise.
11564 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11565 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11566 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11567 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11568 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11569 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11570 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11571 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11572 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11573 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11574 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11575 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11576 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11577 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11578 [POSIX || XPG3] (CLD_EXITED): Likewise.
11579 [POSIX || XPG3] (CLD_KILLED): Likewise.
11580 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11581 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11582 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11583 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11584 [POSIX || XPG3] (POLL_IN): Likewise.
11585 [POSIX || XPG3] (POLL_OUT): Likewise.
11586 [POSIX || XPG3] (POLL_MSG): Likewise.
11587 [POSIX || XPG3] (POLL_ERR): Likewise.
11588 [POSIX || XPG3] (POLL_PRI): Likewise.
11589 [POSIX || XPG3] (POLL_HUP): Likewise.
11590 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11591 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11592 (SIG*): Do not allow.
11593 [XPG3] (si_*): Likewise.
11594 [XPG3] (SI_*): Likewise.
11595 [XPG3 || XPG4] (sigev_*): Likewise.
11596 [XPG3 || XPG4] (SIGEV_*): Likewise.
11597 [XPG3 || XPG4] (sival_*): Likewise.
11598 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11599 [POSIX || XPG3] (BUS_*): Likewise.
11600 [POSIX || XPG3] (CLD_*): Likewise.
11601 [POSIX || XPG3] (FPE_*): Likewise.
11602 [POSIX || XPG3] (ILL_*): Likewise.
11603 [POSIX || XPG3] (POLL_*): Likewise.
11604 [POSIX || XPG3] (SEGV_*): Likewise.
11605 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11606 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11607 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11608 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11609 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11610 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11611 Specify type and value.
11612 (TVERSLEN): Likewise.
11613 (REGTYPE): Likewise.
11614 (AREGTYPE): Likewise.
11615 (LNKTYPE): Likewise.
11616 (SYMTYPE): Likewise.
11617 (CHRTYPE): Likewise.
11618 (BLKTYPE): Likewise.
11619 (DIRTYPE): Likewise.
11620 (FIFOTYPE): Likewise.
11621 (CONTTYPE): Likewise.
11625 (TUREAD): Likewise.
11626 (TUWRITE): Likewise.
11627 (TUEXEC): Likewise.
11628 (TGREAD): Likewise.
11629 (TGWRITE): Likewise.
11630 (TGEXEC): Likewise.
11631 (TOREAD): Likewise.
11632 (TOWRITE): Likewise.
11633 (TOEXEC): Likewise.
11634 [POSIX] (TSVTX): Expect constant.
11636 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11638 * Makefile (tests): Change dependencies to ....
11639 (tests-special): ... additions to this variable.
11640 (tests): Depend on $(tests-special).
11641 * Makerules (check-abi-list): New variable.
11642 (check-abi): Depend on $(check-abi-list).
11643 [$(subdir) = elf] (tests-special): Add
11644 $(objpfx)check-abi-libc.out.
11645 [$(build-shared) = yes && subdir] (tests-special): Add
11647 [$(build-shared) = yes && subdir] (tests): Do not depend on
11649 * Rules (tests): Depend on $(tests-special).
11650 (xtests): Depend on $(xtests-special).
11651 * catgets/Makefile (tests): Change dependencies to ....
11652 (tests-special): ... additions to this variable.
11653 * conform/Makefile (tests): Change dependencies to ....
11654 (tests-special): ... additions to this variable.
11655 * elf/Makefile (tests): Change dependencies to ....
11656 (tests-special): ... additions to this variable.
11657 * grp/Makefile (tests): Change dependencies to ....
11658 (tests-special): ... additions to this variable.
11659 * iconv/Makefile (xtests): Change dependencies to ....
11660 (xtests-special): ... additions to this variable.
11661 * iconvdata/Makefile (tests): Change dependencies to ....
11662 (tests-special): ... additions to this variable.
11663 * intl/Makefile (tests): Change dependencies to ....
11664 (tests-special): ... additions to this variable. Also add
11665 $(objpfx)tst-gettext.out.
11666 * io/Makefile (tests): Change dependencies to ....
11667 (tests-special): ... additions to this variable.
11668 * libio/Makefile (tests): Change dependencies to ....
11669 (tests-special): ... additions to this variable.
11670 * malloc/Makefile (tests): Change dependencies to ....
11671 (tests-special): ... additions to this variable.
11672 * misc/Makefile (tests): Change dependencies to ....
11673 (tests-special): ... additions to this variable.
11674 * nptl/Makefile (tests): Change dependencies to ....
11675 (tests-special): ... additions to this variable.
11676 * nptl_db/Makefile (tests): Change dependencies to ....
11677 (tests-special): ... additions to this variable.
11678 * posix/Makefile (tests): Change dependencies to ....
11679 (tests-special): ... additions to this variable.
11680 (xtests): Change dependencies to ....
11681 (xtests-special): ... additions to this variable.
11682 * resolv/Makefile (tests): Change dependencies to ....
11683 (tests-special): ... additions to this variable.
11684 (xtests): Change dependencies to ....
11685 (xtests-special): ... additions to this variable.
11686 * stdio-common/Makefile (tests): Change dependencies to ....
11687 (tests-special): ... additions to this variable.
11688 (do-tst-unbputc): Remove target.
11689 (do-tst-printf): Likewise.
11690 * stdlib/Makefile (tests): Change dependencies to ....
11691 (tests-special): ... additions to this variable.
11692 * string/Makefile (tests): Change dependencies to ....
11693 (tests-special): ... additions to this variable.
11694 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11695 (tests-special): ... additions to this variable.
11697 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11699 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11701 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11702 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11704 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11705 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11706 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11707 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11708 * conform/data/libgen.h-data [XPG3]: Likewise.
11709 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11710 * conform/data/ndbm.h-data [XPG3]: Likewise.
11711 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11712 * conform/data/netdb.h-data [XPG3]: Likewise.
11713 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11714 * conform/data/poll.h-data [XPG3]: Likewise.
11715 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11716 * conform/data/strings.h-data [XPG3]: Likewise.
11717 * conform/data/stropts.h-data [XPG3]: Likewise.
11718 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11719 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11720 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11722 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11723 * conform/data/sys/time.h-data [XPG3]: Likewise.
11724 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11725 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11726 * conform/data/sys/un.h-data [XPG3]: Likewise.
11727 * conform/data/syslog.h-data [XPG3]: Likewise.
11728 * conform/data/ucontext.h-data [XPG3]: Likewise.
11729 * conform/data/utmpx.h-data [XPG3]: Likewise.
11730 * conform/data/varargs.h-data [UNIX98]: Enable file.
11732 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11734 * math/libm-test.inc (struct test_f_f_data): Move expected results
11735 into structure for each rounding mode.
11736 (struct test_ff_f_data): Likewise.
11737 (struct test_ff_f_data_nexttoward): Likewise.
11738 (struct test_fi_f_data): Likewise.
11739 (struct test_fl_f_data): Likewise.
11740 (struct test_if_f_data): Likewise.
11741 (struct test_fff_f_data): Likewise.
11742 (struct test_c_f_data): Likewise.
11743 (struct test_f_f1_data): Likewise.
11744 (struct test_fF_f1_data): Likewise.
11745 (struct test_ffI_f1_data): Likewise.
11746 (struct test_c_c_data): Likewise.
11747 (struct test_cc_c_data): Likewise.
11748 (struct test_f_i_data): Likewise.
11749 (struct test_ff_i_data): Likewise.
11750 (struct test_f_l_data): Likewise.
11751 (struct test_f_L_data): Likewise.
11752 (struct test_fFF_11_data): Likewise.
11754 (RM_FE_DOWNWARD): Likewise.
11755 (RM_FE_TONEAREST): Likewise.
11756 (RM_FE_TOWARDZERO): Likewise.
11757 (RM_FE_UPWARD): Likewise.
11758 (RUN_TEST_LOOP_f_f): Update references to expected results.
11759 (RUN_TEST_LOOP_2_f): Likewise.
11760 (RUN_TEST_LOOP_fff_f): Likewise.
11761 (RUN_TEST_LOOP_c_f): Likewise.
11762 (RUN_TEST_LOOP_f_f1): Likewise.
11763 (RUN_TEST_LOOP_fF_f1): Likewise.
11764 (RUN_TEST_LOOP_fI_f1): Likewise.
11765 (RUN_TEST_LOOP_ffI_f1): Likewise.
11766 (RUN_TEST_LOOP_c_c): Likewise.
11767 (RUN_TEST_LOOP_cc_c): Likewise.
11768 (RUN_TEST_LOOP_f_i): Likewise.
11769 (RUN_TEST_LOOP_f_i_tg): Likewise.
11770 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11771 (RUN_TEST_LOOP_f_b): Likewise.
11772 (RUN_TEST_LOOP_f_b_tg): Likewise.
11773 (RUN_TEST_LOOP_f_l): Likewise.
11774 (RUN_TEST_LOOP_f_L): Likewise.
11775 (RUN_TEST_LOOP_fFF_11): Likewise.
11776 * math/gen-libm-test.pl (parse_args): Output four copies of
11777 expected results for each test.
11779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11780 (__ASSUME_UTIMES): Remove.
11781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11782 (__ASSUME_UTIMES): Likewise.
11784 * math/gen-auto-libm-tests.c: Update comment on output format.
11785 (output_for_one_input_case): Generate before-rounding and
11786 after-rounding information as conditions on output flags not
11787 floating-point format.
11788 * math/auto-libm-test-out: Regenerated.
11789 * math/gen-libm-test.pl (cond_value): New function.
11790 (or_cond_value): Use cond_value.
11791 (generate_testfile): Handle conditional exceptions.
11793 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11795 * math/libm-test.inc (max_valid_error): New variable.
11796 (init_max_error): Take new argument specifying whether function
11797 results are exactly determined. Set max_valid_error and bound
11798 other variables for errors based on this argument.
11799 (set_max_error): Do not record results above max_valid_error.
11800 (check_float_internal): Only accept errors of up to 0.5ulps if
11801 also at most max_valid_error.
11802 (START): Take new argument EXACT and pass it to init_max_error.
11803 (acos_test): Update call to START.
11804 (acos_test_tonearest): Likewise.
11805 (acos_test_towardzero): Likewise.
11806 (acos_test_downward): Likewise.
11807 (acos_test_upward): Likewise.
11808 (acosh_test): Likewise.
11809 (asin_test): Likewise.
11810 (asin_test_tonearest): Likewise.
11811 (asin_test_towardzero): Likewise.
11812 (asin_test_downward): Likewise.
11813 (asin_test_upward): Likewise.
11814 (asinh_test): Likewise.
11815 (atan_test): Likewise.
11816 (atanh_test): Likewise.
11817 (atan2_test): Likewise.
11818 (cabs_test): Likewise.
11819 (cacos_test): Likewise.
11820 (cacosh_test): Likewise.
11821 (carg_test): Likewise.
11822 (casin_test): Likewise.
11823 (casinh_test): Likewise.
11824 (catan_test): Likewise.
11825 (catanh_test): Likewise.
11826 (cbrt_test): Likewise.
11827 (ccos_test): Likewise.
11828 (ccosh_test): Likewise.
11829 (ceil_test): Likewise.
11830 (cexp_test): Likewise.
11831 (cimag_test): Likewise.
11832 (clog_test): Likewise.
11833 (clog10_test): Likewise.
11834 (conj_test): Likewise.
11835 (copysign_test): Likewise.
11836 (cos_test): Likewise.
11837 (cos_test_tonearest): Likewise.
11838 (cos_test_towardzero): Likewise.
11839 (cos_test_downward): Likewise.
11840 (cos_test_upward): Likewise.
11841 (cosh_test): Likewise.
11842 (cosh_test_tonearest): Likewise.
11843 (cosh_test_towardzero): Likewise.
11844 (cosh_test_downward): Likewise.
11845 (cosh_test_upward): Likewise.
11846 (cpow_test): Likewise.
11847 (cproj_test): Likewise.
11848 (creal_test): Likewise.
11849 (csin_test): Likewise.
11850 (csinh_test): Likewise.
11851 (csqrt_test): Likewise.
11852 (ctan_test): Likewise.
11853 (ctan_test_tonearest): Likewise.
11854 (ctan_test_towardzero): Likewise.
11855 (ctan_test_downward): Likewise.
11856 (ctan_test_upward): Likewise.
11857 (ctanh_test): Likewise.
11858 (ctanh_test_tonearest): Likewise.
11859 (ctanh_test_towardzero): Likewise.
11860 (ctanh_test_downward): Likewise.
11861 (ctanh_test_upward): Likewise.
11862 (erf_test): Likewise.
11863 (erfc_test): Likewise.
11864 (exp_test): Likewise.
11865 (exp_test_tonearest): Likewise.
11866 (exp_test_towardzero): Likewise.
11867 (exp_test_downward): Likewise.
11868 (exp_test_upward): Likewise.
11869 (exp10_test): Likewise.
11870 (exp10_test_tonearest): Likewise.
11871 (exp10_test_towardzero): Likewise.
11872 (exp10_test_downward): Likewise.
11873 (exp10_test_upward): Likewise.
11874 (pow10_test): Likewise.
11875 (exp2_test): Likewise.
11876 (expm1_test): Likewise.
11877 (expm1_test_tonearest): Likewise.
11878 (expm1_test_towardzero): Likewise.
11879 (expm1_test_downward): Likewise.
11880 (expm1_test_upward): Likewise.
11881 (fabs_test): Likewise.
11882 (fdim_test): Likewise.
11883 (floor_test): Likewise.
11884 (fma_test): Likewise.
11885 (fma_test_towardzero): Likewise.
11886 (fma_test_downward): Likewise.
11887 (fma_test_upward): Likewise.
11888 (fmax_test): Likewise.
11889 (fmin_test): Likewise.
11890 (fmod_test): Likewise.
11891 (fpclassify_test): Likewise.
11892 (frexp_test): Likewise.
11893 (hypot_test): Likewise.
11894 (ilogb_test): Likewise.
11895 (isfinite_test): Likewise.
11896 (finite_test): Likewise.
11897 (isgreater_test): Likewise.
11898 (isgreaterequal_test): Likewise.
11899 (isinf_test): Likewise.
11900 (isless_test): Likewise.
11901 (islessequal_test): Likewise.
11902 (islessgreater_test): Likewise.
11903 (isnan_test): Likewise.
11904 (isnormal_test): Likewise.
11905 (issignaling_test): Likewise.
11906 (isunordered_test): Likewise.
11907 (j0_test): Likewise.
11908 (j1_test): Likewise.
11909 (jn_test): Likewise.
11910 (ldexp_test): Likewise.
11911 (lgamma_test): Likewise.
11912 (gamma_test): Likewise.
11913 (lrint_test): Likewise.
11914 (lrint_test_tonearest): Likewise.
11915 (lrint_test_towardzero): Likewise.
11916 (lrint_test_downward): Likewise.
11917 (lrint_test_upward): Likewise.
11918 (llrint_test): Likewise.
11919 (llrint_test_tonearest): Likewise.
11920 (llrint_test_towardzero): Likewise.
11921 (llrint_test_downward): Likewise.
11922 (llrint_test_upward): Likewise.
11923 (log_test): Likewise.
11924 (log10_test): Likewise.
11925 (log1p_test): Likewise.
11926 (log2_test): Likewise.
11927 (logb_test): Likewise.
11928 (logb_test_downward): Likewise.
11929 (lround_test): Likewise.
11930 (llround_test): Likewise.
11931 (modf_test): Likewise.
11932 (nearbyint_test): Likewise.
11933 (nextafter_test): Likewise.
11934 (nexttoward_test): Likewise.
11935 (pow_test): Likewise.
11936 (pow_test_tonearest): Likewise.
11937 (pow_test_towardzero): Likewise.
11938 (pow_test_downward): Likewise.
11939 (pow_test_upward): Likewise.
11940 (remainder_test): Likewise.
11941 (drem_test): Likewise.
11942 (remainder_test_tonearest): Likewise.
11943 (drem_test_tonearest): Likewise.
11944 (remainder_test_towardzero): Likewise.
11945 (drem_test_towardzero): Likewise.
11946 (remainder_test_downward): Likewise.
11947 (drem_test_downward): Likewise.
11948 (remainder_test_upward): Likewise.
11949 (drem_test_upward): Likewise.
11950 (remquo_test): Likewise.
11951 (rint_test): Likewise.
11952 (rint_test_tonearest): Likewise.
11953 (rint_test_towardzero): Likewise.
11954 (rint_test_downward): Likewise.
11955 (rint_test_upward): Likewise.
11956 (round_test): Likewise.
11957 (scalb_test): Likewise.
11958 (scalbn_test): Likewise.
11959 (scalbln_test): Likewise.
11960 (signbit_test): Likewise.
11961 (sin_test): Likewise.
11962 (sin_test_tonearest): Likewise.
11963 (sin_test_towardzero): Likewise.
11964 (sin_test_downward): Likewise.
11965 (sin_test_upward): Likewise.
11966 (sincos_test): Likewise.
11967 (sinh_test): Likewise.
11968 (sinh_test_tonearest): Likewise.
11969 (sinh_test_towardzero): Likewise.
11970 (sinh_test_downward): Likewise.
11971 (sinh_test_upward): Likewise.
11972 (sqrt_test): Likewise.
11973 (sqrt_test_tonearest): Likewise.
11974 (sqrt_test_towardzero): Likewise.
11975 (sqrt_test_downward): Likewise.
11976 (sqrt_test_upward): Likewise.
11977 (tan_test): Likewise.
11978 (tan_test_tonearest): Likewise.
11979 (tan_test_towardzero): Likewise.
11980 (tan_test_downward): Likewise.
11981 (tan_test_upward): Likewise.
11982 (tanh_test): Likewise.
11983 (tgamma_test): Likewise.
11984 (trunc_test): Likewise.
11985 (y0_test): Likewise.
11986 (y1_test): Likewise.
11987 (yn_test): Likewise.
11988 (significand_test): Likewise.
11990 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11991 individual tests in comment.
11992 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11993 (prev_max_error): New variable.
11994 (prev_real_max_error): Likewise.
11995 (prev_imag_max_error): Likewise.
11996 (compare_ulp_data): Don't refer to test names in comment.
11997 (find_test_ulps): Remove function.
11998 (find_function_ulps): Likewise.
11999 (find_complex_function_ulps): Likewise.
12000 (init_max_error): Take function name as argument. Look up ulps
12002 (print_ulps): Remove function.
12003 (print_max_error): Use prev_max_error instead of calling
12004 find_function_ulps.
12005 (print_complex_max_error): Use prev_real_max_error and
12006 prev_imag_max_error instead of calling find_complex_function_ulps.
12007 (check_float_internal): Take max_ulp parameter instead of calling
12008 find_test_ulps. Don't call print_ulps.
12009 (check_float): Update call to check_float_internal.
12010 (check_complex): Update calls to check_float_internal.
12011 (START): Pass argument to init_max_error.
12012 * math/gen-libm-test.pl (%results): Don't include "kind"
12014 (parse_ulps): Don't handle ulps of individual tests.
12015 (print_ulps_file): Likewise.
12016 (output_ulps): Likewise.
12017 * math/README.libm-test: Update.
12018 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12020 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12021 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12022 * sysdeps/arm/libm-test-ulps: Likewise.
12023 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12024 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12025 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12026 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12027 * sysdeps/microblaze/libm-test-ulps: Likewise.
12028 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12029 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12031 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12032 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12033 * sysdeps/sh/libm-test-ulps: Likewise.
12034 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12035 * sysdeps/tile/libm-test-ulps: Likewise.
12036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12038 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12040 * math/libm-test.inc (print_complex_max_error): Check separately
12041 whether real and imaginary errors are within allowed range and
12042 pass 0 to print_complex_function_ulps instead of value within
12045 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12047 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12049 (get_handles_fopen): Likewise.
12050 (do_write_test): Likewise.
12052 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12054 * libio/fileops.c (do_ftell): Use cached offset when
12056 * libio/iofwide.c (do_ftell_wide): Likewise.
12057 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12059 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12062 * libio/libioP.h (get_file_offset): New function.
12063 * libio/fileops.c (get_file_offset): Likewise.
12064 (do_ftell): Likewise.
12065 (_IO_new_file_seekoff): Split out ftell logic.
12066 * libio/wfileops.c (do_ftell_wide): Likewise.
12067 (_IO_wfile_seekoff): Split out ftell logic.
12068 * libio/tst-ftell-active-handler.c: New test case.
12069 * libio/Makefile (tests): Add it.
12071 2014-03-03 Roland McGrath <roland@hack.frob.com>
12073 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12074 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12076 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12079 * nscd/connections.c (nscd_init): Call do_exit.
12080 (start_threads): Call do_exit and notify_parent.
12081 (begin_drop_privileges): Call do_exit.
12082 (finish_drop_privileges): Likewise.
12083 * nscd/selinux.c (preserve_capabilities): Likewise.
12084 (install_real_capabilities): Likewise.
12085 (nscd_selinux_enabled): Likewise.
12086 (avc_create_thread): Likewise.
12087 (avc_alloc_lock): Likewise.
12088 (nscd_avc_init): Likewise.
12089 * nscd/nscd.c (parent_fd): New static variable.
12090 (main): Create a pipe between parent and child processes.
12091 Skip closing parent_fd.
12092 (monitor_child): New function.
12093 (do_exit): Likewise.
12094 (notify_parent): Likewise.
12095 * nscd/nscd.h (notify_parent): Likewise.
12096 (do_exit): Likewise.
12098 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12100 * malloc/malloc.c (__libc_calloc): Revert last change.
12102 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12106 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12108 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12112 (__libc_ifunc_impl_list): Likewise.
12113 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12114 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12115 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12116 * string/strrchr.c: Define STRRCHR.
12118 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12120 * benchtest/bench-strtok.c (simple_strtok): Delete.
12121 (strtok_string): Use as benchmark.
12122 * string/strtok (STRTOK): New macro.
12124 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12126 * manual/threads.texi: Add header and standard comments to all
12129 * elf/dl-lookup.c (check_match): New function.
12130 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12131 (do_lookup_x): Remove nested function check_match. Use non-nested
12132 function check_match.
12134 2014-02-28 Roland McGrath <roland@hack.frob.com>
12136 * csu/Makefile (generated, before-compile): Use += rather than =.
12137 * catgets/Makefile (generated, generated-dirs): Likewise.
12138 * debug/Makefile (generated): Likewise.
12139 * dlfcn/Makefile (generated): Likewise.
12140 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12141 * iconvdata/Makefile (before-compile, generated): Likewise.
12142 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12143 * libio/Makefile (generated): Likewise.
12144 * malloc/Makefile (generated): Likewise.
12145 * manual/Makefile (generated, generated-dirs): Likewise.
12146 * misc/Makefile (generated): Likewise.
12147 * posix/Makefile (generated): Likewise.
12148 * resolv/Makefile (generated): Likewise.
12149 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12150 * timezone/Makefile (generated, generated-dirs): Likewise.
12152 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12154 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12157 power8 implementation.
12158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12159 file: POWER8 llround ifunc implementation.
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12161 (__lllround): Add POWER8 implementation.
12162 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12163 POWER8 llround implementation.
12165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12166 power8 implementation.
12167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12168 file: POWER8 llrint ifunc implementation.
12169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12170 Add POWER8 implementation.
12171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12172 POWER8 llrint implementation.
12174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12175 power8 implementation.
12176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12177 file: POWER8 finite ifunc implementation.
12178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12179 Add POWER8 implementation.
12180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12183 POWER8 finite implementation.
12184 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12187 power8 implementation.
12188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12189 file: POWER8 isinf ifunc implementation.
12190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12191 POWER8 implementation.
12192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12195 isinf implementation.
12196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12199 (INIT_ARCH): Add hwcap2 initialization.
12200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12201 power8 implementation.
12202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12203 file: POWER8 isnan ifunc implementation.
12204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12205 POWER8 implementation.
12206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12208 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12209 isnan implementation.
12210 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12212 2014-02-27 Joey Ye <joey.ye@arm.com>
12214 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12215 (_FP_NANFRAC_Q): Set to zero.
12217 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12220 * math/auto-libm-test-in: New test inputs.
12221 * math/auto-libm-test-out: Regenerate.
12222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12225 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12227 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12229 * scripts/evaluate-test.sh: Take new argument indicating whether
12230 failure is expected.
12231 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12232 indicating whether failure is expected.
12233 * conform/Makefile (test-xfail-run-conformtest): New variable.
12234 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12236 * posix/Makefile (test-xfail-annexc): New variable.
12237 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12239 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12241 * argp/Makefile: Include Makeconfig immediately after defining
12243 * assert/Makefile: Likewise.
12244 * benchtests/Makefile: Likewise.
12245 * catgets/Makefile: Likewise.
12246 * conform/Makefile: Likewise.
12247 * crypt/Makefile: Likewise.
12248 * csu/Makefile: Likewise.
12249 (all): Remove target.
12250 * ctype/Makefile: Include Makeconfig immediately after defining
12252 * debug/Makefile: Likewise.
12253 * dirent/Makefile: Likewise.
12254 * dlfcn/Makefile: Likewise.
12255 * gmon/Makefile: Likewise.
12256 * gnulib/Makefile: Likewise.
12257 * grp/Makefile: Likewise.
12258 * gshadow/Makefile: Likewise.
12259 * hesiod/Makefile: Likewise.
12260 * hurd/Makefile: Likewise.
12261 (all): Remove target.
12262 * iconvdata/Makefile: Include Makeconfig immediately after
12264 * inet/Makefile: Likewise.
12265 * intl/Makefile: Likewise.
12266 * io/Makefile: Likewise.
12267 * libio/Makefile: Likewise.
12268 (all): Remove target.
12269 * locale/Makefile: Include Makeconfig immediately after defining
12271 * login/Makefile: Likewise.
12272 * mach/Makefile: Likewise.
12273 (all): Remove target.
12274 * malloc/Makefile: Include Makeconfig immediately after defining
12276 (all): Remove target.
12277 * manual/Makefile: Include Makeconfig immediately after defining
12279 * math/Makefile: Likewise.
12280 * misc/Makefile: Likewise.
12281 * nis/Makefile: Likewise.
12282 * nss/Makefile: Likewise.
12283 * po/Makefile: Likewise.
12284 (all): Remove target.
12285 * posix/Makefile: Include Makeconfig immediately after defining
12287 * pwd/Makefile: Likewise.
12288 * resolv/Makefile: Likewise.
12289 * resource/Makefile: Likewise.
12290 * rt/Makefile: Likewise.
12291 * setjmp/Makefile: Likewise.
12292 * shadow/Makefile: Likewise.
12293 * signal/Makefile: Likewise.
12294 * socket/Makefile: Likewise.
12295 * soft-fp/Makefile: Likewise.
12296 * stdio-common/Makefile: Likewise.
12297 * stdlib/Makefile: Likewise.
12298 * streams/Makefile: Likewise.
12299 * string/Makefile: Likewise.
12300 * sunrpc/Makefile: Likewise.
12301 (all): Remove target.
12302 * sysvipc/Makefile: Include Makeconfig immediately after defining
12304 * termios/Makefile: Likewise.
12305 * time/Makefile: Likewise.
12306 * timezone/Makefile: Likewise.
12307 (all): Remove target.
12308 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12310 * wctype/Makefile: Likewise.
12312 2014-02-26 Steve Ellcey <sellcey@mips.com>
12314 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12315 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12316 (libc_feholdexcept_setround_mips): Ditto.
12317 (libc_feholdsetround): New.
12318 (libc_feholdsetroundf): New.
12319 (libc_feholdsetroundl): New.
12320 (libc_feupdateenv_test_mips): New.
12321 (libc_feupdateenv_test): New.
12322 (libc_feupdateenv_testf): New.
12323 (libc_feupdateenv_testl): New.
12324 (libc_feresetround): New.
12325 (libc_feresetroundf): New.
12326 (libc_feresetroundl): New.
12327 (libc_fetestexcept_mips): New.
12328 (libc_fetestexcept): New.
12329 (libc_fetestexceptf): New.
12330 (libc_fetestexceptl): New.
12331 (HAVE_RM_CTX): New.
12332 (libc_feholdexcept_setround_mips_ctx): New.
12333 (libc_feholdexcept_setround_ctx): New.
12334 (libc_feholdexcept_setroundf_ctx): New.
12335 (libc_feholdexcept_setroundl_ctx): New.
12336 (libc_fesetenv_mips_ctx): New.
12337 (libc_fesetenv_ctx): New.
12338 (libc_fesetenv_ctxf): New.
12339 (libc_fesetenv_ctxl): New.
12340 (libc_feupdateenv_mips_ctx): New.
12341 (libc_feupdateenv_ctx): New.
12342 (libc_feupdateenvf_ctx): New.
12343 (libc_feupdateenvl_ctx): New.
12344 (libc_feholdsetround_mips_ctx): New.
12345 (libc_feholdsetround_ctx): New.
12346 (libc_feholdsetroundf_ctx): New.
12347 (libc_feholdsetroundl_ctx): New.
12348 (libc_feresetround_mips_ctx): New.
12349 (libc_feresetround_ctx): New.
12350 (libc_feresetroundf_ctx): New.
12351 (libc_feresetroundl_ctx): New.
12353 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12355 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12357 * manual/ipc.texi: New file.
12358 * manual/Makefile (chapters): Add ipc.
12359 * manual/job.texi: Add "Inter-Process Communication" to next.
12360 * manual/process.texi: Add "Inter-Process Communication" to prev.
12362 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12366 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12368 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12370 * manual/arith.texi: Fix spaces after sentences.
12371 * manual/charset.texi: Likewise.
12372 * manual/errno.texi: Likewise.
12373 * manual/install.texi: Likewise.
12374 * manual/llio.texi: Likewise.
12375 * manual/locale.texi: Likewise.
12376 * manual/maint.texi: Likewise.
12377 * manual/math.texi: Likewise.
12378 * manual/memory.texi: Likewise.
12379 * manual/message.texi: Likewise.
12380 * manual/probes.texi: Likewise.
12381 * manual/resource.texi: Likewise.
12382 * manual/signal.texi: Likewise.
12383 * manual/socket.texi: Likewise.
12384 * manual/stdio.texi: Likewise.
12385 * manual/string.texi: Likewise.
12386 * manual/time.texi: Likewise.
12387 * manual/users.texi: Likewise.
12389 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12392 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12393 _DEFAULT_SOURCE is defined.
12395 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12396 Carlos O'Donell <carlos@redhat.com>
12399 * elf/dl-tls.c (_dl_count_modids): New function.
12400 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12401 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12402 audit library and increment generation counter.
12403 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12404 * elf/tst-audit9.c: New file.
12405 * elf/tst-auditmod9a.c: New file.
12406 * elf/tst-auditmod9b.c: New file.
12407 * elf/Makefile: Add rules to build and run tst-audit9.
12409 2014-02-25 Florian Weimer <fweimer@redhat.com>
12412 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12414 2014-02-25 Will Newton <will.newton@linaro.org>
12416 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12417 (__longjmp): Restore sp and lr before restoring callee
12418 saved registers. Add longjmp and longjmp_target
12419 SystemTap probe point.
12420 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12421 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12422 Define to zero to match jmpbuf layout.
12423 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12424 (__sigsetjmp): Save sp and lr before saving callee
12425 saved registers. Add setjmp SystemTap probe point.
12427 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12429 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12431 2014-02-24 Andreas Schwab <schwab@suse.de>
12434 * elf/pldd.c (wait_for_ptrace_stop): New function.
12435 (main): Call it after attaching.
12437 2014-02-22 Roland McGrath <roland@hack.frob.com>
12439 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12440 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12441 Versions files is now verboten.
12442 * hurd/Versions (libc: GLIBC_2.0):
12443 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12444 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12445 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12446 * mach/Versions: Likewise.
12448 * csu/Versions: Remove unused %include.
12449 * resolv/Versions: Likewise.
12451 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12453 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12454 ($(objpfx)check-local-headers.out): Likewise.
12455 ($(objpfx)begin-end-check.out): Likewise.
12456 * Makerules (check-abi-%.out): Likewise.
12457 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12458 ($(objpfx)test2.cat): Likewise.
12459 ($(objpfx)de/libc.cat): Likewise.
12460 ($(objpfx)test-gencat.out): Likewise.
12461 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12462 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12463 ($(objpfx)noload-mem): Likewise.
12464 ($(objpfx)tst-pathopt.out): Likewise.
12465 ($(objpfx)tst-rtld-load-self.out): Likewise.
12466 ($(objpfx)tst-array1-cmp.out): Likewise.
12467 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12468 ($(objpfx)tst-array2-cmp.out): Likewise.
12469 ($(objpfx)tst-array3-cmp.out): Likewise.
12470 ($(objpfx)tst-array4-cmp.out): Likewise.
12471 ($(objpfx)tst-array5-cmp.out): Likewise.
12472 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12473 ($(objpfx)check-textrel.out): Likewise.
12474 ($(objpfx)check-execstack.out): Likewise.
12475 ($(objpfx)check-localplt.out): Likewise.
12476 ($(objpfx)order2-cmp.out): Likewise.
12477 ($(objpfx)tst-leaks1-mem): Likewise.
12478 ($(objpfx)tst-leaks1-static-mem): Likewise.
12479 ($(objpfx)tst-initorder-cmp.out): Likewise.
12480 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12481 ($(objpfx)tst-unused-dep.out): Likewise.
12482 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12483 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12484 * iconv/Makefile (test-iconvconfig): Likewise.
12485 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12486 ($(objpfx)iconv-test.out): Likewise.
12487 ($(objpfx)tst-tables.out): Likewise.
12488 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12489 ($(objpfx)tst-gettext.out): Likewise.
12490 ($(objpfx)tst-translit.out): Likewise.
12491 ($(objpfx)tst-gettext2.out): Likewise.
12492 ($(objpfx)tst-gettext4.out): Likewise.
12493 ($(objpfx)tst-gettext6.out): Likewise.
12494 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12495 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12496 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12497 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12498 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12499 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12500 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12501 ($(objpfx)wordexp-tst.out): Likewise.
12502 ($(objpfx)annexc.out): Likewise.
12503 ($(objpfx)tst-fnmatch-mem): Likewise.
12504 ($(objpfx)bug-regex2-mem): Likewise.
12505 ($(objpfx)bug-regex14-mem): Likewise.
12506 ($(objpfx)bug-regex21-mem): Likewise.
12507 ($(objpfx)bug-regex31-mem): Likewise.
12508 ($(objpfx)tst-vfork3-mem): Likewise.
12509 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12510 ($(objpfx)tst-pcre-mem): Likewise.
12511 ($(objpfx)tst-boost-mem): Likewise.
12512 ($(objpfx)tst-getconf.out): Likewise.
12513 ($(objpfx)bug-ga2-mem): Likewise.
12514 ($(objpfx)bug-glob2-mem): Likewise.
12515 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12516 ($(objpfx)mtrace-tst-leaks2): Likewise.
12517 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12518 ($(objpfx)tst-printf.out): Likewise.
12519 ($(objpfx)tst-setvbuf1.out): Likewise.
12520 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12521 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12522 ($(objpfx)tst-fmtmsg.out): Likewise.
12523 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12524 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12526 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12527 * bits/sigaction.h [__USE_MISC]: Likewise.
12528 * bits/waitstatus.h: Update #endif comments.
12529 * ctype/ctype.h: Likewise.
12530 * dirent/dirent.h: Likewise.
12531 [__USE_MISC]: Remove redundant conditionals.
12532 * grp/grp.h: Update #endif comments.
12533 [__USE_GNU]: Remove redundant conditionals.
12534 [__USE_MISC]: Likewise.
12535 * inet/netinet/in.h [__USE_GNU]: Likewise.
12536 * io/sys/stat.h [__USE_MISC]: Likewise.
12537 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12538 * libio/bits/stdio.h: Update #endif comments.
12539 [__USE_MISC]: Remove redundant conditionals.
12540 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12541 * libio/stdio.h: Update #endif comments.
12542 [__USE_MISC]: Remove redundant conditionals.
12543 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12544 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12545 * math/math.h: Update #else and #endif comments.
12546 [__USE_MISC]: Remove redundant conditionals.
12547 * misc/sys/uio.h: Update #endif comments.
12548 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12549 * posix/glob.h [__USE_MISC]: Likewise.
12550 * posix/sys/types.h: Update #endif comments.
12551 [__USE_MISC]: Remove redundant conditionals.
12552 * posix/sys/wait.h: Update #endif comments.
12553 [__USE_MISC]: Remove redundant conditionals.
12554 * posix/unistd.h: Update #endif comments.
12555 [__USE_MISC]: Remove redundant conditionals.
12556 * pwd/pwd.h [__USE_GNU]: Likewise.
12557 [__USE_MISC]: Likewise.
12558 * resolv/netdb.h [__USE_GNU]: Likewise.
12559 * signal/signal.h: Update #endif comments.
12560 [__USE_MISC]: Remove redundant conditionals.
12561 * stdlib/stdlib.h: Update #else and #endif comments.
12562 [__USE_MISC]: Remove redundant conditionals.
12563 [__USE_GNU]: Likewise.
12564 * string/bits/string2.h [__USE_MISC]: Likewise.
12565 * string/string.h: Update #endif comments.
12566 [__USE_MISC]: Remove redundant conditionals.
12567 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12569 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12570 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12571 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12573 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12577 [__USE_MISC]: Remove redundant conditionals.
12578 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12579 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12580 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12581 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12582 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12584 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12585 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12587 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12590 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12592 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12593 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12595 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12597 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12598 * sysdeps/x86/bits/string.h: Update #endif comments.
12599 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12601 * time/sys/time.h: Update #endif comments.
12602 * time/time.h: Likewise.
12603 [__USE_MISC]: Remove redundant conditionals.
12605 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12608 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12610 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12612 * Versions.def (librt): Add GLIBC_2.17.
12614 2014-02-21 Adam Conrad <adconrad@0c3.net>
12616 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12617 synonym for _SYS_AUXV_H to allow direct inclusion.
12618 * sysdeps/sparc/bits/hwcap.h: Likewise.
12619 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12620 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12621 * sysdeps/sparc/sysdep.h: Likewise.
12623 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12625 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12627 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12629 * benchtests/bench-strrchr.c: Print length instead of position.
12631 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/unix/sysv/linux/kernel-features.h
12635 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12636 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12637 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12638 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12640 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12641 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12642 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12643 (__ASSUME_SENDMMSG): Define instead of using previous
12644 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12645 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12646 (__ASSUME_SENDMMSG_SYSCALL): Define.
12647 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12648 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12650 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12651 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12653 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12654 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12656 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12657 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12658 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12659 [__ASSUME_SENDMMSG]: Change conditionals to
12660 [__ASSUME_SENDMMSG_SOCKETCALL].
12661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12662 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12664 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12665 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12667 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12668 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12669 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12670 [!__ASSUME_SENDMMSG]: Change conditional to
12671 [!__ASSUME_SENDMMSG_SOCKETCALL].
12672 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12673 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12677 * sysdeps/unix/sysv/linux/kernel-features.h
12678 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12679 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12680 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12681 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12682 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12683 [__i386__ || __sparc__]
12684 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12685 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12686 (__ASSUME_RECVMMSG): Define instead of using previous
12687 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12688 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12689 (__ASSUME_RECVMMSG_SYSCALL): Define.
12690 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12691 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12693 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12696 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12699 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12700 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12701 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12702 [__ASSUME_RECVMMSG]: Change condition to
12703 [__ASSUME_RECVMMSG_SOCKETCALL].
12704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12705 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12707 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12708 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12711 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12712 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12713 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12714 [!__ASSUME_RECVMMSG]: Change condition to
12715 [!__ASSUME_RECVMMSG_SOCKETCALL].
12716 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12717 (__ASSUME_RECVMMSG_SYSCALL): Define.
12720 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12721 __powerpc__ || __s390__ || __sh__ || __sparc__]
12722 (__ASSUME_SOCKETCALL): Define.
12723 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12724 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12725 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12726 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12727 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12728 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12729 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12730 (__ASSUME_ACCEPT4): Define instead of using previous
12731 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12732 __powerpc__ || __sparc__ || __s390__)] condition.
12733 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12734 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12735 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12736 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12737 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12738 [!__ASSUME_ACCEPT4]: Change condition to
12739 [!__ASSUME_ACCEPT4_SOCKETCALL].
12740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12741 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12742 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12743 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12744 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12745 __ASSUME_ACCEPT4_SYSCALL.
12746 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12747 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12749 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12750 __ASSUME_ACCEPT4_SYSCALL.
12751 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12752 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12753 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12754 [__ASSUME_ACCEPT4]: Change condition to
12755 [__ASSUME_ACCEPT4_SOCKETCALL].
12756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12757 (__ASSUME_SOCKETCALL): Define.
12758 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12760 (__ASSUME_SOCKETCALL): Define.
12761 (__ASSUME_ACCEPT4): Remove.
12762 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12765 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12768 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12770 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12772 (HWCAP_ARM_LPAE): Likewise.
12773 (HWCAP_ARM_EVTSTRM): Likewise.
12774 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12775 Add vpfd32, lpae and evtstrm.
12776 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12779 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12781 * math/auto-libm-test-in: Add tests of clog10.
12782 * math/auto-libm-test-out: Regenerated.
12783 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12784 * sysdeps/i386/fpu/libm-test-ulps: Update.
12785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12787 2014-02-18 Andreas Schwab <schwab@suse.de>
12790 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12791 Store non-zero if the second buffer was newly allocated.
12792 (send_dg): Likewise.
12793 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12794 to send_vc and send_dg.
12795 (res_nsend): Pass NULL for ansp2_malloced.
12796 * resolv/res_query.c (__libc_res_nquery): Add parameter
12797 answerp2_malloced and pass it down to __libc_res_nsend.
12798 (res_nquery): Pass additional NULL to __libc_res_nquery.
12799 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12800 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12801 second answer buffer if answerp2_malloced was set.
12802 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12803 (__libc_res_nquerydomain): Add parameter
12804 answerp2_malloced and pass it down to __libc_res_nquery.
12805 (res_nquerydomain): Pass additional NULL to
12806 __libc_res_nquerydomain.
12807 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12808 additional NULL to __libc_res_nsend and __libc_res_nquery.
12809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12810 additional NULL to __libc_res_nsearch.
12811 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12812 parameter of __libc_res_nsearch to check for separately allocated
12814 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12816 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12817 additional NULL to __libc_res_nquery.
12818 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12819 __libc_res_nsearch.
12820 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12821 * include/resolv.h: Update prototypes of __libc_res_nquery,
12822 __libc_res_nsearch, __libc_res_nsend.
12824 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12826 * math/auto-libm-test-in: Add tests of fma.
12827 * math/auto-libm-test-out: Regenerated.
12828 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12829 (fma_towardzero_test_data): Likewise.
12830 (fma_downward_test_data): Likewise.
12831 (fma_upward_test_data): Likewise.
12832 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12834 (rounding_modes): Add values for new field.
12835 (func_calc_method): Add value mpfr_fff_f.
12836 (func_calc_desc): Add mpfr_fff_f union field.
12837 (test_function): Add field exact_args.
12838 (FUNC): Add macro argument EXACT_ARGS.
12839 (FUNC_mpfr_f_f): Update call to FUNC.
12840 (FUNC_mpfr_f_f): Likewise.
12841 (FUNC_mpfr_ff_f): Likewise.
12842 (FUNC_mpfr_if_f): Likewise.
12843 (FUNC_mpc_c_f): Likewise.
12844 (FUNC_mpc_c_c): Likewise.
12845 (test_functions): Add fma. Update calls to FUNC.
12846 (handle_input_arg): Add argument exact_args.
12847 (add_test): Update call to handle_input_arg.
12848 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12849 (output_for_one_input_case): Update call to calc_generic_results.
12850 Recalculate exact zero results in each rounding mode.
12852 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12853 non-negative before setting low bit.
12854 * math/auto-libm-test-in: Mark one asin test possibly having
12855 spurious underflow.
12856 * math/auto-libm-test-out: Regenerated.
12857 * sysdeps/i386/fpu/libm-test-ulps: Update.
12858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12860 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12862 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12863 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12864 ports/sysdeps/unix/sysv/linux/microblaze.
12865 * README: Add missing listing for microblaze*-*-linux-gnu.
12867 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12872 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12874 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12875 * sysdeps/unix/sysv/linux/ia64: Move directory from
12876 ports/sysdeps/unix/sysv/linux/ia64.
12877 * README: Update listing for ia64-*-linux-gnu.
12879 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12880 Joseph Myers <joseph@codesourcery.com>
12882 * Makeconfig (test-name): New variable.
12883 (evaluate-test): Likewise.
12884 * Makerules (do-test-clean): Remove .test-result files.
12885 (common-mostlyclean): Likewise.
12886 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12887 * scripts/evaluate-test.sh: New file.
12889 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12891 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12892 separate $(objpfx)tst-fopenloc-cmp.out and
12893 $(objpfx)tst-fopenloc-mem.out targets.
12894 (tests): Update dependencies.
12895 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12896 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12897 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12898 (tst-rxspencer-no-utf8-ARGS): New variable.
12899 (tst-rxspencer-no-utf8-ENV): Likewise.
12900 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12901 instead of $(objpfx)tst-rxspencer-mem.
12902 ($(objpfx)tst-rxspencer-mem): Change target to
12903 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12904 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12905 * posix/tst-rxspencer-no-utf8.c: New file.
12907 * elf/Makefile ($(objpfx)order.out): Remove rule.
12908 [$(run-built-tests) = yes] (tests): Depend on
12909 $(objpfx)order-cmp.out.
12910 ($(objpfx)order-cmp.out): New rule.
12911 [$(run-built-tests) = yes] (tests): Depend on
12912 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12913 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12914 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12915 $(objpfx)tst-array5-static-cmp.out.
12916 ($(objpfx)tst-array1.out): Remove rule.
12917 ($(objpfx)tst-array1-cmp.out): New rule.
12918 ($(objpfx)tst-array1-static.out): Remove rule.
12919 ($(objpfx)tst-array1-static-cmp.out): New rule.
12920 ($(objpfx)tst-array2.out): Remove rule.
12921 ($(objpfx)tst-array2-cmp.out): New rule.
12922 ($(objpfx)tst-array3.out): Remove rule.
12923 ($(objpfx)tst-array3-cmp.out): New rule.
12924 ($(objpfx)tst-array4.out): Remove rule.
12925 ($(objpfx)tst-array4-cmp.out): New rule.
12926 ($(objpfx)tst-array5.out): Remove rule.
12927 ($(objpfx)tst-array5-cmp.out): New rule.
12928 ($(objpfx)tst-array5-static.out): Remove rule.
12929 ($(objpfx)tst-array5-static-cmp.out): New rule.
12930 [$(run-built-tests) = yes] (tests): Depend on
12931 $(objpfx)order2-cmp.out.
12932 ($(objpfx)order2.out): Remove rule.
12933 ($(objpfx)order2-cmp.out): New rule.
12934 ($(objpfx)tst-initorder.out): Remove rule.
12935 [$(run-built-tests) = yes] (tests): Depend on
12936 $(objpfx)tst-initorder-cmp.out.
12937 ($(objpfx)tst-initorder-cmp.out): New rule.
12938 ($(objpfx)tst-initorder2.out): Remove rule.
12939 [$(run-built-tests) = yes] (tests): Depend on
12940 $(objpfx)tst-initorder2-cmp.out.
12941 ($(objpfx)tst-initorder2-cmp.out): New rule.
12942 [$(run-built-tests) = yes] (tests): Depend on
12943 $(objpfx)tst-unused-dep-cmp.out.
12944 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12945 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12946 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12947 on $(objpfx)tst-setvbuf1-cmp.out.
12948 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12949 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12950 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12951 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12952 ($(objpfx)tst-svc.out): Remove rule.
12953 ($(objpfx)tst-svc-cmp.out): New rule.
12955 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12957 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12958 * ctype/ctype.h [__USE_MISC]: Likewise.
12959 * dirent/dirent.h [__USE_MISC]: Likewise.
12960 * grp/grp.h [__USE_MISC]: Likewise.
12961 * io/fcntl.h [__USE_MISC]: Likewise.
12962 * io/sys/stat.h [__USE_MISC]: Likewise.
12963 * libio/stdio.h [__USE_MISC]: Likewise.
12964 * posix/unistd.h [__USE_MISC]: Likewise.
12965 * pwd/pwd.h [__USE_MISC]: Likewise.
12966 * stdlib.h [__USE_MISC]: Likewise.
12967 * string/bits/string2.h [__USE_MISC]: Likewise.
12968 * string/string.h [__USE_MISC]: Likewise.
12969 * time/time.h [__USE_MISC]: Likewise.
12971 2014-02-13 Andreas Schwab <schwab@suse.de>
12974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12975 second answer buffer if it was separately allocated.
12977 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12979 * sysdeps/mips/math-tests.h: Include <features.h>.
12980 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12981 (ROUNDING_TESTS_long_double): Do not define.
12982 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12983 (EXCEPTION_TESTS_long_double): Likewise.
12984 * sysdeps/mips/mips64/libm-test-ulps: Update.
12986 * include/features.h (__USE_BSD): Remove macro definitions.
12987 (__USE_SVID): Likewise.
12988 (_BSD_SOURCE): Likewise.
12989 (_SVID_SOURCE): Likewise.
12990 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12991 from definition of _DEFAULT_SOURCE.
12992 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12994 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12995 * bits/mman.h [__USE_BSD]: Likewise.
12996 * bits/termios.h [__USE_BSD]: Likewise.
12997 * bits/waitstatus.h [__USE_BSD]: Likewise.
12998 * ctype/ctype.h [__USE_SVID]: Likewise.
12999 * dirent/dirent.h [__USE_BSD]: Likewise.
13000 * grp/grp.h [__USE_SVID]: Likewise.
13001 [__USE_BSD]: Likewise.
13002 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13003 * io/fcntl.h [__USE_BSD]: Likewise.
13004 * io/ftw.h [__USE_BSD]: Likewise.
13005 * io/sys/stat.h [__USE_BSD]: Likewise.
13006 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13007 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13008 * libio/stdio.h [__USE_SVID]: Likewise.
13009 [__USE_BSD]: Likewise.
13010 * math/math.h [__USE_SVID]: Likewise.
13011 [__USE_BSD]: Likewise.
13012 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13013 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13014 * misc/search.h [__USE_SVID]: Likewise.
13015 * misc/sys/mman.h [__USE_BSD]: Likewise.
13016 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13017 * misc/sys/uio.h [__USE_BSD]: Likewise.
13018 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13019 * posix/glob.h [__USE_BSD]: Likewise.
13020 * posix/regex.h [__USE_BSD]: Likewise.
13021 * posix/sys/types.h [__USE_BSD]: Likewise.
13022 [__USE_SVID]: Likewise.
13023 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13024 * posix/sys/wait.h [__USE_BSD]: Likewise.
13025 [__USE_SVID]: Likewise.
13026 * posix/unistd.h [__USE_BSD]: Likewise.
13027 [__USE_SVID]: Likewise.
13028 * pwd/pwd.h [__USE_SVID]: Likewise.
13029 * resolv/netdb.h [__USE_BSD]: Likewise.
13030 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13031 * signal/signal.h [__USE_BSD]: Likewise.
13032 [__USE_SVID]: Likewise.
13033 * socket/sys/socket.h [__USE_BSD]: Likewise.
13034 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13035 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13036 [__USE_SVID]: Likewise.
13037 * string/bits/string2.h [__USE_BSD]: Likewise.
13038 [__USE_SVID]: Likewise.
13039 * string/bits/string3.h [__USE_BSD]: Likewise.
13040 * string/endian.h [__USE_BSD]: Likewise.
13041 * string/string.h [__USE_SVID]: Likewise.
13042 [__USE_BSD]: Likewise.
13043 * string/strings.h [__USE_BSD]: Likewise.
13044 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13045 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13046 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13047 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13048 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13049 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13053 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13056 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13057 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13059 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13061 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13062 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13063 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13065 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13067 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13068 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13069 * termios/termios.h [__USE_BSD]: Likewise.
13070 * time/sys/time.h [__USE_BSD]: Likewise.
13071 * time/time.h [__USE_BSD]: Likewise.
13072 [__USE_SVID]: Likewise.
13074 * Makefile (subdir_targets): Remove subdir_lint.out.
13076 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13077 (do-tst-printf): Likewise.
13078 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13079 $(objpfx)tst-printf.out.
13081 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13083 * Makerules (check-abi-%): Change target to
13084 $(objpfx)check-abi-%.out.
13085 (check-abi target): Update dependencies.
13086 (check-abi-pattern variable): Redirect output of diff to $@.
13087 (check-abi variable): Likewise.
13088 * elf/Makefile (check-abi): Update dependencies.
13090 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13092 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13093 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13095 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13096 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13097 value has largest subnormal exponent.
13098 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13099 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13100 * sysdeps/aarch64/soft-fp/sfp-machine.h
13101 (_FP_TININESS_AFTER_ROUNDING): New macro.
13102 * sysdeps/alpha/soft-fp/sfp-machine.h
13103 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13104 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13106 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13108 * sysdeps/mips/soft-fp/sfp-machine.h
13109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13110 * sysdeps/powerpc/soft-fp/sfp-machine.h
13111 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13112 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13116 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13117 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13118 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13121 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13124 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13127 2014-02-12 Richard Henderson <rth@redhat.com>
13129 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13130 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13131 * sysdeps/unix/sysv/linux/alpha: Move directory from
13132 ports/sysdeps/unix/sysv/linux/alpha.
13133 * README: Update listing for alpha-*-linux-gnu.
13135 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13137 * include/features.h: Update comment documenting feature test
13139 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13141 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13142 (_SVID_SOURCE): Likewise.
13143 (_DEFAULT_SOURCE): Update description of default features.
13144 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13146 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13147 (S_ISVTX): Likewise.
13148 * manual/math.texi (Mathematical Constants): Likewise.
13149 * manual/signal.texi (Interrupted Primitives): Likewise.
13150 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13151 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13152 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13153 Don't refer to _SVID_SOURCE in warning text.
13155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13157 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13159 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13160 * sysdeps/mips/dl-lookup.c: Remove.
13161 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13163 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13166 * math/auto-libm-test-in: Add testcase for expl.
13167 * math/auto-libm-test-out: Regenerate.
13168 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13169 calculation of unsafe.
13170 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13172 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13174 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13175 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13176 ports/sysdeps/unix/sysv/linux/aarch64.
13177 * README: Update listing for aarch64*-*-linux-gnu.
13179 2014-02-11 Will Newton <will.newton@linaro.org>
13181 * manual/probes.texi (Mathematical Function Probes): Use
13182 "triggered" instead of "hit".
13184 * manual/probes.texi (Internal Probes): Add documentation
13185 of setjmp, longjmp and longjmp_target probes.
13187 * include/stap-probe.h: Add comment about probe argument
13190 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13191 definition. (tr_where, tr_freehook, tr_mallochook,
13192 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13194 2014-02-11 David S. Miller <davem@davemloft.net>
13196 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13197 processing int_tests.
13199 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13201 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13202 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13203 * sysdeps/unix/sysv/linux/mips: Move directory from
13204 ports/sysdeps/unix/sysv/linux/mips.
13205 * README: Update listing for mips-*-linux-gnu and
13206 mips64-*-linux-gnu.
13208 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13210 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13211 * sysdeps/unix/sysv/linux/m68k: Move directory from
13212 ports/sysdeps/unix/sysv/linux/m68k.
13213 * README: Update listing for m68k-*-linux-gnu.
13215 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13217 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13218 * sysdeps/unix/sysv/linux/generic: Move directory from
13219 ports/sysdeps/unix/sysv/linux/generic.
13220 * sysdeps/unix/sysv/linux/tile: Move directory from
13221 ports/sysdeps/unix/sysv/linux/tile.
13222 * README: Update listing for tile*-*-linux-gnu.
13224 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13226 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13228 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13229 * catgets/open_catalog.c (__open_catalog): Likewise.
13230 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13231 * debug/confstr_chk.c: Likewise.
13232 * debug/fread_chk.c (__fread_chk): Likewise.
13233 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13234 * debug/getgroups_chk.c: Likewise.
13235 * debug/mbsnrtowcs_chk.c: Likewise.
13236 * debug/mbsrtowcs_chk.c: Likewise.
13237 * debug/mbstowcs_chk.c: Likewise.
13238 * debug/memcpy_chk.c: Likewise.
13239 * debug/memmove_chk.c: Likewise.
13240 * debug/mempcpy_chk.c: Likewise.
13241 * debug/memset_chk.c: Likewise.
13242 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13243 * debug/strcat_chk.c (__strcat_chk): Likewise.
13244 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13245 * debug/strncat_chk.c (__strncat_chk): Likewise.
13246 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13247 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13248 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13249 * debug/wcpncpy_chk.c: Likewise.
13250 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13251 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13252 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13253 * debug/wcsncpy_chk.c: Likewise.
13254 * debug/wcsnrtombs_chk.c: Likewise.
13255 * debug/wcsrtombs_chk.c: Likewise.
13256 * debug/wcstombs_chk.c: Likewise.
13257 * debug/wmemcpy_chk.c: Likewise.
13258 * debug/wmemmove_chk.c: Likewise.
13259 * debug/wmempcpy_chk.c: Likewise.
13260 * debug/wmemset_chk.c: Likewise.
13261 * dirent/scandirat.c (SCANDIRAT): Likewise.
13262 * dlfcn/dladdr1.c (dladdr1): Likewise.
13263 * dlfcn/dladdr.c (dladdr): Likewise.
13264 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13265 * dlfcn/dlerror.c (__dlerror): Likewise.
13266 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13267 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13268 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13269 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13270 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13271 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13272 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13273 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13275 * elf/dl-conflict.c: Likewise.
13276 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13277 * elf/dl-dst.h: Likewise.
13278 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13279 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13281 * elf/dl-init.c (call_init, _dl_init): Likewise.
13282 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13283 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13284 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13286 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13288 * elf/dl-minimal.c (__libc_memalign): Likewise.
13289 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13290 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13291 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13292 * elf/dl-sym.c (do_sym): Likewise.
13293 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13294 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13295 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13296 * elf/dl-writev.h (_dl_writev): Likewise.
13297 * elf/ldconfig.c (search_dir): Likewise.
13298 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13299 (dl_main): Likewise.
13300 * elf/setup-vdso.h (setup_vdso): Likewise.
13301 * grp/compat-initgroups.c (compat_call): Likewise.
13302 * grp/fgetgrent.c (fgetgrent): Likewise.
13303 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13304 * grp/putgrent.c (putgrent): Likewise.
13305 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13307 * hurd/hurdinit.c: Likewise.
13308 * iconvdata/8bit-gap.c (struct): Likewise.
13309 * iconvdata/ansi_x3.110.c : Likewise.
13310 * iconvdata/big5.c : Likewise.
13311 * iconvdata/big5hkscs.c : Likewise.
13312 * iconvdata/cp1255.c: Likewise.
13313 * iconvdata/cp1258.c : Likewise.
13314 * iconvdata/cp932.c : Likewise.
13315 * iconvdata/euc-cn.c: Likewise.
13316 * iconvdata/euc-jisx0213.c : Likewise.
13317 * iconvdata/euc-jp.c: Likewise.
13318 * iconvdata/euc-jp-ms.c : Likewise.
13319 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13320 * iconvdata/gb18030.c : Likewise.
13321 * iconvdata/gbbig5.c (const): Likewise.
13322 * iconvdata/gbgbk.c: Likewise.
13323 * iconvdata/gbk.c : Likewise.
13324 * iconvdata/ibm1364.c : Likewise.
13325 * iconvdata/ibm930.c : Likewise.
13326 * iconvdata/ibm932.c: Likewise.
13327 * iconvdata/ibm933.c : Likewise.
13328 * iconvdata/ibm935.c : Likewise.
13329 * iconvdata/ibm937.c : Likewise.
13330 * iconvdata/ibm939.c : Likewise.
13331 * iconvdata/ibm943.c: Likewise.
13332 * iconvdata/iso_11548-1.c: Likewise.
13333 * iconvdata/iso-2022-cn.c : Likewise.
13334 * iconvdata/iso-2022-cn-ext.c : Likewise.
13335 * iconvdata/iso-2022-jp-3.c: Likewise.
13336 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13337 * iconvdata/iso-2022-kr.c : Likewise.
13338 * iconvdata/iso646.c (gconv_end): Likewise.
13339 * iconvdata/iso_6937-2.c : Likewise.
13340 * iconvdata/iso_6937.c : Likewise.
13341 * iconvdata/iso8859-1.c: Likewise.
13342 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13343 * iconvdata/shift_jisx0213.c : Likewise.
13344 * iconvdata/sjis.c : Likewise.
13345 * iconvdata/t.61.c : Likewise.
13346 * iconvdata/tcvn5712-1.c : Likewise.
13347 * iconvdata/tscii.c: Likewise.
13348 * iconvdata/uhc.c : Likewise.
13349 * iconvdata/unicode.c (gconv_end): Likewise.
13350 * iconvdata/utf-16.c (gconv_end): Likewise.
13351 * iconvdata/utf-32.c (gconv_end): Likewise.
13352 * iconvdata/utf-7.c (base64): Likewise.
13353 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13354 * iconv/gconv_close.c (__gconv_close): Likewise.
13355 * iconv/gconv_open.c (__gconv_open): Likewise.
13356 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13357 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13358 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13359 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13360 (ucs4le_internal_loop_single): Likewise.
13361 * iconv/iconv.c (iconv): Likewise.
13362 * iconv/iconv_close.c: Likewise.
13363 * iconv/loop.c (SINGLE): Likewise.
13364 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13365 * include/atomic.h: Likewise.
13366 * inet/inet6_option.c (option_alloc): Likewise.
13367 * intl/bindtextdom.c (set_binding_values): Likewise.
13368 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13369 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13370 * intl/localealias.c (read_alias_file): Likewise.
13371 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13372 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13373 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13374 * libio/fmemopen.c (fmemopen): Likewise.
13375 * libio/iofgets.c (_IO_fgets): Likewise.
13376 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13377 * libio/iofgetws.c (fgetws): Likewise.
13378 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13379 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13380 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13381 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13382 * locale/findlocale.c (_nl_find_locale): Likewise.
13383 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13384 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13386 * locale/setlocale.c (setlocale): Likewise.
13387 * login/programs/pt_chown.c (main): Likewise.
13388 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13389 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13390 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13391 (mmap, mmap64, mremap, munmap): Likewise.
13392 * math/e_exp2l.c: Likewise.
13393 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13394 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13395 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13396 * math/s_catan.c (__catan): Likewise.
13397 * math/s_catanf.c (__catanf): Likewise.
13398 * math/s_catanh.c (__catanh): Likewise.
13399 * math/s_catanhf.c (__catanhf): Likewise.
13400 * math/s_catanhl.c (__catanhl): Likewise.
13401 * math/s_catanl.c (__catanl): Likewise.
13402 * math/s_ccosh.c (__ccosh): Likewise.
13403 * math/s_ccoshf.c (__ccoshf): Likewise.
13404 * math/s_ccoshl.c (__ccoshl): Likewise.
13405 * math/s_cexp.c (__cexp): Likewise.
13406 * math/s_cexpf.c (__cexpf): Likewise.
13407 * math/s_cexpl.c (__cexpl): Likewise.
13408 * math/s_clog10.c (__clog10): Likewise.
13409 * math/s_clog10f.c (__clog10f): Likewise.
13410 * math/s_clog10l.c (__clog10l): Likewise.
13411 * math/s_clog.c (__clog): Likewise.
13412 * math/s_clogf.c (__clogf): Likewise.
13413 * math/s_clogl.c (__clogl): Likewise.
13414 * math/s_csin.c (__csin): Likewise.
13415 * math/s_csinf.c (__csinf): Likewise.
13416 * math/s_csinh.c (__csinh): Likewise.
13417 * math/s_csinhf.c (__csinhf): Likewise.
13418 * math/s_csinhl.c (__csinhl): Likewise.
13419 * math/s_csinl.c (__csinl): Likewise.
13420 * math/s_csqrt.c (__csqrt): Likewise.
13421 * math/s_csqrtf.c (__csqrtf): Likewise.
13422 * math/s_csqrtl.c (__csqrtl): Likewise.
13423 * math/s_ctan.c (__ctan): Likewise.
13424 * math/s_ctanf.c (__ctanf): Likewise.
13425 * math/s_ctanh.c (__ctanh): Likewise.
13426 * math/s_ctanhf.c (__ctanhf): Likewise.
13427 * math/s_ctanhl.c (__ctanhl): Likewise.
13428 * math/s_ctanl.c (__ctanl): Likewise.
13429 * math/w_pow.c: Likewise.
13430 * math/w_powf.c: Likewise.
13431 * math/w_powl.c: Likewise.
13432 * math/w_scalb.c (sysv_scalb): Likewise.
13433 * math/w_scalbf.c (sysv_scalbf): Likewise.
13434 * math/w_scalbl.c (sysv_scalbl): Likewise.
13435 * misc/error.c (error_tail): Likewise.
13436 * misc/pselect.c (__pselect): Likewise.
13437 * nis/nis_callback.c (__nis_create_callback): Likewise.
13438 * nis/nis_call.c (__nisfind_server): Likewise.
13439 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13440 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13442 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13443 * nis/nis_lookup.c (nis_lookup): Likewise.
13444 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13445 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13446 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13447 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13448 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13449 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13450 * nis/nss_compat/compat-initgroups.c (add_group)
13451 (internal_getgrent_r): Likewise.
13452 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13453 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13454 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13455 (internal_getspnam_r): Likewise.
13456 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13457 (_nss_nis_getaliasbyname_r): Likewise.
13458 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13459 (_nss_nis_getntohost_r): Likewise.
13460 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13461 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13462 (_nss_nis_getgrgid_r): Likewise.
13463 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13464 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13465 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13466 (_nss_nis_gethostbyname4_r): Likewise.
13467 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13468 (initgroups_netid): Likewise.
13469 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13470 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13471 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13472 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13473 (_nss_nis_getprotobynumber_r): Likewise.
13474 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13475 (_nss_nis_getsecretkey): Likewise.
13476 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13477 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13478 (_nss_nis_getpwuid_r): Likewise.
13479 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13480 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13481 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13482 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13483 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13484 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13485 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13487 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13488 (_nss_nisplus_getntohost_r): Likewise.
13489 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13490 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13491 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13492 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13494 * nis/nss_nisplus/nisplus-initgroups.c
13495 (_nss_nisplus_initgroups_dyn): Likewise.
13496 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13497 (_nss_nisplus_getnetbyaddr_r): Likewise.
13498 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13499 (_nss_nisplus_getprotobynumber_r): Likewise.
13500 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13501 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13502 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13504 * nis/nss_nisplus/nisplus-service.c
13505 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13506 (_nss_nisplus_getservbyport_r): Likewise.
13507 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13508 (_nss_nisplus_getspnam_r): Likewise.
13509 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13511 * nscd/aicache.c (addhstaiX): Likewise.
13512 * nscd/cache.c (cache_search, prune_cache): Likewise.
13513 * nscd/connections.c (register_traced_file, send_ro_fd)
13514 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13515 (main_loop_epoll): Likewise.
13516 * nscd/grpcache.c (addgrbyX): Likewise.
13517 * nscd/hstcache.c (addhstbyX): Likewise.
13518 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13519 * nscd/mem.c (gc, mempool_alloc): Likewise.
13520 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13521 (addinnetgrX): Likewise.
13522 * nscd/nscd-client.h (__nscd_acquire_maplock)
13523 (__nscd_drop_map_ref): Likewise.
13524 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13525 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13528 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13530 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13531 (__nscd_get_map_ref): Likewise.
13532 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13533 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13535 * nscd/pwdcache.c (addpwbyX): Likewise.
13536 * nscd/selinux.c (preserve_capabilities): Likewise.
13537 * nscd/servicescache.c (addservbyX): Likewise.
13538 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13539 * posix/fnmatch.c (fnmatch): Likewise.
13540 * posix/getopt.c (_getopt_internal_r): Likewise.
13541 * posix/glob.c (glob, glob_in_dir): Likewise.
13542 * posix/wordexp.c (exec_comm_child): Likewise.
13543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13544 (getanswer_r, gaih_getanswer_slice): Likewise.
13545 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13546 * resolv/res_init.c: Likewise.
13547 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13548 * resolv/res_query.c (__libc_res_nquery): Likewise.
13549 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13551 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13552 * stdio-common/perror.c (perror): Likewise.
13553 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13554 * stdio-common/tmpnam.c (tmpnam): Likewise.
13555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13556 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13557 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13559 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13560 * stdlib/putenv.c (putenv): Likewise.
13561 * stdlib/setenv.c (__add_to_environ): Likewise.
13562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13563 * stdlib/strtol_l.c (INTERNAL): Likewise.
13564 * string/memmem.c (memmem): Likewise.
13565 * string/strerror.c (strerror): Likewise.
13566 * string/strnlen.c (__strnlen): Likewise.
13567 * string/test-memmem.c (simple_memmem): Likewise.
13568 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13569 * sunrpc/pm_getport.c (__get_socket): Likewise.
13570 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13571 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13572 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13573 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13575 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13576 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13577 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13578 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13580 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13584 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13585 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13587 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13588 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13590 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13591 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13592 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13593 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13594 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13595 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13601 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13605 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13606 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13607 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13614 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13616 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13618 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13620 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13626 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13628 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13629 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13630 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13631 * sysdeps/posix/sleep.c: Likewise.
13632 * sysdeps/posix/tempname.c: Likewise.
13633 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13634 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13636 * sysdeps/powerpc/powerpc32/dl-machine.h
13637 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13638 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13640 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13641 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13643 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13645 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13647 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13648 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13649 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13650 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13651 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13652 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13654 (elf_machine_lazy_rel): Likewise.
13655 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13657 (elf_machine_lazy_rel): Likewise.
13658 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13659 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13660 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13661 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13662 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13663 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13664 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13667 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13668 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13669 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13670 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13671 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13672 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13673 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13674 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13677 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13679 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13680 (__posix_fallocate64_l64): Likewise.
13681 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13682 (posix_fallocate): Likewise.
13683 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13685 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13686 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13687 (getifaddrs_internal): Likewise.
13688 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13690 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13691 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13692 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13693 (__posix_fallocate64_l64): Likewise.
13694 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13696 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13698 (__get_clockfreq): Likewise.
13699 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13700 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13701 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13704 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13705 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13706 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13708 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13709 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13710 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13713 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13714 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13717 (posix_fallocate): Likewise.
13718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13719 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13720 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13721 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13722 (elf_machine_rela, elf_machine_rela_relative)
13723 (elf_machine_lazy_rel): Likewise.
13724 * time/asctime.c (asctime_internal): Likewise.
13725 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13726 * time/tzset.c (__tzset_parse_tz): Likewise.
13727 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13728 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13729 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13730 * wcsmbs/wcsmbsload.h: Likewise.
13733 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13735 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13736 (arena_get2): Remove THREAD_STATS conditionals.
13737 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13738 (__malloc_stats, int): Likewise.
13740 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13742 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13743 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13745 * manual/setjmp.texi: Fix typos/grammar errors.
13747 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13748 Only return early when n is <= 0. Delete unused return statement.
13750 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13751 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13752 * debug/tst-longjmp_chk3.c: New file.
13754 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13755 (test_main): Replace code with set_fortify_handler call.
13756 * debug/test-strcpy_chk.c: Likewise.
13757 * debug/tst-chk1.c: Likewise.
13758 * debug/tst-longjmp_chk.c: Likewise.
13759 * test-skeleton.c: Include fcntl.h & paths.h
13760 (set_fortify_handler): Define.
13762 * debug/tst-longjmp_chk.c: Add header comment and include
13763 ../test-skeleton.c.
13764 (do_test): Mark static.
13765 (TEST_FUNCTION): Define.
13767 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13768 (IP_PMTUDISC_INTERFACE): Likewise.
13769 (IP_MULTICAST_IF): Likewise.
13770 (IP_MULTICAST_TTL): Likewise.
13771 (IP_MULTICAST_LOOP): Likewise.
13772 (IP_ADD_MEMBERSHIP): Likewise.
13773 (IP_DROP_MEMBERSHIP): Likewise.
13774 (IP_UNBLOCK_SOURCE): Likewise.
13775 (IP_BLOCK_SOURCE): Likewise.
13776 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13777 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13778 (IP_MSFILTER): Likewise.
13779 (MCAST_JOIN_GROUP): Likewise.
13780 (MCAST_BLOCK_SOURCE): Likewise.
13781 (MCAST_UNBLOCK_SOURCE): Likewise.
13782 (MCAST_LEAVE_GROUP): Likewise.
13783 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13784 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13785 (MCAST_MSFILTER): Likewise.
13786 (IP_MULTICAST_ALL): Likewise.
13787 (IP_UNICAST_IF): Likewise.
13789 * timezone/Makefile: Delete $(have-ksh) check.
13790 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13791 * timezone/tzselect.ksh: Add +x mode bits.
13793 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13794 (ANON_INODE_FS_MAGIC): Likewise.
13795 (BDEVFS_MAGIC): Likewise.
13796 (BINFMTFS_MAGIC): Likewise.
13797 (BTRFS_TEST_MAGIC): Likewise.
13798 (CRAMFS_MAGIC_WEND): Likewise.
13799 (DEBUGFS_MAGIC): Likewise.
13800 (ECRYPTFS_SUPER_MAGIC): Likewise.
13801 (EXT3_SUPER_MAGIC): Likewise.
13802 (EXT4_SUPER_MAGIC): Likewise.
13803 (FUTEXFS_SUPER_MAGIC): Likewise.
13804 (HOSTFS_SUPER_MAGIC): Likewise.
13805 (HUGETLBFS_MAGIC): Likewise.
13806 (MINIX3_SUPER_MAGIC): Likewise.
13807 (MTD_INODE_FS_MAGIC): Likewise.
13808 (NILFS_SUPER_MAGIC): Likewise.
13809 (OPENPROM_SUPER_MAGIC): Likewise.
13810 (PIPEFS_MAGIC): Likewise.
13811 (PSTOREFS_MAGIC): Likewise.
13812 (QNX6_SUPER_MAGIC): Likewise.
13813 (RAMFS_MAGIC): Likewise.
13814 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13815 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13816 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13817 (SECURITYFS_MAGIC): Likewise.
13818 (SELINUX_MAGIC): Likewise.
13819 (SMACK_MAGIC): Likewise.
13820 (SOCKFS_MAGIC): Likewise.
13821 (SQUASHFS_MAGIC): Likewise.
13822 (STACK_END_MAGIC): Likewise.
13823 (TMPFS_MAGIC): Likewise.
13824 (USBDEVICE_SUPER_MAGIC): Likewise.
13825 (V9FS_MAGIC): Likewise.
13826 (XENFS_SUPER_MAGIC): Likewise.
13827 (CRAMFS_MAGIC): Fix typo in comment.
13828 (EXT2_SUPER_MAGIC): Update comment.
13829 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13831 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13833 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13834 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13835 * sysdeps/unix/sysv/linux/arm: Move directory from
13836 ports/sysdeps/unix/sysv/linux/arm.
13837 * README: Update listing for arm-*-linux-gnueabi.
13839 * README: Remove mention of am33.
13841 2014-02-07 Roland McGrath <roland@hack.frob.com>
13843 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13844 than the comma operator, to avoid "rhs of comma has no effect"
13846 (__sigfillset, __sigandset, __sigorset): Likewise.
13847 * include/signal.h (__sigemptyset): Likewise.
13848 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13850 2014-02-07 Allan McRae <allan@archlinux.org>
13852 * version.h (RELEASE): Set to "development".
13853 (VERSION): Set to "2.19.90"
13854 * NEWS: Add 2.20 section.
13856 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13859 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13861 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13863 * manual/contrib.texi: Update entry for Carlos O'Donell,
13864 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13866 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13868 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13870 * sysdeps/unix/sysv/linux/kernel-features.h
13871 [__LINUX_KERNEL_VERSION >= 0x020621]
13872 (__ASSUME_PROC_PID_TASK_COMM): Define.
13874 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13877 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13878 conversion when destination buffer does not have enough space.
13879 * libio/tst-ftell-partial-wide.c: New test case.
13880 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13882 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13883 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13884 Leonard and Allan McRae.
13886 2014-02-04 David S. Miller <davem@davemloft.net>
13888 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13891 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13920 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13922 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13923 * shlib-versions: Likewise.
13925 2014-02-04 Roland McGrath <roland@hack.frob.com>
13926 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13928 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13929 (abilist-pattern): New variable, set to %-le.abilist.
13931 * Makerules (abilist-pattern): New variable.
13932 (vpath): Use $(abilist-pattern) in place of %.abilist.
13933 (check-abi-% pattern rule): Likewise.
13934 (check-abi, update-abi): Likewise.
13936 2014-02-04 Eric Wong <normalperson@yhbt.net>
13938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13940 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13942 * manual/startup.texi: Add next, previous, and top entries for
13943 the `Program Arguments' and `Environment Variables' nodes.
13945 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13947 * manual/macros.texi: Add comments before MTASC-safety macros.
13949 * manual/users.texi: Document MTASC-safety properties.
13951 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13952 (pthread_getspecific, pthread_setspecific): Format with
13953 @deftypefun, and add @safety note.
13954 * manual/signal.texi: Move comments that analyze the above
13955 functions to their home place.
13957 2014-02-03 Allan McRae <allan@archlinux.org>
13959 * po/sl.po: Update Slovenian translation from translation project.
13961 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13963 * manual/time.texi (timegm): Add missing blank after @c.
13964 Reported by Joseph Myers <joseph@codesourcery.com>.
13966 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13968 * manual/check-safety.sh: New.
13969 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13971 * manual/terminal.texi: Document MTASC-safety properties.
13973 * manual/filesys.texi: Document MTASC-safety properties.
13975 * manual/errno.texi: Document MTASC-safety properties.
13977 * manual/intro.texi: Document safety identifiers and
13980 * manual/string.texi (wcstok): Fix prototype.
13981 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13983 * manual/time.texi: Document MTASC-safety properties.
13985 * manual/string.texi: Document MTASC-safety properties.
13987 * manual/threads.texi: Document MTASC-safety properties.
13989 * manual/stdio.texi: Document MTASC-safety properties.
13991 * manual/syslog.texi: Document MTASC-safety properties.
13993 * manual/sysinfo.texi: Document MTASC-safety properties.
13995 * manual/startup.texi: Document MTASC-safety properties.
13997 * manual/socket.texi: Document MTASC-safety properties.
13999 * manual/signal.texi: Document MTASC-safety properties.
14001 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14003 * manual/setjmp.texi: Document MTASC-safety properties.
14005 * manual/search.texi: Document MTASC-safety properties.
14007 * manual/resource.texi: Document MTASC-safety properties.
14009 * manual/process.texi: Document MTASC-safety properties.
14011 * manual/platform.texi: Document MTASC-safety properties.
14013 * manual/pipe.texi: Document MTASC-safety properties.
14015 * manual/pattern.texi: Document MTASC-safety properties.
14017 * manual/message.texi: Document MTASC-safety properties.
14020 * manual/memory.texi: Document MTASC-safety properties.
14022 * manual/math.texi: Document MTASC-safety properties.
14024 * manual/locale.texi: Document MTASC-safety properties.
14026 * manual/llio.texi: Document MTASC-safety properties.
14028 * manual/libdl.texi: New.
14030 * manual/lang.texi: Document MTASC-safety properties.
14032 * manual/job.texi: Document MTASC-safety properties.
14034 * manual/getopt.texi: Document MTASC-safety properties.
14036 * manual/ctype.texi: Document MTASC-safety properties.
14038 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14041 * csu/libc-tls.c (static_map): Remove variable.
14042 (__libc_setup_tls): Use main executable's link map for TLS data.
14043 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14044 casing for LM_ID_BASE and GL(dl_nns).
14045 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14046 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14047 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14048 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14049 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14051 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14054 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14056 * manual/debug.texi: Document MTASC-safety properties.
14058 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14061 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14062 of __x86_64__ when disabling x87 inline functions.
14064 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14066 * manual/charset.texi: Document MTASC-safety properties.
14068 * manual/crypt.texi: Document MTASC-safety properties.
14070 * manual/conf.texi: Document MTASC-safety properties.
14072 * manual/arith.texi: Document MTASC-safety properties.
14074 * manual/argp.texi: Document MTASC-safety properties.
14076 * manual/macros.texi: Introduce macros to document multi
14077 thread, asynchronous signal and asynchronous cancellation
14079 * manual/intro.texi: Introduce the properties themselves.
14081 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14083 * sysdeps/sh/sh4/Makefile: New file.
14085 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14087 * math/gen-libm-test.pl ($srcdir): New variable.
14088 ($auto_input): Use it.
14090 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14093 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14094 access beyond array bounds when parsing netgroups file.
14096 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14097 the old buffer before realloc.
14099 2014-01-27 Allan McRae <allan@archlinux.org>
14101 * po/fr.po: Update French translation from translation project.
14103 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14105 * sysdeps/sh/libm-test-ulps: Regenerate.
14107 2014-01-24 David S. Miller <davem@davemloft.net>
14109 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14111 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14114 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14116 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14119 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14120 string pointers after reallocation.
14122 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14125 __SH4A__ instead of __SH_FPU_ANY__.
14127 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14129 * sysdeps/sh/fpu_control.h: New file.
14130 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14131 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14132 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14133 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14134 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14135 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14136 * sysdeps/sh/sys/ucontext.h: Remove.
14137 * sysdeps/sh/sys: Remove directory.
14139 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14141 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14142 s390/sys/ucontext.h.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14146 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14149 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14151 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14154 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14155 Adjust the vDSO correctly for internal calls.
14156 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14158 2014-01-20 Allan McRae <allan@archlinux.org>
14160 * po/ca.po: Update Catalan translation from translation project.
14162 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14164 * sysdeps/s390/sotruss-lib.c: New file.
14166 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14170 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14171 local calls issues by not having a PLT stub required for IFUNC calls.
14172 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14174 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14176 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14177 * math/test-fpucw-static.c: Likewise.
14179 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14182 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14184 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14187 implementation for powerpc.
14189 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14192 * sysdeps/posix/system.c (__libc_system): Do not enable
14193 asynchronous cancellation.
14195 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14198 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14199 handling only for numbers special also in the IEEE case.
14201 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14203 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14205 2014-01-11 Allan McRae <allan@archlinux.org>
14207 * po/bg.po: Update Bulgarian translation from translation project.
14209 * po/de.po: Update German translation from translation project.
14211 2014-01-10 Roland McGrath <roland@hack.frob.com>
14213 * sysdeps/generic/gcc-compat.h: New file.
14215 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14217 * benchtests/asin-inputs: Correct slow inputs.
14218 * benchtests/acos-inputs: Likewise.
14220 2014-01-10 Allan McRae <allan@archlinux.org>
14222 * po:sv.po: Update Swedish translation from translation project.
14224 * po/vi.po: Update Vietnamese translation from translation project.
14226 * po/eo.po: Update Esperanto translation from translation project.
14228 * po/cs.po: Update Czech translation from translation project.
14230 * po/nl.po: Update Dutch translation from translation project.
14232 * po/pl.po: Update Polish translation from translation project.
14234 * po/ru.po: Update Russian translation from translation project.
14236 * po/uk.po: Update Ukrainian translation from translation project.
14238 2014-01-08 Brooks Moses <bmoses@google.com>
14240 * elf/dl-load.c: Fix comment typo.
14242 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14244 * po/header.pot: Rename to...
14245 * po/pot.header: ... this.
14246 * po/Makefile: Use pot.header.
14248 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14249 Maxim Kuvyrkov <maxim@kugelworks.com>
14252 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14253 SRC and DEST against LEN.
14255 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14258 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14260 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14262 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14266 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14270 for large positive arguments.
14272 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14274 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14276 * math/auto-libm-test-in: Mark various tests with
14277 xfail-rounding:ldbl-128ibm.
14278 * math/auto-libm-test-out: Regenerated.
14281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14282 Increase overflow threshold.
14284 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14287 * stdio-common/vfprintf.c: Check for integer overflow.
14289 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14291 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14292 the first argument and return value of __tls_get_addr_internal.
14294 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14296 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14297 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14299 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14301 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14302 * sysdeps/s390/rtld-global-offsets.sym: New file.
14303 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14305 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14306 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14309 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14310 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14316 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14317 halfs of GPRs for high_gprs contexts.
14318 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14319 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14321 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14325 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14326 for high GPRs (uc_high_gprs) and for future extensions
14328 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14329 for future extensions (__reserved).
14330 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14332 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14333 SC_HIGHGPRS offset definition.
14334 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14335 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14337 * Versions.def: Add GLIBC_2.19 for libpthread.
14338 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14339 siglongjmp for libpthread with GLIBC_2.19 symver.
14340 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14341 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14342 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14343 * sysdeps/s390/__longjmp.c: New file.
14344 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14345 * sysdeps/s390/longjmp.c: New file.
14346 * sysdeps/s390/setjmp.S: New file.
14347 * sysdeps/s390/sigjmp.S: New file.
14348 * sysdeps/s390/v1-longjmp.c: New file.
14349 * sysdeps/s390/v1-setjmp.h: New file.
14350 * sysdeps/s390/v1-sigjmp.c: New file.
14351 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14352 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14353 GLIBC_2.19 version.
14354 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14355 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14356 versioned symbols for ____longjmp_chk.
14357 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14367 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14368 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14369 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14370 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14371 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14372 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14373 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14374 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14375 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14376 * sysdeps/s390/rtld-__longjmp.c: New file.
14377 * sysdeps/s390/rtld-setjmp.S: New file.
14379 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14383 Return -__logl (x) for small positive arguments without evaluating
14386 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14388 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14390 (__ptrace_peeksiginfo_args): ... this.
14391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14395 2014-01-06 Allan McRae <allan@archlinux.org>
14397 * inet/netinet/in.h: Fix typo in comment.
14399 2014-01-05 Andreas Jaeger <aj@suse.de>
14401 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 2014-01-05 Allan McRae <allan@archlinux.org>
14405 * po/libc.pot: Regenerated.
14407 * malloc/memusagestat.c: Fix gettext call formatting.
14409 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14411 * nscd/nscd.c: Improve usage() output.
14413 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14415 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14416 * sysdeps/unix/sysv/linux/configure: Regenerated.
14417 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14418 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14420 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14423 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14424 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14426 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14428 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14429 extra tokens at end of #undef directive.
14430 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14431 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14432 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14434 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14436 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14438 * math/auto-libm-test-in: Mark various tests with
14439 xfail-rounding:ldbl-128ibm.
14440 * math/auto-libm-test-out: Regenerated.
14442 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14446 numbers with subnormal high part when calculating exponent.
14449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14455 (__ieee754_acoshl): Use __log1pl not __log1p.
14457 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14459 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14460 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14461 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14462 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14463 (reused_arena, arena_get2): Convert to GNU style.
14464 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14465 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14466 (memalign_check, __malloc_set_state): Likewise.
14467 * malloc/mallocbug.c (main): Likewise.
14468 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14469 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14470 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14471 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14472 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14473 (__posix_memalign, malloc_info): Likewise.
14474 * malloc/malloc.h: Likewise.
14475 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14476 (mallochook, memalignhook, reallochook, mabort): Likewise.
14477 * malloc/mcheck.h: Likewise.
14478 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14479 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14480 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14481 * malloc/morecore.c (__default_morecore): Likewise.
14482 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14483 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14484 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14485 (print_and_abort): Likewise.
14486 * malloc/obstack.h: Likewise.
14487 * malloc/set-freeres.c (__libc_freeres): Likewise.
14488 * malloc/tst-mallocstate.c (main): Likewise.
14489 * malloc/tst-mtrace.c (main): Likewise.
14490 * malloc/tst-realloc.c (do_test): Likewise.
14492 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14495 * nscd/netgroupcache.c (do_notfound): New function.
14496 (addgetnetgrentX): Use it.
14499 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14500 NSS_STATUS_NOTFOUND.
14502 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14504 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14507 2014-01-01 Allan McRae <allan@archlinux.org>
14509 * scripts/update-copyrights: Update configure input file suffix.
14511 * NEWS: Update copyright year.
14512 * catgets/gencat.c: Likewise.
14513 * csu/version.c: Likewise.
14514 * debug/catchsegv.sh: Likewise.
14515 * debug/pcprofiledump.c: Likewise.
14516 * debug/xtrace.sh: Likewise.
14517 * elf/ldconfig.c: Likewise.
14518 * elf/ldd.bash.in: Likewise.
14519 * elf/pldd.c: Likewise.
14520 * elf/sotruss.ksh: Likewise.
14521 * elf/sprof.c: Likewise.
14522 * iconv/iconv_prog.c: Likewise.
14523 * iconv/iconvconfig.c: Likewise.
14524 * locale/programs/locale.c: Likewise.
14525 * locale/programs/localedef.c: Likewise.
14526 * login/programs/pt_chown.c: Likewise.
14527 * malloc/memusage.sh: Likewise.
14528 * malloc/memusagestat.c: Likewise.
14529 * malloc/mtrace.pl: Likewise.
14530 * manual/libc.texinfo: Likewise.
14531 * nscd/nscd.c: Likewise.
14532 * nss/getent.c: Likewise.
14533 * nss/makedb.c: Likewise.
14534 * posix/getconf.c: Likewise.
14535 * scripts/test-installation.pl: Likewise.
14537 * All files with FSF copyright notices: Update copyright dates
14538 using scripts/update-copyrights.
14539 * intl/plural.c: Regenerated.
14540 * locale/programs/charmap-kw.h: Likewise.
14541 * locale/programs/locfile-kw.h: Likewise.
14543 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14545 * sysdeps/unix/sysv/linux/configure: Regenerated.
14546 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14547 the linux/fanotify.h header.
14548 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14549 HAVE_LINUX_FANOTIFY_H is defined.
14551 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14553 * benchtests/cos-inputs: New inputs.
14554 * benchtests/sin-inputs: Likewise.
14556 * benchtests/atan-inputs: New inputs. Fix name of multiple
14557 precision fallback inputs.
14559 * benchtests/atanh-inputs: New inputs.
14560 * benchtests/tanh-inputs: Likewise.
14562 * benchtests/acosh-inputs: New inputs.
14563 * benchtests/asinh-inputs: Likewise.
14565 * benchtests/cosh-inputs: New inputs.
14566 * benchtests/sinh-inputs: Likewise.
14568 * benchtests/acos-inputs: Add more inputs.
14569 * benchtests/asin-inputs: Likewise.
14571 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14574 * manual/arith.texi: Fix spelling.
14575 * manual/charset.texi: Likewise.
14576 * manual/errno.texi: Likewise.
14577 * manual/filesys.texi: Likewise.
14578 * manual/lang.texi: Likewise.
14579 * manual/llio.texi: Likewise.
14580 * manual/locale.texi: Likewise.
14581 * manual/message.texi: Likewise.
14582 * manual/resource.texi: Likewise.
14583 * manual/search.texi: Likewise.
14584 * manual/setjmp.texi: Likewise.
14585 * manual/stdio.texi: Likewise.
14586 * manual/string.texi: Likewise.
14587 * manual/sysinfo.texi: Likewise.
14588 * manual/time.texi: Likewise.
14590 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14592 * po/sl.po: New file.
14594 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14596 * .gitignore: Add core/.gdbinit/.gdb_history.
14598 2013-12-27 Allan McRae <allan@archlinux.org>
14601 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14602 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14604 2013-12-24 Brooks Moses <bmoses@google.com>
14606 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14607 all compilers that claim C++98 compliance, not just GCC.
14608 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14611 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14613 * NEWS: Restore accidentally deleted bug-fix entries.
14615 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14616 Ondřej Bílka <neleai@seznam.cz>
14619 * malloc/malloc.c (_int_free): Perform sanity check only if we
14622 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14625 * manual/stdio.texi (String Input Conversions): Clarify that character
14626 classes are not supported.
14628 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14632 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14635 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14636 Calculate results for small negative arguments directly rather
14637 than using reflection formula with special underflow handling.
14639 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14640 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14641 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14642 (fchflags): Likewise.
14643 (revoke): Likewise.
14644 (setlogin): Likewise.
14645 (sigaltstack): Likewise.
14647 (sigblock): Remove.
14648 (sigsetmask): Likewise.
14650 (waitpid): Likewise.
14651 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14652 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14654 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14655 * sysdeps/unix/bsd/Makefile: ... here.
14656 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14657 * sysdeps/unix/bsd/Versions: ... here.
14658 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14659 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14660 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14661 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14662 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14663 * sysdeps/unix/bsd/sigblock.c: ... here.
14664 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14665 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14666 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14667 * sysdeps/unix/bsd/sigvec.c: ... here.
14668 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14669 * sysdeps/unix/bsd/tcdrain.c: ... here.
14670 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14671 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14672 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14673 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14674 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14675 * sysdeps/unix/bsd/wait.c: ... here.
14676 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14677 * sysdeps/unix/bsd/wait3.c: ... here.
14678 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14679 * sysdeps/unix/bsd/waitpid.c: ... here.
14681 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14685 round-to-nearest for [!USE_AS_EXPM1L].
14686 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14687 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14688 more tests of exp and exp10. Expect some exp10 tests to miss
14689 exceptions or fail in directed rounding modes.
14690 * math/auto-libm-test-out: Regenerated.
14691 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14692 (exp10_test_tonearest): New function.
14693 (exp10_towardzero_test_data): New array.
14694 (exp10_test_towardzero): New function.
14695 (exp10_downward_test_data): New array.
14696 (exp10_test_downward): New function.
14697 (exp10_upward_test_data): New array.
14698 (exp10_test_upward): New function.
14699 (main): Call the new functions.
14700 * sysdeps/i386/fpu/libm-test-ulps: Update.
14701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14703 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14705 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14706 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14707 * math/auto-libm-test-out: Regenerated.
14708 * math/libm-test.inc (acosh_test_data): Add more tests.
14709 (atanh_test_data): Likewise.
14710 (ceil_test_data): Likewise.
14711 (copysign_test_data): Likewise.
14712 * sysdeps/i386/fpu/libm-test-ulps: Update.
14713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715 * timezone/checktab.awk: Update from tzcode 2013i.
14716 * timezone/private.h: Likewise.
14717 * timezone/scheck.c: Likewise.
14718 * timezone/tzfile.h: Likewise.
14719 * timezone/tzselect.ksh: Likewise.
14720 * timezone/zdump.c: Likewise.
14721 * timezone/zic.c: Likewise.
14723 * math/auto-libm-test-in: Add tests of cpow.
14724 * math/auto-libm-test-out: Regenerated.
14725 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14726 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14728 (func_calc_desc): Add mpc_cc_c union field.
14729 (test_functions): Add cpow.
14730 (special_fill_2pi): New function.
14731 (special_real_inputs): Add 2pi.
14732 (calc_generic_results): Handle mpc_cc_c.
14733 * sysdeps/i386/fpu/libm-test-ulps: Update.
14734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14736 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14737 csqrt, ctan and ctanh.
14738 * math/auto-libm-test-out: Regenerated.
14739 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14740 (TEST_COND_x86): Likewise.
14741 (ccos_test_data): Use AUTO_TESTS_c_c.
14742 (ccosh_test_data): Likewise.
14743 (cexp_test_data): Likewise.
14744 (clog_test_data): Likewise.
14745 (csqrt_test_data): Likewise.
14746 (ctan_test_data): Likewise.
14747 (ctan_tonearest_test_data): Likewise.
14748 (ctan_towardzero_test_data): Likewise.
14749 (ctan_downward_test_data): Likewise.
14750 (ctan_upward_test_data): Likewise.
14751 (ctanh_test_data): Likewise.
14752 (ctanh_tonearest_test_data): Likewise.
14753 (ctanh_towardzero_test_data): Likewise.
14754 (ctanh_downward_test_data): Likewise.
14755 (ctanh_upward_test_data): Likewise.
14756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14758 (func_calc_desc): Add mpc_c_c union field.
14759 (FUNC_mpc_c_c): New macro.
14760 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14761 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14763 (special_fill_min_subnorm_p120): New function.
14764 (special_real_inputs): Add min_subnorm_p120.
14765 (calc_generic_results): Handle mpc_c_c.
14766 * sysdeps/i386/fpu/libm-test-ulps: Update.
14767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14769 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14771 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14772 (do_sin_slow): New functions.
14773 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14774 (cslow2, csloww1, csloww2): Use the new functions.
14776 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14777 Use M to change sign of result instead of X. Assume X is
14779 (csloww1): Likewise.
14783 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14784 arguments A and DA.
14788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14790 (sloww1): Don't adjust sign of DX.
14791 (csloww1): Likewise.
14792 (sloww2): Use X directly and don't adjust sign of DX.
14793 (csloww2): Likewise.
14795 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14797 * math/auto-libm-test-in: Add tests of cabs and carg.
14798 * math/auto-libm-test-out: Regenerated.
14799 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14800 (carg_test_data): Likewise.
14801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14803 (func_calc_desc): Add mpc_c_f union field.
14804 (test_functions): Add cabs and carg.
14805 (calc_generic_results): Handle mpc_c_f.
14807 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14808 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14809 as a macro and a compat symbol.
14810 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14811 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14812 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14813 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14814 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14827 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14828 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14831 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14835 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14837 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14838 trailing whitespace removed.
14839 * scripts/config.guess: Update to version 2013-11-29.
14840 * scripts/config.sub: Update to version 2013-10-01.
14842 * math/auto-libm-test-in: Add tests of sincos.
14843 * math/auto-libm-test-out: Regenerated.
14844 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14847 (func_calc_desc): Add mpfr_f_11 union field.
14848 (test_functions): Add sincos.
14849 (calc_generic_results): Handle mpfr_f_11.
14850 * sysdeps/i386/fpu/libm-test-ulps: Update.
14851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14853 2013-12-19 Andreas Schwab <schwab@suse.de>
14855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14857 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14858 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14859 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14861 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14863 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14864 * sysdeps/i386/fpu/libm-test-ulps: Update.
14865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14869 round-to-nearest mode when using frndint.
14870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14871 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14872 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14874 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14876 * math/auto-libm-test-out: Regenerated.
14877 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14878 (TEST_COND_x86): Likewise.
14879 (expm1_tonearest_test_data): New array.
14880 (expm1_test_tonearest): New function.
14881 (expm1_towardzero_test_data): New array.
14882 (expm1_test_towardzero): New function.
14883 (expm1_downward_test_data): New array.
14884 (expm1_test_downward): New function.
14885 (expm1_upward_test_data): New array.
14886 (expm1_test_upward): New function.
14887 (main): Run the new test functions.
14888 * sysdeps/i386/fpu/libm-test-ulps: Update.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891 * include/features.h: Update comment documenting feature test
14892 macros. Mention _DEFAULT_SOURCE in comment.
14893 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14894 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14895 _BSD_SOURCE and _SVID_SOURCE.
14896 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14897 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14898 !_SVID_SOURCE]: Likewise.
14899 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14900 (__USE_POSIX_IMPLICITLY): Define.
14901 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14902 (_POSIX_SOURCE): Undefine and redefine.
14903 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14904 (_POSIX_C_SOURCE): Likewise.
14905 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14906 (Feature Test Macros): Update documentation of default features.
14908 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14910 * benchtests/Makefile: Add bench-strtok.
14911 * benchtests/bench-strtok.c: New file: strtok benchtest.
14913 2013-12-19 Allan McRae <allan@archlinux.org>
14915 * manual/install.texi: Suppress menu for plain text output.
14916 * INSTALL: Regenerated.
14918 2013-12-18 Brooks Moses <bmoses@google.com>
14921 * misc/getauxval.c: Include errno.h.
14922 (__getauxval): Set errno to ENOENT if the requested type is not
14924 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14925 don't declare with __attribute_const__.
14926 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14927 * manual/startup.texi: Document that getauxval sets errno.
14929 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14931 * math/auto-libm-test-in: Add tests of jn and yn.
14932 * math/auto-libm-test-out: Regenerated.
14933 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14934 (yn_test_data): Likewise.
14935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14937 (func_calc_desc): Add mpfr_if_f union field.
14938 (FUNC_mpfr_if_f): New macro.
14939 (test_functions): Add jn and yn.
14940 (calc_generic_results): Assert type of second input for
14941 mpfr_ff_f. Handle mpfr_if_f.
14942 (output_for_one_input_case): Disable all checking for arguments
14943 fitting floating-point types in case of an integer argument.
14944 * sysdeps/i386/fpu/libm-test-ulps: Update.
14945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14948 Don't expect fegetround reference in libm.so.
14950 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14952 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14953 $(config-cflags-nofma).
14955 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14957 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14958 * math/auto-libm-test-out: Regenerated.
14961 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14962 to determine exponent and adjust argument to have exponent of -1.
14963 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14965 * math/auto-libm-test-out: Regenerated.
14966 * sysdeps/i386/fpu/libm-test-ulps: Update.
14967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14971 * manual/probes.texi: Remove cases when per-thread arenas are
14974 2013-12-18 Andreas Schwab <schwab@suse.de>
14976 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14977 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14978 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14979 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14980 * sysdeps/i386/i686/multiarch/Makefile: Update.
14981 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14983 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14985 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14986 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14988 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14991 Support TZ transition times < 00:00:00.
14992 This is needed for version-3 tz-format files; it supports time
14993 stamps past 2037 for America/Godthab (the only entry in the tz
14994 database for which this change is relevant).
14995 * manual/time.texi (TZ Variable): Document transition times
14996 from -167:59:59 through -00:00:01.
14997 * time/tzset.c (tz_rule): Time of day is now signed.
14998 (__tzset_parse_tz): Parse negative time of day.
15000 Document TZ transition times >= 25:00:00.
15001 * manual/time.texi (TZ Variable): Document transition times from
15002 25:00:00 through 167:59:59. These are already supported, and this
15003 support will help with version-3 tz-format files.
15005 * manual/time.texi (TZ Variable): Modernize North America example
15006 to reflect current (i.e., 2007-and-later) daylight saving rules.
15008 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15010 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15012 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15013 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15016 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15017 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15018 * sysdeps/unix/bsd/clock.c: Likewise.
15019 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15020 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15021 * sysdeps/unix/bsd/init-posix.c: Likewise.
15022 * sysdeps/unix/bsd/poll.c: Likewise.
15023 * sysdeps/unix/bsd/ptsname.c: Likewise.
15024 * sysdeps/unix/bsd/seekdir.c: Likewise.
15025 * sysdeps/unix/bsd/setegid.c: Likewise.
15026 * sysdeps/unix/bsd/seteuid.c: Likewise.
15027 * sysdeps/unix/bsd/setgid.c: Likewise.
15028 * sysdeps/unix/bsd/setrgid.c: Likewise.
15029 * sysdeps/unix/bsd/setruid.c: Likewise.
15030 * sysdeps/unix/bsd/setsid.c: Likewise.
15031 * sysdeps/unix/bsd/setuid.c: Likewise.
15032 * sysdeps/unix/bsd/sigaction.c: Likewise.
15033 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15034 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15035 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15036 * sysdeps/unix/bsd/telldir.c: Likewise.
15037 * sysdeps/unix/bsd/times.c: Likewise.
15038 * sysdeps/unix/bsd/usleep.c: Likewise.
15040 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15041 ($(objpfx)libbsd-compat.a): Remove rule.
15043 * include/features.h (__FAVOR_BSD): Do not define.
15044 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15045 features conflicting with POSIX.
15046 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15047 (_BSD_SOURCE): Remove description of not being a subset of other
15048 feature test macros.
15049 * manual/job.texi (getpgrp): Do not document BSD version.
15050 (getpgid): Do not document by reference to BSD getpgrp.
15051 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15052 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15053 * signal/signal.h [__FAVOR_BSD]: Likewise.
15054 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15055 instead of making contents conditional on [__FAVOR_BSD].
15056 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15058 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15062 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15065 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15066 values below 2**-450, not 2**-500.
15067 * math/auto-libm-test-in: Don't allow spurious underflow from
15069 * math/auto-libm-test-out: Regenerated.
15073 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15074 values of ha and hb and sort them after adjusting subnormal
15076 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15078 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15079 values of ea and eb and sort them after adjusting subnormal
15081 * math/auto-libm-test-in: Do not expect some hypot tests of
15082 subnormals to fail. Add more hypot tests.
15083 * math/auto-libm-test-out: Regenerated.
15085 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15088 * sysdeps/sh/s_fma.c: New file.
15089 * sysdeps/sh/s_fmaf.c: New file.
15090 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15092 * sysdeps/sh/Implies: Add sh/soft-fp.
15094 2013-12-16 Roland McGrath <roland@hack.frob.com>
15096 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15097 level of indirection to members `objname', `errstring', `malloced'.
15098 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15099 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15100 it as the __longjmp argument (just pass 1 instead).
15101 (_dl_catch_error): Initialize C with argument pointers and address of
15102 volatile local ERRCODE rather than copying values out of C at return.
15104 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15106 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15107 * math/auto-libm-test-out: Regenerated.
15108 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15109 (hypot_test_data): Likewise.
15110 (pow_test_data): Likewise.
15111 (pow_tonearest_test_data): Likewise.
15112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15114 (func_calc_desc): Add mpfr_ff_f union field.
15115 (FUNC_mpfr_ff_f): New macro.
15116 (test_functions): Add atan2, hypot and pow.
15117 (special_fill_min): New function.
15118 (special_fill_minus_min): Likewise.
15119 (special_fill_min_subnorm): Likewise.
15120 (special_fill_minus_min_subnorm): Likewise.
15121 (special_real_inputs): Add min, -min, min_subnorm and
15123 (calc_generic_results): Handle mpfr_ff_f.
15124 * sysdeps/i386/fpu/libm-test-ulps: Update.
15125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15127 2013-12-16 Will Newton <will.newton@linaro.org>
15129 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15130 (Aligned Memory Blocks): Add documentation for aligned_alloc
15131 and suggest it as an alternative to posix_memalign.
15132 (Hooks for Malloc): Document __memalign_hook is also called
15133 for aligned_alloc. (Summary of Malloc): Add summary for
15134 aligned alloc. Document __memalign_hook is also called
15137 2013-12-16 Will Newton <will.newton@linaro.org>
15139 * manual/memory.texi (Malloc Examples): Clarify default
15140 alignment documentation. Suggest posix_memalign rather
15141 than memalign or valloc.
15142 (Aligned Memory Blocks): Remove suggestion to use memalign
15143 or valloc. Remove obsolete comment about BSD.
15144 Document memalign errno values and mark the function obsolete.
15145 Document posix_memalign returned error codes. Mark valloc
15146 as obsolete. (Hooks for Malloc): __memalign_hook is also
15147 called for posix_memalign and valloc.
15148 (Summary of Malloc): Add posix_memalign to function summary.
15149 __memalign_hook is also called for posix_memalign and valloc.
15151 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15153 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15157 (sloww): Use mynumber union. Expand ternary operator into
15158 if-else statements.
15159 (cslow): use mynumber union.
15161 2013-12-16 Allan McRae <allan@archlinux.org>
15163 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15164 * configure: Regenerated.
15166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15169 * configure.ac: Added --enable-maintainer-mode. Check for
15170 autoconf when enabled.
15171 * configure: Regenerated.
15173 * nscd/nscd.service: New file.
15174 * nscd/nscd.tmpfiles: New file.
15176 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15179 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15180 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15181 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15182 (strstr): Add __strstr_sse2_unaligned ifunc.
15183 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15184 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15185 (strcasestr): Remove __strcasestr_sse42 ifunc.
15186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15190 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15192 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15193 * sysdeps/sh/bits/fenv.h: ... here.
15194 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15196 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15198 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15201 hypotf multiarch implementations.
15202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15205 multiarch hypot for PPC64.
15206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15209 multiarch hypotf for PPC64.
15211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15212 modff multiarch implementations.
15213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15216 multiarch modf for PPC64.
15217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15220 multiarch modff for PPC64.
15222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15223 and logl multiarch implementations.
15224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15227 multiarch logb for PPC64.
15228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15231 multiarch logb for PPC64.
15232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15235 multiarch logb for PPC64.
15237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15238 isinff multiarch implementation.
15239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15243 multiarch isinf for PPC64.
15244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15247 multiarch isinff for PPC64.
15249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15250 finitef multiarch implementation.
15251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15255 multiarch finite for PPC64.
15256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15259 multiarch finitef for PPC64.
15261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15262 lrint multiarch implementation.
15263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15267 multiarch llrint for PPC64.
15268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15269 multiarch lrint for PPC64.
15271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15272 copysignf multiarch implementation.
15273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15278 multiarch copysign for PPC64.
15279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15280 multiarch copysignf for PPC64.
15282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15283 multiarch implementation.
15284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15292 multiarch llround for PPC64.
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15294 multiarch trunc for PPC64.
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15296 multiarch truncf for PPC64.
15298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15299 multiarch implementation.
15300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15308 multiarch llround for PPC64.
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15310 multiarch round for PPC64.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15312 multiarch roundf for PPC64.
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15315 multiarch implementation.
15316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15324 multiarch llround for PPC64.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15326 multiarch floor for PPC64.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15328 multiarch floorf for PPC64.
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15331 multiarch implementation.
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15340 multiarch llround for PPC64.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15342 multiarch ceil for PPC64.
15343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15344 multiarch ceilf for PPC64.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15347 multiarch implementation.
15348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15355 multiarch llround for PPC64.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15357 multiarch lround for PPC64.
15359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15360 multiarch implementation.
15361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15368 multiarch isnan for PPC64.
15369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15370 multiarch isnanf for PPC64.
15372 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15373 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15374 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15375 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15376 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15379 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15385 multiarch implementations.
15386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15387 (__libc_ifunc_impl_list): Likewise.
15388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15389 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15390 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15391 multiarch stpcpy for PPC64.
15393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15394 multiarch implementations.
15395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15396 (__libc_ifunc_impl_list): Likewise.
15397 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15398 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15399 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15400 multiarch strcpy for PPC64.
15402 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15403 redefine function name.
15404 (_wordcopy_fwd_dest_aligned): Likewise.
15405 (_wordcopy_bwd_aligned): Likewise.
15406 (_wordcopy_bwd_dest_aligned): Likewise.
15407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15408 multiarch implementations.
15409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15410 (__libc_ifunc_impl_list): Likewise.
15411 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15413 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15414 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15415 multiarch wcscpy for PPC64.
15417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15418 multiarch implementations.
15419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15420 (__libc_ifunc_impl_list): Likewise.
15421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15423 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15424 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15425 multiarch wcscpy for PPC64.
15427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15428 multiarch implementations.
15429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15430 (__libc_ifunc_impl_list): Likewise.
15431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15433 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15435 multiarch wcsrchr for PPC64.
15437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15438 multiarch implementations.
15439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15440 (__libc_ifunc_impl_list): Likewise.
15441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15442 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15443 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15444 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15445 multiarch wcschr for PPC64.
15447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15448 multiarch implementations.
15449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15450 (__libc_ifunc_impl_list): Likewise.
15451 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15452 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15453 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15454 multiarch strchrnul for PPC64.
15456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15459 (__libc_ifunc_impl_list): Likewise.
15460 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15461 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15462 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15463 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15469 (__libc_ifunc_impl_list): Likewise.
15470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15473 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15477 multiarch implementations.
15478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15479 (__libc_ifunc_impl_list): Likewise.
15480 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15481 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15482 strncasecmp for PPC64.
15483 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15484 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15485 multiarch strncasecmp_l for PPC64.
15487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15488 multiarch implementations.
15489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15490 (__libc_ifunc_impl_list): Likewise.
15491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15493 multiarch strcasecmp for PPC64.
15494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15497 multiarch strcasecmp_l for PPC64.
15499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15502 (__libc_ifunc_impl_list): Likewise.
15503 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15504 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15505 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15511 (__libc_ifunc_impl_list): Likewise.
15512 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15513 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15514 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15520 (__libc_ifunc_impl_list): Likewise.
15521 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15523 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15524 rawmemrchr for PPC64.
15526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15529 (__libc_ifunc_impl_list): Likewise.
15530 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15531 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15532 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15538 (__libc_ifunc_impl_list): Likewise.
15539 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15540 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15541 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15547 (__libc_ifunc_impl_list): Likewise.
15548 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15549 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15550 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15553 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15554 avoid cretion of __bzero symbol.
15555 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15557 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15559 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15562 multiarch implementations.
15563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15564 (__libc_ifunc_impl_list): Likewise.
15565 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15566 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15568 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15570 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15571 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15572 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15573 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15574 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15576 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15578 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15582 (__libc_ifunc_impl_list): Likewise.
15583 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15584 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15585 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15586 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15590 multiarch for POWER/PPC64.
15591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15592 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15599 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15602 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15603 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15604 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15606 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15607 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15608 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15609 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15610 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15611 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15612 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15613 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15614 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15615 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15616 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15625 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15629 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15631 * benchtests/Makefile (bench): Add exp2 and log2.
15632 (LDLIBS-bench-exp2): Add -lm.
15633 (LDLIBS-bench-log2): Likewise.
15634 * benchtests/exp2-inputs: New inputs file.
15635 * benchtests/log2-inputs: New inputs file.
15636 * benchtests/log-inputs: Add new inputs.
15637 * benchtests/tan-inputs: Likewise.
15639 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15641 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15643 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15644 (csloww2): ... from here.
15646 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15647 instead of structures.
15648 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15649 (POLYNOMIAL): Likewise.
15650 (TAYLOR_SLOW): Likewise.
15656 (sloww1); Likewise.
15657 (sloww2): Likewise.
15658 (bsloww1): Likewise.
15659 (bsloww2): Likewise.
15660 (cslow2): Likewise.
15661 (csloww): Likewise.
15662 (csloww1): Likewise.
15663 (csloww2): Likewise.
15665 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15667 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15668 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15669 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15670 * malloc/hooks.c (realloc_check): Likewise.
15672 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15673 * malloc/arena.c: Remove PER_THREAD conditional.
15674 [!PER_THREAD]: Remove code.
15675 (ptmalloc_unlock_all2): Likewise.
15676 (ptmalloc_init): Likewise.
15677 (_int_new_arena): Likewise.
15678 (arena_get2): Likewise.
15679 * malloc/hooks.c (__malloc_get_state): Likewise.
15680 (__malloc_set_state): Likewise.
15681 * malloc/malloc.c: Likewise.
15682 (struct malloc_state): Likewise.
15683 (struct malloc_par): Likewise.
15684 (__libc_realloc): Likewise.
15685 (__libc_mallopt): Likewise.
15687 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15689 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15691 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15693 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15694 macro to a function. Check for zero perturb_byte.
15695 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15697 * malloc/malloc.c: (force_reg): Remove.
15698 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15699 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15700 force_reg by atomic_forced_read.
15701 * malloc/arena.c (ptmalloc_init): Likewise.
15702 * malloc/hooks.c (top_check): Likewise.
15704 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15708 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15712 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15714 * math/auto-libm-test-in: Add tests of lgamma.
15715 * math/auto-libm-test-out: Regenerated.
15716 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15717 (M_LOG_2_SQRT_PIl): Likewise.
15718 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15721 (func_calc_desc): Add mpfr_f_f1 union field.
15722 (ARGS1): New macro.
15730 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15731 (test_functions): Add lgamma.
15732 (calc_generic_results): Handle mpfr_f_f1.
15733 * sysdeps/i386/fpu/libm-test-ulps: Update.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15738 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15739 __mpn_add_n for PowerPC64/POWER7.
15740 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15741 __mpn_sub_n for PowerPC64/POWER7.
15743 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15744 __mpn_addmul_1 for PowerPC64.
15745 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15746 __mpn_submul_1 for PowerPC64.
15747 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15749 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15752 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15755 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15757 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15759 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15761 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15762 add multiarch folders.
15763 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15764 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15765 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15766 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15767 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15768 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15769 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15770 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15771 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15772 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15773 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15782 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15788 multiarch __ieee754_hypot for PowerPC32.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15794 multiarch __ieee754_hypotf for PowerPC32.
15796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15797 long_double_symbol only if __logbl is defined.
15798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15799 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15801 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15803 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15805 path for implementation.
15806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15809 logb, and logbl multiarch implementations for PowerPC32.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15815 multiarch logb for PowerPC32.
15816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15821 multiarch logbf for PowerPC32.
15822 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15826 multiarch logbl implementation for PowerPC32.
15828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15829 and modff multiarch implementations.
15830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15835 multiarch modf for PowerPC32.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15841 multiarch modff for PowerPC32.
15843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15844 and lrintf multiarch implementations.
15845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15850 multiarch lrint for PowerPC32.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15852 file: multiarch lrintf for PowerPC32.
15854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15855 and lroundf multiarch implementations.
15856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15863 multiarch lround for PowerPC32.
15864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15865 file: multiarch lroundf for PowerPC32.
15867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15868 copysign and copysignf multiarch implementations.
15869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15874 file: multiarch copysign for PowerPC32.
15875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15876 file: multiarch copysignf for PowerPC32.
15878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15879 and truncf multiarch implementations.
15880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15885 multiarch trunc for PowerPC32.
15886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15891 multiarch truncf for PowerPC32.
15893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15894 and roundf multiarch implementations.
15895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15900 multiarch round for PowerPC32.
15901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15906 multiarch roundf for PowerPC32.
15908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15909 and floorf multiarch implementations.
15910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15915 multiarch floor for PowerPC32.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15921 multiarch floorf for PowerPC32.
15923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15924 and ceilf multiarch implementations.
15925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15930 multiarch ceil for PowerPC32.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15936 multiarch ceilf for PowerPC32.
15938 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15940 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15941 FINITEF is defined.
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15943 and finitef multiarch implementations.
15944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15949 multiarch finite for PowerPC32.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15953 file: multiarch finitef for PowerPC32.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15956 and isinff multiarch implementations.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15962 multiarch isinf for PowerPC32.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15966 multiarch isinff for PowerPC32.
15968 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15969 alias when __isnan is defined.
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15971 and isnanf multiarch implementations.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15981 multiarch isnan for PowerPC32.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15987 multiarch isnanf for PowerPC32.
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15990 and sqrtf multiarch implementations.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15996 multiarch sqrt for PowerPC32.
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16002 multiarch sqrtf for PowerPC32.
16004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16005 and llroundf multiarch implementations.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16013 file: multiarch llround for PowerPC32.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16015 file: multiarch llroundf for PowerPC32.
16017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16018 multiarch PowerPC32 fpu implementations.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16024 multiarch llrint for PowerPC32.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16036 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16041 multiarch wordcopy for PPC32.
16042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16045 (__libc_ifunc_impl_list): Likewise.
16046 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16047 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16049 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16050 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16051 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16053 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16061 multiarch wcscpy for PPC32.
16062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16065 (__libc_ifunc_impl_list): Likewise.
16066 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16067 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16068 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16069 sysdeps/powerpc/power6/wcscpy.c.
16071 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16079 multiarch wcsrchr for PPC32.
16080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16083 (__libc_ifunc_impl_list): Likewise.
16084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16085 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16086 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16087 sysdeps/powerpc/power6/wcsrchr.c.
16089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16095 multiarch wcschr for PPc32.
16096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16099 (__libc_ifunc_impl_list): Likewise.
16100 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16101 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16102 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16103 sysdeps/powerpc/power6/wcschr.c.
16105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16109 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16110 file: multiarch strchr for PPC32.
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16114 (__libc_ifunc_impl_list): Likewise.
16116 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16118 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16123 multiarch strchrnul for PPC32.
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16127 (__libc_ifunc_impl_list): Likewise.
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16132 multiarch strncasecmp for PPC32.
16133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16136 multiarch strncasecmp_l for PPC32.
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16138 strncasecmp multiarch objects.
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16140 (__libc_ifunc_impl_list): Likewise.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16145 multiarch strncasecmp for PPC32.
16146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16149 multiarch strcasecmp_l for PPC32.
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16153 (__libc_ifunc_impl_list): Likewise.
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16160 multiarch strncmp for PPC32.
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16164 (__libc_ifunc_impl_list): Likewise.
16166 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16167 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16169 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16170 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16174 (__libc_ifunc_impl_list): Likewise.
16176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16184 (__libc_ifunc_impl_list): Likewise.
16186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16191 multiarch rawmemchr for PPC32.
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16195 (__libc_ifunc_impl_list): Likewise.
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16202 file: memrchr multiarch for PPC32.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16206 (__libc_ifunc_impl_list): Likewise.
16208 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16211 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16213 multiarch memchr for PPC32.
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16217 (__libc_ifunc_impl_list): Likewise.
16219 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16220 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16224 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16225 file: multiarch mempcpy for PPC32.
16226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16229 (__libc_ifunc_impl_list): Likewise.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16235 multiarch bzero for PPC32.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16238 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16241 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16242 file: multiarch memset for PPC32.
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16245 memset multiarch objects.
16246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16247 (__libc_ifunc_impl_list): Likewise.
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16258 (__libc_ifunc_impl_list): Likewise.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16269 multiarch memcpy for PPC32.
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16273 (__libc_ifunc_impl_list): Likewise.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16276 support multiarch for POWER/PPC32.
16277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16279 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16281 Implies file to make multiarch folder appers before the fpu and
16282 default folder for power4 configuration.
16284 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * scripts/bench.pl: Append volatile keyword to type.
16288 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16290 * sysdeps/sh/sotruss-lib.c: New file.
16291 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16293 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16297 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16300 * math/w_tgamma.c: Include <errno.h>.
16301 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16302 * math/w_tgammaf.c: Include <errno.h>.
16303 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16304 * math/w_tgammal.c: Include <errno.h>.
16305 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16306 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16307 underflow. Add more tgamma tests.
16308 * math/auto-libm-test-out: Regenerated.
16309 * sysdeps/i386/fpu/libm-test-ulps: Update.
16310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16312 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16313 sin, sinh, tan, tanh, tgamma, y0 and y1.
16314 * math/auto-libm-test-out: Regenerated.
16315 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16316 (TEST_COND_x86): Likewise.
16317 (M_E2l): Remove macro.
16319 (M_2_SQRT_PIl): Likewise.
16320 (M_SQRT_PIl): Likewise.
16321 (M_1_DIV_El): Likewise.
16322 (log_test_data): Use AUTO_TESTS_f_f.
16323 (log10_test_data): Likewise.
16324 (log1p_test_data): Likewise.
16325 (log2_test_data): Likewise.
16326 (sin_test_data): Likewise.
16327 (sin_tonearest_test_data): Likewise.
16328 (sin_towardzero_test_data): Likewise.
16329 (sin_downward_test_data): Likewise.
16330 (sin_upward_test_data): Likewise.
16331 (sinh_test_data): Likewise.
16332 (sinh_tonearest_test_data): Likewise.
16333 (sinh_towardzero_test_data): Likewise.
16334 (sinh_downward_test_data): Likewise.
16335 (sinh_upward_test_data): Likewise.
16336 (tan_test_data): Likewise.
16337 (tan_tonearest_test_data): Likewise.
16338 (tan_towardzero_test_data): Likewise.
16339 (tan_downward_test_data): Likewise.
16340 (tan_upward_test_data): Likewise.
16341 (tanh_test_data): Likewise.
16342 (tgamma_test_data): Likewise.
16343 (y0_test_data): Likewise.
16344 (y1_test_data): Likewise.
16345 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16346 (special_real_inputs): Add pi/4.
16347 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16350 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16353 "longjmp_target" static probes.
16354 (__longjmp): Rename to __longjmp_symbol.
16355 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16356 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16357 on which longjmp to generate.
16358 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16361 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16362 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16363 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16364 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16365 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16366 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16368 __longjmp_symbol based on which __longjmp to generate.
16369 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16371 (setjmp): Rename to setjmp_symbol.
16372 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16373 (_setjmp): Rename to _setjmp_symbol.
16374 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16375 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16376 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16377 which setjmp to generate.
16378 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16379 "longjmp_target" static probes.
16381 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16383 * benchtests/README: Add note about output arguments.
16384 * benchtests/bench-sincos.c: Remove file.
16385 * benchtests/sincos-inputs: New file.
16386 * scripts/bench.pl: Identify output arguments and define
16387 static variables for them.
16389 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16392 * Makefile (INSTALL): Add install-plain.texi as the primary
16394 * manual/install-plain.texi: New file.
16395 * manual/install.texi: Include node directive only for
16396 non-plaintext output.
16398 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16400 * stdlib/longlong.h: Update from GCC.
16404 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16405 * math/w_j0f.c (y0f): Likewise.
16406 * math/w_j0l.c (__y0l): Likewise.
16407 * math/w_j1.c (y1): Likewise.
16408 * math/w_j1f.c (y1f): Likewise.
16409 * math/w_j1l.c (__y1l): Likewise
16410 * math/w_jn.c (yn): Likewise.
16411 * math/w_jnf.c (ynf): Likewise.
16412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16413 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16414 value for Bessel function domain errors outside _SVID_ mode.
16415 Adjust sign of return value for yn (negative integer, 0).
16416 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16417 by zero in return for negative x and set sign appropriately for
16419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16421 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16422 expectations in error cases.
16423 (y1_test_data): Likewise.
16424 (yn_test_data): Likewise.
16425 * sysdeps/i386/fpu/libm-test-ulps: Update.
16426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16428 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16430 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16431 "64" to "64-v1". Add "64-v2".
16432 (abi-64-options): Rename to ...
16433 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16434 (abi-64-condition): Rename to ...
16435 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16436 (abi-64-ld-soname): Rename to ...
16437 (abi-64-v1-ld-soname): ... this.
16438 (abi-64-v2-options): Define.
16439 (abi-64-v2-condition): Likewise.
16440 (abi-64-v2-ld-soname): Likewise.
16441 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16442 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16447 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16448 Alan Modra <amodra@gmail.com>
16450 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16451 New versions for use with the ELFv2 ABI.
16452 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16453 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16455 (struct La_ppc64v2_retval): Likewise.
16456 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16457 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16458 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16459 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16460 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16462 Do not save or restore CR.
16463 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16464 (_dl_profile_resolve): Do no save or restore CR. Support extended
16465 return values for ELFv2 ABI. Fix location of FPR return registers.
16466 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16467 updated values for _CALL_ELF == 2.
16468 (La_regs, La_retval, int_retval): Likewise.
16470 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16472 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16473 (FRAME_MIN_SIZE_PARM): Likewise.
16474 (FRAME_BACKCHAIN): Likewise.
16475 (FRAME_CR_SAVE): Likewise.
16476 (FRAME_LR_SAVE): Likewise.
16477 (FRAME_TOC_SAVE): Likewise.
16478 (FRAME_PARM_SAVE): Likewise.
16479 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16480 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16481 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16482 (call_mcount_parm_offset): New macro.
16483 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16484 (PROF): Use symbolic stack frame offsets.
16485 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16487 Redefine in terms of FRAME_MIN_SIZE.
16488 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16489 (_dl_profile_resolve): Likewise. Update comment.
16490 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16491 symbols stack frame offsets.
16492 (__sigsetjmp): Likewise.
16493 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16494 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16495 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16496 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16499 (FRAME_BACKCHAIN): Remove.
16500 (FRAME_CR_SAVE): Likewise.
16501 (FRAME_LR_SAVE): Likewise.
16502 (FRAME_COMPILER_DW): Likewise.
16503 (FRAME_LINKER_DW): Likewise.
16504 (FRAME_TOC_SAVE): Likewise.
16505 (FRAME_PARM_SAVE): Likewise.
16506 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16507 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16508 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16510 (CHECK_SP): Use symbolic stack frame offsets.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16512 zone" instead of caller's parameter save area for temp storage.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16514 Likewise. Also, use symbolic stack frame offsets.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16516 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16517 our own stack frame instead of the caller's.
16518 (__socket): Use symbolic stack frame offsets.
16520 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16521 Alan Modra <amodra@gmail.com>
16523 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16525 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16526 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16527 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16529 (elf_machine_fixup_plt): Call it.
16530 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16532 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16534 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16535 r2 before calling target.
16537 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16538 Alan Modra <amodra@gmail.com>
16540 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16541 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16542 versions of macros to support ELFv2 ABI.
16543 (LOCALENTRY): New macro.
16544 (ENTRY, EALIGN): Use it.
16545 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16546 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16547 fall through into ENTRY entry point.
16548 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16549 Only define if _CALL_ELF != 2.
16551 (elf_machine_matches_host): Verify ABI version matches.
16552 (RTLD_START): Use LOCALENTRY.
16553 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16554 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16555 (PLT_ENTRY_WORDS): New macro.
16556 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16557 (elf_machine_runtime_setup): Support ELFv2 ABI.
16558 (elf_machine_fixup_plt): Likewise.
16559 (elf_machine_plt_conflict): Likewise.
16560 (resolve_ifunc): Likewise.
16561 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16565 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16567 (makecontext): Support ELFv2 ABI.
16568 * elf/elf.h (EF_PPC64_ABI): Define.
16570 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16572 * sysdeps/powerpc/powerpc64/sysdep.h
16573 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16574 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16575 (ENTRY) [ASSEMBLER]: ... but instead here ...
16576 (EALIGN) [ASSEMBLER]: ... and here.
16577 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16578 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16579 (ENTRY_2) [!ASSEMBLER]: Use it.
16580 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16581 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16583 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16584 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16586 Use PPC64_LOAD_FUNCPTR.
16588 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16590 2013-12-04 Alan Modra <amodra@gmail.com>
16592 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16593 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16594 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16595 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16598 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16599 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16600 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16601 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16602 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16604 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16607 (__makecontext): Fix incorrect CFI when backtracing out of
16608 context created via makecontext.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16610 (__setcontext): Fix incorrect CFI during switch to new context.
16611 (__novec_setcontext): Likewise.
16613 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16616 * time/strptime_l.c (__strptime_internal): Allow modifiers
16618 * time/tst-strptime.c (day_tests): Add testcase.
16620 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16622 * scripts/bench.pl: Skip over blank lines.
16624 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16627 * manual/time.texi (Calendar Time): Clarify what timezone functions
16630 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16634 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16636 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16638 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16639 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16640 * debug/memset_chk.c (__memset_chk): Likewise.
16641 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16642 * debug/strncpy_chk.c: Likewise.
16644 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16648 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16649 (__ieee754_exp): For possibly underflowing results, check size of
16650 result and force underflow exception if required.
16651 * math/auto-libm-test-in: Add more tests of exp.
16652 * math/auto-libm-test-out: Regenerated.
16653 * sysdeps/i386/fpu/libm-test-ulps: Update.
16654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16658 * math/w_exp2f.c (__exp2f): Likewise.
16659 * math/w_exp2l.c (__exp2l): Likewise.
16660 * math/auto-libm-test-in: Do not allow missing errno on exp2
16662 * math/auto-libm-test-out: Regenerated.
16664 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16667 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16668 handle filename validation.
16669 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16672 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16675 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16676 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16677 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16679 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16683 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16684 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16685 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16686 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16687 Add more erfc tests.
16688 * math/auto-libm-test-out: Regenerated.
16689 * sysdeps/i386/fpu/libm-test-ulps: Update.
16690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16692 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16693 exp2, expm1, j0 and j1.
16694 * math/auto-libm-test-out: Regenerated.
16695 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16696 (erfc_test_data): Likewise.
16697 (exp_test_data): Likewise.
16698 (exp_tonearest_test_data): Likewise.
16699 (exp_towardzero_test_data): Likewise.
16700 (exp_downward_test_data): Likewise.
16701 (exp_upward_test_data): Likewise.
16702 (exp10_test_data): Likewise.
16703 (exp2_test_data): Likewise.
16704 (expm1_test_data): Likewise.
16705 (j0_test_data): Likewise.
16706 (j1_test_data): Likewise.
16707 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16708 (input_flag_type): Add flag_xfail_rounding.
16709 (input_flags): Add xfail-rounding.
16710 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16711 (output_for_one_input_case): Handle flag_xfail_rounding.
16712 * sysdeps/i386/fpu/libm-test-ulps: Update.
16713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16715 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16718 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16721 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16724 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16725 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16726 (STAP_PROBE0): New macro.
16727 (STAP_PROBE1): Likewise.
16728 (STAP_PROBE2): Likewise.
16729 (STAP_PROBE3): Likewise.
16730 (STAP_PROBE4): Likewise.
16732 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16734 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16736 2013-12-02 Steve Ellcey <sellcey@mips.com>
16738 * benchtests/Makefile (bench): Add sqrt.
16739 (LDLIBS-bench-sqrt): New.
16740 * benchtests/sqrt-input: New.
16742 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16744 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16745 (GAIH_EAI): Likewise.
16746 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16747 (gaih_inet): Likewise.
16748 (getaddrinfo): Don't use GAIH_EAI.
16750 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16751 (struct gaih): Remove definition.
16753 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16755 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16756 Use HERRNOP directly.
16758 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16762 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16764 * math/gen-auto-libm-tests.c (test_functions): Add more
16765 single-argument functions.
16766 (special_fill_pi_2): New function.
16767 (special_fill_minus_pi_2): Likewise.
16768 (special_fill_pi_6): Likewise.
16769 (special_fill_minus_pi_6): Likewise.
16770 (special_fill_pi_3): Likewise.
16771 (special_fill_2pi_3): Likewise.
16772 (special_fill_e): Likewise.
16773 (special_fill_1_e): Likewise.
16774 (special_fill_e_minus_1): Likewise.
16775 (special_real_inputs): Add more special inputs.
16776 (output_for_one_input_case): Do not require ERANGE on underflow to
16777 zero if round-to-nearest result does not underflow to zero, unless
16778 exact results required.
16779 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16780 atan, atanh, cbrt, cos and cosh.
16781 * math/auto-libm-test-out: Regenerated.
16782 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16783 (acos_tonearest_test_data): Likewise.
16784 (acos_towardzero_test_data): Likewise.
16785 (acos_downward_test_data): Likewise.
16786 (acos_upward_test_data): Likewise.
16787 (acosh_test_data): Likewise.
16788 (asin_test_data): Likewise.
16789 (asin_tonearest_test_data): Likewise.
16790 (asin_towardzero_test_data): Likewise.
16791 (asin_upward_test_data): Likewise.
16792 (asinh_test_data): Likewise.
16793 (atan_test_data): Likewise.
16794 (atanh_test_data): Likewise.
16795 (cbrt_test_data): Likewise.
16796 (cos_test_data): Likewise.
16797 (cos_tonearest_test_data): Likewise.
16798 (cos_towardzero_test_data): Likewise.
16799 (cos_downward_test_data): Likewise.
16800 (cos_upward_test_data): Likewise.
16801 (cosh_test_data): Likewise.
16802 (cosh_tonearest_test_data): Likewise.
16803 (cosh_towardzero_test_data): Likewise.
16804 (cosh_downward_test_data): Likewise.
16805 (cosh_upward_test_data): Likewise.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16812 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16813 * math/w_exp10f.c (__exp10f): Likewise.
16814 * math/w_exp10l.c (__exp10l): Likewise.
16815 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16816 errno settings in existing tests.
16819 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16820 precision control set to double precision.
16821 * sysdeps/i386/fpu/w_sqrt.c: New file.
16822 * math/auto-libm-test-in: Add more tests.
16823 * math/auto-libm-test-out: Update.
16825 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16826 (sqrt_test_tonearest): New function.
16827 (sqrt_towardzero_test_data): New variable.
16828 (sqrt_test_towardzero): New function.
16829 (sqrt_downward_test_data): New variable.
16830 (sqrt_test_downward): New function.
16831 (sqrt_upward_test_data): New variable.
16832 (sqrt_test_upward): New function.
16833 (main): Call the new functions.
16835 * math/gen-auto-libm-tests.c: New file.
16836 * math/auto-libm-test-in: Likewise.
16837 * math/auto-libm-test-out: New generated file.
16838 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16840 (%beautify): Add generated representations of zero.
16841 (top level): Set $auto_input and call parse_auto_input.
16842 (beautify): Remove trailing "f" from hex float constants.
16843 (parse_args): Handle XFAIL_TEST.
16844 (convert_condition): New function.
16845 (or_value): Likewise.
16846 (or_cond_value): Likewise.
16847 (generate_testfile): Handle AUTO_TESTS_* lines.
16848 (parse_auto_input): New function.
16849 * math/libm-test.inc (XFAIL_TEST): New macro.
16850 (ERRNO_UNCHANGED): Update value.
16851 (ERRNO_EDOM): Likewise.
16852 (ERRNO_ERANGE): Likewise.
16853 (IGNORE_RESULT): Likewise.
16854 (TEST_COND_flt_32): New macro.
16855 (TEST_COND_dbl_64): Likewise.
16856 (TEST_COND_ldbl_96_intel): Likewise.
16857 (TEST_COND_ldbl_96_m68k): Likewise.
16858 (TEST_COND_ldbl_128): Likewise.
16859 (TEST_COND_ldbl_128ibm): Likewise.
16860 (TEST_COND_long32): Likewise.
16861 (TEST_COND_long64): Likewise.
16862 (TEST_COND_before_rounding): Likewise.
16863 (TEST_COND_after_rounding): Likewise.
16864 (enable_test): Handle XFAIL_TEST flag.
16865 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16866 with finite results.
16867 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16868 auto-libm-test-out.
16870 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16871 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16874 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16875 __tls_get_addr_internal instead of __tls_get_offset in order to
16876 avoid GOT pointer dependency. Make rtld export
16877 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16878 __tls_get_addr since we are a __tls_get_offset platform.
16879 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16880 GOT pointer being set up before.
16881 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16883 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16885 * manual/math.texi (Errors in Math Functions): Document accuracy
16889 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16906 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16907 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16908 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16909 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16912 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16914 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16916 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16917 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16918 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16919 atomic-feupdateenv and flt-rounds.
16920 * sysdeps/powerpc/nofpu/Versions (libc): Add
16921 __atomic_feholdexcept, __atomic_feclearexcept,
16922 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16923 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16924 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16925 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16926 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16931 * manual/arith.texi (FP Exceptions): Document that exceptions may
16932 not be raised when matherr is used.
16933 (Math Error Reporting): Document overflow in directed rounding
16934 modes. Document that errno may not be set when finite values are
16935 returned on overflow. Document intent to set errno on underflow
16936 only for underflow to zero.
16939 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16940 round-to-nearest then adjust result for other rounding modes.
16941 * include/fenv.h (fegetround): Use libm_hidden_proto.
16942 * math/fegetround.c (fegetround): Use libm_hidden_def.
16943 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16944 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16945 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16948 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16949 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16950 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16951 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16953 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16956 * nss/Versions (libnss_files): Add
16957 _nss_files_gethostbyname3_r.
16958 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16960 (HOST_DB_LOOKUP): Remove macro.
16961 (_nss_files_gethostbyname_r): Implement function without the
16962 HOST_DB_LOOKUP macro.
16963 (_nss_files_gethostbyname2_r): Likewise.
16965 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16967 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16969 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16971 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16972 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16975 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16977 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16978 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16979 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16980 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16981 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16982 __fe_nomask_env_priv and attribute_hidden.
16983 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16984 (libc_feupdateenv_test_ppc): Likewise.
16985 (libc_feresetround_ppc): Likewise.
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16987 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16988 compat_symbol macro.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16990 (__fe_nomask_env): Likewise.
16991 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16993 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16995 * string/Makefile: Remove ifunc tests.
16996 * string/test-string.h: Define TEST_IFUNC.
16997 * string/test-bcopy-ifunc.c: Remove.
16998 * string/test-bzero-ifunc.c: Likewise.
16999 * string/test-memccpy-ifunc.c: Likewise.
17000 * string/test-memchr-ifunc.c: Likewise.
17001 * string/test-memcmp-ifunc.c: Likewise.
17002 * string/test-memcpy-ifunc.c: Likewise.
17003 * string/test-memmem-ifunc.c: Likewise.
17004 * string/test-memmove-ifunc.c: Likewise.
17005 * string/test-mempcpy-ifunc.c: Likewise.
17006 * string/test-memrchr-ifunc.c: Likewise.
17007 * string/test-memset-ifunc.c: Likewise.
17008 * string/test-rawmemchr-ifunc.c: Likewise.
17009 * string/test-stpcpy-ifunc.c: Likewise.
17010 * string/test-stpncpy-ifunc.c: Likewise.
17011 * string/test-strcasecmp-ifunc.c: Likewise.
17012 * string/test-strcasestr-ifunc.c: Likewise.
17013 * string/test-strcat-ifunc.c: Likewise.
17014 * string/test-strchr-ifunc.c: Likewise.
17015 * string/test-strchrnul-ifunc.c: Likewise.
17016 * string/test-strcmp-ifunc.c: Likewise.
17017 * string/test-strcpy-ifunc.c: Likewise.
17018 * string/test-strcspn-ifunc.c: Likewise.
17019 * string/test-strlen-ifunc.c: Likewise.
17020 * string/test-strncasecmp-ifunc.c: Likewise.
17021 * string/test-strncat-ifunc.c: Likewise.
17022 * string/test-strncmp-ifunc.c: Likewise.
17023 * string/test-strncpy-ifunc.c: Likewise.
17024 * string/test-strnlen-ifunc.c: Likewise.
17025 * string/test-strpbrk-ifunc.c: Likewise.
17026 * string/test-strrchr-ifunc.c: Likewise.
17027 * string/test-strspn-ifunc.c: Likewise.
17028 * string/test-strstr-ifunc.c: Likewise.
17030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17032 * benchtests/Makefile: Remove ifunc tests.
17033 * benchtests/bench-string.h: Define TEST_IFUNC.
17034 * benchtests/bench-bcopy-ifunc.c: Remove.
17035 * benchtests/bench-bzero-ifunc.c: Likewise.
17036 * benchtests/bench-memccpy-ifunc.c: Likewise.
17037 * benchtests/bench-memchr-ifunc.c: Likewise.
17038 * benchtests/bench-memcmp-ifunc.c: Likewise.
17039 * benchtests/bench-memcpy-ifunc.c: Likewise.
17040 * benchtests/bench-memmem-ifunc.c: Likewise.
17041 * benchtests/bench-memmove-ifunc.c: Likewise.
17042 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17043 * benchtests/bench-memrchr-ifunc.c: Likewise.
17044 * benchtests/bench-memset-ifunc.c: Likewise.
17045 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17046 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17047 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17048 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17049 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17050 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17051 * benchtests/bench-strcat-ifunc.c: Likewise.
17052 * benchtests/bench-strchr-ifunc.c: Likewise.
17053 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17054 * benchtests/bench-strcmp-ifunc.c: Likewise.
17055 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17056 * benchtests/bench-strcpy-ifunc.c: Likewise.
17057 * benchtests/bench-strcspn-ifunc.c: Likewise.
17058 * benchtests/bench-strlen-ifunc.c: Likewise.
17059 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17060 * benchtests/bench-strncat-ifunc.c: Likewise.
17061 * benchtests/bench-strncmp-ifunc.c: Likewise.
17062 * benchtests/bench-strncpy-ifunc.c: Likewise.
17063 * benchtests/bench-strnlen-ifunc.c: Likewise.
17064 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17065 * benchtests/bench-strrchr-ifunc.c: Likewise.
17066 * benchtests/bench-strsep-ifunc.c: Likewise.
17067 * benchtests/bench-strspn-ifunc.c: Likewise.
17068 * benchtests/bench-strstr-ifunc.c: Likewise.
17070 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17072 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17074 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17076 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17077 * rt/aio.h: Likewise.
17078 * sysdeps/gnu/bits/utmp.h: Likewise.
17079 * sysdeps/gnu/bits/utmpx.h: Likewise.
17080 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17081 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17082 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17083 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17084 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17085 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17086 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17087 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17088 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17090 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17091 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17095 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17096 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17097 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17098 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17100 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17101 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17102 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17103 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17104 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17106 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17107 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17108 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17109 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17110 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17111 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17112 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17113 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17114 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17115 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17116 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17117 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17118 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17119 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17120 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17121 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17123 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17126 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17127 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17129 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17131 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17132 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17135 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17138 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17139 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17140 (__fesetround): Remove define.
17141 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17142 rounding and exceptions handling.
17143 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17144 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17145 (__fe_nomask_env): Likewise.
17146 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17147 __fegetround instead of fegetround.
17148 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17149 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17151 2013-11-21 Roland McGrath <roland@hack.frob.com>
17153 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17156 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17158 2013-11-21 Meador Inge <meadori@codesourcery.com>
17161 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17162 (encrypt_r): Likewise.
17163 * malloc/obstack.h (obstack_free): Likewise.
17164 * posix/unistd.h (encrypt): Likewise.
17166 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17168 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17169 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17170 DL_CALL_DT_FINI() that call the functions directly.
17171 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17172 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17173 * elf/dl-fini.c: Likewise.
17175 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17177 * malloc/hooks.c (memalign_check): Add alignment rounding.
17178 * malloc/malloc.c (_mid_memalign): New function.
17179 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17180 Implement by calling _mid_memalign.
17181 * manual/probes.texi (Memory Allocation Probes): Remove
17182 memory_valloc_retry and memory_pvalloc_retry.
17184 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17186 * locale/programs/locarchive.c (open_archive): Add const
17187 qualifier to ARCHIVEFNAME and copy default fname to
17191 * libio/tst-widetext.input: Rename Oriya to Odia.
17192 * locale/iso-639.def: Likewise.
17194 * manual/probes.texi (Mathematical Function Probes): Add
17195 documentation for sin, cos, asin and acos probes.
17196 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17197 (__sin32): Add slowasin probe.
17198 (__cos32): Add slowacos probe.
17199 (__mpsin): Add slowsin probe.
17200 (__mpcos): Add slowcos probe.
17202 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17205 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17206 thread-local __sim_exceptions_thread and global
17207 __sim_exceptions_global.
17208 (__sim_disabled_exceptions): Change to thread-local
17209 __sim_disabled_exceptions_thread and global
17210 __sim_disabled_exceptions_global.
17211 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17212 and global __sim_round_mode_global.
17213 (__simulate_exceptions): Use thread-local floating-point state and
17214 set global state from it as needed.
17215 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17216 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17217 __sim_round_mode_thread.
17218 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17219 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17220 and global __sim_exceptions_global.
17221 (__sim_disabled_exceptions): Change to thread-local
17222 __sim_disabled_exceptions_thread and global
17223 __sim_disabled_exceptions_global.
17224 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17225 and global __sim_round_mode_global.
17226 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17227 (SIM_SET_GLOBAL): Likewise.
17228 * sysdeps/powerpc/soft-fp/sfp-machine.h
17229 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17230 __sim_round_mode_thread.
17231 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17232 __sim_disabled_exceptions_thread.
17233 (__sim_exceptions): Change to __sim_exceptions_thread.
17234 (__sim_disabled_exceptions): Change to
17235 __sim_disabled_exceptions_thread.
17236 (__sim_round_mode): Change to __sim_round_mode_thread.
17237 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17238 thread-local floating-point state and set global state from it as
17240 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17241 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17242 (__sim_disabled_exceptions): Remove extern declaration.
17243 (feenableexcept): Use thread-local floating-point state and set
17244 global state from it as needed.
17245 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17246 extern declaration.
17247 (__sim_disabled_exceptions): Likewise.
17248 (__sim_round_mode): Likewise.
17249 (__fegetenv): Use thread-local floating-point state.
17250 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17251 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17252 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17253 floating-point state and set global state from it as needed.
17254 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17255 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17256 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17258 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17259 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17261 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17262 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17263 Use __sim_round_mode_thread.
17264 * math/test-fenv-tls.c: New file.
17265 * math/Makefile (tests): Add test-fenv-tls.
17266 ($(objpfx)test-fenv-tls): Depend on
17267 $(common-objpfx)nptl/libpthread.so.
17269 2013-11-19 Andreas Schwab <schwab@suse.de>
17271 * locale/programs/locale.c (show_info): Decode wordarray elements.
17272 * locale/categories.def (LC_MONETARY): Add element for
17273 _NL_MONETARY_CRNCYSTR.
17274 * locale/C-monetary.c (conversion_rate): New variable.
17275 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17278 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17280 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17281 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17283 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17285 * elf/Makefile (tst-auxv): New test.
17286 * elf/tst-auxv.c: New
17287 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17289 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17291 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17292 (hidden_proto): Caller changed.
17293 (hidden_tls_proto): New macro.
17294 (libc_hidden_tls_proto): Likewise.
17295 (rtld_hidden_tls_proto): Likewise.
17296 (libm_hidden_tls_proto): Likewise.
17297 (libresolv_hidden_tls_proto): Likewise.
17298 (librt_hidden_tls_proto): Likewise.
17299 (libdl_hidden_tls_proto): Likewise.
17300 (libnss_files_hidden_tls_proto): Likewise.
17301 (libnsl_hidden_tls_proto): Likewise.
17302 (libnss_nisplus_hidden_tls_proto): Likewise.
17303 (libutil_hidden_tls_proto): Likewise.
17305 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17308 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17309 (decompose_rpath): Defer expansion to fillin_rpath.
17310 (_dl_init_paths): Pass linkmap to fillin_rpath.
17312 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17314 * benchtests/Makefile: Add strsep.
17315 * benchtests/bench-strsep.c: New file: strsep benchtest.
17316 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17318 2013-11-18 Andreas Schwab <schwab@suse.de>
17320 * locale/programs/locale.c (show_info) [case byte]: Check for
17321 '\377' instead of '\177'.
17322 * locale/C-monetary.c (not_available): Always use "\377".
17323 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17324 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17325 detect unavailable sign_posn locale elements.
17326 * locale/localeconv.c (__localeconv): For grouping and
17327 mon_grouping handle "\177" and "\377" like no grouping.
17328 (INT_ELEM): New macro. Use it to set all numeric members.
17329 * locale/programs/ld-monetary.c (monetary_read)
17330 <tok_mon_grouping>: Normalize single -1 to the empty string.
17331 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17334 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17337 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17338 when we match (nil).
17339 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17341 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17343 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17344 (NO_TEST_INLINE): Update value.
17345 (ERRNO_UNCHANGED): Likewise.
17346 (ERRNO_EDOM): Likewise.
17347 (ERRNO_ERANGE): Likewise.
17348 (IGNORE_RESULT): Likewise.
17349 (check_float_internal): Check signs of NaN results if
17350 TEST_NAN_SIGN used.
17351 (check_complex): Pass TEST_NAN_SIGN flag through to second
17352 check_float_internal call.
17353 (copysign_test_data): Add tests with quiet NaNs as second
17354 argument. Use TEST_NAN_SIGN.
17355 (fabs_test_data): Add test of negative quiet NaN argument. Use
17357 (signbit_test_data): Add tests of quiet NaN argument.
17358 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17360 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17362 (parse_args): Handle function results specified as IGNORE.
17363 * math/libm-test.inc (IGNORE_RESULT): New macro.
17364 (check_float_internal): Do not check numerical result if flag
17366 (check_complex): Pass through IGNORE_RESULT to second
17367 check_float_internal call.
17368 (check_int): Do not check numerical result if flag IGNORE_RESULT
17370 (check_long): Likewise.
17371 (check_bool): Likewise.
17372 (check_longlong): Likewise.
17373 (lrint_test_data): Add tests of infinite and NaN arguments.
17374 (lrint_tonearest_test_data): Likewise.
17375 (lrint_towardzero_test_data): Likewise.
17376 (lrint_downward_test_data): Likewise.
17377 (lrint_upward_test_data): Likewise.
17378 (llrint_test_data): Likewise.
17379 (llrint_tonearest_test_data): Likewise.
17380 (llrint_towardzero_test_data): Likewise.
17381 (llrint_downward_test_data): Likewise.
17382 (llrint_upward_test_data): Likewise.
17383 (lround_test_data): Likewise.
17384 (llround_test_data): Likewise.
17386 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17387 (ERRNO_UNCHANGED): Update value.
17388 (ERRNO_EDOM): Likewise.
17389 (ERRNO_ERANGE): Likewise.
17390 (NO_TEST_INLINE_FLOAT): New macro.
17391 (NO_TEST_INLINE_DOUBLE): Likewise.
17392 (enable_test): New function.
17393 (RUN_TEST_f_f): Check enable_test before running test.
17394 (RUN_TEST_2_f): Likewise.
17395 (RUN_TEST_fff_f): Likewise.
17396 (RUN_TEST_c_f): Likewise.
17397 (RUN_TEST_f_f1): Likewise.
17398 (RUN_TEST_fF_f1): Likewise.
17399 (RUN_TEST_fI_f1): Likewise.
17400 (RUN_TEST_ffI_f1): Likewise.
17401 (RUN_TEST_c_c): Likewise.
17402 (RUN_TEST_cc_c): Likewise.
17403 (RUN_TEST_f_i): Likewise.
17404 (RUN_TEST_f_i_tg): Likewise.
17405 (RUN_TEST_ff_i_tg): Likewise.
17406 (RUN_TEST_f_b): Likewise.
17407 (RUN_TEST_f_b_tg): Likewise.
17408 (RUN_TEST_f_l): Likewise.
17409 (RUN_TEST_f_L): Likewise.
17410 (RUN_TEST_fFF_11): Likewise.
17411 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17413 (cosh_test_data): Likewise.
17414 (exp_test_data): Likewise.
17415 (expm1_test_data): Likewise.
17416 (hypot_test_data): Likewise.
17417 (pow_test_data): Likewise.
17418 (sinh_test_data): Likewise.
17419 (tanh_test_data): Likewise.
17420 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17423 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17424 tests with quiet NaN input and output.
17425 (acosh_test_data): Likewise.
17426 (asin_test_data): Likewise.
17427 (asinh_test_data): Likewise.
17428 (atan_test_data): Likewise.
17429 (atanh_test_data): Likewise.
17430 (atan2_test_data): Likewise.
17431 (cbrt_test_data): Likewise.
17432 (cos_test_data): Likewise.
17433 (cosh_test_data): Likewise.
17434 (erf_test_data): Likewise.
17435 (erfc_test_data): Likewise.
17436 (exp_test_data): Likewise.
17437 (exp10_test_data): Likewise.
17438 (exp2_test_data): Likewise.
17439 (expm1_test_data): Likewise.
17440 (hypot_test_data): Likewise.
17441 (j0_test_data): Likewise.
17442 (j1_test_data): Likewise.
17443 (jn_test_data): Likewise.
17444 (lgamma_test_data): Likewise.
17445 (log_test_data): Likewise.
17446 (log10_test_data): Likewise.
17447 (log1p_test_data): Likewise.
17448 (log2_test_data): Likewise.
17449 (pow_test_data): Likewise.
17450 (scalb_test_data): Likewise.
17451 (sin_test_data): Likewise.
17452 (sincos_test_data): Likewise.
17453 (sinh_test_data): Likewise.
17454 (tan_test_data): Likewise.
17455 (tanh_test_data): Likewise.
17456 (tgamma_test_data): Likewise.
17457 (y0_test_data): Likewise.
17458 (y1_test_data): Likewise.
17459 (yn_test_data): Likewise.
17462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17463 argument being NaN and avoid computations with second argument in
17465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17466 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17467 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17469 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17471 * locale/iso-639.def: Add Chitwani Tharu (the).
17473 2013-11-14 Andreas Schwab <schwab@suse.de>
17475 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17476 word instead of empty string.
17478 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17481 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17483 (__fe_nomask_env): Likewise.
17485 2013-11-13 Steve Ellcey <sellcey@mips.com>
17487 * benchtests/bench-timing.h: Include time.h.
17489 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17492 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17494 * sysdeps/unix/sysv/linux/configure: Regenerated.
17496 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17499 * stdlib/strtod_l.c (round_and_return): Do not consider
17500 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17501 exponent one less than half the least subnormal exponent.
17502 * stdlib/test-strtod-round-data: Add more tests.
17503 * stdlib/tst-strtod-round.c (tests): Regenerated.
17505 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17508 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17509 (__fe_mask_env): Likewise.
17510 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17511 libm_hidden_proto and add function prototype.
17512 (__fe_mask_env): Add function prototype.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17514 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17516 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17518 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17520 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17522 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17523 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17525 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17527 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17528 of htab_find_slot().
17530 2013-11-11 David S. Miller <davem@davemloft.net>
17533 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17534 symbol in the non-vis3 case in static builds.
17535 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17536 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17537 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17538 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17540 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17543 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17546 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17548 * benchtests/Makefile: Add bench-strtod.
17549 * benchtests/bench-strtod.c: New file: strtod benchtest
17551 2013-11-11 Andreas Schwab <schwab@suse.de>
17554 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17555 terminating NUL in key length.
17557 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17560 Add artificial ODP entry for vDSO symbol for PPC64.
17561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17562 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17564 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17567 * nss/getent.c (services_keys): Recognize services starting with digit.
17569 2013-11-06 David S. Miller <davem@davemloft.net>
17572 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17573 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17575 2013-11-06 Will Newton <will.newton@linaro.org>
17577 * manual/memory.texi (Malloc Examples): Remove register
17578 keyword from examples.
17580 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17582 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17584 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17587 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17588 depending on [__GCC_IEC_559 > 0].
17589 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17590 depending on [__GCC_IEC_559_COMPLEX > 0].
17592 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17594 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17597 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17599 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17601 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17604 * malloc/malloc (malloc_info): Do not handle first bin as
17607 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17609 * locale/iso-639.def: Add Central Nahuatl (nhn).
17611 2013-11-01 Bruno Haible <bruno@clisp.org>
17614 * manual/math.texi (BSD Random): Specify range upper bound as
17617 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17619 * locale/iso-639.def: Add Meadow Mari (mhr).
17621 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17623 [BZ #14752], [BZ #15763]
17624 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17626 * rt/tst_shm.c: Add test for escaping directory.
17628 2013-10-31 Andreas Schwab <schwab@suse.de>
17631 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17632 followed by 'x' as part of digit sequence.
17633 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17635 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17638 * configure.ac: allow GNU Make 4.0 and greater.
17639 * configure: Regenerated.
17641 2013-10-30 Will Newton <will.newton@linaro.org>
17644 * malloc/hooks.c (memalign_check): Limit alignment to the
17645 maximum representable power of two.
17646 * malloc/malloc.c (__libc_memalign): Likewise.
17647 * malloc/tst-memalign.c (do_test): Add test for very
17648 large alignment values.
17649 * malloc/tst-posix_memalign.c (do_test): Likewise.
17651 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17654 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17655 (munmap_chunk): Likewise.
17656 (mremap_chunk): Likewise.
17658 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17661 * stdlib/div.c (div): Remove obsolete code.
17662 * stdlib/ldiv.c (ldiv): Likewise.
17663 * stdlib/lldiv.c (lldiv): Likewise.
17665 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17668 * nss/nss_files/files-XXX.c (get_contents_ret): New
17670 (get_contents): New function.
17671 (internal_getent): Use it. Expand size of LINEBUFLEN.
17673 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17675 * configure.in: Moved to ...
17676 * configure.ac: ... here. Change reference to configure.in
17678 * sysdeps/arm/preconfigure.ac: ... here.
17679 configure.in to configure.ac.
17680 * sysdeps/gnu/configure.in: Moved to ...
17681 * sysdeps/gnu/configure.ac: ... here.
17682 * sysdeps/i386/configure.in: Moved to ...
17683 * sysdeps/i386/configure.ac: ... here.
17684 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17685 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17686 * sysdeps/mach/configure.in: Moved to ...
17687 * sysdeps/mach/configure.ac: ... here.
17688 * sysdeps/mach/hurd/configure.in: Moved to ...
17689 * sysdeps/mach/hurd/configure.ac: ... here.
17690 * sysdeps/powerpc/configure.in: Moved to ...
17691 * sysdeps/powerpc/configure.ac: ... here.
17692 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17693 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17694 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17695 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17696 * sysdeps/s390/s390-32/configure.in: Moved to ...
17697 * sysdeps/s390/s390-32/configure.ac: ... here.
17698 * sysdeps/s390/s390-64/configure.in: Moved to ...
17699 * sysdeps/s390/s390-64/configure.ac: ... here.
17700 * sysdeps/sh/configure.in: Moved to ...
17701 * sysdeps/sh/configure.ac: ... here.
17702 * sysdeps/sparc/configure.in: Moved to ...
17703 * sysdeps/sparc/configure.ac: ... here.
17704 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17705 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17706 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17707 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17708 * sysdeps/x86_64/configure.in: Moved to ...
17709 * sysdeps/x86_64/configure.ac: ... here.
17710 * sysdeps/x86_64/preconfigure.in: Moved to ...
17711 * sysdeps/x86_64/preconfigure.ac: ... here.
17712 * aclocal.m4: Change reference to configure.in to configure.ac.
17713 * config.h.in: Likewise.
17714 * manual/install.texi: Likewise.
17715 * manual/maint.texi: Likewise.
17716 * Makefile: Likewise.
17717 * malloc/Makefile: Likewise.
17718 * nscd/Makefile: Likewise.
17719 * Makeconfig: Change reference to configure.in and
17720 preconfigure.in to configure.ac and preconfigure.ac
17722 * INSTALL: Regenerated.
17723 * configure: Likewise.
17724 * sysdeps/gnu/configure: Likewise.
17725 * sysdeps/i386/configure: Likewise.
17726 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17727 * sysdeps/mach/configure: Likewise.
17728 * sysdeps/mach/hurd/configure: Likewise.
17729 * sysdeps/powerpc/configure: Likewise.
17730 * sysdeps/powerpc/powerpc32/configure: Likewise.
17731 * sysdeps/powerpc/powerpc64/configure: Likewise.
17732 * sysdeps/s390/s390-32/configure: Likewise.
17733 * sysdeps/s390/s390-64/configure: Likewise.
17734 * sysdeps/sh/configure: Likewise.
17735 * sysdeps/sparc/configure: Likewise.
17736 * sysdeps/unix/sysv/linux/configure: Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17738 * sysdeps/x86_64/configure: Likewise.
17739 * sysdeps/x86_64/preconfigure: Likewise.
17741 2013-10-29 Andreas Schwab <schwab@suse.de>
17743 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17745 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17747 * benchtests/pow-inputs: Add new inputs.
17749 * benchtests/exp-inputs: Add new inputs.
17751 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17752 conditional check for return value.
17753 (__cos32): Likewise.
17755 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17757 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17758 to provide a boost for large inputs with word alignment.
17759 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17760 implementation based on optimized PPC64 strcpy.
17761 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17762 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17763 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17764 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17766 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17769 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17771 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17774 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17775 * time/tst-strptime.c (day_tests): Add testcase.
17777 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17780 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17782 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17785 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17786 MAP_FAILED on error.
17788 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17791 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17792 heap for large requests.
17794 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17797 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17798 result if the result has no associated interface.
17799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17800 interface for all 127.X.Y.Z addresses.
17802 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17804 * locale/iso-639.def: Add Ligurian (lij)
17806 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17809 * sunrpc/rpc_main.c: Document rpcgen -5.
17811 2013-10-19 Michael Stahl <mstahl@redhat.com>
17813 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17815 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17818 * posix/glob.c: Match only directories when trailing slash is present.
17819 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17820 (main): Add testcase.
17822 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17825 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17827 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17829 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17830 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17831 AUTH_DES and cindex for FIPS 140-2.
17832 (DES Encryption): Add cindex FIPS 46-3.
17834 * locale/locarchive.h (struct locarhandle): Add fname.
17835 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17836 if an optional argument was specified to --list-archive,
17838 * locale/programs/locarchive.c (show_archive_content): Take new
17839 argument fname and pass it via ah.fname to open_archive.
17840 * locale/programs/localedef.h: Update decl.
17841 (open_archive): If AH->fname is non-null, open that file
17842 rather than the default file name, and don't ignore ENOENT.
17843 (create_archive): Set AH.fname to NULL.
17844 (delete_locales_from_archive): Likewise.
17845 (add_locales_to_archive): Likewise.
17846 * locale/programs/locfile.c (write_all_categories): Likewise.
17848 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17849 Aldy Hernandez <aldyh@redhat.com>
17851 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17852 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17853 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17854 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17855 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17857 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17858 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17859 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17861 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17862 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17863 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17864 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17867 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17871 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17873 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17876 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17877 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17878 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17879 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17881 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17882 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17883 * sysdeps/powerpc/preconfigure: Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17886 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17887 Replace contents of file by #include of <fenv_libc.h>.
17888 * sysdeps/powerpc/soft-fp/sfp-machine.h
17889 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17891 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17904 Allow copysignl PLT reference to be missing.
17906 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17907 Joseph Myers <joseph@codesourcery.com
17910 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17912 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17914 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17916 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17917 * elf/tst-tls1.c: Likewise.
17918 * elf/tst-tls10.h: Likewise.
17919 * elf/tst-tls14.c: Likewise.
17920 * elf/tst-tls2.c: Likewise.
17921 * elf/tst-tls3.c: Likewise.
17922 * elf/tst-tls4.c: Likewise.
17923 * elf/tst-tls5.c: Likewise.
17924 * elf/tst-tls6.c: Likewise.
17925 * elf/tst-tls7.c: Likewise.
17926 * elf/tst-tls8.c: Likewise.
17927 * elf/tst-tls9.c: Likewise.
17928 * elf/tst-tlsmod1.c: Likewise.
17929 * elf/tst-tlsmod13.c: Likewise.
17930 * elf/tst-tlsmod13a.c: Likewise.
17931 * elf/tst-tlsmod14a.c: Likewise.
17932 * elf/tst-tlsmod16a.c: Likewise.
17933 * elf/tst-tlsmod16b.c: Likewise.
17934 * elf/tst-tlsmod2.c: Likewise.
17935 * elf/tst-tlsmod3.c: Likewise.
17936 * elf/tst-tlsmod4.c: Likewise.
17937 * elf/tst-tlsmod5.c: Likewise.
17938 * elf/tst-tlsmod6.c: Likewise.
17940 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17943 * malloc/malloc.c: remove checks for statistics.
17945 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17948 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17949 * inet/tst-network.c: Add testcase.
17951 2013-10-17 Andreas Schwab <schwab@suse.de>
17954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17955 to determine canonical name.
17957 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17959 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17960 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17983 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17984 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18018 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18021 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18022 make result into a quiet NaN.
18024 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18026 * soft-fp/adddf3.c: Fix horizontal whitespace.
18027 * soft-fp/addsf3.c: Likewise.
18028 * soft-fp/addtf3.c: Likewise.
18029 * soft-fp/divdf3.c: Likewise.
18030 * soft-fp/divsf3.c: Likewise.
18031 * soft-fp/divtf3.c: Likewise.
18032 * soft-fp/double.h: Likewise.
18033 * soft-fp/eqdf2.c: Likewise.
18034 * soft-fp/eqsf2.c: Likewise.
18035 * soft-fp/eqtf2.c: Likewise.
18036 * soft-fp/extenddftf2.c: Likewise.
18037 * soft-fp/extended.h: Likewise.
18038 * soft-fp/extendsfdf2.c: Likewise.
18039 * soft-fp/extendsftf2.c: Likewise.
18040 * soft-fp/extendxftf2.c: Likewise.
18041 * soft-fp/fixdfdi.c: Likewise.
18042 * soft-fp/fixdfsi.c: Likewise.
18043 * soft-fp/fixdfti.c: Likewise.
18044 * soft-fp/fixsfdi.c: Likewise.
18045 * soft-fp/fixsfsi.c: Likewise.
18046 * soft-fp/fixsfti.c: Likewise.
18047 * soft-fp/fixtfdi.c: Likewise.
18048 * soft-fp/fixtfsi.c: Likewise.
18049 * soft-fp/fixtfti.c: Likewise.
18050 * soft-fp/fixunsdfdi.c: Likewise.
18051 * soft-fp/fixunsdfsi.c: Likewise.
18052 * soft-fp/fixunsdfti.c: Likewise.
18053 * soft-fp/fixunssfdi.c: Likewise.
18054 * soft-fp/fixunssfsi.c: Likewise.
18055 * soft-fp/fixunssfti.c: Likewise.
18056 * soft-fp/fixunstfdi.c: Likewise.
18057 * soft-fp/fixunstfsi.c: Likewise.
18058 * soft-fp/fixunstfti.c: Likewise.
18059 * soft-fp/floatdidf.c: Likewise.
18060 * soft-fp/floatdisf.c: Likewise.
18061 * soft-fp/floatditf.c: Likewise.
18062 * soft-fp/floatsidf.c: Likewise.
18063 * soft-fp/floatsisf.c: Likewise.
18064 * soft-fp/floatsitf.c: Likewise.
18065 * soft-fp/floattidf.c: Likewise.
18066 * soft-fp/floattisf.c: Likewise.
18067 * soft-fp/floattitf.c: Likewise.
18068 * soft-fp/floatundidf.c: Likewise.
18069 * soft-fp/floatundisf.c: Likewise.
18070 * soft-fp/floatunditf.c: Likewise.
18071 * soft-fp/floatunsidf.c: Likewise.
18072 * soft-fp/floatunsisf.c: Likewise.
18073 * soft-fp/floatunsitf.c: Likewise.
18074 * soft-fp/floatuntidf.c: Likewise.
18075 * soft-fp/floatuntisf.c: Likewise.
18076 * soft-fp/floatuntitf.c: Likewise.
18077 * soft-fp/fmadf4.c: Likewise.
18078 * soft-fp/fmasf4.c: Likewise.
18079 * soft-fp/fmatf4.c: Likewise.
18080 * soft-fp/gedf2.c: Likewise.
18081 * soft-fp/gesf2.c: Likewise.
18082 * soft-fp/getf2.c: Likewise.
18083 * soft-fp/ledf2.c: Likewise.
18084 * soft-fp/lesf2.c: Likewise.
18085 * soft-fp/letf2.c: Likewise.
18086 * soft-fp/muldf3.c: Likewise.
18087 * soft-fp/mulsf3.c: Likewise.
18088 * soft-fp/multf3.c: Likewise.
18089 * soft-fp/negdf2.c: Likewise.
18090 * soft-fp/negsf2.c: Likewise.
18091 * soft-fp/negtf2.c: Likewise.
18092 * soft-fp/op-1.h: Likewise.
18093 * soft-fp/op-2.h: Likewise.
18094 * soft-fp/op-4.h: Likewise.
18095 * soft-fp/op-8.h: Likewise.
18096 * soft-fp/op-common.h: Likewise.
18097 * soft-fp/quad.h: Likewise.
18098 * soft-fp/single.h: Likewise.
18099 * soft-fp/soft-fp.h: Likewise.
18100 * soft-fp/sqrtdf2.c: Likewise.
18101 * soft-fp/sqrtsf2.c: Likewise.
18102 * soft-fp/sqrttf2.c: Likewise.
18103 * soft-fp/subdf3.c: Likewise.
18104 * soft-fp/subsf3.c: Likewise.
18105 * soft-fp/subtf3.c: Likewise.
18106 * soft-fp/truncdfsf2.c: Likewise.
18107 * soft-fp/trunctfdf2.c: Likewise.
18108 * soft-fp/trunctfsf2.c: Likewise.
18109 * soft-fp/trunctfxf2.c: Likewise.
18110 * soft-fp/unorddf2.c: Likewise.
18111 * soft-fp/unordsf2.c: Likewise.
18112 * soft-fp/unordtf2.c: Likewise.
18114 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18116 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18117 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18119 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18121 * elf/dl-libc.c: Clear initfini list after freeing.
18123 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18125 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18126 * soft-fp/addsf3.c: Likewise.
18127 * soft-fp/addtf3.c: Likewise.
18128 * soft-fp/divdf3.c: Likewise.
18129 * soft-fp/divsf3.c: Likewise.
18130 * soft-fp/divtf3.c: Likewise.
18131 * soft-fp/double.h: Likewise.
18132 * soft-fp/eqdf2.c: Likewise.
18133 * soft-fp/eqsf2.c: Likewise.
18134 * soft-fp/eqtf2.c: Likewise.
18135 * soft-fp/extenddftf2.c: Likewise.
18136 * soft-fp/extended.h: Likewise.
18137 * soft-fp/extendsfdf2.c: Likewise.
18138 * soft-fp/extendsftf2.c: Likewise.
18139 * soft-fp/extendxftf2.c: Likewise.
18140 * soft-fp/fixdfdi.c: Likewise.
18141 * soft-fp/fixdfsi.c: Likewise.
18142 * soft-fp/fixdfti.c: Likewise.
18143 * soft-fp/fixsfdi.c: Likewise.
18144 * soft-fp/fixsfsi.c: Likewise.
18145 * soft-fp/fixsfti.c: Likewise.
18146 * soft-fp/fixtfdi.c: Likewise.
18147 * soft-fp/fixtfsi.c: Likewise.
18148 * soft-fp/fixtfti.c: Likewise.
18149 * soft-fp/fixunsdfdi.c: Likewise.
18150 * soft-fp/fixunsdfsi.c: Likewise.
18151 * soft-fp/fixunsdfti.c: Likewise.
18152 * soft-fp/fixunssfdi.c: Likewise.
18153 * soft-fp/fixunssfsi.c: Likewise.
18154 * soft-fp/fixunssfti.c: Likewise.
18155 * soft-fp/fixunstfdi.c: Likewise.
18156 * soft-fp/fixunstfsi.c: Likewise.
18157 * soft-fp/fixunstfti.c: Likewise.
18158 * soft-fp/floatdidf.c: Likewise.
18159 * soft-fp/floatdisf.c: Likewise.
18160 * soft-fp/floatditf.c: Likewise.
18161 * soft-fp/floatsidf.c: Likewise.
18162 * soft-fp/floatsisf.c: Likewise.
18163 * soft-fp/floatsitf.c: Likewise.
18164 * soft-fp/floattidf.c: Likewise.
18165 * soft-fp/floattisf.c: Likewise.
18166 * soft-fp/floattitf.c: Likewise.
18167 * soft-fp/floatundidf.c: Likewise.
18168 * soft-fp/floatundisf.c: Likewise.
18169 * soft-fp/floatunsidf.c: Likewise.
18170 * soft-fp/floatunsisf.c: Likewise.
18171 * soft-fp/floatuntidf.c: Likewise.
18172 * soft-fp/floatuntisf.c: Likewise.
18173 * soft-fp/floatuntitf.c: Likewise.
18174 * soft-fp/fmadf4.c: Likewise.
18175 * soft-fp/fmasf4.c: Likewise.
18176 * soft-fp/fmatf4.c: Likewise.
18177 * soft-fp/gedf2.c: Likewise.
18178 * soft-fp/gesf2.c: Likewise.
18179 * soft-fp/getf2.c: Likewise.
18180 * soft-fp/ledf2.c: Likewise.
18181 * soft-fp/lesf2.c: Likewise.
18182 * soft-fp/letf2.c: Likewise.
18183 * soft-fp/muldf3.c: Likewise.
18184 * soft-fp/mulsf3.c: Likewise.
18185 * soft-fp/multf3.c: Likewise.
18186 * soft-fp/negdf2.c: Likewise.
18187 * soft-fp/negsf2.c: Likewise.
18188 * soft-fp/negtf2.c: Likewise.
18189 * soft-fp/op-1.h: Likewise.
18190 * soft-fp/op-2.h: Likewise.
18191 * soft-fp/op-4.h: Likewise.
18192 * soft-fp/op-8.h: Likewise.
18193 * soft-fp/op-common.h: Likewise.
18194 * soft-fp/quad.h: Likewise.
18195 * soft-fp/single.h: Likewise.
18196 * soft-fp/soft-fp.h: Likewise.
18197 * soft-fp/sqrtdf2.c: Likewise.
18198 * soft-fp/sqrtsf2.c: Likewise.
18199 * soft-fp/sqrttf2.c: Likewise.
18200 * soft-fp/subdf3.c: Likewise.
18201 * soft-fp/subsf3.c: Likewise.
18202 * soft-fp/subtf3.c: Likewise.
18203 * soft-fp/truncdfsf2.c: Likewise.
18204 * soft-fp/trunctfdf2.c: Likewise.
18205 * soft-fp/trunctfsf2.c: Likewise.
18206 * soft-fp/trunctfxf2.c: Likewise.
18207 * soft-fp/unorddf2.c: Likewise.
18208 * soft-fp/unordsf2.c: Likewise.
18209 * soft-fp/unordtf2.c: Likewise.
18211 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18214 * misc/error.c (error_tail): Fix possible buffer overflow.
18216 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18219 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18222 2013-10-14 P. J. McDermott <pj@pehjota.net>
18225 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18226 testing pipefail option.
18228 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18230 * soft-fp/double.h: Indent preprocessor directives inside #if.
18231 * soft-fp/extended.h: Likewise.
18232 * soft-fp/op-2.h: Likewise.
18233 * soft-fp/op-4.h: Likewise.
18234 * soft-fp/op-common.h: Likewise.
18235 * soft-fp/quad.h: Likewise.
18236 * soft-fp/single.h: Likewise.
18237 * soft-fp/soft-fp.h: Likewise.
18239 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18241 * iconv/iconv_prog.c: Fix typos.
18242 * stdio-common/psiginfo-data.h: Likewise.
18244 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18247 * locale/setlocale.c: Fix typo.
18249 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18252 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18253 signaling NaN arguments.
18254 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18255 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18258 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18259 unordered operands.
18260 * soft-fp/gesf2.c (__gesf2): Likewise.
18261 * soft-fp/getf2.c (__getf2): Likewise.
18262 * soft-fp/ledf2.c (__ledf2): Likewise.
18263 * soft-fp/lesf2.c (__lesf2): Likewise.
18264 * soft-fp/letf2.c (__letf2): Likewise.
18266 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18267 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18268 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18269 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18270 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18271 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18272 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18273 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18274 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18275 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18276 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18277 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18278 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18279 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18280 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18281 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18282 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18283 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18284 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18285 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18286 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18287 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18288 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18289 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18290 * soft-fp/floattidf.c (__floattidf): Likewise.
18291 * soft-fp/floattisf.c (__floattisf): Likewise.
18292 * soft-fp/floattitf.c (__floattitf): Likewise.
18293 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18294 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18295 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18296 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18297 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18298 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18299 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18300 * soft-fp/gesf2.c (__gesf2): Likewise.
18301 * soft-fp/getf2.c (__getf2): Likewise.
18302 * soft-fp/ledf2.c (__ledf2): Likewise.
18303 * soft-fp/lesf2.c (__lesf2): Likewise.
18304 * soft-fp/letf2.c (__letf2): Likewise.
18306 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18307 Undefine and redefine.
18308 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18309 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18310 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18311 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18312 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18313 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18314 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18315 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18316 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18317 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18318 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18319 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18320 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18321 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18322 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18325 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18326 without decrementing exponent if mantissa >= that for the
18327 denominator, not >.
18328 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18329 denominator, not >. Decrement exponent in < case instead of
18330 incrementing in >= case.
18331 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18332 without decrementing exponent if mantissa >= that for the
18333 denominator, not >.
18335 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18336 computing saturated result for unsigned overflow.
18338 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18339 Jeff Law <law@redhat.com>
18341 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18342 (atan2Mp): Add systemtap probe marker.
18343 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18344 (__ieee754_log): Add systemtap probe marker.
18345 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18346 (atanMp): Add systemtap probe marker.
18347 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18348 (tanMp): Add systemtap probe marker.
18349 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18350 (__slowexp): Add systemtap probe marker.
18351 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18352 (__slowpow): Add systemtap probe marker.
18353 * manual/probes.texi: Document probes.
18355 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18358 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18360 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18362 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18363 written to buffer but not flushed.
18364 * libio/iofwrite_u.c: Likewise.
18365 * libio/iopadn.c: Return bytes returned even if EOF was
18367 * libio/iowpadn.c: Likewise.
18368 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18369 if _IO_padn does not write the whole buffer.
18370 [!COMPILE_WPRINTF] (PAD): Likewise.
18372 2013-10-10 David S. Miller <davem@davemloft.net>
18374 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18377 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18379 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18380 instead of FSF address.
18381 * soft-fp/fixdfti.c: Likewise.
18382 * soft-fp/fixsfti.c: Likewise.
18383 * soft-fp/fixtfti.c: Likewise.
18384 * soft-fp/fixunsdfti.c: Likewise.
18385 * soft-fp/fixunssfti.c: Likewise.
18386 * soft-fp/fixunstfti.c: Likewise.
18387 * soft-fp/floattidf.c: Likewise.
18388 * soft-fp/floattisf.c: Likewise.
18389 * soft-fp/floattitf.c: Likewise.
18390 * soft-fp/floatuntidf.c: Likewise.
18391 * soft-fp/floatuntisf.c: Likewise.
18392 * soft-fp/floatuntitf.c: Likewise.
18393 * soft-fp/trunctfxf2.c: Likewise.
18395 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18396 * soft-fp/fixdfti.c: Likewise.
18397 * soft-fp/fixsfti.c: Likewise.
18398 * soft-fp/fixtfti.c: Likewise.
18399 * soft-fp/fixunsdfti.c: Likewise.
18400 * soft-fp/fixunssfti.c: Likewise.
18401 * soft-fp/fixunstfti.c: Likewise.
18402 * soft-fp/floattidf.c: Likewise.
18403 * soft-fp/floattisf.c: Likewise.
18404 * soft-fp/floattitf.c: Likewise.
18405 * soft-fp/floatuntidf.c: Likewise.
18406 * soft-fp/floatuntisf.c: Likewise.
18407 * soft-fp/floatuntitf.c: Likewise.
18408 * soft-fp/trunctfxf2.c: Likewise.
18410 2013-10-10 David S. Miller <davem@davemloft.net>
18412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18414 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18416 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18417 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18418 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18419 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18420 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18421 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18422 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18425 for NaNs before doing comparisons on argument.
18426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18429 2013-10-10 Will Newton <will.newton@linaro.org>
18431 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18432 passed to _int_memalign does not overflow.
18434 2013-10-10 Torvald Riegel <triegel@redhat.com>
18436 * scripts/bench.pl: Add include-sources directive.
18437 * benchtests/README: Update documentation.
18439 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18441 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18442 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18443 instead of FP_INIT_ROUNDMODE.
18444 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18445 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18448 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18449 copy class of input value.
18450 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18451 not handle exceptions.
18452 * soft-fp/negsf2.c (__negsf2): Likewise.
18453 * soft-fp/negtf2.c (__negtf2): Likewise.
18454 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18456 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18458 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18459 semicolon. From Linux kernel.
18461 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18463 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18465 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18468 * manual/socket.texi: Added statement about buffer
18469 for gethostbyname2_r.
18471 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18473 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18474 Use .p2align directive instead, throughout.
18475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18476 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18477 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18480 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18481 * sysdeps/x86_64/strchr.S: Likewise.
18482 * sysdeps/x86_64/strrchr.S: Likewise.
18484 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18486 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18488 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18490 * sysdeps/generic/math_private.h (__mpsin1): Remove
18492 (__mpcos1): Likewise.
18493 (__mpsin): New argument __range_reduce.
18494 (__mpcos): Likewise.
18495 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18496 (slow): Use __mpsin and __mpcos.
18500 (sloww1): Likewise.
18501 (sloww2): Likewise.
18502 (bsloww): Likewise.
18503 (bsloww1): Likewise.
18504 (bsloww2): Likewise.
18505 (cslow2): Likewise.
18506 (csloww): Likewise.
18507 (csloww1): Likewise.
18508 (csloww2): Likewise.
18509 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18510 range_reduce. Merge in __mpsin1.
18511 (__mpcos): Likewise.
18512 (__mpsin1): Remove.
18513 (__mpcos1): Likewise.
18515 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18517 * locale/loadlocale.c (_nl_intern_locale_data): Use
18519 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18520 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18521 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18522 obstack data is appropriately aligned.
18523 (obstack_int32_grow_fast): Likewise.
18524 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18525 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18526 (add_locale_uint32_array): Likewise.
18528 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18530 * benchtests/Makefile: Remove ARGLIST and RET variables.
18531 ($(objpfx)bench-%.c): Pass only function name to the script.
18532 * benchtests/README: Update documentation.
18533 * benchtests/acos-inputs: Add new directives.
18534 * benchtests/acosh-inputs: Likewise.
18535 * benchtests/asin-inputs: Likewise.
18536 * benchtests/asinh-inputs: Likewise.
18537 * benchtests/atan-inputs: Likewise.
18538 * benchtests/atanh-inputs: Likewise.
18539 * benchtests/cos-inputs: Likewise.
18540 * benchtests/cosh-inputs: Likewise.
18541 * benchtests/exp-inputs: Likewise.
18542 * benchtests/log-inputs: Likewise.
18543 * benchtests/pow-inputs: Likewise.
18544 * benchtests/rint-inputs: Likewise.
18545 * benchtests/sin-inputs: Likewise.
18546 * benchtests/sinh-inputs: Likewise.
18547 * benchtests/tan-inputs: Likewise.
18548 * benchtests/tanh-inputs: Likewise.
18549 * scripts/bench.pl: Add support for new directives.
18551 2013-10-07 Alan Modra <amodra@gmail.com>
18553 * README: Fix careless merge.
18555 2013-10-05 Alan Modra <amodra@gmail.com>
18557 * NEWS: Mention powerpc64le support and bugs fixed.
18558 * README: Both big-endian and little-endian powerpc64 supported.
18560 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18562 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18563 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18564 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18565 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18567 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18569 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18572 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18574 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18575 Move -mhard-float appending from
18576 ports/sysdeps/powerpc/powerpc32/Makefile.
18577 [$(with-fp) = yes] (ASFLAGS): Likewise.
18578 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18579 * sysdeps/powerpc/nofpu: Move directory from
18580 ports/sysdeps/powerpc/nofpu.
18581 * sysdeps/powerpc/soft-fp: Move directory from
18582 ports/sysdeps/powerpc/soft-fp.
18583 * sysdeps/powerpc/powerpc32/405: Move directory from
18584 ports/sysdeps/powerpc/powerpc32/405.
18585 * sysdeps/powerpc/powerpc32/440: Move directory from
18586 ports/sysdeps/powerpc/powerpc32/440.
18587 * sysdeps/powerpc/powerpc32/464: Move directory from
18588 ports/sysdeps/powerpc/powerpc32/464.
18589 * sysdeps/powerpc/powerpc32/476: Move directory from
18590 ports/sysdeps/powerpc/powerpc32/476.
18591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18600 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18601 * README: Update for powerpc-*-linux-gnu software floating point
18604 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18605 case to powerpc/powerpc32*.
18606 * sysdeps/unix/sysv/linux/configure: Regenerated.
18608 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18609 (_FPU_MASK_OM): Define as 0x04.
18610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18618 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18621 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18624 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18625 and setcontext_e500.
18627 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18629 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18631 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * manual/threads.texi (Default Thread Attributes): Fix typo.
18635 2013-10-04 Will Newton <will.newton@linaro.org>
18637 * malloc/Makefile: Add tst-memalign.
18638 * malloc/tst-memalign.c: New file.
18640 * malloc/tst-posix_memalign.c: Add comments.
18641 (do_test): Add comments and call free on all potentially
18642 allocated pointers. Add space after cast.
18644 * malloc/tst-pvalloc.c: Add comments.
18645 (do_test): Add comments and call free on all potentially
18646 allocated pointers. Remove duplicate check for NULL pointer.
18647 Add space after cast.
18649 * malloc/tst-valloc.c: Add comments.
18650 (do_test): Add comments and call free on all potentially
18651 allocated pointers. Remove duplicate check for NULL pointer.
18652 Add space after cast.
18654 2013-10-04 Alan Modra <amodra@gmail.com>
18656 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18657 Use stdint types in rather than __attribute__((mode())).
18658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18660 2013-10-04 Alan Modra <amodra@gmail.com>
18662 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18663 Correct handling of unaligned relocs for little-endian.
18664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18666 2013-10-04 Alan Modra <amodra@gmail.com>
18668 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18669 * configure: Regenerate.
18670 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18671 * shlib-versions: Likewise.
18673 2013-10-04 Alan Modra <amodra@gmail.com>
18675 * string/tester.c (test_memrchr): Increment reported test cycle.
18677 2013-10-04 Alan Modra <amodra@gmail.com>
18679 * string/test-memcpy.c (do_one_test): When reporting errors, print
18680 string address and don't overrun end of string.
18682 2013-10-04 Alan Modra <amodra@gmail.com>
18684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18685 insrdi. Make better use of reg selection to speed exit slightly.
18686 Schedule entry path a little better. Remove useless "are we done"
18687 checks on entry to main loop. Handle wrapping around zero address.
18688 Correct main loop count. Handle single left-over word from main
18689 loop inline rather than by using loop_small. Remove extra word
18690 case in loop_small caused by wrong loop count. Add little-endian
18692 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18693 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18696 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18697 support. Avoid rlwimi.
18698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18700 2013-10-04 Alan Modra <amodra@gmail.com>
18702 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18703 insrdi. Formatting.
18704 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18705 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18706 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18707 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18708 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18709 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18711 2013-10-04 Alan Modra <amodra@gmail.com>
18713 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18714 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18715 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18716 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18717 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18720 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18721 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18722 use of regs. Use power7 mtocrf. Tidy function tails.
18724 2013-10-04 Alan Modra <amodra@gmail.com>
18726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18727 Formatting. Consistently use rXXX register defines or rN defines.
18728 Use early exit labels that avoid restoring unused non-volatile regs.
18729 Make cr field use more consistent with rWORDn compares. Rename
18730 regs used as shift registers for unaligned loop, using rN defines
18731 for short lifetime/multiple use regs.
18732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18734 addi 1,1,64 to pop stack frame. Simplify return value code.
18735 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18737 2013-10-04 Alan Modra <amodra@gmail.com>
18739 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18740 support. Correct typos, formatting. Optimize tail. Use insrdi
18741 rather than rlwimi.
18742 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18743 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18744 little-endian support. Correct typos.
18745 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18746 rather than rlwimi.
18747 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18748 in loop and entry code to keep "and." results.
18749 (strchr): Add little-endian support. Comment. Move cntlzd
18751 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18753 2013-10-04 Alan Modra <amodra@gmail.com>
18755 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18756 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18757 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18760 2013-10-04 Alan Modra <amodra@gmail.com>
18762 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18763 (rTMP): Define as r11.
18764 (strcmp): Add little-endian support. Optimise tail.
18765 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18766 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18767 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18773 2013-10-04 Alan Modra <amodra@gmail.com>
18775 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18776 little-endian support. Remove unnecessary "are we done" tests.
18777 Handle "s" wrapping around zero and extremely large "size".
18778 Correct main loop count. Handle single left-over word from main
18779 loop inline rather than by using small_loop. Correct comments.
18780 Delete "zero" tail, use "end_max" instead.
18781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18783 2013-10-04 Alan Modra <amodra@gmail.com>
18785 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18786 support. Don't branch over align.
18787 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18789 support. Rearrange tmp reg use to suit. Comment.
18790 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18792 2013-10-04 Alan Modra <amodra@gmail.com>
18794 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18796 2013-10-04 Alan Modra <amodra@gmail.com>
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18799 conditional form of branch and link when obtaining pc.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18802 2013-10-04 Alan Modra <amodra@gmail.com>
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18809 2013-10-04 Alan Modra <amodra@gmail.com>
18811 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18812 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18813 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18814 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18815 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18816 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18818 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18820 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18822 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18823 Alistair Popple <alistair@ozlabs.au.ibm.com>
18824 Alan Modra <amodra@gmail.com>
18827 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18829 _dl_hwcap access for little-endian.
18830 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18831 destroy vmx regs when saving unaligned.
18832 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18833 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18834 destroy vmx regs when saving unaligned.
18836 2013-10-04 Alan Modra <amodra@gmail.com>
18838 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18839 Don't use a union to pack hi/low value.
18841 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18843 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18845 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18847 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18851 2013-10-04 Alan Modra <amodra@gmail.com>
18853 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18854 constants to usual value for .cst8 section, and remove redundant
18856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18857 constant for 0x1p52. Load little-endian words of double from
18858 correct stack offsets.
18860 2013-10-04 Alan Modra <amodra@gmail.com>
18862 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18863 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18864 words of double from correct stack offsets.
18865 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18867 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18868 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18869 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18871 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18872 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18873 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18876 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18877 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18878 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18879 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18880 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18881 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18883 2013-10-04 Alan Modra <amodra@gmail.com>
18885 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18886 64-bit int/double union.
18887 (_FPU_SETCW): Likewise.
18888 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18889 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18891 2013-10-04 Alan Modra <amodra@gmail.com>
18893 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18894 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18896 2013-10-04 Alan Modra <amodra@gmail.com>
18898 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18899 use vector int constants.
18900 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18904 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18905 array with long long.
18906 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18907 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18908 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18909 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18910 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18911 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18912 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18914 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18915 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18916 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18917 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18918 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18922 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18923 (__signbit): Likewise. Correct for little-endian.
18924 (__signbitl): Call __signbit.
18925 (lrint): Correct for little-endian.
18926 (lrintf): Call lrint.
18928 2013-10-04 Alan Modra <amodra@gmail.com>
18930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18931 union 32-bit int array member with 64-bit int array.
18932 (t515, tm256): Double rather than long double.
18933 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18935 2013-10-04 Alan Modra <amodra@gmail.com>
18937 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18939 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18941 version of math_ldbl.h.
18943 2013-10-04 Alan Modra <amodra@gmail.com>
18945 [BZ #15734], [BZ #15735]
18946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18947 all uses of ieee875 long double macros and unions. Simplify test
18948 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18949 ldbl_extract_mantissa value for ix,iy exponents. Properly
18950 normalize after ldbl_extract_mantissa, and don't add hidden bit
18951 already handled. Don't treat low word of ieee854 mantissa like
18952 low word of IBM long double and mask off bit when testing for
18954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18955 all uses of ieee875 long double macros and unions. Simplify tests
18956 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18957 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18958 two1022, instead use their values. Recognise that tests for large
18959 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18960 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18961 Rewrite all uses of ieee875 long double macros and unions. Simplify
18962 test for 0.0L and nan. Correct negation.
18963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18964 ieee875 long double macros and unions. Correct output for large
18965 magnitude x. Correct absolute value calculation.
18966 (__erfcl): Likewise.
18967 * math/libm-test.inc: Add tests for errors discovered in IBM long
18968 double versions of fmodl, remainderl, erfl and erfcl.
18970 2013-10-04 Alan Modra <amodra@gmail.com>
18972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18973 all uses of ieee854 long double macros and unions. Simplify tests
18974 for long doubles that are fully specified by the high double.
18975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18977 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18978 Remove dead code too.
18979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18980 (__ieee754_ynl): Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18984 Remove dead code too.
18985 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18995 Comment on variable precision.
18996 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18999 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19005 2013-10-04 Alan Modra <amodra@gmail.com>
19007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19008 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19009 all uses of ieee854 long double macros and unions.
19010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19023 Simplify sign and nan test too.
19024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19029 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19039 2013-10-04 Alan Modra <amodra@gmail.com>
19041 * stdio-common/printf_size.c (__printf_size): Don't use
19042 union ieee854_long_double in fpnum union.
19043 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19044 signbit macro to retrieve sign from long double.
19045 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19046 retrieve sign from long double.
19047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19048 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19050 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19051 * math/test-misc.c (main): Don't use union ieee854_long_double.
19053 2013-10-04 Alan Modra <amodra@gmail.com>
19056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19058 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19059 calculation. Remove unnecessary test for denormal exponent.
19060 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19061 Correct handling of denormals. Avoid undefined shift behaviour.
19062 Correct normalisation of low mantissa when low double is denormal.
19063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19064 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19065 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19066 Correct normalisation of low mantissa. Test for overflow of high
19067 mantissa and normalise.
19068 (ldbl_nearbyint): Use more readable constant for two52.
19069 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19070 (__mpn_construct_long_double): Fix test for overflow of high
19071 mantissa and correct normalisation. Avoid undefined shift.
19073 2013-10-04 Alan Modra <amodra@gmail.com>
19075 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19076 (union ibm_extended_long_double): Define as an array of ieee754_double.
19077 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19079 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19080 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19089 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19091 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19092 page size instead of calling getpagesize.
19094 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19095 (LOCFILE_ALIGN_MASK): Likewise.
19096 (LOCFILE_ALIGN_UP): Likewise.
19097 (LOCFILE_ALIGNED_P): Likewise.
19098 * locale/programs/ld-collate.c (collate_output): Use the new
19099 macros instead of __alignof__ (int32_t).
19100 * locale/weight.h (findidx): Likewise.
19102 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19105 * manual/string.texi: Fix strncat and wcsncat.
19107 2013-10-03 Brooks Moses <bmoses@google.com>
19110 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19111 * Makerules: ...here, and adjust associated comments.
19113 2013-10-02 Will Newton <will.newton@linaro.org>
19115 * malloc/Makefile: Add tst-pvalloc.
19116 * malloc/tst-pvalloc.c: New file.
19118 2013-10-02 Will Newton <will.newton@linaro.org>
19120 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19121 improve test coverage.
19123 2013-10-02 Will Newton <will.newton@linaro.org>
19125 * malloc/Makefile: Add tst-posix_memalign.
19126 * malloc/tst-posix_memalign.c: New file.
19128 2013-10-01 Eric Blake <eblake@redhat.com>
19130 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19131 Use __THROWNL rather than __THROW on static functions.
19133 2013-09-30 Petr Machata <pmachata@redhat.com>
19135 * elf/elf.h (R_AARCH64_ABS16): New macro.
19136 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19137 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19138 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19139 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19140 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19141 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19142 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19143 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19144 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19145 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19146 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19147 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19148 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19149 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19150 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19151 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19152 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19153 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19154 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19155 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19156 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19157 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19158 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19159 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19160 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19161 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19162 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19163 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19164 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19165 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19166 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19167 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19168 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19169 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19170 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19171 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19172 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19173 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19174 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19175 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19176 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19177 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19178 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19179 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19180 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19181 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19182 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19183 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19184 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19185 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19186 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19187 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19188 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19189 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19190 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19191 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19192 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19193 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19194 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19195 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19196 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19197 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19198 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19199 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19200 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19201 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19202 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19203 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19204 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19205 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19206 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19207 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19208 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19209 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19210 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19211 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19212 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19213 (R_AARCH64_TLSDESC_LDR): Likewise.
19214 (R_AARCH64_TLSDESC_ADD): Likewise.
19215 (R_AARCH64_TLSDESC_CALL): Likewise.
19217 2013-09-30 Andreas Schwab <schwab@suse.de>
19220 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19221 the nss database lookup.
19222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19225 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19227 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19229 2013-09-28 P. J. McDermott <pj@pehjota.net>
19231 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19232 ${Bash-specific parameter/pattern/string} parameter expansion.
19233 * sysdeps/unix/make-syscalls.sh: Likewise.
19235 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19237 * sysdeps/sh/stackguard-macros.h: New file.
19239 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19243 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19245 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19246 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19248 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19250 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19251 Fix thread ID register.
19253 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19255 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19256 [POSIX || UNIX98]: Require rather than permitting all symbols from
19258 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19259 element of struct sched_param.
19260 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19261 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19262 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19263 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19266 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19268 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19269 argument calculation.
19271 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19273 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19275 [POSIX] (pthread_attr_t): Do not require type.
19276 [POSIX] (pthread_cond_t): Likewise.
19277 [POSIX] (pthread_condattr_t): Likewise.
19278 [POSIX] (pthread_key_t): Likewise.
19279 [POSIX] (pthread_mutex_t): Likewise.
19280 [POSIX] (pthread_mutexattr_t): Likewise.
19281 [POSIX] (pthread_once_t): Likewise.
19282 [POSIX] (pthread_t): Likewise.
19283 [POSIX-based standards] (pthread_atfork): Expect function.
19285 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19286 Richard Sandiford <richard@codesourcery.com>
19288 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19289 (swap_endianness_p): New extern variable.
19290 (set_big_endian): New inline function.
19291 (maybe_swap_uint32): Likewise.
19292 (maybe_swap_uint32_array): Likewise.
19293 (maybe_swap_uint32_obstack): Likewise.
19294 * locale/programs/locfile.c: Include <stdbool.h>.
19295 (swap_endianness_p): New variable.
19296 (add_locale_uint32): Call maybe_swap_uint32.
19297 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19298 (write_locale_data): Call maybe_swap_uint32_array.
19299 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19301 (obstack_int32_grow_fast): Likewise.
19302 (output_weightwc): Call maybe_swap_uint32_obstack.
19303 (collate_output): Likewise.
19304 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19305 (OPT_LITTLE_ENDIAN): Likewise.
19306 (options): Add --little-endian and --big-endian options.
19307 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19308 * locale/programs/locarchive.c: Include "locfile.h".
19312 (create_archive): Use the new macros to access fields of
19313 structures directly mapped from or written to locale archives.
19314 (oldlocrecentcmp): Likewise.
19315 (enlarge_archive): Likewise.
19316 (insert_name): Likewise.
19317 (add_alias): Likewise.
19318 (add_locale): Likewise.
19319 (delete_locales_from_archive): Likewise.
19320 (show_archive_content): Likewise.
19321 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19324 2013-09-24 Roland McGrath <roland@hack.frob.com>
19326 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19327 http://www.gnu.org/doc/freemanuals.texi.
19328 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19330 2013-09-24 Will Newton <will.newton@linaro.org>
19332 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19335 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19337 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19340 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19342 * manual/threads.texi (POSIX Threads): Fix a typo.
19344 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19347 * string/tst-strcoll-overflow.c: New test case.
19348 * string/Makefile (xtests): Add tst-strcoll-overflow.
19349 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19350 cache if string sizes may cause integer overflow.
19353 * string/strcoll_l.c (coll_seq): New members rule, idx,
19354 save_idx and back_us.
19355 (get_next_seq_nocache): New function.
19356 (do_compare_nocache): New function.
19357 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19360 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19363 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19364 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19365 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19368 * elf/Makefile (tests): Add tst-ptrguard1.
19369 (tests-static): Add tst-ptrguard1-static.
19370 (tst-ptrguard1-ARGS): Define.
19371 (tst-ptrguard1-static-ARGS): Define.
19372 * elf/tst-ptrguard1.c: New file.
19373 * elf/tst-ptrguard1-static.c: New file.
19374 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19375 * sysdeps/i386/stackguard-macros.h: Likewise.
19376 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19377 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19378 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19379 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19380 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19381 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19383 2013-09-23 Hector Marco <hecmargi@upv.es>
19384 Ismael Ripoll <iripoll@disca.upv.es>
19385 Carlos O'Donell <carlos@redhat.com>
19388 * sysdeps/generic/stackguard-macros.h: Define
19389 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19390 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19391 Define __pointer_chk_guard_local.
19392 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19393 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19395 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19398 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19400 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19402 * include/string.h (__ffs): Declare as hidden.
19403 * string/ffs.c (__ffs): Define as hidden.
19404 * sysdeps/i386/ffs.c (__ffs): Likewise.
19405 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19406 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19407 * sysdeps/s390/ffs.c (__ffs): Likewise.
19408 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19410 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19412 * NEWS: Mention malloc probes.
19414 * malloc/arena.c (new_heap): New memory_heap_new probe.
19415 (grow_heap): New memory_heap_more probe.
19416 (shrink_heap): New memory_heap_less probe.
19417 (heap_trim): New memory_heap_free probe.
19418 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19419 (systrim): New memory_sbrk_less probe.
19420 * manual/probes.texi: Document them.
19422 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19423 * manual/probes.texi: Document it.
19425 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19426 (__libc_realloc): Add memory_realloc_retry probe.
19427 (__libc_memalign): Add memory_memalign_retry probe.
19428 (__libc_valloc): Add memory_valloc_retry probe.
19429 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19430 (__libc_calloc): Add memory_calloc_retry probe.
19431 * manual/probes.texi: Document them.
19433 * malloc/arena.c (get_free_list): Add probe
19434 memory_arena_reuse_free_list.
19435 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19436 and memory_arena_reuse.
19437 (arena_get2) [!PER_THREAD]: Likewise.
19438 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19439 memory_arena_reuse_realloc.
19440 * manual/probes.texi: Document them.
19442 * malloc/malloc.c (__libc_free): Add
19443 memory_mallopt_free_dyn_thresholds probe.
19444 (__libc_mallopt): Add multiple memory_mallopt probes.
19445 * manual/probes.texi: Document them.
19447 * malloc/malloc.c: Include stap-probe.h.
19448 (__libc_mallopt): Add memory_mallopt probe.
19449 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19450 * manual/probes.texi: New.
19451 * manual/Makefile (chapters): Add probes.
19452 * manual/threads.texi: Set next node.
19454 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19456 [BZ #15963, #13985]
19457 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19458 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19459 Add `Chinese' to `nan' entry name.
19461 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19463 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19464 (POLYNOMIAL): Likewise.
19465 (TAYLOR_SINCOS): Likewise.
19466 (TAYLOR_SLOW): Likewise.
19467 (__sin): Use TAYLOR_SINCOS.
19469 (slow): Use TAYLOR_SLOW.
19471 (bsloww): Likewise.
19472 (csloww): Likewise.
19474 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19476 * stdlib/strtod_l.c: Fix buffer overrun.
19478 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19480 * benchtests/Makefile (bench): Add sincos.
19481 * benchtests/bench-sincos.c: New file.
19483 * math/libm-test.inc (cos_test_data): New test inputs.
19484 (sin_test_data): Likewise.
19486 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19492 (sloww1): Likewise.
19493 (sloww2): Likewise.
19494 (bsloww1): Likewise.
19495 (bsloww2): Likewise.
19496 (cslow2): Likewise.
19497 (csloww1): Likewise.
19498 (csloww2): Likewise.
19500 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19509 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19511 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19512 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19513 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19514 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19515 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19516 * elf/cache.c (print_entry): Handle the new cache flags.
19518 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19519 Aldy Hernandez <aldyh@redhat.com>
19521 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19522 Change condition to [_SOFT_FLOAT].
19523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19535 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19538 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19541 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19543 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19544 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19545 (__longjmp): Use LOAD_GP to load saved GPRs.
19546 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19547 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19548 (__sigsetjmp): Use SAVE_GP to save GPRs.
19550 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19551 Do not append -msoft-float.
19552 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19554 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19556 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19558 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19561 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19562 (_FPU_GETCW): Use initial "__" on variable and field names but not
19563 on macro parameter name.
19564 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19565 parentheses around reference to macro parameter.
19567 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19569 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19571 (ctype_startup): Use uint32_t in cast and sizeof for
19574 2013-09-11 Jia Liu <proljc@gmail.com>
19576 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19578 [__FreeBSD__]: Likewise.
19580 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19583 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19584 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19585 (strchr): Remove __strchr_sse42 ifunc selection.
19586 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19587 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19589 2013-09-11 Will Newton <will.newton@linaro.org>
19591 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19592 parameter to RES. Remove hardcoded 1000 value.
19593 * benchtests/bench-skeleton.c (main): Pass RES parameter
19594 to TIMING_INIT and multiply result by 1000.
19596 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19600 2013-09-11 Andreas Schwab <schwab@suse.de>
19602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19604 (O_TMPFILE) [__USE_GNU]: Define.
19605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19608 2013-09-11 Will Newton <will.newton@linaro.org>
19611 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19614 2013-09-11 Will Newton <will.newton@linaro.org>
19617 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19620 2013-09-11 Will Newton <will.newton@linaro.org>
19623 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19626 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19628 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19629 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19634 2013-09-10 Allan McRae <allan@archlinux.org>
19637 * manual/arith.texi (Parsing of Floats): Clarify
19641 * manual/install.texi (Running make install): Mention
19643 * INSTALL: Regenerated.
19645 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19647 * csu/init-first.c (_init): Remove the !SHARED condition around
19648 FPU control word initialization.
19649 * elf/dl-support.c (_dl_fpu_control): New variable.
19650 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19651 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19652 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19653 * math/test-fpucw-static.c: New file.
19654 * math/test-fpucw-ieee.c: New file.
19655 * math/test-fpucw-ieee-static.c: New file.
19656 * math/Makefile (tests): Add `test-fpucw-ieee' and
19658 (tests-static): New variable.
19659 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19661 [($(build-shared),yes)]
19662 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19664 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19667 2013-09-09 Allan McRae <allan@archlinux.org>
19670 * manual/string.texi (Collation Functions): Fix typo in
19672 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19675 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19678 * libio/memstream.c (open_memstream): Fix memory leak.
19679 * libio/wmemstream.c (open_wmemstream): Likewise.
19682 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19684 2013-09-09 Will Newton <will.newton@linaro.org>
19686 * malloc/Makefile: Add tst-realloc to tests.
19687 * malloc/tst-realloc.c: New file.
19689 2013-09-09 Allan McRae <allan@archlinux.org>
19692 * COPYING: Update from GNU website to fix FSF address.
19693 * COPYING.LIB: Likewise.
19695 2013-09-06 David S. Miller <davem@davemloft.net>
19697 * po/zh_TW.po: Update Chinese (traditional) translation from
19698 translation project.
19700 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19701 Joseph Myers <joseph@codesourcery.com>
19703 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19705 (obstack_chunk_alloc): New macro.
19706 (obstack_chunk_free): Likewise.
19707 (record_offset): New function.
19708 (init_locale_data): Likewise.
19709 (align_locale_data): Likewise.
19710 (add_locale_empty): Likewise.
19711 (add_locale_raw_data): Likewise.
19712 (add_locale_raw_obstack): Likewise.
19713 (add_locale_string): Likewise.
19714 (add_locale_wstring): Likewise.
19715 (add_locale_uint32): Likewise.
19716 (add_locale_uint32_array): Likewise.
19717 (add_locale_char): Likewise.
19718 (start_locale_structure): Likewise.
19719 (end_locale_structure): Likewise.
19720 (start_locale_prelude): Likewise.
19721 (end_locale_prelude): Likewise.
19722 (write_locale_data): Take locale_file structure rather than an
19724 * locale/programs/locfile.h: Include "obstack.h".
19725 (struct locale_file): Change to store locale file contents instead
19727 (init_locale_data): New prototype.
19728 (align_locale_data): Likewise.
19729 (add_locale_empty): Likewise.
19730 (add_locale_raw_data): Likewise.
19731 (add_locale_raw_obstack): Likewise.
19732 (add_locale_string): Likewise.
19733 (add_locale_wstring): Likewise.
19734 (add_locale_uint32): Likewise.
19735 (add_locale_uint32_array): Likewise.
19736 (add_locale_char): Likewise.
19737 (start_locale_structure): Likewise.
19738 (end_locale_structure): Likewise.
19739 (start_locale_prelude): Likewise.
19740 (end_locale_prelude): Likewise.
19741 (write_locale_data): Update prototype.
19742 * locale/programs/3level.h (struct TABLE): Remove result field.
19743 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19744 Use new locale_file interface.
19745 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19746 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19747 * locale/programs/ld-address.c (address_output): Use new
19748 locale_file interface.
19749 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19751 (collate_finish): Don't call collseq_table_finalize.
19752 (collate_output): Use new locale_file interface.
19753 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19755 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19756 (TABLE): Move defines earlier in file.
19757 (ELEMENT): Likewise.
19758 (DEFAULT): Likewise.
19759 (wctrans_table_add): Move macro and inline function earlier in
19761 (struct wctype_table): Move type earlier in file.
19762 (add_locale_wctype_table): New static prototype.
19763 (struct locale_ctype_t): Use logical types instead of struct iovec
19764 pointers for members.
19765 (ctype_output): Use new locale_file interface.
19766 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19767 new locale_file interface.
19768 (allocate_arrays): Update for use of new locale_file interface.
19769 * locale/programs/ld-identification.c (identification_output): Use
19770 new locale_file interface.
19771 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19772 * locale/programs/ld-messages.c (messages_output): Likewise.
19773 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19774 * locale/programs/ld-name.c (name_output): Likewise.
19775 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19776 * locale/programs/ld-paper.c (paper_output): Likewise.
19777 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19778 * locale/programs/ld-time.c (time_output): Likewise.
19780 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19782 * benchtests/Makefile: Add memrchr benchmark.
19783 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19784 benchmark as memrchr.
19785 * benchtests/bench-memrchr-ifunc.c: New file.
19786 * benchtests/bench-memrchr.c: New file.
19788 2013-09-06 Will Newton <will.newton@linaro.org>
19790 * benchtests/Makefile (string-bench): Add memcpy.
19792 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19793 Cong Wang <amwang@redhat.com>
19796 * sysdeps/unix/sysv/linux/bits/in.h
19797 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19798 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19799 before __USE_KERNEL_IPV6_DEFS uses.
19800 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19802 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19803 sockaddr_in6, or ipv6_mreq.
19805 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19807 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19808 memory access for final bytes in some large inputs.
19809 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19811 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19813 * string/test-memrchr.c: New file.
19814 * string/test-memrchr-ifunc.c: New file.
19815 * string/Makefile: Add new memrchr testcase.
19817 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19819 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19820 fanotify_init returns EPERM.
19822 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19824 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19826 (top level): Treat second token from macro or constant entries for
19827 allowed headers as allowed.
19828 * include/complex.h: Condition internal declarations on
19830 * include/fenv.h: Condition include of <stdbool.h> and internal
19831 declarations on [!_ISOMAC].
19833 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19836 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19838 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19840 * configure.in (--enable-versioning): Remove configure option.
19841 (libc_cv_asm_symver_directive): Remove configure test.
19842 (libc_cv_ld_version_script_option): Likewise.
19843 (VERSIONING): Remove variable and AC_SUBST.
19844 (DO_VERSIONING): Remove AC_DEFINE.
19845 * configure: Regenerated.
19846 * config.h.in (DO_VERSIONING): Remove macro.
19847 * Makerules [$(versioning) = yes]: Change conditionals to
19848 [$(build-shared) = yes].
19849 * config.make.in (versioning): Remove variable.
19850 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19851 [$(build-shared) = yes].
19852 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19853 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19854 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19855 [$(build-shared) = yes].
19856 * extra-lib.mk [$(versioning) = yes]: Likewise.
19857 * hurd/Makefile [$(versioning) = yes]: Likewise.
19858 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19860 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19862 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19863 [SHARED && !NO_HIDDEN].
19864 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19866 [SHARED && DO_VERSIONING]: Likewise..
19867 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19868 [$(build-shared) = yes].
19869 * manual/install.texi (--disable-versioning): Remove
19871 * INSTALL: Regenerated.
19872 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19874 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19875 [$(build-shared) = yes].
19876 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19877 * sysdeps/i386/i686/multiarch/strstr-c.c
19878 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19879 [SHARED && !NO_HIDDEN].
19880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19881 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19882 * sysdeps/powerpc/powerpc32/dl-machine.c
19883 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19884 * sysdeps/powerpc/powerpc32/sysdep.h
19885 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19886 to [SHARED && PIC && !NO_HIDDEN].
19887 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19888 conditional to [SHARED].
19890 2013-09-04 Will Newton <will.newton@linaro.org>
19892 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19893 * benchtests/bench-string.h: Include bench-timing.h instead
19894 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19895 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19896 call to HP_TIMING_DIFF_INIT.
19897 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19898 instead of hp-timing.h macros.
19899 * benchtests/bench-memchr.c: Likewise.
19900 * benchtests/bench-memcmp.c: Likewise.
19901 * benchtests/bench-memcpy.c: Likewise.
19902 * benchtests/bench-memmem.c: Likewise.
19903 * benchtests/bench-memmove.c: Likewise.
19904 * benchtests/bench-memset.c: Likewise.
19905 * benchtests/bench-rawmemchr.c: Likewise.
19906 * benchtests/bench-strcasecmp.c: Likewise.
19907 * benchtests/bench-strcasestr.c: Likewise.
19908 * benchtests/bench-strcat.c: Likewise.
19909 * benchtests/bench-strchr.c: Likewise.
19910 * benchtests/bench-strcmp.c: Likewise.
19911 * benchtests/bench-strcpy.c: Likewise.
19912 * benchtests/bench-strcpy_chk.c: Likewise.
19913 * benchtests/bench-strlen.c: Likewise.
19914 * benchtests/bench-strncasecmp.c: Likewise.
19915 * benchtests/bench-strncat.c: Likewise.
19916 * benchtests/bench-strncmp.c: Likewise.
19917 * benchtests/bench-strncpy.c: Likewise.
19918 * benchtests/bench-strnlen.c: Likewise.
19919 * benchtests/bench-strpbrk.c: Likewise.
19920 * benchtests/bench-strrchr.c: Likewise.
19921 * benchtests/bench-strspn.c: Likewise.
19922 * benchtests/bench-strstr.c: Likewise.
19924 2013-09-04 Will Newton <will.newton@linaro.org>
19926 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19928 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19932 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19933 * math/libm-test.inc (lgamma_test_data): Add more tests.
19934 * sysdeps/i386/fpu/libm-test-ulps: Update.
19935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19937 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19939 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19943 Add strcmp-sse2-unaligned
19944 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19946 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19948 * Versions.def (libc): Add GLIBC_2.19.
19950 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19952 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19953 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19955 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19958 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19959 intermediate calculations in recurrence.
19960 (__ieee754_ynf): Likewise.
19961 * math/libm-test.inc (jn_test_data): Do not allow spurious
19962 underflow exception. Add more tests.
19963 (yn_test_data): Add more tests.
19964 * sysdeps/i386/fpu/libm-test-ulps: Update.
19965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19967 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19969 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19971 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19973 * csu/init-first.c: Fix then/than typos.
19974 * locale/programs/ld-collate.c: Likewise.
19975 * locale/programs/linereader.h: Likewise.
19976 * manual/charset.texi: Likewise.
19977 * manual/filesys.texi: Likewise.
19978 * manual/stdio.texi: Likewise.
19979 * manual/string.texi: Likewise.
19980 * stdlib/fmtmsg.c: Likewise.
19981 * sysdeps/i386/stpncpy.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19983 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19985 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19987 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19989 * elf/dl-open.c: Fix typos.
19990 * iconvdata/gbbig5.c: Likewise.
19991 * iconvdata/iso-2022-jp.c: Likewise.
19992 * iconv/gconv_int.h: Likewise.
19993 * iconv/loop.c: Likewise.
19994 * nis/rpcsvc/nis.h: Likewise.
19995 * resolv/ns_name.c: Likewise.
19996 * stdio-common/vfscanf.c: Likewise.
19997 * streams/stropts.h: Likewise.
19998 * sunrpc/rpc_thread.c: Likewise.
19999 * sysdeps/i386/strpbrk.S: Likewise.
20000 * sysdeps/ieee754/k_standard.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20003 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20004 * sysdeps/mach/hurd/profil.c: Likewise.
20005 * sysdeps/s390/dl-procinfo.h: Likewise.
20006 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20007 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20008 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20009 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20012 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20014 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20017 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20019 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20020 aix specific files.
20021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20022 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20023 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20024 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20025 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20026 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20027 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20028 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20030 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20031 Roland McGrath <roland@hack.frob.com>
20033 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20034 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20036 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20038 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20039 __executable_start symbol instead of _start.
20041 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20043 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20044 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20046 * sysdeps/gnu/ldsodefs.h: ... this new file.
20048 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20049 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20050 instead of ELFOSABI_LINUX.
20052 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20053 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20054 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20055 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20057 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20058 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20059 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20061 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20062 (ibm_extended_long_double): Add ieee_nan member.
20063 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20064 (do_test): New function.
20066 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20068 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20069 functions, renamed from truncdfsf_test, trunctfsf_test,
20071 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20073 (do_test): Run all these.
20075 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20077 * argp/argp-help.c: Fix typos.
20078 * argp/argp-parse.c: Likewise.
20079 * debug/backtracesyms.c: Likewise.
20080 * elf/elf.h: Likewise.
20081 * malloc/malloc.c: Likewise.
20082 * nis/nis_print.c: Likewise.
20083 * resolv/res_comp.c: Likewise.
20084 * stdlib/stdlib.h: Likewise.
20085 * sunrpc/clnt_tcp.c: Likewise.
20086 * sunrpc/clnt_udp.c: Likewise.
20087 * sunrpc/clnt_unix.c: Likewise.
20088 * sysdeps/unix/bsd/ptsname.c: Likewise.
20089 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20090 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20097 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20099 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20101 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20104 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20107 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20108 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20109 ($(objpfx)bug-dl-leaf): New rule.
20110 ($(objpfx)bug-dl-leaf.so): Likewise.
20111 ($(objpfx)bug-dl-leaf.out): Likewise.
20112 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20113 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20114 * dlfcn/bug-dl-leaf.c: New test.
20115 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20116 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20117 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20118 (dlclose): Likewise.
20119 (dlmopen): Likewise.
20121 2013-08-27 Roland McGrath <roland@hack.frob.com>
20123 * include/netdb.h [!_ISOMAC]:
20124 Don't include <tls.h>.
20125 (h_errno, __libc_h_errno): Move declaration and macros out of
20128 * include/resolv.h [_RESOLV_H_]:
20129 Don't include <tls.h>.
20130 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20131 * resolv/res_libc.c: Don't include <tls.h>.
20132 (_res): Use __attribute__ ((nocommon)) in place of
20133 __attribute__ ((section (".bss"))).
20135 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20136 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20138 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20140 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20141 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20143 * resolv/res_mkquery.c: Include <sys/time.h>.
20145 * inet/ifreq.c: Moved to ...
20146 * sysdeps/unix/ifreq.c: ... here.
20147 * inet/ifreq.c: New file, true stub version.
20149 * socket/sa_len.c: New file.
20150 * socket/Makefile (aux): Add it.
20151 * sysdeps/unix/sysv/linux/Makefile
20152 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20153 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20154 and #include <socket/sa_len.c>.
20155 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20156 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20158 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20159 * bits/socket.h: ... here.
20161 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20162 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20163 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20165 2013-08-27 Andreas Schwab <schwab@suse.de>
20168 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20169 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20170 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20171 * string/test-strcasecmp.c (test_main): Run tests in several
20173 * string/test-strncasecmp.c (test_main): Likewise.
20175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20176 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20177 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20179 (__strncasecmp_ssse3) [PIC]: Likewise.
20181 2013-08-26 Roland McGrath <roland@hack.frob.com>
20183 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20185 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20186 instead of explicitly declaring xdecrypt.
20187 * nis/nss_nis/nis-publickey.c: Likewise.
20189 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20192 * nscd/aicache.c: Include res_hconf.h.
20193 (addhstaiX): Initialize res_hconf.
20195 2013-08-26 Andreas Schwab <schwab@suse.de>
20197 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20198 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20200 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 * nscd/aicache.c (addhstaiX): Fix indentation.
20204 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20206 * configure.ac: Quote $build_pt_chown test.
20207 * configure: Regenerated.
20209 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20212 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20213 * math/s_cexpf.c (__cexpf): Likewise.
20214 * math/s_cexpl.c (__cexpl): Likewise.
20215 * math/libm-test.inc (cexp_test_data): Correct expected return
20216 value for NaN + i0. Add another test.
20218 2013-08-22 David S. Miller <davem@davemloft.net>
20220 * po/ca.po: Update Catalan translation from translation project.
20221 * po/uk.po: Add Ukrainian translations from translation project.
20223 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20226 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20227 is infinite, not alongside NaN test.
20228 * math/s_fdimf.c (__fdimf): Likewise.
20229 * math/s_fdiml.c (__fdiml): Likewise.
20230 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20231 errno is unchanged.
20233 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20235 * argp/argp-help.c: Fix typos.
20236 * crypt/speeds.c: Likewise.
20237 * csu/check_fds.c: Likewise.
20238 * elf/dl-load.c: Likewise.
20239 * elf/dl-open.c: Likewise.
20240 * elf/reldep3.c: Likewise.
20241 * elf/reldep.c: Likewise.
20242 * elf/sprof.c: Likewise.
20243 * iconv/iconv_charmap.c: Likewise.
20244 * iconv/skeleton.c: Likewise.
20245 * iconv/strtab.c: Likewise.
20246 * io/lockf64.c: Likewise.
20247 * libio/libioP.h: Likewise.
20248 * resolv/gai_notify.c: Likewise.
20249 * resolv/ns_name.c: Likewise.
20250 * resolv/ns_samedomain.c: Likewise.
20251 * resolv/res_send.c: Likewise.
20252 * stdlib/random.c: Likewise.
20253 * sunrpc/rpc/xdr.h: Likewise.
20254 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20255 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20256 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20257 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20262 * sysdeps/mach/hurd/check_fds.c: Likewise.
20263 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20264 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20266 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20267 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20268 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20269 * sysdeps/pthread/aio_notify.c: Likewise.
20270 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20271 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20274 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20276 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20278 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20279 version if bit_Slow_SSE4_2 is set.
20280 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20281 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20283 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20286 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20287 trampoline stack frame information.
20288 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20290 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20291 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20292 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20293 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20294 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20295 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20297 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20298 interrupting a syscall and set with option SA_SIGINFO.
20300 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20303 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20304 argument is infinite.
20305 * math/s_cprojf.c (__cprojf): Likewise.
20306 * math/s_cprojl.c (__cprojl): Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20308 * math/libm-test.inc (cproj_test_data): Add more tests.
20310 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20312 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20313 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20314 size. Use __ffs to determine corresponding shift.
20316 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20317 Roland McGrath <roland@hack.frob.com>
20319 * Makefile (INSTALL): Remove trailing blank lines from output of
20322 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20324 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20325 Align 32 bit compat elf_greg to 8 bytes.
20327 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20329 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20331 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20333 * string/strcoll_l.c (coll_seq): New structure.
20334 (get_next_seq_cached): New function.
20335 (get_next_seq): New function.
20336 (do_compare): New function.
20337 (STRCOLL): Use GNU style definition. Simplify implementation
20338 by using get_next_seq, get_next_seq_cached and do_compare.
20340 2013-08-16 Florian Weimer <fweimer@redhat.com>
20344 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20346 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20348 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20349 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20350 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20353 GETDENTS_64BIT_ALIGNED.
20354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20355 * manual/filesys.texi (Reading/Closing Directory): Document
20356 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20358 * manual/conf.texi (Limits for Files): Add portability note to
20359 NAME_MAX, PATH_MAX.
20360 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20362 2013-08-13 Andreas Schwab <schwab@suse.de>
20365 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20367 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20368 LDBL_MAX_EXP >= 16384]: Add tests for it.
20370 2013-08-12 David S. Miller <davem@davemloft.net>
20372 * version.h (RELEASE): Set to "development".
20373 (VERSION): Set to "2.18.90".
20374 * NEWS: Add 2.19 section.
20376 2013-08-03 David S. Miller <davem@davemloft.net>
20378 * po/ko.po: Update Korean translation from translation project.
20380 2013-08-01 David S. Miller <davem@davemloft.net>
20382 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20383 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20386 2013-07-30 David S. Miller <davem@davemloft.net>
20388 * po/fr.po: Update French translation from translation project.
20390 2013-07-28 David S. Miller <davem@davemloft.net>
20392 * po/cs.po: Update Czech translation from translation project.
20394 * po/sv.po: Update Swedish translation from translation project.
20396 2013-07-27 David S. Miller <davem@davemloft.net>
20398 * po/eo.po: Update Esperanto translation from translation project.
20400 * po/vi.po: Update Vietnamese translation from translation project.
20402 * po/de.po: Update German translation from translation project.
20404 2013-07-26 David S. Miller <davem@davemloft.net>
20406 * po/bg.po: Update Bulgarian translation from translation project.
20408 * po/nl.po: Update Dutch translation from translation project.
20409 * po/pl.po: Update Polish translation from translation project.
20410 * po/ru.po: Update Russian translation from translation project.
20412 2013-07-24 David S. Miller <davem@davemloft.net>
20414 * po/libc.pot: Update.
20416 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20418 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20419 variable page size.
20420 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20424 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20426 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20428 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20429 Andreas Schwab <schwab@suse.de>
20430 Roland McGrath <roland@hack.frob.com>
20431 Joseph Myers <joseph@codesourcery.com>
20432 Carlos O'Donell <carlos@redhat.com>
20435 * config.h.in: Define HAVE_PT_CHOWN.
20436 * config.make.in (build-pt-chown): New variable.
20437 * configure.in (--enable-pt_chown): New configure option.
20438 * configure: Regenerate.
20439 * login/Makefile: Include Makeconfig. Build pt_chown only if
20440 build-pt-chown is enabled.
20441 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20442 pt_chown to fix pty ownership.
20443 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20445 * manual/install.texi (Configuring and compiling): Mention
20446 --enable-pt_chown. Add @findex for grantpt.
20447 * INSTALL: Regenerate.
20449 2013-07-20 David S. Miller <davem@davemloft.net>
20451 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20452 difference between 32-bit and 64-bit.
20454 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20457 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20458 Avoid system header dependency with -ffreestanding.
20459 ($(objpfx)bits/syscall%d): Likewise.
20461 2013-07-13 David S. Miller <davem@davemloft.net>
20463 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20464 underflows from atanl/atan2l due to bug 15319.
20465 (casinh_test_data): Likewise.
20467 2013-07-07 David S. Miller <davem@davemloft.net>
20469 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20471 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20473 * sysdeps/i386/fpu/libm-test-ulps: Update.
20474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20476 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 * configure.in (--enable-lock-elision): Fix message text.
20479 * INSTALL: Regenerate.
20480 * configure: Regenerate.
20482 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20486 2013-07-03 Andreas Jaeger <aj@suse.de>
20488 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20490 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20491 (ptrace_peeksiginfo_args): Add.
20492 (__ptrace_peeksiginfo_flags): Add.
20493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20497 2013-07-03 Allan McRae <allan@archlinux.org>
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20501 2013-07-02 David S. Miller <davem@davemloft.net>
20503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20505 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20509 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20511 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20514 2013-07-02 Andi Kleen <ak@linux.intel.com>
20516 * config.h.in (ENABLE_LOCK_ELISION): Add.
20517 * configure.in (--enable-lock-elision): Add option.
20518 * manual/install.texi: Document --enable lock elision.
20519 * configure: Regenerate
20520 * INSTALL: Regenerate.
20522 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20524 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20525 SSE4.2 strcasecmp for libc.a.
20526 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20528 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20531 * soft-fp/op-common.h (_FP_FMA): New macro.
20532 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20533 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20534 (_FP_MUL_MEAT_1_imm): ... here.
20535 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20536 (_FP_MUL_MEAT_1_wide): ... here.
20537 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20538 (_FP_MUL_MEAT_1_hard): ... here.
20539 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20540 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20541 (_FP_MUL_MEAT_2_wide): ... here.
20542 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20543 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20544 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20545 (_FP_MUL_MEAT_2_gmp): ... here.
20546 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20547 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20548 (_FP_MUL_MEAT_4_wide): ... here.
20549 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20550 (_FP_MUL_MEAT_4_gmp): ... here.
20551 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20552 (_FP_WFRACBITS_DW_S): Likewise.
20553 (_FP_WFRACXBITS_DW_S): Likewise.
20554 (_FP_HIGHBIT_DW_S): Likewise.
20555 (FP_FMA_S): Likewise.
20556 (_FP_FRAC_HIGH_DW_S): Likewise.
20557 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20558 (_FP_WFRACBITS_DW_D): Likewise.
20559 (_FP_WFRACXBITS_DW_D): Likewise.
20560 (_FP_HIGHBIT_DW_D): Likewise.
20561 (FP_FMA_D): Likewise.
20562 (_FP_FRAC_HIGH_DW_D): Likewise.
20563 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20564 (_FP_WFRACBITS_DW_E): Likewise.
20565 (_FP_WFRACXBITS_DW_E): Likewise.
20566 (_FP_HIGHBIT_DW_E): Likewise.
20567 (FP_FMA_E): Likewise.
20568 (_FP_FRAC_HIGH_DW_E): Likewise.
20569 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20570 (_FP_WFRACBITS_DW_Q): Likewise.
20571 (_FP_WFRACXBITS_DW_Q): Likewise.
20572 (_FP_HIGHBIT_DW_Q): Likewise.
20573 (FP_FMA_Q): Likewise.
20574 (_FP_FRAC_HIGH_DW_Q): Likewise.
20575 * soft-fp/fmasf4.c: New file.
20576 * soft-fp/fmadf4.c: Likewise.
20577 * soft-fp/fmatf4.c: Likewise.
20579 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20582 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20586 (index_Slow_SSE4_2): Likewise.
20587 (index_Prefer_PMINUB_for_stringop): Likewise.
20588 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20589 bit_Slow_SSE4_2 is set.
20590 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20593 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20595 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20596 rtld_global._dl_hwcap2.
20597 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20599 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20600 POWER8 feature descriptions defined in _dl_hwcap2.
20601 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20602 string handling for POWER8 feature bits.
20603 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20604 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20605 _dl_powerpc_cap_flags.
20606 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20607 * sysdeps/powerpc/rtld-global-offsets.sym
20608 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20609 _dl_hwcap2 in the rtld_global_ro structure.
20611 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20613 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20614 hardware capabilities in support of AT_HWCAP2.
20615 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20616 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20618 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20619 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20620 explicitly the unknown a_type display mechanism is used.
20621 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20622 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20624 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20625 to macro prototype for AT_HWCAP2 support.
20626 * sysdeps/i386/dl-procinfo.h: Likewise.
20627 * sysdeps/s390/dl-procinfo.h: Likewise.
20628 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20629 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20630 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20631 return -1 for unknown a_type display fallback.
20632 * sysdeps/sparc/dl-procinfo.h: Likewise.
20633 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20636 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20638 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20639 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20641 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20644 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20645 mprotect making __stack_prot writable.
20647 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20648 Joseph Myers <joseph@codesourcery.com>
20650 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20651 as being properly aligned.
20653 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20655 * dlfcn/modstatic5.c: New file.
20656 * dlfcn/tststatic5.c: New file.
20657 * dlfcn/Makefile (tests): Add tststatic5.
20658 (tests-static): Likewise.
20659 (modules-names): Add modstatic5.
20660 (tststatic5-ENV): New variable.
20661 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20664 * elf/dl-support.c (_dl_main_map): New variable.
20665 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20666 (_dl_nns, _dl_load_adds): Set to 1.
20667 (_dl_initial_searchlist): Refer to _dl_main_map.
20668 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20669 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20670 call to _dl_get_origin.
20671 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20673 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20674 * dlfcn/modstatic3.c: New file.
20675 * dlfcn/tststatic3.c: New file.
20676 * dlfcn/tststatic4.c: New file.
20677 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20678 (tests-static): Likewise.
20679 (modules-names): Add modstatic3.
20680 (tststatic3-ENV, tststatic4-ENV): New variables.
20681 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20682 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20684 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20686 * configure.in (CC): Require GCC version 4.4 or later.
20687 * configure: Regenerated.
20688 * manual/install.texi (Tools for Compilation): Update GCC version
20690 * INSTALL: Regenerated.
20692 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20695 * string/test-memcmp.c (check2): New.
20696 (main): Call check2.
20698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20700 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20703 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20705 (dl_open_worker) [!SHARED]: ... here.
20707 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20709 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20711 2013-06-25 Richard Henderson <rth@redhat.com>
20713 * locale/programs/locarchive.c: Include <libc-internal.h>
20715 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20717 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20718 trailing whitespace removed.
20720 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20723 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20724 * locale/programs/locarchive.c: Include libc-mmap.h.
20725 (prepare_address_space): Take two new outputs (the mmap base and len).
20726 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20728 (create_archive): Declare new mmap base and len values for
20729 prepare_address_space, and store the result in ah.
20730 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20731 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20732 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20733 Declare new mmap base and len values for
20734 prepare_address_space, and store the result in new_ah.
20735 (open_archive): Declare new mmap base and len values for
20736 prepare_address_space, and store the result in ah.
20737 (close_archive): If ah->mmap_base is not NULL, use that and
20738 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20739 * sysdeps/generic/libc-mmap.h: New file.
20741 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20743 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20744 (ALIGN_UP): Likewise.
20745 (PTR_ALIGN_DOWN): Likewise.
20746 (PTR_ALIGN_UP): Likewise.
20748 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20750 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20751 entry mapped to PPC_PLATFORM_POWER8.
20752 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20754 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20755 (_dl_string_platform): Add case for exporting platform position for
20757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20758 search path to sysdeps/powerpc/powerpc32/power8 directory.
20759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20760 search path to sysdeps/powerpc/powerpc64/power8 directory.
20761 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20762 power7 directories.
20763 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20764 power7 directories.
20766 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20768 * INSTALL: Regenerate.
20770 * nscd/connections.c (nscd_init): Fix comment.
20772 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20774 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20777 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20778 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20780 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20782 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20784 (DL_DST_REQ_STATIC): Remove macro.
20786 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20789 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20790 with a shift of 0 bits.
20792 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20794 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20797 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20800 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20802 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20804 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20805 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20806 accepts -fno-tree-loop-distribute-patterns.
20807 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20808 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20810 * string/memset.c (memset): Likewise.
20811 * string/test-memmove.c (simple_memmove): Disable loop transformation
20813 * string/test-memset.c (simple_memset): Likewise.
20814 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20815 * benchtests/bench-memset.c (simple_memset): Likewise.
20816 * configure: Regenerated.
20818 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20820 * math/test-misc.c (main): Ignore fesetround failure when failures
20821 of subsequent rounding tests would be ignored.
20824 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20825 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20826 * math/fegetenv.c (__fegetenv): Return 0.
20827 * math/fegetexcept.c (fegetexcept): Return 0.
20828 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20830 * math/feholdexcpt.c (feholdexcept): Return 0.
20831 * math/fesetenv.c (__fesetenv): Return 0.
20832 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20833 argument FE_TONEAREST.
20834 * math/feupdateenv.c (__feupdateenv): Return 0.
20835 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20837 2013-06-18 Roland McGrath <roland@hack.frob.com>
20839 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20840 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20841 ($(objpfx)rtld-%.os rules): Use them.
20843 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20845 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20848 2013-06-17 Roland McGrath <roland@hack.frob.com>
20850 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20851 length of target pattern, then descending length of dependency pattern.
20852 * configure.in (AWK): Require gawk 3.1.2 or newer.
20853 * manual/install.texi (Tools for Compilation): Say that we do.
20854 * configure: Regenerated.
20856 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20857 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20858 * scripts/sysd-rules.awk: ... this new script.
20859 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20860 than a glob-style pattern.
20862 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20864 * math/test-misc.c (main): Do not treat incorrectly rounded
20865 conversions as failure unless ROUNDING_TESTS passes.
20867 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20870 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20871 restore exception state around main square root computation, then
20872 check for inexactness explicitly.
20874 * math/libm-test.inc (fma_test_data): Add another test.
20876 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20878 * manual/threads.texi (Non-POSIX Extensions): New document
20879 node. Document pthread_getattr_default_np and
20880 pthread_setattr_default_np.
20882 * Versions.def (libpthread): Add GLIBC_2.18.
20883 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20892 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20903 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20906 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20908 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20909 H.J. Lu <hjl.tools@gmail.com>
20912 * sysdeps/x86_64/rtld-memset.c: Remove file.
20913 * sysdeps/x86_64/rtld-memset.S: New file.
20915 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20917 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20918 (test_in_one_mode): Take arguments for whether the rounding mode
20919 is supported for each floating-point type.
20920 (do_test): Pass new arguments to test_in_one_mode using
20923 2013-06-13 Roland McGrath <roland@hack.frob.com>
20925 * posix/tst-waitid.c (do_test): Distinguish different instances of
20926 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20927 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20928 before entering the kernel for waitpid.
20930 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20932 * NEWS: Fix note on clock function precision. Text by Roland
20935 2013-06-13 Roland McGrath <roland@hack.frob.com>
20937 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20938 it into place only when and if the sanity check passes.
20940 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20942 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20943 output for whether conversion result is exact. Take argument
20944 indicating whether type is IBM long double.
20945 (round_for_all): Change need_exact field to ibm_ld.
20946 * stdlib/tst-strtod-round.c (struct exactness): New type.
20947 (struct test): Change bool ld_ok field to struct exactness exact.
20948 (TEST): Update all definitions for change to field.
20949 (tests): Regenerate array contents.
20950 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20951 field value. Check for IBM long double here.
20952 (do_test): Update calls to test_in_one_mode.
20954 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20957 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20958 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20960 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20963 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20964 generated by the compiler on loop optimizations.
20965 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20966 general definitions.
20968 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20970 * math/bug-nextafter.c: Include <math-tests.h>.
20971 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20973 * math/bug-nexttoward.c: Include <math-tests.h>.
20974 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20976 * math/test-misc.c: Include <math-tests.h>.
20977 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20980 2013-06-12 Andreas Jaeger <aj@suse.de>
20982 * po/ia.po: Update Interlingua translation from translation
20985 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20987 * include/fenv.h: Include stdbool.h.
20988 (struct rm_ctx): New structure.
20989 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20991 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20992 (SET_RESTORE_ROUNDF): Likewise.
20993 (SET_RESTORE_ROUNDL): Likewise.
20994 (SET_RESTORE_ROUND_NOEX): Likewise.
20995 (SET_RESTORE_ROUND_NOEXF): Likewise.
20996 (SET_RESTORE_ROUND_NOEXL): Likewise.
20997 (SET_RESTORE_ROUND_53BIT): Likewise.
20998 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20999 (libc_feresetround_noexf_ctx): Likewise.
21000 (libc_feresetround_noexl_ctx): Likewise.
21001 (libc_feholdsetround_53bit_ctx): Likewise.
21002 (libc_feresetround_53bit_ctx): Likewise.
21003 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21004 (libc_feholdexcept_setround_sse_ctx): New function.
21005 (libc_fesetenv_sse_ctx): Likewise.
21006 (libc_feupdateenv_sse_ctx): Likewise.
21007 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21008 (libc_feholdexcept_setround_387_ctx): Likewise.
21009 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21010 (libc_feholdsetround_387_prec_ctx): Likewise.
21011 (libc_feholdsetround_387_ctx): Likewise.
21012 (libc_feholdsetround_387_53bit_ctx): Likewise.
21013 (libc_feholdsetround_sse_ctx): Likewise.
21014 (libc_feresetround_sse_ctx): Likewise.
21015 (libc_feresetround_387_ctx): Likewise.
21016 (libc_feupdateenv_387_ctx): Likewise.
21017 (libc_feholdexcept_setroundf_ctx): Define macro.
21018 (libc_fesetenvf_ctx): Likewise.
21019 (libc_feupdateenvf_ctx): Likewise.
21020 (libc_feholdsetroundf_ctx): Likewise.
21021 (libc_feresetroundf_ctx): Likewise.
21022 (libc_feholdexcept_setround_ctx): Likewise.
21023 (libc_fesetenv_ctx): Likewise.
21024 (libc_feupdateenv_ctx): Likewise.
21025 (libc_feholdsetround_ctx): Likewise.
21026 (libc_feresetround_ctx): Likewise.
21027 (libc_feholdexcept_setroundl_ctx): Likewise.
21028 (libc_feupdateenvl_ctx): Likewise.
21029 (libc_feholdsetroundl_ctx): Likewise.
21030 (libc_feresetroundl_ctx): Likewise.
21031 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21032 (libc_feresetround_53bit_ctx): Likewise.
21034 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21036 * locale/iso-639.def: Convert to UTF-8.
21038 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21040 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21041 (EXCEPTION_TESTS_double): Likewise.
21042 (EXCEPTION_TESTS_long_double): Likewise.
21043 (EXCEPTION_TESTS): Likewise.
21044 * math/libm-test.inc (test_exceptions): Only test exceptions if
21045 EXCEPTION_TESTS (FLOAT).
21047 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * benchtests/Makefile (string-bench): Add strcpy_chk and
21051 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21052 * benchtests/bench-stpcpy_chk.c: New file.
21053 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21054 * benchtests/bench-strcpy_chk.c: New file.
21055 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21057 (do_test): Likewise.
21059 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21062 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21063 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21064 with tabs where appropriate.
21065 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21067 [PPC_PLATFORM_PPC440]: Likewise.
21068 [PPC_PLATFORM_PPC464]: Likewise.
21069 [PPC_PLATFORM_PPC476]: Likewise.
21070 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21071 ppc464, and ppc476 platform strings merging from ports/
21074 2013-06-11 Andreas Schwab <schwab@suse.de>
21077 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21078 (from_ucs4_idx): Regenerate.
21079 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21080 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21081 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21082 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21083 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21084 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21085 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21086 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21087 from FROM_LOOP and TO_LOOP specific macros.
21088 (BODY): Handle combining characters.
21089 * iconvdata/BIG5HKSCS.irreversible: Update.
21090 * iconvdata/BIG5HKSCS.precomposed: New file.
21091 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21093 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21095 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21097 * include/sys/time.h: Fix indentation and add copyright header.
21099 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21100 (do_test): Likewise.
21101 * string/test-memchr.c (do_one_test): Likewise.
21102 (do_test): Likewise.
21103 * string/test-memcmp.c (do_one_test): Likewise.
21104 (do_test): Likewise.
21105 * string/test-memcpy.c (do_one_test): Likewise.
21106 (do_test): Likewise.
21107 * string/test-memmem.c (do_one_test): Likewise.
21108 (do_test): Likewise.
21109 (do_random_tests): Likewise.
21110 * string/test-memmove.c (do_one_test): Likewise.
21111 (do_test): Likewise.
21112 * string/test-memset.c (do_one_test): Likewise.
21113 (do_test): Likewise.
21114 * string/test-rawmemchr.c (do_one_test): Likewise.
21115 (do_test): Likewise.
21116 * string/test-strcasecmp.c (do_one_test): Likewise.
21117 (do_test): Likewise.
21118 * string/test-strcasestr.c (do_one_test): Likewise.
21119 (do_test): Likewise.
21120 * string/test-strcat.c (do_one_test): Likewise.
21121 (do_test): Likewise.
21122 * string/test-strchr.c (do_one_test): Likewise.
21123 (do_test): Likewise.
21124 * string/test-strcmp.c (do_one_test): Likewise.
21125 (do_test): Likewise.
21126 * string/test-strcpy.c (do_one_test): Likewise.
21127 (do_test): Likewise.
21128 * string/test-string.h: Likewise.
21129 (test_init): Likewise.
21130 * string/test-strlen.c (do_one_test): Likewise.
21131 (do_test): Likewise.
21132 * string/test-strncasecmp.c (do_one_test): Likewise.
21133 (do_test): Likewise.
21134 * string/test-strncat.c (do_one_test): Likewise.
21135 (do_test): Likewise.
21136 * string/test-strncmp.c (do_one_test): Likewise.
21137 (do_test_limit): Likewise.
21138 (do_test): Likewise.
21139 * string/test-strncpy.c (do_one_test): Likewise.
21140 (do_test): Likewise.
21141 * string/test-strnlen.c (do_one_test): Likewise.
21142 (do_test): Likewise.
21143 * string/test-strpbrk.c (do_one_test): Likewise.
21144 (do_test): Likewise.
21145 * string/test-strrchr.c (do_one_test): Likewise.
21146 (do_test): Likewise.
21147 * string/test-strspn.c (do_one_test): Likewise.
21148 (do_test): Likewise.
21149 * string/test-strstr.c (do_one_test): Likewise.
21150 (do_test): Likewise.
21152 * benchtests/Makefile (string-bench): Add string benchmarks.
21153 * benchtests/bench-bcopy-ifunc.c: New file.
21154 * benchtests/bench-bcopy.c: New file.
21155 * benchtests/bench-bzero-ifunc.c: New file.
21156 * benchtests/bench-bzero.c: New file.
21157 * benchtests/bench-memccpy-ifunc.c: New file.
21158 * benchtests/bench-memccpy.c: New file.
21159 * benchtests/bench-memchr-ifunc.c: New file.
21160 * benchtests/bench-memchr.c: New file.
21161 * benchtests/bench-memcmp-ifunc.c: New file.
21162 * benchtests/bench-memcmp.c: New file.
21163 * benchtests/bench-memmem-ifunc.c: New file.
21164 * benchtests/bench-memmem.c: New file.
21165 * benchtests/bench-memmove-ifunc.c: New file.
21166 * benchtests/bench-memmove.c: New file.
21167 * benchtests/bench-mempcpy-ifunc.c: New file.
21168 * benchtests/bench-mempcpy.c: New file.
21169 * benchtests/bench-memset-ifunc.c: New file.
21170 * benchtests/bench-memset.c: New file.
21171 * benchtests/bench-rawmemchr-ifunc.c: New file.
21172 * benchtests/bench-rawmemchr.c: New file.
21173 * benchtests/bench-stpcpy-ifunc.c: New file.
21174 * benchtests/bench-stpcpy.c: New file.
21175 * benchtests/bench-stpncpy-ifunc.c: New file.
21176 * benchtests/bench-stpncpy.c: New file.
21177 * benchtests/bench-strcasecmp-ifunc.c: New file.
21178 * benchtests/bench-strcasecmp.c: New file.
21179 * benchtests/bench-strcasestr-ifunc.c: New file.
21180 * benchtests/bench-strcasestr.c: New file.
21181 * benchtests/bench-strcat-ifunc.c: New file.
21182 * benchtests/bench-strcat.c: New file.
21183 * benchtests/bench-strchr-ifunc.c: New file.
21184 * benchtests/bench-strchr.c: New file.
21185 * benchtests/bench-strchrnul-ifunc.c: New file.
21186 * benchtests/bench-strchrnul.c: New file.
21187 * benchtests/bench-strcmp-ifunc.c: New file.
21188 * benchtests/bench-strcmp.c: New file.
21189 * benchtests/bench-strcpy-ifunc.c: New file.
21190 * benchtests/bench-strcpy.c: New file.
21191 * benchtests/bench-strcspn-ifunc.c: New file.
21192 * benchtests/bench-strcspn.c: New file.
21193 * benchtests/bench-strlen-ifunc.c: New file.
21194 * benchtests/bench-strlen.c: New file.
21195 * benchtests/bench-strncasecmp-ifunc.c: New file.
21196 * benchtests/bench-strncasecmp.c: New file.
21197 * benchtests/bench-strncat-ifunc.c: New file.
21198 * benchtests/bench-strncat.c: New file.
21199 * benchtests/bench-strncmp-ifunc.c: New file.
21200 * benchtests/bench-strncmp.c: New file.
21201 * benchtests/bench-strncpy-ifunc.c: New file.
21202 * benchtests/bench-strncpy.c: New file.
21203 * benchtests/bench-strnlen-ifunc.c: New file.
21204 * benchtests/bench-strnlen.c: New file.
21205 * benchtests/bench-strpbrk-ifunc.c: New file.
21206 * benchtests/bench-strpbrk.c: New file.
21207 * benchtests/bench-strrchr-ifunc.c: New file.
21208 * benchtests/bench-strrchr.c: New file.
21209 * benchtests/bench-strspn-ifunc.c: New file.
21210 * benchtests/bench-strspn.c: New file.
21211 * benchtests/bench-strstr-ifunc.c: New file.
21212 * benchtests/bench-strstr.c: New file.
21214 * benchtests/Makefile: Disable parallel execution of targets.
21215 (string-bench): Add memcpy.
21216 (benchset): New variable to store a list of benchmark sets.
21217 (bench-func): Renamed from bench.
21218 (bench-set): New target.
21219 (bench): Depend on bench-func and bench-set.
21220 * benchtests/README: Add section on benchmark sets.
21221 * benchtests/bench-memcpy-ifunc.c: New file.
21222 * benchtests/bench-memcpy.c: New file.
21223 * benchtests/bench-string.h: New file.
21225 2013-06-11 Andreas Schwab <schwab@suse.de>
21228 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21229 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21230 values in the triple.
21231 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21232 terminator in the group key.
21234 2013-06-11 Andreas Jaeger <aj@suse.de>
21236 * po/zh_TW.po: Update Chinese (traditional) translation from
21237 translation project.
21239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21241 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21242 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21243 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21245 (clock_getcpuclockid): Likewise.
21246 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21247 Add weak_alias and libc_hidden_def.
21248 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21249 * rt/clock_gettime.c (clock_gettime): Rename to
21250 __clock_gettime. Add weak_alias and libc_hidden_def.
21251 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21252 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21253 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21254 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21255 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21257 * rt/clock_settime.c (clock_settime): Rename to
21258 __clock_settime. Add weak_alias and libc_hidden_def.
21259 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21261 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21263 * mach/err_boot.sub: Remove trailing whitespace.
21264 * mach/err_ipc.sub: Likewise.
21265 * mach/err_mach.sub: Likewise.
21267 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21268 (ROUNDING_TESTS_double): Likewise.
21269 (ROUNDING_TESTS_long_double): Likewise.
21270 (ROUNDING_TESTS): Likewise.
21271 * math/libm-test.inc: Include <math-tests.h>.
21272 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21273 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21274 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21275 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21277 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21279 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21282 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21284 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21285 otherwise empty TRANS lines.
21286 * sysdeps/gnu/errlist.c: Regenerated.
21288 * catgets/gencat.c (error_print): Use (void) in function
21290 * crypt/crypt_util.c (__init_des): Likewise.
21291 * crypt/speeds.c (Stop): Likewise.
21293 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21294 * inet/ruserpass.c (token): Likewise.
21295 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21296 * intl/localealias.c (extend_alias_table): Likewise.
21297 * intl/plural-exp.c (init_germanic_plural): Likewise.
21298 * libio/fcloseall.c (__fcloseall): Likewise.
21299 * libio/genops.c (_IO_flush_all): Likewise.
21300 (_IO_flush_all_linebuffered): Likewise.
21301 (_IO_cleanup): Likewise.
21302 (_IO_iter_begin): Likewise.
21303 (_IO_iter_end): Likewise.
21304 (_IO_list_lock): Likewise.
21305 (_IO_list_unlock): Likewise.
21306 (_IO_list_resetlock): Likewise.
21307 * libio/getchar.c (getchar): Likewise.
21308 * libio/getchar_u.c (getchar_unlocked): Likewise.
21309 * libio/getwchar.c (getwchar): Likewise.
21310 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21311 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21312 * login/getpt.c (__getpt): Likewise.
21313 * login/tst-utmp.c (main): Likewise.
21314 * malloc/hooks.c (__malloc_check_init): Likewise.
21315 * malloc/malloc.c (__malloc_stats): Likewise.
21316 * malloc/mtrace.c (tr_break): Likewise.
21317 (mtrace): Likewise.
21318 (muntrace): Likewise.
21319 * misc/fstab.c (endfsent): Likewise.
21320 * misc/getclktck.c (__getclktck): Likewise.
21321 * misc/getdtsz.c (__getdtablesize): Likewise.
21322 * misc/gethostid.c (gethostid): Likewise.
21323 * misc/getpagesize.c (__getpagesize): Likewise.
21324 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21325 (__get_nprocs): Likewise.
21326 (__get_phys_pages): Likewise.
21327 (__get_avphys_pages): Likewise.
21328 * misc/getttyent.c (getttyent): Likewise.
21329 (setttyent): Likewise.
21330 (endttyent): Likewise.
21331 * misc/getusershell.c (getusershell): Likewise.
21332 (endusershell): Likewise.
21333 (setusershell): Likewise.
21334 (initshells): Likewise.
21335 * misc/hsearch.c (__hdestroy): Likewise.
21336 * misc/sync.c (sync): Likewise.
21337 * misc/syslog.c (closelog_internal): Likewise.
21338 (closelog): Likewise.
21339 * misc/ttyslot.c (ttyslot): Likewise.
21340 * misc/vhangup.c (vhangup): Likewise.
21341 * posix/fork.c (__fork): Likewise.
21342 * posix/getegid.c (__getegid): Likewise.
21343 * posix/geteuid.c (__geteuid): Likewise.
21344 * posix/getgid.c (__getgid): Likewise.
21345 * posix/getpid.c (__getpid): Likewise.
21346 * posix/getppid.c (__getppid): Likewise.
21347 * posix/getuid.c (__getuid): Likewise.
21348 * posix/pause.c (pause): Likewise.
21349 * posix/setpgrp.c (setpgrp): Likewise.
21350 * posix/setsid.c (__setsid): Likewise.
21351 * posix/test-vfork.c (noop): Likewise.
21352 * resolv/gethnamaddr.c (_endhtent): Likewise.
21353 (_gethtent): Likewise.
21354 (ht_endhostent): Likewise.
21355 (gethostent): Likewise.
21356 (dns_service): Likewise.
21357 * stdlib/drand48.c (drand48): Likewise.
21358 * stdlib/lrand48.c (lrand48): Likewise.
21359 * stdlib/mrand48.c (mrand48): Likewise.
21360 * stdlib/rand.c (rand): Likewise.
21361 * stdlib/random.c (__random): Likewise.
21362 * stdlib/setenv.c (clearenv): Likewise.
21363 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21364 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21365 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21366 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21367 (__get_nprocs): Likewise.
21368 (__get_phys_pages): Likewise.
21369 (__get_avphys_pages): Likewise.
21370 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21371 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21372 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21373 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21374 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21375 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21376 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21377 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21378 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21379 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21380 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21381 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21382 * sysdeps/posix/clock.c (clock): Likewise.
21383 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21384 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21385 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21386 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21387 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21389 (__get_nprocs_conf): Likewise.
21390 (__get_phys_pages): Likewise.
21391 (__get_avphys_pages): Likewise.
21392 * time/clock.c (clock): Likewise.
21393 * time/tzset.c (__tzname_max): Likewise.
21395 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21397 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21398 (__bswap_32): Do not use "register".
21399 * crypt/crypt.c (_ufc_doit_r): Likewise.
21400 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21401 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21402 * gmon/gmon.c (__monstartup): Likewise.
21403 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21404 * hurd/hurdmalloc.c (more_memory): Likewise.
21405 (malloc): Likewise.
21407 (realloc): Likewise.
21408 (malloc_fork_prepare): Likewise.
21409 (malloc_fork_parent): Likewise.
21410 (malloc_fork_child): Likewise.
21411 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21412 (_svcauth_des): Likewise.
21413 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21414 * inet/inet_net.c (inet_network): Likewise.
21415 * inet/inet_netof.c (inet_netof): Likewise.
21416 * inet/rcmd.c (__validuser2_sa): Likewise.
21417 * io/fts.c (fts_open): Likewise.
21418 (fts_load): Likewise.
21419 (fts_close): Likewise.
21420 (fts_read): Likewise.
21421 (fts_children): Likewise.
21422 (fts_build): Likewise.
21423 (fts_stat): Likewise.
21424 (fts_sort): Likewise.
21425 (fts_alloc): Likewise.
21426 (fts_lfree): Likewise.
21427 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21428 (_IO_file_xsgetn): Likewise.
21429 (_IO_file_xsgetn_mmap): Likewise.
21430 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21431 (_IO_cookie_write): Likewise.
21432 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21433 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21434 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21435 * malloc/obstack.c (_obstack_begin): Likewise.
21436 (_obstack_begin_1): Likewise.
21437 (_obstack_newchunk): Likewise.
21438 (_obstack_allocated_p): Likewise.
21439 (obstack_free): Likewise.
21440 (_obstack_memory_used): Likewise.
21441 * misc/getttyent.c (getttynam): Likewise.
21442 (getttyent): Likewise.
21445 * misc/getusershell.c (initshells): Likewise.
21446 * misc/syslog.c (__vsyslog_chk): Likewise.
21447 * misc/ttyslot.c (ttyslot): Likewise.
21448 * nis/nis_hash.c (__nis_hash): Likewise.
21449 * posix/fnmatch_loop.c (FCT): Likewise.
21450 * posix/getconf.c (print_all): Likewise.
21452 * posix/getopt.c (exchange): Likewise.
21453 * posix/glob.c (globfree): Likewise.
21454 (prefix_array): Likewise.
21455 (__glob_pattern_type): Likewise.
21456 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21457 (NS_GET32): Likewise.
21458 (NS_PUT16): Likewise.
21459 (NS_PUT32): Likewise.
21460 * resolv/gethnamaddr.c (getanswer): Likewise.
21461 (gethostbyname2): Likewise.
21462 (gethostbyaddr): Likewise.
21463 (_gethtent): Likewise.
21464 (_gethtbyname2): Likewise.
21465 (_gethtbyaddr): Likewise.
21466 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21467 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21468 * resolv/res_init.c (__res_vinit): Likewise.
21469 (net_mask): Likewise.
21470 * resolv/res_mkquery.c (outchar): Likewise.
21472 * stdio-common/printf_fp.c (outchar): Likewise.
21474 * stdio-common/printf_fphex.c (outchar): Likewise.
21476 * stdio-common/printf_size.c (outchar): Likewise.
21478 * stdio-common/test_rdwr.c (main): Likewise.
21479 * stdio-common/tfformat.c (matches): Likewise.
21480 * stdio-common/vfprintf.c (outchar): Likewise.
21481 (printf_unknown): Likewise.
21482 (buffered_vfprintf): Likewise.
21483 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21484 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21485 (ReadFile): Likewise.
21486 * stdlib/qsort.c (SWAP): Likewise.
21487 (_quicksort): Likewise.
21488 * stdlib/setenv.c (__add_to_environ): Likewise.
21489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21490 * stdlib/strtol_l.c (__strtol_l): Likewise.
21491 * stdlib/tst-strtod.c (main): Likewise.
21492 * stdlib/tst-strtol.c (main): Likewise.
21493 * stdlib/tst-strtoll.c (main): Likewise.
21494 * string/bits/string2.h (__strcmp_cc): Likewise.
21495 (__strcmp_cg): Likewise.
21496 (__strcspn_c1): Likewise.
21497 (__strcspn_c2): Likewise.
21498 (__strcspn_c3): Likewise.
21499 (__strspn_c1): Likewise.
21500 (__strspn_c2): Likewise.
21501 (__strspn_c3): Likewise.
21502 (__strsep_1c): Likewise.
21503 (__strsep_2c): Likewise.
21504 (__strsep_3c): Likewise.
21505 * string/memccpy.c (__memccpy): Likewise.
21506 * string/stpcpy.c (__stpcpy): Likewise.
21507 * string/strcmp.c (strcmp): Likewise.
21508 * string/strrchr.c (strrchr): Likewise.
21509 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21511 * sysdeps/mach/hurd/getcwd.c
21512 (_hurd_canonicalize_directory_name_internal): Likewise.
21513 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21514 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21515 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21516 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21517 Likewise, in both definitions.
21518 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21520 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21521 64] (__bswap_64): Likewise.
21522 * time/test_time.c (main): Likewise.
21523 * time/tzfile.c (__tzfile_read): Likewise.
21524 (__tzfile_compute): Likewise.
21525 * time/tzset.c (__tzset_parse_tz): Likewise.
21526 (tzset_internal): Likewise.
21527 (compute_change): Likewise.
21528 * wcsmbs/wcscat.c (__wcscat): Likewise.
21529 * wcsmbs/wcschr.c (wcschr): Likewise.
21530 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21531 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21532 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21533 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21534 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21535 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21536 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21537 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21538 * wcsmbs/wmemset.c (wmemset): Likewise.
21540 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21542 * scripts/config.guess: Update to version 2013-05-16.
21543 * scripts/config.sub: Update to version 2013-04-24.
21544 * scripts/install-sh: Update to version 2011-11-20.07.
21545 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21546 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21548 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21550 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21551 * elf/sln.c: Likewise.
21552 * hurd/hurd/ioctl.h: Likewise.
21553 * hurd/hurdmalloc.c: Likewise.
21554 * hurd/xattr.c: Likewise.
21555 * include/shlib-compat.h: Likewise.
21556 * inet/ruserpass.c: Likewise.
21557 * libio/iofgets_u.c: Likewise.
21558 * libio/iofgetws_u.c: Likewise.
21559 * locale/programs/ld-identification.c: Likewise.
21560 * locale/programs/ld-time.c: Likewise.
21561 * mach/msg-destroy.c: Likewise.
21562 * nss/nss_files/files-netgrp.c: Likewise.
21563 * resolv/res_data.c: Likewise.
21564 * soft-fp/op-1.h: Likewise.
21565 * soft-fp/op-2.h: Likewise.
21566 * soft-fp/op-4.h: Likewise.
21567 * soft-fp/op-common.h: Likewise.
21568 * stdio-common/printf_fphex.c: Likewise.
21569 * stdlib/strtod_l.c: Likewise.
21570 * sunrpc/rpc/clnt.h: Likewise.
21571 * sysdeps/generic/framestate.c: Likewise.
21572 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21573 * sysdeps/i386/bsd-setjmp.S: Likewise.
21574 * sysdeps/i386/__longjmp.S: Likewise.
21575 * sysdeps/i386/setjmp.S: Likewise.
21576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21577 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21594 * sysdeps/ieee754/support.c: Likewise.
21595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21596 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21597 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21598 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21599 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21600 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21601 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21602 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21603 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21604 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21605 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21606 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21608 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21609 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21610 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21611 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21614 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21616 * posix/transbug.c: Remove executable mode.
21618 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21620 * crypt/speeds.c: Remove trailing whitespace.
21621 * dlfcn/default.c: Likewise.
21622 * elf/ifuncdep2.c: Likewise.
21623 * elf/ifuncmain1.c: Likewise.
21624 * elf/ifuncmain1vis.c: Likewise.
21625 * elf/testobj.h: Likewise.
21626 * elf/tst-stackguard1.c: Likewise.
21627 * gmon/sys/gmon.h: Likewise.
21628 * hurd/hurdmsg.c: Likewise.
21629 * hurd/new-fd.c: Likewise.
21630 * hurd/ports-get.c: Likewise.
21631 * iconvdata/ibm1008_420.c: Likewise.
21632 * inet/tst-getni1.c: Likewise.
21633 * inet/tst-getni2.c: Likewise.
21634 * libio/ioungetc.c: Likewise.
21635 * libio/wfiledoalloc.c: Likewise.
21636 * manual/libm-err-tab.pl: Likewise.
21637 * math/w_dremf.c: Likewise.
21638 * misc/ftruncate.c: Likewise.
21639 * posix/bug-glob2.c: Likewise.
21640 * posix/tst-pcre.c: Likewise.
21641 * posix/wait4.c: Likewise.
21642 * resolv/README: Likewise.
21643 * resolv/res_debug.h: Likewise.
21644 * resolv/tst-inet_ntop.c: Likewise.
21645 * setjmp/bug269-setjmp.c: Likewise.
21646 * soft-fp/extended.h: Likewise.
21647 * soft-fp/op-1.h: Likewise.
21648 * soft-fp/op-2.h: Likewise.
21649 * soft-fp/op-4.h: Likewise.
21650 * soft-fp/op-8.h: Likewise.
21651 * soft-fp/testit.c: Likewise.
21652 * stdio-common/bug16.c: Likewise.
21653 * stdlib/random.c: Likewise.
21654 * sunrpc/rpcsvc/rquota.x: Likewise.
21655 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21662 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21684 * sysdeps/ieee754/s_lib_version.c: Likewise.
21685 * sysdeps/mach/hurd/check_fds.c: Likewise.
21686 * sysdeps/mach/hurd/getsockname.c: Likewise.
21687 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21688 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21689 * sysdeps/powerpc/bits/link.h: Likewise.
21690 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21691 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21692 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21693 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21694 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21695 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21696 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21697 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21698 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21699 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21700 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21701 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21703 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21704 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21705 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21709 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21711 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21714 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21722 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21723 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21724 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21725 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21726 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21727 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21728 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21729 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21730 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21731 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21732 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21733 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21734 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21735 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21736 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21737 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21738 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21739 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21744 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21746 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21748 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21750 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21751 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21752 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21753 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21754 * sysdeps/powerpc/sysdep.h: Likewise.
21755 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21756 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21757 * sysdeps/sh/dl-trampoline.S: Likewise.
21758 * sysdeps/sh/memset.S: Likewise.
21759 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21760 * sysdeps/sh/strlen.S: Likewise.
21761 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21762 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21763 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21764 * sysdeps/sparc/sparc32/rem.S: Likewise.
21765 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21766 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21767 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21768 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21769 * sysdeps/sparc/sparc32/urem.S: Likewise.
21770 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21771 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21772 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21773 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21775 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21776 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21777 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21778 * sysdeps/unix/bsd/times.c: Likewise.
21779 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21780 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21784 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21785 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21786 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21787 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21788 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21789 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21790 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21791 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21792 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21793 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21794 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21795 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21796 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21797 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21798 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21799 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21800 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21801 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21802 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21803 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21804 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21805 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21807 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21808 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21809 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21810 * sysdeps/x86_64/strcspn.S: Likewise.
21812 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21814 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21815 generated file. Regenerate properly from gen-translit.pl.
21816 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21817 locale/C-translit.h.
21819 2013-06-05 Andreas Schwab <schwab@suse.de>
21822 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21823 week as 6 instead of -1.
21824 * time/tst-strptime.c (day_tests): Add test case.
21826 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21828 * sysdeps/generic/math_private.h
21829 (libc_feholdexcept_setround_53bit): Replace with
21830 libc_feholdsetround_53bit.
21831 (libc_feupdateenv_53bit): Replace with
21832 libc_feresetround_53bit.
21833 (SET_RESTORE_ROUND_53BIT): Adjust.
21835 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21837 * string/test-strchrnul.c: Add copyright header.
21839 * posix/tst-getaddrinfo4.c: Increase test timeout.
21841 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21844 * math/libm-test.inc (MAX_EXP): Remove
21846 (ulp): Use MIN_EXP - MANT_DIG.
21847 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21849 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21851 * po/be.po: Revert last change.
21852 * po/zh_CN.po: Likewise.
21853 * po/header.pot: Likewise.
21855 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21857 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21858 link-libc-deps to empty as target-specific variable.
21859 * Makerules (link-libc-args): New variable.
21860 (libc-for-link): Likewise.
21861 (link-libc-deps): Likewise.
21862 (lib%.so): Depend on $(link-libc-deps). Link with
21864 (build-module): Link with $(link-libc-args).
21865 (build-module-asneeded): Likewise.
21866 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21868 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21869 target-specific variable.
21870 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21871 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21872 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21874 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21876 ($(objpfx)libpcprofile.so): Likewise.
21877 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21879 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21880 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21881 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21883 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21884 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21885 * login/Makefile ($(objpfx)libutil.so): Likewise.
21886 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21887 * math/Makefile ($(objpfx)libm.so): Likewise.
21888 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21889 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21890 variable instead of depending directly on libc.
21891 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21892 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21894 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21896 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21897 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21898 ($(objpfx)libanl.so): Likewise.
21899 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21901 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21903 * sysdeps/i386/fpu/Makefile: Remove file.
21904 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21905 ($(objpfx)libm.so): Remove dependency on ld.so.
21907 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21910 * nis/yp_xdr.c (XDRMAXNAME): Define.
21911 (XDRMAXRECORD): Define.
21912 (xdr_domainname): Use XDRMAXNAME.
21913 (xdr_mapname): Likewise.
21914 (xdr_peername): Likewise.
21915 (xdr_keydat): Use XDRMAXRECORD.
21916 (xdr_valdat): Likewise.
21918 2013-05-30 Jeff Law <law@redhat.com>
21921 * manual/errno.texi (ESTALE): Update to account for more than
21922 just NFS file systems.
21923 * sysdeps/gnu/errlist.c: Regenerated.
21925 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21928 * elf/Makefile (tests): Add tst-null-argv.
21929 (modules-names): Add tst-null-argv-lib.
21930 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21931 (tst-null-argv-ENV): Set environment for tst-null-argv.
21932 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21933 (RTLD_PROGNAME): New macro.
21934 * elf/tst-null-argv.c: New test case.
21935 * elf/tst-null-argv-lib.c: Library for test case.
21936 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21937 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21938 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21939 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21940 * elf/dl-init.c (call_init): Likewise.
21941 (_dl_init): Likewise.
21942 * elf/dl-load.c (print_search_path): Likewise.
21943 (_dl_map_object): Likewise.
21944 * elf/dl-lookup.c (do_lookup_x): Likewise.
21945 (add_dependency): Likewise.
21946 (_dl_lookup_symbol_x): Likewise.
21947 (_dl_debug_bindings): Likewise.
21948 * elf/dl-open.c (_dl_show_scope): Likewise.
21949 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21950 * elf/dl-version.c (match_symbol): Likewise.
21951 (_dl_check_map_versions): Likewise.
21952 * elf/rtld.c (dl_main): Likewise.
21953 (print_unresolved): Use RTLD_PROGNAME.
21954 (print_missing_version): Likewise.
21955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21956 (elf_machine_rela): Likewise.
21957 * sysdeps/powerpc/powerpc32/dl-machine.c
21958 (__process_machine_rela): Likewise.
21959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21961 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21963 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21965 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21972 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21974 * po/be.po: Add descriptive title.
21975 * po/zh_CN.po: Likewise.
21976 * po/header.pot: Likewise.
21978 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21980 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21982 (enlarge_archive): Likewise.
21984 2013-05-28 Ben North <ben@redfrontdoor.org>
21986 * manual/arith.texi (frexp): It is the magnitude of the return
21987 value which lies in [0.5, 1), not the return value itself.
21989 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21993 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21995 * stdio-common/bug26.c (main): Correct fscanf template.
21997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21998 declare _dl_skip_args.
22000 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22003 * manual/platform.texi: Add missing @end deftypefun.
22005 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22008 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22009 bit of mantissa of 2^16382.
22010 * math/libm-test.inc (hypot_test_data): Add more tests.
22012 * math/libm-test.inc: Add drem and pow10 to list of tested
22014 (pow10_test): New function.
22015 (drem_test): Likewise.
22016 (drem_test_tonearest): Likewise.
22017 (drem_test_towardzero): Likewise.
22018 (drem_test_downward): Likewise.
22019 (drem_test_upward): Likewise.
22020 (main): Call the new functions.
22022 * math/libm-test.inc (finite_test_data): Remove.
22023 (finite_test): Run tests from isfinite_test_data.
22024 (gamma_test_data): Remove.
22025 (gamma_test): Run tests from lgamma_test_data.
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22029 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22031 * manual/platform.texi: Add PowerPC PPR function set documentation.
22032 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22035 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22037 * math/libm-test.inc (MAX_EXP): Define.
22039 (ulp): New function.
22040 (check_float_internal): Use ULPDIFF.
22041 (cpow_test): Disable failing test.
22042 (check_ulp): Test ulp() implemetnation.
22043 (main): Call check_ulp before starting tests.
22045 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22047 * math/gen-libm-test.pl (generate_testfile): Do not handle
22048 START_DATA and END_DATA.
22049 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22051 (acos_tonearest_test_data): Likewise.
22052 (acos_towardzero_test_data): Likewise.
22053 (acos_downward_test_data): Likewise.
22054 (acos_upward_test_data): Likewise.
22055 (acosh_test_data): Likewise.
22056 (asin_test_data): Likewise.
22057 (asin_tonearest_test_data): Likewise.
22058 (asin_towardzero_test_data): Likewise.
22059 (asin_downward_test_data): Likewise.
22060 (asin_upward_test_data): Likewise.
22061 (asinh_test_data): Likewise.
22062 (atan_test_data): Likewise.
22063 (atanh_test_data): Likewise.
22064 (atan2_test_data): Likewise.
22065 (cabs_test_data): Likewise.
22066 (cacos_test_data): Likewise.
22067 (cacosh_test_data): Likewise.
22068 (carg_test_data): Likewise.
22069 (casin_test_data): Likewise.
22070 (casinh_test_data): Likewise.
22071 (catan_test_data): Likewise.
22072 (catanh_test_data): Likewise.
22073 (cbrt_test_data): Likewise.
22074 (ccos_test_data): Likewise.
22075 (ccosh_test_data): Likewise.
22076 (ceil_test_data): Likewise.
22077 (cexp_test_data): Likewise.
22078 (cimag_test_data): Likewise.
22079 (clog_test_data): Likewise.
22080 (clog10_test_data): Likewise.
22081 (conj_test_data): Likewise.
22082 (copysign_test_data): Likewise.
22083 (cos_test_data): Likewise.
22084 (cos_tonearest_test_data): Likewise.
22085 (cos_towardzero_test_data): Likewise.
22086 (cos_downward_test_data): Likewise.
22087 (cos_upward_test_data): Likewise.
22088 (cosh_test_data): Likewise.
22089 (cosh_tonearest_test_data): Likewise.
22090 (cosh_towardzero_test_data): Likewise.
22091 (cosh_downward_test_data): Likewise.
22092 (cosh_upward_test_data): Likewise.
22093 (cpow_test_data): Likewise.
22094 (cproj_test_data): Likewise.
22095 (creal_test_data): Likewise.
22096 (csin_test_data): Likewise.
22097 (csinh_test_data): Likewise.
22098 (csqrt_test_data): Likewise.
22099 (ctan_test_data): Likewise.
22100 (ctan_tonearest_test_data): Likewise.
22101 (ctan_towardzero_test_data): Likewise.
22102 (ctan_downward_test_data): Likewise.
22103 (ctan_upward_test_data): Likewise.
22104 (ctanh_test_data): Likewise.
22105 (ctanh_tonearest_test_data): Likewise.
22106 (ctanh_towardzero_test_data): Likewise.
22107 (ctanh_downward_test_data): Likewise.
22108 (ctanh_upward_test_data): Likewise.
22109 (erf_test_data): Likewise.
22110 (erfc_test_data): Likewise.
22111 (exp_test_data): Likewise.
22112 (exp_tonearest_test_data): Likewise.
22113 (exp_towardzero_test_data): Likewise.
22114 (exp_downward_test_data): Likewise.
22115 (exp_upward_test_data): Likewise.
22116 (exp10_test_data): Likewise.
22117 (exp2_test_data): Likewise.
22118 (expm1_test_data): Likewise.
22119 (fabs_test_data): Likewise.
22120 (fdim_test_data): Likewise.
22121 (finite_test_data): Likewise.
22122 (floor_test_data): Likewise.
22123 (fma_test_data): Likewise.
22124 (fma_towardzero_test_data): Likewise.
22125 (fma_downward_test_data): Likewise.
22126 (fma_upward_test_data): Likewise.
22127 (fmax_test_data): Likewise.
22128 (fmin_test_data): Likewise.
22129 (fmod_test_data): Likewise.
22130 (fpclassify_test_data): Likewise.
22131 (frexp_test_data): Likewise.
22132 (gamma_test_data): Likewise.
22133 (hypot_test_data): Likewise.
22134 (ilogb_test_data): Likewise.
22135 (isfinite_test_data): Likewise.
22136 (isgreater_test_data): Likewise.
22137 (isgreaterequal_test_data): Likewise.
22138 (isinf_test_data): Likewise.
22139 (isless_test_data): Likewise.
22140 (islessequal_test_data): Likewise.
22141 (islessgreater_test_data): Likewise.
22142 (isnan_test_data): Likewise.
22143 (isnormal_test_data): Likewise.
22144 (issignaling_test_data): Likewise.
22145 (isunordered_test_data): Likewise.
22146 (j0_test_data): Likewise.
22147 (j1_test_data): Likewise.
22148 (jn_test_data): Likewise.
22149 (ldexp_test_data): Likewise.
22150 (lgamma_test_data): Likewise.
22151 (lrint_test_data): Likewise.
22152 (lrint_tonearest_test_data): Likewise.
22153 (lrint_towardzero_test_data): Likewise.
22154 (lrint_downward_test_data): Likewise.
22155 (lrint_upward_test_data): Likewise.
22156 (llrint_test_data): Likewise.
22157 (llrint_tonearest_test_data): Likewise.
22158 (llrint_towardzero_test_data): Likewise.
22159 (llrint_downward_test_data): Likewise.
22160 (llrint_upward_test_data): Likewise.
22161 (log_test_data): Likewise.
22162 (log10_test_data): Likewise.
22163 (log1p_test_data): Likewise.
22164 (log2_test_data): Likewise.
22165 (logb_test_data): Likewise.
22166 (logb_downward_test_data): Likewise.
22167 (lround_test_data): Likewise.
22168 (llround_test_data): Likewise.
22169 (modf_test_data): Likewise.
22170 (nearbyint_test_data): Likewise.
22171 (nextafter_test_data): Likewise.
22172 (nexttoward_test_data): Likewise.
22173 (pow_test_data): Likewise.
22174 (pow_tonearest_test_data): Likewise.
22175 (pow_towardzero_test_data): Likewise.
22176 (pow_downward_test_data): Likewise.
22177 (pow_upward_test_data): Likewise.
22178 (remainder_test_data): Likewise.
22179 (remainder_tonearest_test_data): Likewise.
22180 (remainder_towardzero_test_data): Likewise.
22181 (remainder_downward_test_data): Likewise.
22182 (remainder_upward_test_data): Likewise.
22183 (remquo_test_data): Likewise.
22184 (rint_test_data): Likewise.
22185 (rint_tonearest_test_data): Likewise.
22186 (rint_towardzero_test_data): Likewise.
22187 (rint_downward_test_data): Likewise.
22188 (rint_upward_test_data): Likewise.
22189 (round_test_data): Likewise.
22190 (scalb_test_data): Likewise.
22191 (scalbn_test_data): Likewise.
22192 (scalbln_test_data): Likewise.
22193 (signbit_test_data): Likewise.
22194 (sin_test_data): Likewise.
22195 (sin_tonearest_test_data): Likewise.
22196 (sin_towardzero_test_data): Likewise.
22197 (sin_downward_test_data): Likewise.
22198 (sin_upward_test_data): Likewise.
22199 (sincos_test_data): Likewise.
22200 (sinh_test_data): Likewise.
22201 (sinh_tonearest_test_data): Likewise.
22202 (sinh_towardzero_test_data): Likewise.
22203 (sinh_downward_test_data): Likewise.
22204 (sinh_upward_test_data): Likewise.
22205 (sqrt_test_data): Likewise.
22206 (tan_test_data): Likewise.
22207 (tan_tonearest_test_data): Likewise.
22208 (tan_towardzero_test_data): Likewise.
22209 (tan_downward_test_data): Likewise.
22210 (tan_upward_test_data): Likewise.
22211 (tanh_test_data): Likewise.
22212 (tgamma_test_data): Likewise.
22213 (trunc_test_data): Likewise.
22214 (y0_test_data): Likewise.
22215 (y1_test_data): Likewise.
22216 (yn_test_data): Likewise.
22217 (significand_test_data): Likewise.
22219 * math/gen-libm-test.pl (@functions): Remove variable.
22220 (generate_testfile): Don't handle START and END lines.
22221 * math/libm-test.inc (START): New macro.
22223 (END_COMPLEX): Likewise.
22224 (acos_test): Use END macro without arguments.
22225 (acos_test_tonearest): Likewise.
22226 (acos_test_towardzero): Likewise.
22227 (acos_test_downward): Likewise.
22228 (acos_test_upward): Likewise.
22229 (acosh_test): Likewise.
22230 (asin_test): Likewise.
22231 (asin_test_tonearest): Likewise.
22232 (asin_test_towardzero): Likewise.
22233 (asin_test_downward): Likewise.
22234 (asin_test_upward): Likewise.
22235 (asinh_test): Likewise.
22236 (atan_test): Likewise.
22237 (atanh_test): Likewise.
22238 (atan2_test): Likewise.
22239 (cabs_test): Likewise.
22240 (cacos_test): Use END_COMPLEX macro without arguments.
22241 (cacosh_test): Likewise.
22242 (carg_test): Use END macro without arguments.
22243 (casin_test): Use END_COMPLEX macro without arguments.
22244 (casinh_test): Likewise.
22245 (catan_test): Likewise.
22246 (catanh_test): Likewise.
22247 (cbrt_test): Use END macro without arguments.
22248 (ccos_test): Use END_COMPLEX macro without arguments.
22249 (ccosh_test): Likewise.
22250 (ceil_test): Use END macro without arguments.
22251 (cexp_test): Use END_COMPLEX macro without arguments.
22252 (cimag_test): Use END macro without arguments.
22253 (clog_test): Use END_COMPLEX macro without arguments.
22254 (clog10_test): Likewise.
22255 (conj_test): Likewise.
22256 (copysign_test): Use END macro without arguments.
22257 (cos_test): Likewise.
22258 (cos_test_tonearest): Likewise.
22259 (cos_test_towardzero): Likewise.
22260 (cos_test_downward): Likewise.
22261 (cos_test_upward): Likewise.
22262 (cosh_test): Likewise.
22263 (cosh_test_tonearest): Likewise.
22264 (cosh_test_towardzero): Likewise.
22265 (cosh_test_downward): Likewise.
22266 (cosh_test_upward): Likewise.
22267 (cpow_test): Use END_COMPLEX macro without arguments.
22268 (cproj_test): Likewise.
22269 (creal_test): Use END macro without arguments.
22270 (csin_test): Use END_COMPLEX macro without arguments.
22271 (csinh_test): Likewise.
22272 (csqrt_test): Likewise.
22273 (ctan_test): Likewise.
22274 (ctan_test_tonearest): Likewise.
22275 (ctan_test_towardzero): Likewise.
22276 (ctan_test_downward): Likewise.
22277 (ctan_test_upward): Likewise.
22278 (ctanh_test): Likewise.
22279 (ctanh_test_tonearest): Likewise.
22280 (ctanh_test_towardzero): Likewise.
22281 (ctanh_test_downward): Likewise.
22282 (ctanh_test_upward): Likewise.
22283 (erf_test): Use END macro without arguments.
22284 (erfc_test): Likewise.
22285 (exp_test): Likewise.
22286 (exp_test_tonearest): Likewise.
22287 (exp_test_towardzero): Likewise.
22288 (exp_test_downward): Likewise.
22289 (exp_test_upward): Likewise.
22290 (exp10_test): Likewise.
22291 (exp2_test): Likewise.
22292 (expm1_test): Likewise.
22293 (fabs_test): Likewise.
22294 (fdim_test): Likewise.
22295 (finite_test): Likewise.
22296 (floor_test): Likewise.
22297 (fma_test): Likewise.
22298 (fma_test_towardzero): Likewise.
22299 (fma_test_downward): Likewise.
22300 (fma_test_upward): Likewise.
22301 (fmax_test): Likewise.
22302 (fmin_test): Likewise.
22303 (fmod_test): Likewise.
22304 (fpclassify_test): Likewise.
22305 (frexp_test): Likewise.
22306 (gamma_test): Likewise.
22307 (hypot_test): Likewise.
22308 (ilogb_test): Likewise.
22309 (isfinite_test): Likewise.
22310 (isgreater_test): Likewise.
22311 (isgreaterequal_test): Likewise.
22312 (isinf_test): Likewise.
22313 (isless_test): Likewise.
22314 (islessequal_test): Likewise.
22315 (islessgreater_test): Likewise.
22316 (isnan_test): Likewise.
22317 (isnormal_test): Likewise.
22318 (issignaling_test): Likewise.
22319 (isunordered_test): Likewise.
22320 (j0_test): Likewise.
22321 (j1_test): Likewise.
22322 (jn_test): Likewise.
22323 (ldexp_test): Likewise.
22324 (lgamma_test): Likewise.
22325 (lrint_test): Likewise.
22326 (lrint_test_tonearest): Likewise.
22327 (lrint_test_towardzero): Likewise.
22328 (lrint_test_downward): Likewise.
22329 (lrint_test_upward): Likewise.
22330 (llrint_test): Likewise.
22331 (llrint_test_tonearest): Likewise.
22332 (llrint_test_towardzero): Likewise.
22333 (llrint_test_downward): Likewise.
22334 (llrint_test_upward): Likewise.
22335 (log_test): Likewise.
22336 (log10_test): Likewise.
22337 (log1p_test): Likewise.
22338 (log2_test): Likewise.
22339 (logb_test): Likewise.
22340 (logb_test_downward): Likewise.
22341 (lround_test): Likewise.
22342 (llround_test): Likewise.
22343 (modf_test): Likewise.
22344 (nearbyint_test): Likewise.
22345 (nextafter_test): Likewise.
22346 (nexttoward_test): Likewise.
22347 (pow_test): Likewise.
22348 (pow_test_tonearest): Likewise.
22349 (pow_test_towardzero): Likewise.
22350 (pow_test_downward): Likewise.
22351 (pow_test_upward): Likewise.
22352 (remainder_test): Likewise.
22353 (remainder_test_tonearest): Likewise.
22354 (remainder_test_towardzero): Likewise.
22355 (remainder_test_downward): Likewise.
22356 (remainder_test_upward): Likewise.
22357 (remquo_test): Likewise.
22358 (rint_test): Likewise.
22359 (rint_test_tonearest): Likewise.
22360 (rint_test_towardzero): Likewise.
22361 (rint_test_downward): Likewise.
22362 (rint_test_upward): Likewise.
22363 (round_test): Likewise.
22364 (scalb_test): Likewise.
22365 (scalbn_test): Likewise.
22366 (scalbln_test): Likewise.
22367 (signbit_test): Likewise.
22368 (sin_test): Likewise.
22369 (sin_test_tonearest): Likewise.
22370 (sin_test_towardzero): Likewise.
22371 (sin_test_downward): Likewise.
22372 (sin_test_upward): Likewise.
22373 (sincos_test): Likewise.
22374 (sinh_test): Likewise.
22375 (sinh_test_tonearest): Likewise.
22376 (sinh_test_towardzero): Likewise.
22377 (sinh_test_downward): Likewise.
22378 (sinh_test_upward): Likewise.
22379 (sqrt_test): Likewise.
22380 (tan_test): Likewise.
22381 (tan_test_tonearest): Likewise.
22382 (tan_test_towardzero): Likewise.
22383 (tan_test_downward): Likewise.
22384 (tan_test_upward): Likewise.
22385 (tanh_test): Likewise.
22386 (tgamma_test): Likewise.
22387 (trunc_test): Likewise.
22388 (y0_test): Likewise.
22389 (y1_test): Likewise.
22390 (yn_test): Likewise.
22391 (significand_test): Likewise.
22393 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22396 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22398 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22401 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22402 __ppc_mdoio and __ppc_mdoom.
22403 * manual/platform.texi: Document new functions __ppc_yield,
22404 __ppc_mdoio and __ppc_mdoom.
22406 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22408 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22409 (main): Mention "tls" pseudo-hwcap is legacy.
22410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22412 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22414 * math/gen-libm-test.pl (parse_args): Output only string of
22415 arguments as text for test name, not full call or descriptions of
22416 tests for extra outputs.
22417 (generate_testfile): Do not pass function name to parse_args.
22418 Generate this_func variable from START.
22419 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22421 (struct test_ff_f_data): Likewise.
22422 (test_ff_f_data_nexttoward): Likewise.
22423 (struct test_fi_f_data): Likewise.
22424 (struct test_fl_f_data): Likewise.
22425 (struct test_if_f_data): Likewise.
22426 (struct test_fff_f_data): Likewise.
22427 (struct test_c_f_data): Likewise.
22428 (struct test_f_f1_data): Likewise. Remove field extra_name.
22429 (struct test_fF_f1_data): Likewise.
22430 (struct test_ffI_f1_data): Likewise.
22431 (struct test_c_c_data): Rename test_name field to arg_str.
22432 (struct test_cc_c_data): Likewise.
22433 (struct test_f_i_data): Likewise.
22434 (struct test_ff_i_data): Likewise.
22435 (struct test_f_l_data): Likewise.
22436 (struct test_f_L_data): Likewise.
22437 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22439 (COMMON_TEST_SETUP): New macro.
22440 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22441 (COMMON_TEST_CLEANUP): Likewise.
22442 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22443 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22445 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22446 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22448 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22449 (RUN_TEST_fff_f): Take argument string. Call new setup and
22451 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22452 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22454 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22455 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22457 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22458 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22460 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22461 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22463 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22464 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22466 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22467 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22469 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22470 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22472 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22473 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22475 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22476 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22478 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22479 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22481 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22482 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22484 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22485 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22487 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22488 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22490 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22491 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22493 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22494 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22496 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22498 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22500 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22501 to _sifields.sigfault.
22502 (si_addr_lsb): Define new macro.
22503 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22505 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22507 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22510 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22512 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22514 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22515 loading the domain.
22517 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22519 * math/gen-libm-test.pl (parse_args): Do not include expected
22520 result in test name.
22521 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22525 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22528 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22530 * benchtests/Makefile: Sort function entries.
22532 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22533 tanh, asinh, acosh, atanh.
22534 * benchtests/acos-inputs: New file.
22535 * benchtests/acosh-inputs: New file.
22536 * benchtests/asin-inputs: New file.
22537 * benchtests/asinh-inputs: New file.
22538 * benchtests/atanh-inputs: New file.
22539 * benchtests/cosh-inputs: New file.
22540 * benchtests/log-inputs: New file.
22541 * benchtests/sinh-inputs: New file.
22542 * benchtests/tanh-inputs: New file.
22544 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22547 * posix/tst-getaddrinfo4.c: New test.
22548 * posix/Makefile (tests): Add it.
22550 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22553 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22554 when no services were used.
22555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22556 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22558 2013-05-21 Andreas Schwab <schwab@suse.de>
22561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22562 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22564 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22565 redundant variable declarations and reallocation of buffer when
22566 parsing as IPv6 address. Always set NSS status when called from
22567 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22568 buffer too small. Correct computation of needed size.
22569 * nss/Makefile (tests): Add test-digits-dots.
22570 * nss/test-digits-dots.c: New test.
22572 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22574 * benchtests/Makefile: Remove instructions for adding
22576 * benchtests/README: New file to explain how to execute and
22577 enhance the benchmark tests.
22579 2013-05-21 Andreas Schwab <schwab@suse.de>
22582 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22583 * setjmp/tst-sigsetjmp.c: New test.
22585 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22587 * sysdeps/x86_64/memset.S (memset): New implementation.
22588 (__bzero): Likewise.
22589 (__memset_tail): New function.
22591 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22593 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22594 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22595 __memcpy_sse2_unaligned ifunc selection.
22596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22597 Add memcpy-sse2-unaligned.S.
22598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22599 Add: __memcpy_sse2_unaligned.
22601 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22604 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22605 math_force_eval before restoring floating-point envrionment.
22606 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22609 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22611 (__nearbyintl): Use math_force_eval before restoring
22612 floating-point environment.
22613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22615 * math/gen-libm-test.pl (special_functions): Remove.
22616 (parse_args): Don't handle TEST_extra. Handle functions with no
22618 * math/libm-test.inc (struct test_sincos_data): Replace with
22619 struct test_fFF_11_data.
22620 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22621 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22622 (sincos_test_data): Change element type to struct
22623 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22624 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22625 RUN_TEST_LOOP_sincos.
22626 * math/README.libm-test: Don't mention special handling of
22627 individual functions.
22628 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22635 * math/gen-libm-test.pl (get_variable): Remove function.
22636 (parse_args): Don't show pointer parameters to call in test
22637 names. Use "extra output N" in test names for extra outputs
22638 rather than naming variables.
22640 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22643 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22644 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22645 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22647 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22649 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22652 * math/gen-libm-test.pl (@tests): Remove variable.
22653 ($count): Likewise.
22654 (new_test): Remove function.
22655 (show_exceptions): New function.
22656 (special_functions): Use show_exceptions instead of new_test.
22657 (parse_args): Likewise.
22658 (generate_testfile): Pass only function name in generated call to
22659 print_max_error or print_complex_max_error.
22660 (get_ulps): Do not handle complex tests specially.
22661 (output_test): Rename to ...
22662 (get_all_ulps_for_test): ... this. Return a string rather than
22663 printing to a file. Require ulps to be present.
22664 (output_ulps): Generate arrays rather than #defines.
22665 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22666 (struct ulp_data): New type.
22667 (BUILD_COMPLEX_ULP): Remove macro.
22668 (compare_ulp_data): New function.
22669 (find_ulps): Likewise.
22670 (find_test_ulps): Likewise.
22671 (find_function_ulps): Likewise.
22672 (find_complex_function_ulps): Likewise.
22673 (print_max_error): Determine allowed ulps using
22674 find_function_ulps.
22675 (print_complex_max_error): Determine allowed ulps using
22676 find_complex_function_ulps.
22677 (check_float_internal): Determine max ulps using find_test_ulps.
22678 (check_float): Do not take max_ulp parameter. Update call to
22679 check_float_internal.
22680 (check_complex): Likewise.
22681 (check_int): Do not take max_ulp parameter.
22682 (check_long): Likewise.
22683 (check_bool): Likewise.
22684 (check_longlong): Likewise.
22685 (struct test_f_f_data): Remove max_ulp field.
22686 (struct test_ff_f_data): Likewise.
22687 (struct test_ff_f_data_nexttoward): Likewise.
22688 (struct test_fi_f_data): Likewise.
22689 (struct test_fl_f_data): Likewise.
22690 (struct test_if_f_data): Likewise.
22691 (struct test_fff_f_data): Likewise.
22692 (struct test_c_f_data): Likewise.
22693 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22694 (struct test_fF_f1_data): Likewise.
22695 (struct test_ffI_f1_data): Likewise.
22696 (struct test_c_c_data): Remove max_ulp field.
22697 (struct test_cc_c_data): Likewise.
22698 (struct test_f_i_data): Likewise.
22699 (struct test_ff_i_data): Likewise.
22700 (struct test_f_l_data): Likewise.
22701 (struct test_f_L_data): Likewise.
22702 (struct test_sincos_data): Likewise.
22703 (RUN_TEST_f_f): Do not handle ulps.
22704 (RUN_TEST_LOOP_f_f): Likewise.
22705 (RUN_TEST_2_f): Likewise.
22706 (RUN_TEST_LOOP_2_f): Likewise.
22707 (RUN_TEST_fff_f): Likewise.
22708 (RUN_TEST_LOOP_fff_f): Likewise.
22709 (RUN_TEST_c_f): Likewise.
22710 (RUN_TEST_LOOP_c_f): Likewise.
22711 (RUN_TEST_f_f1): Likewise.
22712 (RUN_TEST_LOOP_f_f1): Likewise.
22713 (RUN_TEST_fF_f1): Likewise.
22714 (RUN_TEST_LOOP_fF_f1): Likewise.
22715 (RUN_TEST_fI_f1): Likewise.
22716 (RUN_TEST_LOOP_fI_f1): Likewise.
22717 (RUN_TEST_ffI_f1): Likewise.
22718 (RUN_TEST_LOOP_ffI_f1): Likewise.
22719 (RUN_TEST_c_c): Likewise.
22720 (RUN_TEST_LOOP_c_c): Likewise.
22721 (RUN_TEST_cc_c): Likewise.
22722 (RUN_TEST_LOOP_cc_c): Likewise.
22723 (RUN_TEST_f_i): Likewise.
22724 (RUN_TEST_LOOP_f_i): Likewise.
22725 (RUN_TEST_f_i_tg): Likewise.
22726 (RUN_TEST_LOOP_f_i_tg): Likewise.
22727 (RUN_TEST_ff_i_tg): Likewise.
22728 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22729 (RUN_TEST_f_b): Likewise.
22730 (RUN_TEST_LOOP_f_b): Likewise.
22731 (RUN_TEST_f_b_tg): Likewise.
22732 (RUN_TEST_LOOP_f_b_tg): Likewise.
22733 (RUN_TEST_f_l): Likewise.
22734 (RUN_TEST_LOOP_f_l): Likewise.
22735 (RUN_TEST_f_L): Likewise.
22736 (RUN_TEST_LOOP_f_L): Likewise.
22737 (RUN_TEST_sincos): Likewise.
22738 (RUN_TEST_LOOP_sincos): Likewise.
22740 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22744 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22745 main case of finite arguments, set rounding mode to FE_TONEAREST
22746 and discard exceptions.
22747 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22749 (remainder_tonearest_test_data): New variable.
22750 (remainder_test_tonearest): New function.
22751 (remainder_towardzero_test_data): New variable.
22752 (remainder_test_towardzero): New function.
22753 (remainder_downward_test_data): New variable.
22754 (remainder_test_downward): New function.
22755 (remainder_upward_test_data): New variable.
22756 (remainder_test_upward): New function.
22757 (main): Call the new test functions.
22759 * math/libm-test.inc (struct test_f_f1_data): Remove field
22761 (struct test_fF_f1_data): Likewise.
22762 (struct test_ffI_f1_data): Likewise.
22763 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22764 based on value of EXTRA_EXPECTED.
22765 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22766 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22767 EXTRA_VAR based on value of EXTRA_EXPECTED.
22768 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22769 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22770 EXTRA_VAR based on value of EXTRA_EXPECTED.
22771 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22772 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22773 EXTRA_VAR based on value of EXTRA_EXPECTED.
22774 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22775 * math/gen-libm-test.pl (parse_args): Don't output initializers
22776 for extra output values.
22778 * math/libm-test.inc (check_int): Expect result to be exactly
22779 equal to expected value and do not handle ulps.
22780 (check_long): Likewise.
22781 (check_longlong): Likewise.
22783 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22785 (cimag_test_data): Likewise.
22786 (conj_test_data): Likewise.
22787 (copysign_test_data): Likewise.
22788 (cproj_test_data): Likewise.
22789 (creal_test_data): Likewise.
22790 (fabs_test_data): Likewise.
22791 (fdim_test_data): Likewise.
22792 (finite_test_data): Likewise.
22793 (floor_test_data): Likewise.
22794 (fmax_test_data): Likewise.
22795 (fmin_test_data): Likewise.
22796 (fmod_test_data): Likewise.
22797 (fpclassify_test_data): Likewise.
22798 (frexp_test_data): Likewise.
22799 (ilogb_test_data): Likewise.
22800 (isfinite_test_data): Likewise.
22801 (isgreater_test_data): Likewise.
22802 (isgreaterequal_test_data): Likewise.
22803 (isinf_test_data): Likewise.
22804 (isless_test_data): Likewise.
22805 (islessequal_test_data): Likewise.
22806 (islessgreater_test_data): Likewise.
22807 (isnan_test_data): Likewise.
22808 (isnormal_test_data): Likewise.
22809 (issignaling_test_data): Likewise.
22810 (isunordered_test_data): Likewise.
22811 (ldexp_test_data): Likewise.
22812 (lrint_test_data): Likewise.
22813 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22814 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22815 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22816 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22817 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22818 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22820 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22821 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22822 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22823 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22825 (lrint_downward_test_data): Test for "inexact" exceptions.
22826 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22827 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22828 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22830 (lrint_upward_test_data): Test for "inexact" exceptions.
22831 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22833 (llrint_test_data): Test for "inexact" exceptions.
22834 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22835 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22836 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22837 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22838 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22839 (llrint_downward_test_data): Test for "inexact" exceptions.
22840 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22841 (llrint_upward_test_data): Test for "inexact" exceptions.
22842 (logb_test_data): Likewise.
22843 (logb_downward_test_data): Likewise.
22844 (nextafter_test_data): Likewise.
22845 (nexttoward_test_data): Likewise.
22846 (remainder_test_data): Likewise.
22847 (remquo_test_data): Likewise.
22848 (scalbn_test_data): Likewise.
22849 (scalbln_test_data): Likewise.
22850 (signbit_test_data): Likewise.
22851 (sqrt_test_data): Likewise.
22852 (significand_test_data): Likewise.
22854 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22857 * benchtests/bench-modf.c (struct args): Mark arg0 as
22859 * scripts/bench.pl: Mark members of struct args as volatile.
22861 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22864 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22865 negative infinity on POWER6 or lower.
22866 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22868 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22871 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22872 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22873 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22874 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22875 (_FP_SETQNAN): New macro.
22876 (_FP_SETQNAN_SEMIRAW): Likewise.
22877 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22878 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22879 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22880 (FP_EXTEND): Use _FP_FRAC_SNANP.
22881 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22882 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22886 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22889 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22891 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22892 with DIVIDE_BY_ZERO_EXCEPTION.
22893 (gamma_test_data): Likewise.
22894 (lgamma_test_data): Likewise.
22895 (log_test_data): Likewise.
22896 (log10_test_data): Likewise.
22897 (log2_test_data): Likewise.
22898 (tgamma_test_data): Likewise.
22900 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22901 (acos_test_tonearest): Likewise.
22902 (acos_test_towardzero): Likewise.
22903 (acos_test_downward): Likewise.
22904 (acos_test_upward): Likewise.
22905 (acosh_test): Likewise.
22906 (asin_test): Likewise.
22907 (asin_test_tonearest): Likewise.
22908 (asin_test_towardzero): Likewise.
22909 (asin_test_downward): Likewise.
22910 (asin_test_upward): Likewise.
22911 (asinh_test): Likewise.
22912 (atan_test): Likewise.
22913 (atanh_test): Likewise.
22914 (atan2_test): Likewise.
22915 (cabs_test): Likewise.
22916 (cacos_test): Likewise.
22917 (cacosh_test): Likewise.
22918 (casin_test): Likewise.
22919 (casinh_test): Likewise.
22920 (catan_test): Likewise.
22921 (catanh_test): Likewise.
22922 (cbrt_test): Likewise.
22923 (ccos_test): Likewise.
22924 (ccosh_test): Likewise.
22925 (cexp_test): Likewise.
22926 (clog_test): Likewise.
22927 (clog10_test): Likewise.
22928 (cos_test): Likewise.
22929 (cos_test_tonearest): Likewise.
22930 (cos_test_towardzero): Likewise.
22931 (cos_test_downward): Likewise.
22932 (cos_test_upward): Likewise.
22933 (cosh_test): Likewise.
22934 (cosh_test_tonearest): Likewise.
22935 (cosh_test_towardzero): Likewise.
22936 (cosh_test_downward): Likewise.
22937 (cosh_test_upward): Likewise.
22938 (cpow_test): Likewise.
22939 (csin_test): Likewise.
22940 (csinh_test): Likewise.
22941 (csqrt_test): Likewise.
22942 (ctan_test): Likewise.
22943 (ctan_test_tonearest): Likewise.
22944 (ctan_test_towardzero): Likewise.
22945 (ctan_test_downward): Likewise.
22946 (ctan_test_upward): Likewise.
22947 (ctanh_test): Likewise.
22948 (ctanh_test_tonearest): Likewise.
22949 (ctanh_test_towardzero): Likewise.
22950 (ctanh_test_downward): Likewise.
22951 (ctanh_test_upward): Likewise.
22952 (erf_test): Likewise.
22953 (erfc_test): Likewise.
22954 (exp_test): Likewise.
22955 (exp_test_tonearest): Likewise.
22956 (exp_test_towardzero): Likewise.
22957 (exp_test_downward): Likewise.
22958 (exp_test_upward): Likewise.
22959 (exp10_test): Likewise.
22960 (exp2_test): Likewise.
22961 (expm1_test): Likewise.
22962 (fmod_test): Likewise.
22963 (gamma_test): Likewise.
22964 (hypot_test): Likewise.
22965 (j0_test): Likewise.
22966 (j1_test): Likewise.
22967 (jn_test): Likewise.
22968 (lgamma_test): Likewise.
22969 (log_test): Likewise.
22970 (log10_test): Likewise.
22971 (log1p_test): Likewise.
22972 (log2_test): Likewise.
22973 (logb_test_downward): Likewise.
22974 (pow_test): Likewise.
22975 (pow_test_tonearest): Likewise.
22976 (pow_test_towardzero): Likewise.
22977 (pow_test_downward): Likewise.
22978 (pow_test_upward): Likewise.
22979 (remainder_test): Likewise.
22980 (remquo_test): Likewise.
22981 (sin_test): Likewise.
22982 (sin_test_tonearest): Likewise.
22983 (sin_test_towardzero): Likewise.
22984 (sin_test_downward): Likewise.
22985 (sin_test_upward): Likewise.
22986 (sincos_test): Likewise.
22987 (sinh_test): Likewise.
22988 (sinh_test_tonearest): Likewise.
22989 (sinh_test_towardzero): Likewise.
22990 (sinh_test_downward): Likewise.
22991 (sinh_test_upward): Likewise.
22992 (sqrt_test): Likewise.
22993 (tan_test): Likewise.
22994 (tan_test_tonearest): Likewise.
22995 (tan_test_towardzero): Likewise.
22996 (tan_test_downward): Likewise.
22997 (tan_test_upward): Likewise.
22998 (tanh_test): Likewise.
22999 (tgamma_test): Likewise.
23000 (y0_test): Likewise.
23001 (y1_test): Likewise.
23002 (yn_test): Likewise.
23004 * math/gen-libm-test.pl (adjust_arg): Remove function.
23005 (special_function): Remove argument $in_func. Only handle
23006 generating output for tables of tests, not inside functions.
23007 (parse_args): Likewise.
23008 (generate_testfile): Remove variable $in_func. Update call to
23010 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23011 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23012 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23013 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23014 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23015 (MAX_VALUE_INIT): Rename macro to max_value.
23016 (MIN_VALUE_INIT): Rename macro to min_value.
23017 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23018 (plus_zero): Remove variable.
23019 (minus_zero): Likewise.
23020 (plus_infty): Likewise.
23021 (minus_infty): Likewise.
23022 (qnan_value): Likewise.
23023 (max_value): Likewise.
23024 (min_value): Likewise.
23025 (min_subnorm_value): Likewise.
23027 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23029 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23030 uint64_t or uint32_t usage.
23031 * crypt/sha256-block.c: Likewise.
23032 * crypt/sha256-crypt.c: Likewise.
23033 * crypt/sha256.c: Likewise.
23034 * crypt/sha512-block.c: Likewise.
23035 * crypt/sha512-crypt.c: Likewise.
23036 * crypt/sha512.c: Likewise.
23037 * debug/backtrace-tst.c: Likewise.
23038 * debug/pcprofiledump.c: Likewise.
23039 * elf/cache.c: Likewise.
23040 * elf/dl-cache.c: Likewise.
23041 * elf/dl-misc.c: Likewise.
23042 * elf/dl-profile.c: Likewise.
23043 * elf/dl-support.c: Likewise.
23044 * elf/ldconfig.c: Likewise.
23045 * elf/sprof.c: Likewise.
23046 * iconv/dummy-repertoire.c: Likewise.
23047 * iconv/iconv_charmap.c: Likewise.
23048 * iconv/skeleton.c: Likewise.
23049 * iconvdata/8bit-generic.c: Likewise.
23050 * iconvdata/cp737.h: Likewise.
23051 * iconvdata/cp775.h: Likewise.
23052 * iconvdata/ibm1008.h: Likewise.
23053 * iconvdata/ibm1025.h: Likewise.
23054 * iconvdata/ibm1046.h: Likewise.
23055 * iconvdata/ibm1097.h: Likewise.
23056 * iconvdata/ibm1112.h: Likewise.
23057 * iconvdata/ibm1122.h: Likewise.
23058 * iconvdata/ibm1123.h: Likewise.
23059 * iconvdata/ibm1124.h: Likewise.
23060 * iconvdata/ibm1129.h: Likewise.
23061 * iconvdata/ibm1130.h: Likewise.
23062 * iconvdata/ibm1132.h: Likewise.
23063 * iconvdata/ibm1133.h: Likewise.
23064 * iconvdata/ibm1137.h: Likewise.
23065 * iconvdata/ibm1140.h: Likewise.
23066 * iconvdata/ibm1141.h: Likewise.
23067 * iconvdata/ibm1142.h: Likewise.
23068 * iconvdata/ibm1143.h: Likewise.
23069 * iconvdata/ibm1144.h: Likewise.
23070 * iconvdata/ibm1145.h: Likewise.
23071 * iconvdata/ibm1146.h: Likewise.
23072 * iconvdata/ibm1147.h: Likewise.
23073 * iconvdata/ibm1148.h: Likewise.
23074 * iconvdata/ibm1149.h: Likewise.
23075 * iconvdata/ibm1153.h: Likewise.
23076 * iconvdata/ibm1154.h: Likewise.
23077 * iconvdata/ibm1155.h: Likewise.
23078 * iconvdata/ibm1156.h: Likewise.
23079 * iconvdata/ibm1157.h: Likewise.
23080 * iconvdata/ibm1158.h: Likewise.
23081 * iconvdata/ibm1160.h: Likewise.
23082 * iconvdata/ibm1161.h: Likewise.
23083 * iconvdata/ibm1162.h: Likewise.
23084 * iconvdata/ibm1163.h: Likewise.
23085 * iconvdata/ibm1164.h: Likewise.
23086 * iconvdata/ibm1166.h: Likewise.
23087 * iconvdata/ibm1167.h: Likewise.
23088 * iconvdata/ibm12712.h: Likewise.
23089 * iconvdata/ibm1390.h: Likewise.
23090 * iconvdata/ibm1399.h: Likewise.
23091 * iconvdata/ibm16804.h: Likewise.
23092 * iconvdata/ibm4517.h: Likewise.
23093 * iconvdata/ibm4899.h: Likewise.
23094 * iconvdata/ibm4909.h: Likewise.
23095 * iconvdata/ibm4971.h: Likewise.
23096 * iconvdata/ibm5347.h: Likewise.
23097 * iconvdata/ibm803.h: Likewise.
23098 * iconvdata/ibm856.h: Likewise.
23099 * iconvdata/ibm901.h: Likewise.
23100 * iconvdata/ibm902.h: Likewise.
23101 * iconvdata/ibm9030.h: Likewise.
23102 * iconvdata/ibm9066.h: Likewise.
23103 * iconvdata/ibm921.h: Likewise.
23104 * iconvdata/ibm922.h: Likewise.
23105 * iconvdata/ibm9448.h: Likewise.
23106 * iconvdata/isiri-3342.h: Likewise.
23107 * iconvdata/jis0201.h: Likewise.
23108 * include/link.h: Likewise.
23109 * include/netdb.h: Likewise.
23110 * inet/check_native.c: Likewise.
23111 * inet/check_pf.c: Likewise.
23112 * inet/getipv4sourcefilter.c: Likewise.
23113 * inet/getnameinfo.c: Likewise.
23114 * inet/getsourcefilter.c: Likewise.
23115 * inet/htonl.c: Likewise.
23116 * inet/setipv4sourcefilter.c: Likewise.
23117 * inet/setsourcefilter.c: Likewise.
23118 * inet/test-inet6_opt.c: Likewise.
23119 * inet/tst-network.c: Likewise.
23120 * locale/C-collate.c: Likewise.
23121 * locale/C-ctype.c: Likewise.
23122 * locale/C-time.c: Likewise.
23123 * locale/C-translit.h: Likewise.
23124 * locale/loadarchive.c: Likewise.
23125 * locale/programs/3level.h: Likewise.
23126 * locale/programs/charmap.c: Likewise.
23127 * locale/programs/charmap.h: Likewise.
23128 * locale/programs/ld-address.c: Likewise.
23129 * locale/programs/ld-collate.c: Likewise.
23130 * locale/programs/ld-ctype.c: Likewise.
23131 * locale/programs/ld-identification.c: Likewise.
23132 * locale/programs/ld-measurement.c: Likewise.
23133 * locale/programs/ld-messages.c: Likewise.
23134 * locale/programs/ld-monetary.c: Likewise.
23135 * locale/programs/ld-name.c: Likewise.
23136 * locale/programs/ld-numeric.c: Likewise.
23137 * locale/programs/ld-paper.c: Likewise.
23138 * locale/programs/ld-telephone.c: Likewise.
23139 * locale/programs/ld-time.c: Likewise.
23140 * locale/programs/linereader.c: Likewise.
23141 * locale/programs/locale.c: Likewise.
23142 * locale/programs/locarchive.c: Likewise.
23143 * locale/programs/locfile.h: Likewise.
23144 * locale/programs/repertoire.c: Likewise.
23145 * locale/programs/simple-hash.c: Likewise.
23146 * locale/programs/simple-hash.h: Likewise.
23147 * malloc/memusage.c: Likewise.
23148 * malloc/memusagestat.c: Likewise.
23149 * nis/nis_defaults.c: Likewise.
23150 * nis/nis_hash.c: Likewise.
23151 * nis/nis_print.c: Likewise.
23152 * nis/nis_xdr.c: Likewise.
23153 * nscd/connections.c: Likewise.
23154 * nscd/hstcache.c: Likewise.
23155 * nscd/nscd_gethst_r.c: Likewise.
23156 * nscd/nscd_getserv_r.c: Likewise.
23157 * nscd/nscd_helper.c: Likewise.
23158 * nscd/servicescache.c: Likewise.
23159 * nss/makedb.c: Likewise.
23160 * nss/nss_db/db-XXX.c: Likewise.
23161 * nss/nss_db/db-initgroups.c: Likewise.
23162 * nss/nss_db/db-netgrp.c: Likewise.
23163 * nss/nss_files/files-network.c: Likewise.
23164 * nss/nss_files/files-parse.c: Likewise.
23165 * posix/bug-regex5.c: Likewise.
23166 * posix/fnmatch_loop.c: Likewise.
23167 * posix/regcomp.c: Likewise.
23168 * posix/regexec.c: Likewise.
23169 * posix/tst-rfc3484-2.c: Likewise.
23170 * posix/tst-rfc3484-3.c: Likewise.
23171 * posix/tst-rfc3484.c: Likewise.
23172 * resolv/nss_dns/dns-canon.c: Likewise.
23173 * resolv/nss_dns/dns-network.c: Likewise.
23174 * resolv/res_init.c: Likewise.
23175 * resolv/res_mkquery.c: Likewise.
23176 * resolv/tst-aton.c: Likewise.
23177 * stdlib/cxa_atexit.c: Likewise.
23178 * stdlib/cxa_finalize.c: Likewise.
23179 * stdlib/gen-fpioconst.c: Likewise.
23180 * stdlib/strtol_l.c: Likewise.
23181 * string/tst-endian.c: Likewise.
23182 * sunrpc/auth_des.c: Likewise.
23183 * sunrpc/clnt_udp.c: Likewise.
23184 * sunrpc/rtime.c: Likewise.
23185 * sunrpc/svcauth_des.c: Likewise.
23186 * sunrpc/xdr.c: Likewise.
23187 * sunrpc/xdr_intXX_t.c: Likewise.
23188 * sunrpc/xdr_rec.c: Likewise.
23189 * sysdeps/generic/ldconfig.h: Likewise.
23190 * sysdeps/generic/ldsodefs.h: Likewise.
23191 * sysdeps/generic/memusage.h: Likewise.
23192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23202 * sysdeps/posix/getaddrinfo.c: Likewise.
23203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23205 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23207 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23208 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23209 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23210 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23211 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23212 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23215 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23216 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23218 * sysdeps/x86_64/dl-tls.h: Likewise.
23219 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23220 * time/alt_digit.c: Likewise.
23221 * time/era.c: Likewise.
23222 * wcsmbs/tst-c16c32-1.c: Likewise.
23224 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23226 * math/libm-test.inc (struct test_sincos_data): New type.
23227 (RUN_TEST_LOOP_sincos): New macro.
23228 (sincos_test_data): New variable.
23229 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23231 2013-05-16 Richard Henderson <rth@redhat.com>
23233 * math/atest-exp2.c (LIMB64): New macro.
23234 (CONSTSZ): New macro.
23235 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23237 (print_mpn_fp): ... to function scope.
23238 (read_mpn_hex): Remove.
23239 (get_log2): Remove.
23240 (exp2_mpn): Use mp_log2.
23241 (main): Use mp_exp1.
23243 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23245 * math/libm-test.inc: Remove comment about not testing "inexact"
23247 (INEXACT_EXCEPTION): New macro.
23248 (NO_INEXACT_EXCEPTION): Likewise.
23249 (INVALID_EXCEPTION_OK): Update value.
23250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23251 (OVERFLOW_EXCEPTION_OK): Likewise.
23252 (UNDERFLOW_EXCEPTION_OK): Likewise.
23253 (IGNORE_ZERO_INF_SIGN): Likewise.
23254 (ERRNO_UNCHANGED): Likewise.
23255 (ERRNO_EDOM): Likewise.
23256 (ERRNO_ERANGE): Likewise.
23257 (test_exceptions): Handle testing "inexact" exceptions.
23258 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23259 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23260 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23261 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23263 (rint_towardzero_test_data): Likewise.
23264 (rint_downward_test_data): Likewise.
23265 (rint_upward_test_data): Likewise.
23267 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23268 with OVERFLOW_EXCEPTION.
23269 (exp10_test_data): Likewise.
23270 (exp2_test_data): Likewise.
23271 (expm1_test_data): Likewise.
23272 (lgamma_test_data): Likewise.
23273 (pow_test_data): Likewise.
23274 (tgamma_test_data): Likewise.
23275 (yn_test_data): Remove duplicate test of overflow.
23277 * math/libm-test.inc (struct test_cc_c_data): New type.
23278 (RUN_TEST_LOOP_cc_c): New macro.
23279 (cpow_test_data): New variable.
23280 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23282 * math/libm-test.inc (struct test_f_L_data): New type.
23283 (RUN_TEST_LOOP_f_L): New macro.
23284 (llrint_test_data): New variable.
23285 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23286 (llrint_tonearest_test_data): New variable.
23287 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23288 (llrint_towardzero_test_data): New variable.
23289 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23290 (llrint_downward_test_data): New variable.
23291 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23292 (llrint_upward_test_data): New variable.
23293 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23294 (llround_test_data): New variable.
23295 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23297 2013-05-13 Peter Collingbourne <pcc@google.com>
23299 * math/atest-exp2.c (get_log2): Remove const attribute.
23301 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23303 * math/libm-test.inc (struct test_f_l_data): New type.
23304 (RUN_TEST_LOOP_f_l): New macro.
23305 (lrint_test_data): New variable.
23306 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23307 (lrint_tonearest_test_data): New variable.
23308 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23309 (lrint_towardzero_test_data): New variable.
23310 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23311 (lrint_downward_test_data): New variable.
23312 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23313 (lrint_upward_test_data): New variable.
23314 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23315 (lround_test_data): New variable.
23316 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23318 2013-05-15 Peter Collingbourne <pcc@google.com>
23320 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23321 (EXTRACT_WORDS64) Use where appropriate.
23322 (INSERT_WORDS64) Likewise.
23324 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23325 constraints with x constraints.
23326 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23328 * malloc/obstack.c (_obstack_compat): Add initializer.
23330 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23333 si_trapno and add si_addr_lsb to _sifields.sigfault.
23334 (si_trapno): Remove macro.
23335 (si_addr_lsb): Define new macro.
23336 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23338 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23340 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23341 instead of TEST_f_l.
23342 (llrint_test_tonearest): Likewise.
23343 (llrint_test_towardzero): Likewise.
23344 (llrint_test_downward): Likewise.
23345 (llrint_test_upward): Likewise.
23346 (llround_test): Likewise.
23348 * math/libm-test.inc (struct test_f_i_data): Add comment.
23349 (RUN_TEST_LOOP_f_b): New macro.
23350 (RUN_TEST_LOOP_f_b_tg): Likewise.
23351 (finite_test_data): New variable.
23352 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23353 (isfinite_test_data): New variable.
23354 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23355 (isinf_test_data): New variable.
23356 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23357 (isnan_test_data): New variable.
23358 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23359 (isnormal_test_data): New variable.
23360 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23361 (issignaling_test_data): New variable.
23362 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23363 (signbit_test_data): New variable.
23364 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23366 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23367 with INVALID_EXCEPTION.
23368 (acosh_test_data): Likewise.
23369 (asin_test_data): Likewise.
23370 (atanh_test_data): Likewise.
23371 (fmod_test_data): Likewise.
23372 (log_test_data): Likewise.
23373 (log10_test_data): Likewise.
23374 (log2_test_data): Likewise.
23375 (pow_test_data): Likewise.
23376 (sqrt_test_data): Likewise.
23377 (y0_test_data): Likewise.
23378 (y1_test_data): Likewise.
23379 (yn_test_data): Likewise.
23381 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23384 * math/libm-test.inc (struct test_ff_i_data): New type.
23385 (RUN_TEST_LOOP_ff_i_tg): New macro.
23386 (isgreater_test_data): New variable.
23387 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23388 (isgreaterequal_test_data): New variable.
23389 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23390 (isless_test_data): New variable.
23391 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23392 (islessequal_test_data): New variable.
23393 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23394 (islessgreater_test_data): New variable.
23395 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23396 (isunordered_test_data): New variable.
23397 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23399 2013-05-14 David S. Miller <davem@davemloft.net>
23401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23403 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23405 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23407 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23409 (struct test_f_i_data): Change type of max_ulp to int.
23411 * math/libm-test.inc (test_ffI_f1_data): New type.
23412 (RUN_TEST_LOOP_ffI_f1): New macro.
23413 (remquo_test_data): New variable.
23414 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23416 * setjmp/tst-setjmp-fp.c: New file.
23417 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23418 (link-libm): New variable.
23419 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23421 * math/libm-test.inc (struct test_f_i_data): New type.
23422 (RUN_TEST_LOOP_f_i): New macro.
23423 (RUN_TEST_LOOP_f_i_tg): Likewise.
23424 (fpclassify_test_data): New variable.
23425 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23426 (ilogb_test_data): New variable.
23427 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23429 * math/libm-test.inc (scalbln_test): Correct function name in END
23432 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23433 (RUN_TEST_LOOP_fI_f1): New macro.
23434 (frexp_test_data): New variable.
23435 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23437 * math/libm-test.inc (struct test_fF_f1_data): New type.
23438 (RUN_TEST_LOOP_fF_f1): New macro.
23439 (modf_test_data): New variable.
23440 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23442 * math/libm-test.inc (struct test_f_f1_data): New type.
23443 (RUN_TEST_LOOP_f_f1): New macro.
23444 (gamma_test_data): New variable.
23445 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23446 (lgamma_test_data): New variable.
23447 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23449 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23451 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23452 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23453 (main): Comment "tls" pseudo-hwcap.
23455 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23457 * math/libm-test.inc (struct test_fl_f_data): New type.
23458 (RUN_TEST_LOOP_fl_f): New variable.
23459 (scalbln_test_data): New variable.
23460 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23462 * math/libm-test.inc (struct test_fi_f_data): New type.
23463 (RUN_TEST_LOOP_fi_f): New macro.
23464 (ldexp_test_data): New variable.
23465 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23466 (scalbn_test_data): New variable.
23467 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23469 * math/libm-test.inc (struct test_c_f_data): New type.
23470 (RUN_TEST_LOOP_c_f): New macro.
23471 (cabs_test_data): New variable.
23472 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23473 (carg_test_data): New variable.
23474 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23475 (cimag_test_data): New variable.
23476 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23477 (creal_test_data): New variable.
23478 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23480 * math/libm-test.inc (struct test_if_f_data): New type.
23481 (RUN_TEST_LOOP_if_f): New macro.
23482 (jn_test_data): New variable.
23483 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23484 (yn_test_data): New variable.
23485 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23487 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23489 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23491 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23492 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23494 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23496 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23497 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23498 (bench-deps): Add bench-timing.h.
23499 * benchtests-bench-skeleton.c: Include bench-timing.h.
23500 (main): Use TIMING_* macros instead of clock_gettime.
23501 * benchtests/bench-timing.h: New file.
23504 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23505 Renamed from _LIB_VERSION.
23506 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23508 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23510 * math/libm-test.inc (struct test_fff_f_data): New type.
23511 (RUN_TEST_LOOP_fff_f): New macro.
23512 (fma_test_data): New variable.
23513 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23514 (fma_towardzero_test_data): New variable.
23515 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23516 (fma_downward_test_data): New variable.
23517 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23518 (fma_upward_test_data): New variable.
23519 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23521 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23522 (struct test_c_c_data): New type.
23523 (RUN_TEST_LOOP_c_c): New macro.
23524 (cacos_test_data): New variable.
23525 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23526 (cacosh_test_data): New variable.
23527 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23528 (casin_test_data): New variable.
23529 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23530 (casinh_test_data): New variable.
23531 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23532 (catan_test_data): New variable.
23533 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23534 (catanh_test_data): New variable.
23535 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23536 (ccos_test_data): New variable.
23537 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23538 (ccosh_test_data): New variable.
23539 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23540 (cexp_test_data): New variable.
23541 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23542 (clog_test_data): New variable.
23543 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23544 (clog10_test_data): New variable.
23545 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23546 (conj_test_data): New variable.
23547 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23548 (cproj_test_data): New variable.
23549 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23550 (csin_test_data): New variable.
23551 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23552 (csinh_test_data): New variable.
23553 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23554 (csqrt_test_data): New variable.
23555 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23556 (ctan_test_data): New variable.
23557 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23558 (ctan_tonearest_test_data): New variable.
23559 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23560 (ctan_towardzero_test_data): New variable.
23561 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23562 (ctan_downward_test_data): New variable.
23563 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23564 (ctan_upward_test_data): New variable.
23565 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23566 (ctanh_test_data): New variable.
23567 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23568 (ctanh_tonearest_test_data): New variable.
23569 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23570 (ctanh_towardzero_test_data): New variable.
23571 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23572 (ctanh_downward_test_data): New variable.
23573 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23574 (ctanh_upward_test_data): New variable.
23575 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23576 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23579 * math/libm-test.inc (struct test_ff_f_data): New type.
23580 (struct test_ff_f_data_nexttoward): Likewise.
23581 (RUN_TEST_LOOP_2_f): New macro.
23582 (RUN_TEST_LOOP_ff_f): Likewise.
23583 (atan2_test_data): New variable.
23584 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23585 (copysign_test_data): New variable.
23586 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23587 (fdim_test_data): New variable.
23588 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23589 (fmax_test_data): New variable.
23590 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23591 (fmin_test_data): New variable.
23592 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23593 (fmod_test_data): New variable.
23594 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23595 (hypot_test_data): New variable.
23596 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23597 (nextafter_test_data): New variable.
23598 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23599 (nexttoward_test_data): New variable.
23600 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23601 (pow_test_data): New variable.
23602 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23603 (pow_tonearest_test_data): New variable.
23604 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23605 (pow_towardzero_test_data): New variable.
23606 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23607 (pow_downward_test_data): New variable.
23608 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23609 (pow_upward_test_data): New variable.
23610 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23611 (remainder_test_data): New variable.
23612 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23613 (scalb_test_data): New variable.
23614 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23615 * sysdeps/i386/fpu/libm-test-ulps: Update.
23617 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23619 * math/libm-test.inc (fma_test): Use max_value instead of local
23621 (nextafter_test): Likewise.
23623 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23624 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23625 (acos_downward_test_data): New variable.
23626 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23627 (acos_upward_test_data): New variable.
23628 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23629 (acosh_test_data): New variable.
23630 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23631 (asin_test_data): New variable.
23632 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23633 (asin_tonearest_test_data): New variable.
23634 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23635 (asin_towardzero_test_data): New variable.
23636 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23637 (asin_downward_test_data): New variable.
23638 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23639 (asin_upward_test_data): New variable.
23640 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23641 (asinh_test_data): New variable.
23642 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23643 (atan_test_data): New variable.
23644 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23645 (atanh_test_data): New variable.
23646 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23647 (cbrt_test_data): New variable.
23648 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23649 (ceil_test_data): New variable.
23650 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23651 (cos_test_data): New variable.
23652 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23653 (cos_tonearest_test_data): New variable.
23654 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23655 (cos_towardzero_test_data): New variable.
23656 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23657 (cos_downward_test_data): New variable.
23658 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23659 (cos_upward_test_data): New variable.
23660 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23661 (cosh_test_data): New variable.
23662 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23663 (cosh_tonearest_test_data): New variable.
23664 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23665 (cosh_towardzero_test_data): New variable.
23666 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23667 (cosh_downward_test_data): New variable.
23668 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23669 (cosh_upward_test_data): New variable.
23670 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23671 (erf_test_data): New variable.
23672 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23673 (erfc_test_data): New variable.
23674 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23675 (exp_test_data): New variable.
23676 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23677 (exp_tonearest_test_data): New variable.
23678 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23679 (exp_towardzero_test_data): New variable.
23680 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23681 (exp_downward_test_data): New variable.
23682 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23683 (exp_upward_test_data): New variable.
23684 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23685 (exp10_test_data): New variable.
23686 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23687 (exp2_test_data): New variable.
23688 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23689 (expm1_test_data): New variable.
23690 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23691 (fabs_test_data): New variable.
23692 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23693 (floor_test_data): New variable.
23694 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23695 (j0_test_data): New variable.
23696 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23697 (j1_test_data): New variable.
23698 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23699 (log_test_data): New variable.
23700 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23701 (log10_test_data): New variable.
23702 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23703 (log1p_test_data): New variable.
23704 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23705 (log2_test_data): New variable.
23706 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23707 (logb_test_data): New variable.
23708 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23709 (logb_downward_test_data): New variable.
23710 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23711 (nearbyint_test_data): New variable.
23712 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23713 (rint_test_data): New variable.
23714 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23715 (rint_tonearest_test_data): New variable.
23716 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23717 (rint_towardzero_test_data): New variable.
23718 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23719 (rint_downward_test_data): New variable.
23720 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23721 (rint_upward_test_data): New variable.
23722 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23723 (round_test_data): New variable.
23724 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23725 (sin_test_data): New variable.
23726 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23727 (sin_tonearest_test_data): New variable.
23728 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23729 (sin_towardzero_test_data): New variable.
23730 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23731 (sin_downward_test_data): New variable.
23732 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23733 (sin_upward_test_data): New variable.
23734 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23735 (sinh_test_data): New variable.
23736 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23737 (sinh_tonearest_test_data): New variable.
23738 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23739 (sinh_towardzero_test_data): New variable.
23740 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23741 (sinh_downward_test_data): New variable.
23742 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23743 (sinh_upward_test_data): New variable.
23744 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23745 (sqrt_test_data): New variable.
23746 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23747 (tan_test_data): New variable.
23748 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23749 (tan_tonearest_test_data): New variable.
23750 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23751 (tan_towardzero_test_data): New variable.
23752 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23753 (tan_downward_test_data): New variable.
23754 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23755 (tan_upward_test_data): New variable.
23756 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23757 (tanh_test_data): New variable.
23758 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23759 (tgamma_test_data): New variable.
23760 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23761 (trunc_test_data): New variable.
23762 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23763 (y0_test_data): New variable.
23764 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23765 (y1_test_data): New variable.
23766 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23767 (significand_test_data): New variable.
23768 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23770 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23773 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23775 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23777 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23779 2013-05-10 Andreas Jaeger <aj@suse.de>
23782 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23783 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23785 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23787 * math/gen-libm-test.pl (adjust_arg): New function.
23788 (special_functions): Handle generating output in both functions
23790 (parse_args): Likewise.
23791 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23792 $in_func argument to parse_args.
23793 * math/libm-test.inc (struct test_f_f_data): New type.
23794 (IF_ROUND_INIT_): New macro.
23795 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23796 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23797 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23798 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23799 (ROUND_RESTORE_): Likewise.
23800 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23801 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23802 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23803 (ROUND_RESTORE_FE_UPWARD): Likewise.
23804 (RUN_TEST_LOOP_f_f): New macro.
23805 (acos_test_data): New variable.
23806 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23807 (acos_tonearest_test_data): New variable.
23808 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23810 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23812 * benchtests/bench-skeleton.c (startup): Fix coding style.
23814 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23817 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23818 negative infinity argument.
23819 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23820 negative infinity argument.
23821 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23822 negative infinity argument.
23823 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23826 2013-05-10 Florian Weimer <fweimer@redhat.com>
23828 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23829 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23830 * iconv/iconv_prog.c (main): Likewise.
23831 * locale/programs/charmap-dir.c (charmap_readdir)
23832 (fopen_uncompressed): Likewise.
23833 * locale/programs/locfile.c (siblings_uncached)
23834 (write_locale_data): Use lstat64 instead of lstat.
23835 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23838 2013-05-10 Andreas Jaeger <aj@suse.de>
23841 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23843 Include <locale.h>.
23845 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23847 * elf/dl-close.c (_dl_close_worker): Add comments.
23849 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23854 (__ieee754_rem_pio2l): Update comments.
23857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23859 (__ieee754_rem_pio2l): Update comments.
23861 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23862 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23864 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23867 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23868 (M_PI_34_LOG10El): Likewise.
23869 (M_PI2_LOG10El): Likewise.
23870 (M_PI4_LOG10El): Likewise.
23871 (M_PI_LOG10El): Likewise.
23873 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23877 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23879 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23880 (MINUS_ZERO_INIT): Likewise.
23881 (PLUS_INFTY_INIT): Likewise.
23882 (MINUS_INFTY_INIT): Likewise.
23883 (QNAN_VALUE_INIT): Likewise.
23884 (MAX_VALUE_INIT): Likewise.
23885 (MIN_VALUE_INIT): Likewise.
23886 (MIN_SUBNORM_VALUE_INIT): Likewise.
23887 (plus_zero): Initialize with PLUS_ZERO_INIT.
23888 (minus_zero): Initialize with MINUS_ZERO_INIT.
23889 (plus_infty): Initialize with PLUS_INFTY_INIT.
23890 (minus_infty): Initialize with MINUS_INFTY_INIT.
23891 (qnan_value): Initialize with QNAN_VALUE_INIT.
23892 (max_value): Initialize with MAX_VALUE_INIT.
23893 (min_value): Initialize with MIN_VALUE_INIT.
23894 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23896 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23897 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23898 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23899 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23901 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23902 (RUN_TEST_2_f): Likewise.
23903 (RUN_TEST_ff_f): Likewise.
23904 (RUN_TEST_fi_f): Likewise.
23905 (RUN_TEST_fl_f): Likewise.
23906 (RUN_TEST_fff_f): Likewise.
23907 (RUN_TEST_c_f): Likewise.
23908 (RUN_TEST_f_f1): Likewise.
23909 (RUN_TEST_fF_f1): Likewise.
23910 (RUN_TEST_fI_f1): Likewise.
23911 (RUN_TEST_ffI_f1): Likewise.
23912 (RUN_TEST_c_c): Likewise.
23913 (RUN_TEST_cc_c): Likewise.
23914 (RUN_TEST_f_i): Likewise.
23915 (RUN_TEST_f_i_tg): Likewise.
23916 (RUN_TEST_ff_i_tg): Likewise.
23917 (RUN_TEST_f_b): Likewise.
23918 (RUN_TEST_f_b_tg): Likewise.
23919 (RUN_TEST_f_l): Likewise.
23920 (RUN_TEST_f_L): Likewise.
23921 (RUN_TEST_sincos): Likewise.
23922 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23923 whether to show exceptions. Do not include ");\n" in return
23925 (special_functions): Output call to RUN_TEST_sincos instead of
23926 check_float calls. Update calls to new_test.
23927 (parse_args): Output call to single RUN_TEST_* macro instead of
23928 check_* calls and other assignments. Update calls to new_test.
23934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23935 input to result for tgamma overflow.
23936 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23937 (gamma_coeff): New variable.
23938 (NCOEFF): New macro.
23939 (gamma_positive): New function.
23940 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23941 underflow here. Use gamma_positive instead of exp (lgamma) for
23943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23944 (gamma_coeff): New variable.
23945 (NCOEFF): New macro.
23946 (gammaf_positive): New function.
23947 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23948 underflow here. Use gamma_positive instead of exp (lgamma) for
23950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23951 (gamma_coeff): New variable.
23952 (NCOEFF): New macro.
23953 (gammal_positive): New function.
23954 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23955 underflow here. Use gamma_positive instead of exp (lgamma) for
23957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23958 (gamma_coeff): New variable.
23959 (NCOEFF): New macro.
23960 (gammal_positive): New function.
23961 (__ieee754_gammal_r): Handle positive infinity, overflow and
23962 underflow here. Handle NaN the same as positive infinity. Remove
23963 check x < 0xffffffff for negative integers. Use gamma_positive
23964 instead of exp (lgamma) for other arguments.
23965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23966 (gamma_coeff): New variable.
23967 (NCOEFF): New macro.
23968 (gammal_positive): New function.
23969 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23970 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23975 * sysdeps/generic/math_private.h (__gamma_productf): New
23977 (__gamma_product): Likewise.
23978 (__gamma_productl): Likewise.
23979 * math/Makefile (libm-calls): Add gamma_product.
23980 * math/libm-test.inc (tgamma_test): Add more tests.
23981 * sysdeps/i386/fpu/libm-test-ulps: Update.
23982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23984 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23986 * benchtests/bench-skeleton.c (main): Preheat CPU.
23988 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23990 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23992 2013-05-07 Roland McGrath <roland@hack.frob.com>
23994 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23995 and _dl_skip_args_internal.
23997 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23999 * manual/message.texi (Message Translation): Talk about users.
24000 Message to key mapping impacts design.
24002 2013-05-06 Roland McGrath <roland@hack.frob.com>
24004 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24006 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24008 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24009 * sysdeps/wordsize-64/glob64.c: ... here.
24011 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24012 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24015 * debug/getlogin_r_chk.c: Moved to ...
24016 * login/getlogin_r_chk.c: ... here.
24017 * debug/Makefile (routines): Move getlogin_r_chk to ...
24018 * login/Makefile (routines): ... here.
24019 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24020 * login/Versions (libc: GLIBC_2.4): ... here.
24022 * io/poll.c (__poll): Renamed from poll.
24023 Add libc_hidden_def.
24024 (poll): Define as weak alias.
24026 * debug/ptsname_r_chk.c: Moved to ...
24027 * login/ptsname_r_chk.c: ... here.
24028 * debug/Makefile (routines): Move ptsname_r_chk to ...
24029 * login/Makefile (routines): ... here.
24030 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24031 * login/Versions (libc: GLIBC_2.4): ... here.
24033 * posix/getlogin.c: Moved to ...
24034 * login/getlogin.c: ... here.
24035 * posix/getlogin_r.c: Moved to ...
24036 * login/getlogin_r.c: ... here.
24037 * posix/getlogin_r.c: Moved to ...
24038 * login/getlogin_r.c: ... here.
24039 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24040 * login/Makefile (routines): ... here.
24041 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24042 * login/Versions (libc: GLIBC_2.0): ... here.
24044 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24045 (setrlimit): Define as weak alias.
24047 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24048 Call __ names for open, ftruncate, and close.
24049 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24050 (truncate): Define as weak alias.
24052 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24054 * math/gen-libm-test.pl (parse_args): Initialize x before each
24055 test of frexp, modf and remquo.
24057 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24058 test signgam value.
24060 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24064 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24068 2013-05-06 Roland McGrath <roland@hack.frob.com>
24070 * elf/dl-writev.h: New file.
24071 * elf/dl-misc.c: Include it.
24072 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24073 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24075 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24077 * math/libm-test.inc (noXFails): Remove variable.
24078 (noXPasses): Likewise.
24079 (BUILD_COMPLEX_INT): Remove macro.
24080 (print_screen): Remove xfail argument.
24081 (print_screen_max_error): Likewise.
24082 (update_stats): Likewise.
24083 (print_max_error): Likewise. Update calls to other affected
24085 (print_complex_max_error): Likewise.
24086 (test_single_exception): Update calls to print_screen.
24087 (test_single_errno): Likewise.
24088 (check_float_internal): Remove xfail argument. Update calls to
24089 other affected functions.
24090 (check_float): Likewise.
24091 (check_complex): Likewise.
24092 (check_int): Likewise.
24093 (check_long): Likewise.
24094 (check_bool): Likewise.
24095 (check_longlong): Likewise.
24096 (main): Don't print noXFails and noXPasses.
24097 * math/gen-libm-test.pl (top level): Don't mention expected
24098 failure handling in comment.
24099 (new_test): Don't handle expected failures.
24100 (parse_args): Don't mention expected failure handling in comment.
24101 (generate_testfile): Don't handle expected failures.
24102 (parse_ulps): Likewise.
24103 (print_ulps_file): Likewise.
24104 (get_failure): Remove function.
24105 (output_test): Don't handle expected failures.
24106 * make/README.libm-test: Don't mention expected failure handling.
24108 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24109 (minus_zero): Likewise.
24110 (plus_infty): Likewise.
24111 (minus_infty): Likewise.
24112 (qnan_value): Likewise.
24113 (max_value): Likewise.
24114 (min_value): Likewise.
24115 (min_subnorm_value): Likewise.
24116 (initialize): Do not initialize those variables dynamically.
24118 2013-05-03 Roland McGrath <roland@hack.frob.com>
24120 * io/open.c (__open_2): Moved to ...
24121 * io/open_2.c: ... this new file.
24122 * io/open64.c (__open64_2): Moved to ...
24123 * io/open64_2.c: ... this new file.
24124 * io/openat.c (__openat_2): Moved to ...
24125 * io/openat_2.c: ... this new file.
24126 * io/openat64.c (__openat64_2): Moved to ...
24127 * io/openat64_2.c: ... this new file.
24128 * io/Makefile (routines): Add them.
24129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24130 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24131 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24132 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24133 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24134 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24135 (__openat64): Add hidden_ver.
24136 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24137 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24139 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24140 Separately conditionalize setting of GLRO(dl_sysinfo) so
24141 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24142 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24144 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24146 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24149 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24150 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24151 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24152 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24153 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24155 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24157 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24158 test signgam value.
24160 * math/libm-test.inc (hypot_test): Do not use
24161 IGNORE_ZERO_INF_SIGN.
24163 2013-05-03 Andreas Jaeger <aj@suse.de>
24165 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24167 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24168 (PF_MAX): Adjust for VSOCK change.
24170 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24174 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24177 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24178 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24179 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24181 2013-05-02 David S. Miller <davem@davemloft.net>
24183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24185 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24187 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24189 2013-05-01 Roland McGrath <roland@hack.frob.com>
24191 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24193 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24196 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24197 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24198 Use __attribute__ ((__gnu_inline__)).
24199 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24200 Don't use __attribute__ ((__gnu_inline__)).
24202 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24205 * math/s_catan.c (__catan): Handle small real or imaginary part of
24206 input specially to avoid spurious underflow.
24207 * math/s_catanf.c (__catanf): Likewise.
24208 * math/s_catanh.c (__catanh): Likewise.
24209 * math/s_catanhf.c (__catanhf): Likewise.
24210 * math/s_catanhl.c (__catanhl): Likewise.
24211 * math/s_catanl.c (__catanl): Likewise.
24212 * math/libm-test.inc (catan_test): Add more tests.
24213 (catanh_test): Likewise.
24214 * sysdeps/i386/fpu/libm-test-ulps: Update.
24215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24217 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24221 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24224 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24225 accurately for denominator in atan2.
24226 * math/s_catanf.c (__catanf): Likewise.
24227 * math/s_catanh.c (__catanh): Likewise.
24228 * math/s_catanhf.c (__catanhf): Likewise.
24229 * math/s_catanhl.c (__catanhl): Likewise.
24230 * math/s_catanl.c (__catanl): Likewise.
24231 * math/libm-test.inc (catan_test): Add more tests.
24232 (catanh_test): Likewise.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24236 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24238 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24240 * benchtests/Makefile (bench): Remove slow benchmarks.
24241 * benchtests/atan-inputs: Add slow benchmark inputs.
24242 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24243 (BENCH_FUNC): Accept variant offset.
24245 * benchtests/bench-skeleton.c (main): Run benchmark for each
24247 * benchtests/cos-inputs: Add slow benchmark inputs.
24248 * benchtests/exp-inputs: Likewise.
24249 * benchtests/pow-inputs: Likewise.
24250 * benchtests/sin-inputs: Likewise.
24251 * benchtests/slowatan-inputs: Remove.
24252 * benchtests/slowatan.c: Remove.
24253 * benchtests/slowcos-inputs: Remove.
24254 * benchtests/slowcos.c: Remove.
24255 * benchtests/slowexp-inputs: Remove.
24256 * benchtests/slowexp.c: Remove.
24257 * benchtests/slowpow-inputs: Remove.
24258 * benchtests/slowpow.c: Remove.
24259 * benchtests/slowsin-inputs: Remove.
24260 * benchtests/slowsin.c: Remove.
24261 * benchtests/slowtan-inputs: Remove.
24262 * benchtests/slowtan.c: Remove.
24263 * benchtests/tan-inputs: Add slow benchmark inputs.
24264 * scripts/bench.pl: Parse comments and directives.
24266 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24268 ($(objpfx)bench-%.c): Remove *-ITER.
24269 * benchtests/bench-modf.c: Remove definition of ITER.
24270 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24271 (main): Loop for DURATION seconds instead of fixed number of
24273 * scripts/bench.pl: Don't expect iterations in parameters.
24275 2013-04-29 Roland McGrath <roland@hack.frob.com>
24277 * io/fchdir.c (__fchdir): Renamed from fchdir.
24278 (fchdir): Define as weak alias.
24280 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24282 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24283 (ERRNO_EDOM): Likewise.
24284 (ERRNO_ERANGE): Likewise.
24285 (noErrnoTests): New variable.
24286 (init_max_error): Set errno to 0.
24287 (test_single_errno): New function.
24288 (test_errno): Likewise.
24289 (check_float_internal): Call test_errno. Set errno to 0.
24290 (check_complex): Refer to errno tests in comment.
24291 (check_int): Call test_errno. Set errno to 0.
24292 (check_long): Likewise.
24293 (check_bool): Likewise.
24294 (check_longlong): Likewise.
24295 (cos_test): Use ERRNO_* flags for errno tests instead of
24297 (expm1_test): Likewise.
24298 (fmod_test): Likewise.
24299 (ilogb_test): Likewise.
24300 (lgamma_test): Likewise.
24301 (pow_test): Likewise.
24302 (remainder_test): Likewise.
24303 (sin_test): Likewise.
24304 (tan_test): Likewise.
24305 (yn_test): Likewise.
24306 (initialize): Set errno to 0.
24307 (main): Print number of errno tests.
24308 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24310 2013-04-29 Andreas Jaeger <aj@suse.de>
24313 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24317 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24318 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24322 * stdlib/random.c (__initstate): Return NULL if
24326 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24327 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24330 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24334 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24336 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24337 of individual tests.
24338 (casin_test): Likewise.
24339 (casinh_test): Likewise.
24341 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24344 * math/s_catan.c (__catan): Handle arguments with large real or
24345 imaginary part separately without squaring.
24346 * math/s_catanf.c (__catanf): Likewise.
24347 * math/s_catanh.c (__catanh): Likewise.
24348 * math/s_catanhf.c (__catanhf): Likewise.
24349 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24351 (__catanhl): Handle arguments with large real or imaginary part
24352 separately without squaring.
24353 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24355 (__catanl): Handle arguments with large real or imaginary part
24356 separately without squaring.
24357 * math/libm-test.inc (catan_test): Add more tests.
24358 (catanh_test): Likewise.
24359 * sysdeps/i386/fpu/libm-test-ulps: Update.
24360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24362 2013-04-27 Andreas Jaeger <aj@suse.de>
24365 * stdlib/stdlib.h: Update guards for qecvt.
24366 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24369 2013-04-27 Allan McRae <allan@archlinux.org>
24371 * sysdeps/i386/fpu/libm-test-ulps: Update.
24373 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24376 * math/s_catan.c: Include <float.h>.
24377 (__catan): Ensure underflow exception occurs for underflowed
24379 * math/s_catanf.c: Include <float.h>.
24380 (__catanf): Ensure underflow exception occurs for underflowed
24382 * math/s_catanh.c: Include <float.h>.
24383 (__catanh): Ensure underflow exception occurs for underflowed
24385 * math/s_catanhf.c: Include <float.h>.
24386 (__catanhf): Ensure underflow exception occurs for underflowed
24388 * math/s_catanhl.c: Include <float.h>.
24389 (__catanhl): Ensure underflow exception occurs for underflowed
24391 * math/s_catanl.c: Include <float.h>.
24392 (__catanl): Ensure underflow exception occurs for underflowed
24394 * math/libm-test.inc (catan_test): Add more tests.
24395 (catanh_test): Likewise.
24398 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24399 underflowed result.
24400 * math/s_ccoshf.c (__ccoshf): Likewise.
24401 * math/s_ccoshl.c (__ccoshl): Likewise.
24402 * math/s_csin.c (__csin): Likewise.
24403 * math/s_csinf.c (__csinf): Likewise.
24404 * math/s_csinh.c (__csinh): Likewise.
24405 * math/s_csinhf.c (__csinhf): Likewise.
24406 * math/s_csinhl.c (__csinhl): Likewise.
24407 * math/s_csinl.c (__csinl): Likewise.
24408 * math/libm-test.inc (ccos_test): Add more tests.
24409 (ccosh_test): Likewise.
24410 (csin_test): Likewise.
24411 (csinh_test): Likewise.
24413 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24415 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24416 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24417 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24418 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24419 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24420 powerpc/power5+/fpu folders.
24421 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24424 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24428 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24430 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24431 additions to variable.
24432 [$(config-machine) = x86_64] (modules-names): Likewise.
24433 ($(objpfx)tst-audit3): Remove dependency.
24434 ($(objpfx)tst-audit3.out): Likewise.
24435 ($(objpfx)tst-audit4): Likewise.
24436 ($(objpfx)tst-audit4.out): Likewise.
24437 ($(objpfx)tst-audit5): Likewise.
24438 ($(objpfx)tst-audit5.out): Likewise.
24439 ($(objpfx)tst-audit6): Likewise.
24440 ($(objpfx)tst-audit6.out): Likewise.
24441 ($(objpfx)tst-audit7): Likewise.
24442 ($(objpfx)tst-audit7.out): Likewise.
24443 (tst-audit3-ENV): Remove variable.
24444 (tst-audit4-ENV): Likewise.
24445 (tst-audit5-ENV): Likewise.
24446 (tst-audit6-ENV): Likewise.
24447 (tst-audit7-ENV): Likewise.
24448 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24449 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24450 addition to variable.
24451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24456 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24457 tst-audit3, tst-audit4 and tst-audit5.
24458 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24459 tst-audit6 and tst-audit7.
24460 [$(subdir) = elf] (modules-names): Add audit modules for those
24462 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24463 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24464 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24465 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24466 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24467 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24468 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24469 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24470 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24471 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24472 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24473 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24474 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24475 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24476 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24477 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24479 [$(subdir) = elf && $(config-cflags-avx) = yes]
24480 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24481 [$(subdir) = elf && $(config-cflags-avx) = yes]
24482 (CFLAGS-tst-auditmod4a.c): Likewise.
24483 [$(subdir) = elf && $(config-cflags-avx) = yes]
24484 (CFLAGS-tst-auditmod4b.c): Likewise.
24485 [$(subdir) = elf && $(config-cflags-avx) = yes]
24486 (CFLAGS-tst-auditmod6b.c): Likewise.
24487 [$(subdir) = elf && $(config-cflags-avx) = yes]
24488 (CFLAGS-tst-auditmod6c.c): Likewise.
24489 [$(subdir) = elf && $(config-cflags-avx) = yes]
24490 (CFLAGS-tst-auditmod7b.c): Likewise.
24491 * elf/tst-audit3.c: Move to ...
24492 * sysdeps/x86_64/tst-audit3.c: ... here.
24493 * elf/tst-audit4.c: Move to ...
24494 * sysdeps/x86_64/tst-audit4.c: ... here.
24495 * elf/tst-audit5.c: Move to ...
24496 * sysdeps/x86_64/tst-audit5.c: ... here.
24497 * elf/tst-audit6.c: Move to ...
24498 * sysdeps/x86_64/tst-audit6.c: ... here.
24499 * elf/tst-audit7.c: Move to ...
24500 * sysdeps/x86_64/tst-audit7.c: ... here.
24501 * elf/tst-auditmod3a.c: Move to ...
24502 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24503 * elf/tst-auditmod3b.c: Move to ...
24504 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24505 * elf/tst-auditmod4a.c: Move to ...
24506 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24507 * elf/tst-auditmod4b.c: Move to ...
24508 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24509 * elf/tst-auditmod5a.c: Move to ...
24510 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24511 * elf/tst-auditmod5b.c: Move to ...
24512 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24513 * elf/tst-auditmod6a.c: Move to ...
24514 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24515 * elf/tst-auditmod6b.c: Move to ...
24516 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24517 * elf/tst-auditmod6c.c: Move to ...
24518 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24519 * elf/tst-auditmod7a.c: Move to ...
24520 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24521 * elf/tst-auditmod7b.c: Move to ...
24522 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24524 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24527 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24528 define unconditionally.
24529 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24530 define unconditionally.
24531 (INT8_C, INT16_C, etc.): Likewise.
24533 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24535 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24536 __ehdr_start with hidden visibility.
24538 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24540 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24542 * math/libm-test.inc (cos_test): Use accurate hex constants.
24543 (sincost_test): Likewise.
24545 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24547 * math/libm-test.inc (catan_test): Add more tests.
24548 (catanh_test): Likewise.
24550 * math/s_catanf.c (__catanf): Use suffixed floating-point
24552 * math/s_catanhf.c (__catanhf): Likewise.
24553 * math/s_catanhl.c (__catanhl): Likewise.
24554 * math/s_catanl.c (__catanl): Likewise.
24557 * math/s_catan.c (__catan): Calculate imaginary part of result
24558 with log1p not log unless computing log of number close to 0.
24559 * math/s_catanf.c (__catanf): Likewise.
24560 * math/s_catanl.c (__catanl): Likewise.
24561 * math/s_catanh.c (__catanh): Calculate real part of result with
24562 log1p not log unless computing log of number close to 0.
24563 * math/s_catanhf.c (__catanhf): Likewise.
24564 * math/s_catanhl.c (__catanhl): Likewise.
24565 * math/libm-test.inc (catan_test): Add more tests.
24566 (catanh_test): Likewise.
24567 * sysdeps/i386/fpu/libm-test-ulps: Update.
24568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24570 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24572 * benchtests/Makefile: Mention files in which fast and slow
24573 paths of math functions are implemented.
24575 2013-04-23 Roland McGrath <roland@hack.frob.com>
24577 * sysdeps/posix/timespec_get.c: New file.
24579 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24581 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24583 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24585 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24586 powerpc/power5/fpu folders.
24587 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24588 * benchtests/Makefile: Add modf testcase.
24589 * benchtests/bench-modf.c: New file: Benchmark test for mo
24591 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24594 * time/Makefile (tests): Add tst-strptime-whitespace.
24595 * time/strptime_l.c (get_number): Use ISSPACE.
24596 (__strptime_internal): Likewise.
24597 * time/tst-strptime-whitespace.c: New test case.
24599 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24601 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24603 (_nss_files_init): Set it here.
24605 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24608 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24611 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24613 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24615 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24620 2013-04-21 David S. Miller <davem@davemloft.net>
24622 * po/ru.po: Update Russion translation from translation project.
24624 2013-04-17 Adam Conrad <adconrad@0c3.net>
24626 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24629 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24631 * configure.in: Remove i386 configure warning. Remove i386 case.
24632 * configure: Regenerate.
24633 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24634 Add example to error message.
24635 * sysdeps/i386/configure: Regenerate.
24637 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24639 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24641 * benchtests/cos-inputs: New file.
24642 * benchtests/slowcos-inputs: New file.
24643 * benchtests/slowcos.c: New file.
24644 * benchtests/slowtan-inputs: New file.
24645 * benchtests/slowtan.c: New file.
24646 * benchtests/tan-inputs: New file.
24648 2013-04-16 Roland McGrath <roland@hack.frob.com>
24650 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24653 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24655 * benchtests/Makefile: Include cppflags-iterator.mk to add
24656 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24658 * Makefile.in (bench-clean): New target.
24659 * benchtests/Makefile (bench-clean): Likewise.
24661 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24663 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24665 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24667 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24669 2013-04-15 Andreas Schwab <schwab@suse.de>
24671 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24673 * nscd/pwdcache.c (cache_addpw): Likewise.
24674 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24677 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24679 * benchtests/Makefile (bench): Write all output to
24680 bench-out.tmp together.
24682 2013-04-15 Andreas Schwab <schwab@suse.de>
24684 * nscd/nscd.c (main): Don't fork again after closing files.
24686 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24688 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24690 * benchtests/Rules (bench-deps): Collect dependencies into a
24691 single variable. Add Makefile to dependencies.
24692 ($(objpfx)bench-%.c): Depend on bench-deps.
24694 2013-04-12 Roland McGrath <roland@hack.frob.com>
24695 Xavier Roche <roche+kml2@exalead.com>
24698 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24699 just that it's a file descriptor.
24700 * manual/llio.texi (Synchronizing AIO Operations): Update description
24701 for EBADF error from aio_fsync.
24703 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24705 * Rules (bench): Move target definition...
24706 * benchtests/Makefile: ... here.
24708 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24710 * math/libm-test.inc (cos_test): Fix PI/2 test.
24711 (sincos_test): Likewise.
24712 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24713 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24715 2013-04-11 Andreas Schwab <schwab@suse.de>
24718 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24719 accept exponent character only when digits were seen.
24720 * stdio-common/Makefile (tests): Add bug26.
24721 * stdio-common/bug26.c: New file.
24724 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24727 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24729 * Makeconfig (rtld-prefix): Define built linker prefix.
24730 * Rules (run-bench): Use it.
24731 * math/Makefile (run-regen-ulps): Likewise.
24733 * Rules (bench): Remove eval.
24735 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24736 Roland McGrath <roland@hack.frob.com>
24737 Ondrej Bilka <neleai@seznam.cz>
24740 * time/getdate.c: Include ctype.h and alloca.h.
24741 (__getdate_r): Trim leading and trailing spaces of input.
24742 * time/tst-getdate.c (tests): Add tests with leading and
24745 2013-04-08 Roland McGrath <roland@hack.frob.com>
24748 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24749 when computing value.
24751 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24753 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24754 Use testrun.sh to run libm tests.
24757 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24759 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24762 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24764 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24766 * Makefile.in (regen-ulps): New target.
24767 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24768 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24769 [ifneq (no,$(PERL)] (regen-ulps): New target.
24770 [ifeq (no,$(PERL)] (regen-ulps): New target.
24771 * math/libm-test.inc (ulps_file_name): Define.
24772 (output_dir): New variable.
24773 (options): Add "output-dir" option.
24774 (parse_opt): Handle 'o' case.
24775 (main): If output_dir is non-NULL use it as a prefix
24777 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24779 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24781 [BZ #10060, #10062]
24782 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24783 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24784 fail configure if __sync_val_compare_and_swap is not inlined.
24785 * sysdeps/i386/configure: Regenerate.
24786 * configure.in: Build for i686 when configured for i386.
24787 * configure: Regenerate.
24788 * README: Remove i386 reference.
24790 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24792 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24795 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24797 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24798 (lmsnanval): New variables.
24799 (F): Add conversion tests.
24800 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24801 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24803 * stdio-common/tstdiomisc.c (F): Properly collect individual
24806 [BZ #14686, #15336]
24807 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24808 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24809 Instead, use input NaN values or generate a qNaN by arithmetic
24810 operation. Also fix bugs to comply with the standard.
24811 * math/libm-test.inc (remainder_test): Add more tests.
24813 [BZ #15335, #15342]
24814 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24816 input NaN values or generate a qNaN by arithmetic operation.
24818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24821 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24824 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24827 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24828 underflowed result.
24829 * math/s_cexpf.c (__cexpf): Likewise.
24830 * math/s_cexpl.c (__cexpl): Likewise.
24831 * math/libm-test.inc (cexp_test): Add more tests.
24833 2013-04-03 Andreas Schwab <schwab@suse.de>
24836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24837 order arrays from heap if bigger than alloca cutoff.
24839 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24841 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24842 (SNAN_TESTS_double): Refer to GCC PR56831.
24843 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24846 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24848 * Rules (bench): Move bench.out after the run is complete.
24850 * Rules (bench): Echo currently running benchmark.
24852 * benchtests/Makefile (bench): Add atan and slowatan.
24853 * benchtests/atan-inputs: New file.
24854 * benchtests/slowatan-inputs: New file.
24855 * benchtests/slowatan.c: New file.
24857 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24862 * sysdeps/unix/sysv/linux/kernel-features.h
24863 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24864 __ASSUME_XFS_RESTRICTED_CHOWN.
24865 * sysdeps/unix/sysv/linux/pathconf.c
24866 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24867 Save and restore errno.
24869 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24872 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24873 arguments using __kernel_casinh.
24874 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24875 arguments using __kernel_casinhf.
24876 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24877 arguments using __kernel_casinhl.
24878 * math/libm-test.inc (cacosh_test): Add more tests.
24879 * sysdeps/i386/fpu/libm-test-ulps: Update.
24880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24882 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24884 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24887 * bench/Makefile (bench): Add sin and slowsin.
24888 * benchtests/sin-inputs: New file.
24889 * benchtests/slowsin-inputs: New file.
24890 * benchtests/slowsin.c: New file.
24892 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24893 (bench): Add slowexp and slowpow.
24894 (exp-ITER): Increase iterations.
24895 (pow-ITER): Likewise.
24896 * benchtests/exp-inputs: Change input.
24897 * benchtests/pow-inputs: Likewise.
24898 * benchtests/slowexp-inputs: New file.
24899 * benchtests/slowexp.c: New file.
24900 * benchtests/slowpow-inputs: New file.
24901 * benchtests/slowpow.c: New file.
24903 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24905 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24907 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24908 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24909 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24910 * benchtests/Makefile: Add rint benchtest.
24911 * benchtests/rint-inputs: Input for rint benchtest.
24913 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24915 * Versions.def (libm): Add GLIBC_2.18.
24916 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24917 hidden libm prototypes.
24918 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24919 * math/Makefile (libm-calls): Add s_issignaling.
24920 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24921 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24922 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24924 * math/math.h [__USE_GNU] (issignaling): New macro.
24925 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24926 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24927 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24928 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24931 * manual/arith.texi (issignaling): New section.
24932 * manual/libm-err-tab.pl (@all_functions): Update comment.
24933 * math/gen-libm-test.pl (parse_args): Apply special handling for
24935 * math/libm-test.inc (print_float, issignaling_test): New
24937 (check_float_internal): Add issignaling checks.
24938 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24939 default definition.
24940 * sysdeps/powerpc/math-tests.h: New file.
24941 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24943 * math/test-snan.c (TEST_FUNC): Likewise.
24945 2013-03-30 David S. Miller <davem@davemloft.net>
24947 * po/de.po: Update from translation team.
24949 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24952 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24953 imaginary part less than 1.0 and real part less than 0.5
24955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24957 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24958 (cacos_test): Add more tests.
24959 (casin_test): Likewise.
24960 (casinh_test): Likewise.
24961 * sysdeps/i386/fpu/libm-test-ulps: Update.
24962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24966 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24967 ONE with its value.
24969 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24970 (__pow_mp): Replace ONE and MONE with their values.
24971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24974 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24975 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24978 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24980 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24981 (__pow_mp): Replace ZERO and MZERO with their values.
24982 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24984 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24987 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24990 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24992 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24994 2013-03-28 Roland McGrath <roland@hack.frob.com>
24996 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24997 Declare with __attribute__ ((weak)).
24998 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24999 Call __call_tls_dtors only if it's not NULL.
25001 2013-03-28 Roland McGrath <roland@hack.frob.com>
25003 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25004 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25005 magic __ehdr_start linker symbol if it's defined.
25006 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25007 them up here if it was already done.
25009 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25010 (_dl_aux_init): Use const in cast when setting it.
25011 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25012 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25013 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25017 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25018 * csu/libc-tls.c: Nor here.
25019 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25021 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25022 (__libc_message): Never call vsyslog.
25024 2013-03-28 Alan Modra <amodra@gmail.com>
25026 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25028 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25031 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25038 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25041 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25042 Don't add gid passed as argument.
25044 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25046 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25049 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25050 imaginary part between 1.0 and 1.5 and real part less than 0.5
25052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25054 * math/libm-test.inc (cacos_test): Add more tests.
25055 (casin_test): Likewise.
25056 (casinh_test): Likewise.
25057 * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25060 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25062 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25065 (denorm): Likewise.
25066 (__dbl_mp): Likewise.
25067 (add_magnitudes): Likewise.
25068 (sub_magnitudes): Likewise.
25076 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25078 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25079 (__dubcos): Likewise.
25080 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25081 (__ieee754_acos): Likewise.
25082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25083 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25084 (__exp1): Likewise.
25085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25088 (my_log2): Likewise.
25089 (checkint): Likewise.
25090 * sysdeps/ieee754/dbl-64/e_remainder.c
25091 (__ieee754_remainder): Likewise.
25092 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25094 (bsloww): Likewise.
25095 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25099 MANTISSA_STORE_T to store computations on mantissa. Use
25100 macros for rounding and division.
25101 (denorm): Likewise.
25102 (__dbl_mp): Likewise.
25103 (add_magnitudes): Likewise.
25104 (sub_magnitudes): Likewise.
25107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25108 powers of two in terms of TWOPOW macro.
25109 (mp_no): Make type of mantissa as MANTISSA_T.
25110 [!RADIXI]: Define RADIXI.
25111 [!TWO52]: Define TWO52.
25112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25114 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25116 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25117 llroundl symbol when building for PPC32.
25119 2013-03-24 Mark H Weaver <mhw@netris.org>
25121 * manual/arith.texi (Normalization Functions): Fix prototypes for
25122 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25124 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25128 high value to check if expl overflow.
25129 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25130 to check for underflow and overflow.
25131 * math/libm-test.inc: Add exp test.
25133 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25136 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25139 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25141 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25144 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25146 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25147 wrap blocks consisting of several statements.
25149 * sysdeps/generic/math-tests.h: New file.
25150 * sysdeps/i386/fpu/math-tests.h: Likewise.
25151 * math/test-snan.c: Include it.
25152 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25154 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25158 (__ieee754_j0l): Do not improve calculations using cos of twice
25159 input for inputs above LDBL_MAX / 2.0L.
25160 (__ieee754_y0l): Likewise.
25161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25162 (__ieee754_j1l): Do not improve calculations using cos of twice
25163 input for inputs above LDBL_MAX / 2.0L.
25164 (__ieee754_y1l): Likewise.
25165 * math/libm-test.inc (j0_test): Add another test.
25166 (j1_test): Likewise.
25167 (y0_test): Likewise.
25168 (y1_test): Likewise.
25169 * sysdeps/i386/fpu/libm-test-ulps: Update.
25171 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25173 * Rules ($(objpfx)bench-%.c): Include code from a C source
25176 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25179 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25180 imaginary part 1.0 and real part less than 0.5 specially.
25181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25183 * math/libm-test.inc (cacos_test): Add more tests.
25184 (casin_test): Likewise.
25185 (casinh_test): Likewise.
25186 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25189 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25191 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25192 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25194 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25196 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25197 * config.make.in (config-cflags-sse4): Remove variable.
25198 (config-cflags-avx): Likewise.
25199 (config-cflags-sse2avx): Likewise.
25200 (config-cflags-novzeroupper): Likewise.
25201 (config-asflags-i686): Likewise.
25202 (have-mfma4): Likewise.
25203 (have-as-vis3): Likewise.
25205 * configure.in (MIG): Do not AC_SUBST.
25206 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25207 (libc_cv_cc_sse4): Do not AC_SUBST.
25208 (libc_cv_cc_avx): Likewise.
25209 (libc_cv_cc_sse2avx): Likewise.
25210 (libc_cv_cc_novzeroupper): Likewise.
25211 (libc_cv_cc_fma4): Likewise.
25212 (libc_cv_as_i686): Likewise.
25213 (libc_cv_sparc_as_vis3): Likewise.
25214 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25216 (config-asflags-i686): Likewise.
25217 (config-cflags-avx): Likewise.
25218 (config-cflags-sse2avx): Likewise.
25219 (have-mfma4): Likewise.
25220 (config-cflags-novzeroupper): Likewise.
25221 * sysdeps/mach/configure.in (MIG): Likewise.
25222 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25223 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25225 (config-cflags-avx): Likewise.
25226 (config-cflags-sse2avx): Likewise.
25227 (have-mfma4): Likewise.
25228 (config-cflags-novzeroupper): Likewise.
25229 * configure: Regenerated.
25230 * sysdeps/i386/configure: Likewise.
25231 * sysdeps/mach/configure: Likewise.
25232 * sysdeps/sparc/configure: Likewise.
25233 * sysdeps/x86_64/configure: Likewise.
25235 2013-03-20 Roland McGrath <roland@hack.frob.com>
25238 * locale/programs/localedef.c (options): Put N_ translation marker
25239 on argument names, not just descriptions.
25241 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25243 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25245 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25248 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25250 2013-03-19 Roland McGrath <roland@hack.frob.com>
25252 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25253 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25254 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25255 [!BEFORE_ABORT] (before_abort): New function.
25256 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25257 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25258 (writev_for_fatal): New function.
25259 (WRITEV_FOR_FATAL): New macro; call that.
25260 (backtrace_and_maps): New function.
25261 (BEFORE_ABORT): New macro; call that.
25262 (struct str_list): Type removed.
25263 (__libc_message, __libc_fatal): Functions removed.
25264 Include <sysdeps/posix/libc_fatal.c> instead.
25266 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25268 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25270 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25273 2013-03-19 Andreas Schwab <schwab@suse.de>
25275 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25276 * sysdeps/gnu/configure: Regenerate.
25278 * configure.in: Substitute libc_cv_rtlddir.
25279 * configure: Regenerate.
25280 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25281 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25282 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25283 * elf/Makefile (install-others, CFLAGS-interp.c)
25284 (ldso_install, common-ldd-rewrite): Likewise.
25285 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25286 $(inst_slibdir)/$(rtld-installed-name).
25287 * scripts/rellns-sh: Add -p option.
25288 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25291 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * manual/nptl.texi: Renamed to ...
25294 * manual/threads.texi: ... this.
25295 * manual/Makefile (chapters): Update.
25297 2013-03-18 Roland McGrath <roland@hack.frob.com>
25300 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25301 on argument names, not just descriptions.
25302 * malloc/memusagestat.c (options): Likewise.
25303 * nss/getent.c (options): Likewise.
25305 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25308 * iconv/iconv_prog.c (options): Put N_ translation marker
25309 on argument names, not just descriptions.
25310 * iconv/iconvconfig.c (options): Likewise.
25312 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25314 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25315 implementation which is faster on all x86_64 architectures.
25316 Tested on AMD, Intel Nehalem, SNB, IVB.
25317 * sysdeps/x86_64/strnlen.S: Likewise.
25319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25320 Remove all multiarch strlen and strnlen versions.
25321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25322 Remove strlen and strnlen related parts.
25324 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25325 Inline strlen part.
25326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25328 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25329 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25330 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25331 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25332 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25333 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25335 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25337 * manual/memory.texi (Malloc Tunable Parameters):
25338 Sort parameters alphabetically. Add comments for missing entries.
25340 2013-03-17 David S. Miller <davem@davemloft.net>
25342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25344 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25348 for arguments at most half maximum finite value.
25349 * math/libm-test.inc (j0_test): Add more tests.
25350 (j1_test): Likewise.
25351 (y0_test): Likewise.
25352 (y1_test): Likewise.
25353 * sysdeps/i386/fpu/libm-test-ulps: Update.
25354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25357 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25358 1 / x and functions P and Q for arguments above 0x1p256L.
25359 (__ieee754_y0l): Likewise.
25360 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25361 (__ieee754_y1l): Likewise.
25362 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25363 (j1_test): Likewise.
25364 (y0_test): Likewise.
25365 (y1_test): Likewise.
25367 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25369 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25372 2013-03-15 Roland McGrath <roland@hack.frob.com>
25374 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25375 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25376 zero since it's initialized to EXEC_PAGESIZE.
25378 * sysdeps/unix/sysv/linux/ldsodefs.h
25379 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25380 * sysdeps/generic/ldsodefs.h: ... here.
25382 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25384 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25386 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25388 * math/test-snan.c: Renamed from
25389 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25390 * math/Makefile (tests): Add test-snan.
25391 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25394 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25395 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25397 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25398 __builtin_nan family of functions.
25399 * math/libm-test.inc (initialize): Initialize qnan_value with
25400 __builtin_nan family of functions.
25401 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25403 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25405 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25406 storage class. Initialize qNaN_var and sNaN_var with
25407 __builtin_nan and __builtin_nans families of functions,
25410 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25411 (sqrt_test): Remove duplicate test with qNaN input.
25412 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25413 (round_test, signbit_test, significand_test): Note missing +/-Inf
25414 as well as qNaN tests.
25416 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25417 qNaN_var. Fix a few strings, too.
25418 * math/libm-test.inc (nan_value): Rename to qnan_value.
25419 * math/gen-libm-test.pl (%beautify): Adjust to that.
25420 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25421 * math/test-misc.c (main): Likewise.
25422 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25423 to __qnan_bytes, and __qnan_union, respectively.
25424 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25426 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25427 and lqnanval, respectively.
25428 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25429 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25430 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25431 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25433 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25434 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25437 * math/test-misc.c (main): Fix copy'n'pastos.
25438 * misc/tst-efgcvt.c (special): Likewise.
25440 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25441 Remove declarations.
25443 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25445 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25446 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25447 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25448 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25450 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25453 macro to return vdso values correctly in IFUNC implementations.
25454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25455 Optimization by using IFUNC.
25457 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25458 Richard Henderson <rth@redhat.com>
25459 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25461 * Makefile.in (bench): New target.
25462 * NEWS: Mention the benchmark framework.
25463 * Rules (bench): Likewise.
25464 (binaries-bench): Generate binaries for functions to
25466 * benchtests/Makefile: New makefile for benchmark tests.
25467 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25469 * benchtests/exp-inputs: New input file for EXP function.
25470 * benchtests/pow-inputs: New input file for POW function.
25471 * scripts/bench.pl: New script to generate source files for
25472 benchmark programs.
25474 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25476 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25478 computations on mantissa. Use macros for rounding and
25480 (denorm): Likewise.
25481 (__dbl_mp): Likewise.
25482 (add_magnitudes): Likewise.
25483 (sub_magnitudes): Likewise.
25486 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25487 powers of two in terms of TWOPOW macro.
25488 (mp_no): Make type of mantissa as MANTISSA_T.
25489 [!RADIXI]: Define RADIXI.
25490 [!TWO52]: Define TWO52.
25491 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25493 * manual/nptl.texi (cindex): Modify threads to pthreads.
25495 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25497 * sysdeps/x86_64/preconfigure: Regenerated.
25499 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25502 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25504 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25505 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25507 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25508 * math/libm-test.inc (j0_test): Do not allow one spurious
25509 underflow exception.
25510 (y1_test): Likewise.
25512 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25514 * manual/Makefile (chapters): Add nptl.
25515 * manual/debug.texi (Debugging Support): Add link to Threads
25517 * manual/nptl.texi: New file.
25519 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25521 2013-03-14 Petr Baudis <pasky@ucw.cz>
25523 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25524 for non-NULL pointer before the memory validity test. Pointed
25525 out by Holger Brunck <holger.brunck@keymile.com>.
25527 2013-03-13 Andreas Schwab <schwab@suse.de>
25529 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25532 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25534 * timezone/zic.c: Update from tzcode 2013b.
25536 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25538 * manual/install.texi (Configuring and compiling):
25539 Mention i686 and i586.
25540 * INSTALL: Regenerate.
25542 2013-03-12 Roland McGrath <roland@hack.frob.com>
25544 * sysdeps/init_array/elf-init.c: New file.
25546 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25547 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25549 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25550 __gmon_start__ as global, but as static with a .preinit_array pointer.
25551 * sysdeps/init_array/gmon-start.c: New file. Use that.
25552 * sysdeps/init_array/crti.S: New file, empty except for comments.
25553 * sysdeps/init_array/crtn.S: Likewise.
25555 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25557 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25560 Remove Prefer_SSE_for_memop.
25561 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25562 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25563 HAS_PREFER_SSE_FOR_MEMOP.
25564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25567 Remove bzero, memset ifunc support.
25568 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25573 2013-03-11 Andreas Schwab <schwab@suse.de>
25576 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25579 (GLIBC_2.16): Remove pthread_atfork.
25581 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25583 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25584 (ptestcases.h): Likewise.
25586 2013-03-08 Roland McGrath <roland@hack.frob.com>
25588 * Makeconfig ($(common-objpfx)config.status): Depend on
25589 sysdeps/*/preconfigure{,.in} too.
25591 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25593 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25594 (__free_hook): Use void * instead of __malloc_ptr_t.
25595 (__malloc_hook): Likewise.
25596 (__realloc_hook): Likewise.
25597 (__memalign_hook): Likewise.
25598 (__after_morecore_hook): Likewise.
25599 * malloc/arena.c (save_malloc_hook): Likewise.
25600 (save_free_hook): Likewise.
25601 * malloc/hooks.c (malloc_hook_ini): Likewise.
25602 (realloc_hook_ini): Likewise.
25603 (memalign_hook_ini): Likewise.
25604 * malloc/malloc.c (malloc_hook_ini): Likewise.
25605 (realloc_hook_ini): Likewise.
25606 (memalign_hook_ini): Likewise.
25607 (__free_hook): Likewise.
25608 (__malloc_hook): Likewise.
25609 (__realloc_hook): Likewise.
25610 (__memalign_hook): Likewise.
25611 (__libc_malloc): Likewise.
25612 (__libc_free): Likewise.
25613 (__libc_realloc): Likewise.
25614 (__libc_memalign): Likewise.
25615 (__libc_valloc): Likewise.
25616 (__libc_pvalloc): Likewise.
25617 (__libc_calloc): Likewise.
25618 (__posix_memalign): Likewise.
25619 * malloc/morecore.c (__sbrk): Likewise.
25620 (__default_morecore): Likewise.
25622 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25624 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25625 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25626 __malloc_ptrdiff_t.
25628 * malloc/malloc.h (__malloc_size_t): Remove macro.
25629 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25631 (old_memalign_hook): Likewise.
25632 (old_realloc_hook): Likewise.
25633 (struct hdr): Likewise.
25635 (mallochook): Likewise.
25636 (memalignhook): Likewise.
25637 (reallochook): Likewise.
25638 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25639 (tr_old_realloc_hook): Likewise.
25640 (tr_old_memalign_hook): Likewise.
25641 (tr_mallochook): Likewise.
25642 (tr_reallochook): Likewise.
25643 (tr_memalignhook): Likewise.
25645 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25648 default_ldbl_pack and using as default implementation.
25649 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25651 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25652 redundant definition.
25653 (ldbl_insert_mantissa): Likewise.
25654 (ldbl_canonicalize): Likewise.
25655 (ldbl_nearbyint): Likewise.
25656 (ldbl_pack): Rename to ldbl_pack_ppc.
25657 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25658 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25659 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25661 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25664 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25665 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25666 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25668 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25669 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25670 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25672 2013-03-07 Andreas Jaeger <aj@suse.de>
25674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25677 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25679 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25680 Include mpa.h and declare __MPEXP.
25681 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25683 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25687 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25689 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25690 (__slowpow): Use long double EXPL and LOGL functions to
25692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25693 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25700 intermediate variable to calculate exponent.
25702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25706 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25707 [!NO__SQR]: Define __sqr.
25708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25709 and NO__SQR. Remove all code except __mul and __sqr. Include
25710 sysdeps/ieee754/dbl-64/mpa.c.
25711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25714 * posix/Makefile (tests): Add tst-pathconf.
25715 * posix/tst-pathconf.c: New test case.
25716 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25718 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25720 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25722 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25724 2013-03-06 Andreas Jaeger <aj@suse.de>
25726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25727 definition via __MAP_ANONYMOUS.
25729 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25730 it's not part of Linux headers.
25732 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25733 (MAP_HUGE_MASK): Define.
25735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25741 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25744 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25748 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25749 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25750 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25751 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25752 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25753 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25759 Handle f2fs and efivarfs.
25761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25764 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25765 (EFIVARFS_MAGIC): Add.
25766 (F2FS_LINK_MAX): Add.
25768 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25770 * stdio-common/vfprintf.c: Replace __builtin_expect with
25773 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25776 * sysdeps/generic/bp-sym.h: Remove file.
25777 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25779 <bp-sym.h> and <bp-asm.h>.
25780 (__longjmp): Don't use BP_SYM.
25781 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25783 (memcpy): Don't use BP_SYM.
25784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25785 <bp-sym.h> and <bp-asm.h>.
25786 (memcpy): Don't use BP_SYM.
25787 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25789 (memcpy): Don't use BP_SYM.
25790 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25792 (memset): Don't use BP_SYM.
25793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25795 (__bzero): Don't use BP_SYM.
25796 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25797 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25798 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25799 <bp-sym.h> and <bp-asm.h>.
25800 (memcmp): Don't use BP_SYM. Remove comment about bounded
25802 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25803 <bp-sym.h> and <bp-asm.h>.
25804 (memcpy): Don't use BP_SYM.
25805 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25806 <bp-sym.h> and <bp-asm.h>.
25807 (memset): Don't use BP_SYM.
25808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25810 (__bzero): Don't use BP_SYM.
25811 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25812 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25814 <bp-sym.h> and <bp-asm.h>.
25815 (strncmp): Don't use BP_SYM. Remove comment about bounded
25817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25818 <bp-sym.h> and <bp-asm.h>.
25819 (memcpy): Don't use BP_SYM.
25820 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25821 <bp-sym.h> and <bp-asm.h>.
25822 (memset): Don't use BP_SYM.
25823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25825 (__bzero): Don't use BP_SYM.
25826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25829 <bp-sym.h> and <bp-asm.h>.
25830 (__memchr): Don't use BP_SYM.
25831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25832 <bp-sym.h> and <bp-asm.h>.
25833 (memcmp): Don't use BP_SYM. Remove comment about bounded
25835 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25836 <bp-sym.h> and <bp-asm.h>.
25837 (memcpy): Don't use BP_SYM.
25838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25839 <bp-sym.h> and <bp-asm.h>.
25840 (__mempcpy): Don't use BP_SYM.
25841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25842 <bp-sym.h> and <bp-asm.h>.
25843 (__memrchr): Don't use BP_SYM.
25844 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25845 <bp-sym.h> and <bp-asm.h>.
25846 (memset): Don't use BP_SYM.
25847 (__bzero): Likewise.
25848 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25849 <bp-sym.h> and <bp-asm.h>.
25850 (__rawmemchr): Don't use BP_SYM.
25851 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25852 <bp-sym.h> and <bp-asm.h>.
25853 (__STRCMP): Don't use BP_SYM.
25854 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25855 <bp-sym.h> and <bp-asm.h>.
25856 (strchr): Don't use BP_SYM.
25857 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25858 <bp-sym.h> and <bp-asm.h>.
25859 (__strchrnul): Don't use BP_SYM.
25860 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25861 <bp-sym.h> and <bp-asm.h>.
25862 (strlen): Don't use BP_SYM.
25863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25864 <bp-sym.h> and <bp-asm.h>.
25865 (strncmp): Don't use BP_SYM. Remove comment about bounded
25867 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25868 <bp-sym.h> and <bp-asm.h>.
25869 (__strnlen): Don't use BP_SYM.
25870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25871 <bp-sym.h> and <bp-asm.h>.
25872 (__GI__setjmp): Don't use BP_SYM.
25873 (_setjmp): Likewise.
25874 (__sigsetjmp): Likewise.
25875 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25876 (L(start_addresses)): Don't use BP_SYM.
25877 (_start): Likewise.
25878 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25880 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25881 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25882 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25883 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25884 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25886 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25887 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25888 about bounded pointers.
25889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25891 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25894 about bounded pointers. Remove GKM FIXME comments.
25895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25896 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25898 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25899 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25900 Remove GKM FIXME comments.
25901 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25902 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25903 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25905 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25906 about bounded pointers. Remove GKM FIXME comment.
25907 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25909 (strncmp): Don't use BP_SYM. Remove comment about bounded
25911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25912 <bp-sym.h> and <bp-asm.h>.
25913 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25915 <bp-sym.h> and <bp-asm.h>.
25916 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25919 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25921 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25924 2013-03-05 David S. Miller <davem@davemloft.net>
25926 * po/es.po: Update from translation team.
25928 2013-03-05 Andreas Jaeger <aj@suse.de>
25930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25931 <bits/mman-linux.h>.
25932 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25935 <bits/mman-linux.h> to end of file.
25936 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25938 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25939 <bits/mman-linux.h> to end of file.
25940 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25943 <bits/mman-linux.h> to end of file.
25945 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25946 (MCL_CURRENT, MCL_FUTURE): Define here.
25948 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25953 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25955 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25957 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25958 fourth parameter needed for rt_sigprocmask syscall.
25959 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25960 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25961 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25963 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25964 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25966 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25969 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25970 comment about bounded pointers.
25971 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25972 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25974 2013-03-04 Andreas Jaeger <aj@suse.de>
25976 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25977 common definitions.
25979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25980 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25981 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25983 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25986 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25990 __ieee754_sqrl instead of __sqrl.
25992 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25994 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25995 * sysdeps/powerpc/fpu_control.h: ... here.
25996 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25997 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25998 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25999 * sysdeps/powerpc/bits/mathinline.h: ... here.
26001 2013-03-01 Roland McGrath <roland@hack.frob.com>
26003 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26004 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26005 to just [NEED_DL_SYSINFO_DSO].
26006 * elf/dl-support.c: Likewise.
26007 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26008 * elf/rtld.c (dl_main): Likewise.
26009 * elf/setup-vdso.h (setup_vdso): Likewise.
26010 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26011 * sysdeps/unix/sysv/linux/dl-sysdep.c
26012 (_dl_discover_osversion): Likewise.
26014 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26016 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26017 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26019 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26021 * NEWS: Mention libm performance improvements and non-x86 PI
26024 * csu/libc-start.c (__pthread_initialize_minimal): Change
26025 function arguments.
26026 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26028 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26031 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26033 <bp-sym.h> and <bp-asm.h>.
26034 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26035 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26037 (memcpy): Don't use BP_SYM.
26038 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26040 (__mpn_add_n): Don't use BP_SYM.
26041 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26042 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26044 (__mpn_addmul_1): Don't use BP_SYM.
26045 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26046 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26048 (_setjmp): Don't use BP_SYM.
26049 (__novmx_setjmp): Likewise.
26050 (__GI__setjmp): Likewise.
26051 (__vmx_setjmp): Likewise.
26052 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26054 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26055 (__bzero): Don't use BP_SYM.
26056 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26057 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26058 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26059 <bp-sym.h> and <bp-asm.h>.
26060 (memcpy): Don't use BP_SYM.
26061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26062 <bp-sym.h> and <bp-asm.h>.
26063 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26065 <bp-sym.h> and <bp-asm.h>.
26066 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26067 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26069 (__mpn_lshift): Don't use BP_SYM.
26070 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26071 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26073 (memset): Don't use BP_SYM.
26074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26076 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26078 (__mpn_mul_1): Don't use BP_SYM.
26079 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26081 <bp-sym.h> and <bp-asm.h>.
26082 (memcmp): Don't use BP_SYM.
26083 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26084 <bp-sym.h> and <bp-asm.h>.
26085 (memcpy): Don't use BP_SYM.
26086 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26087 <bp-sym.h> and <bp-asm.h>.
26088 (memset): Don't use BP_SYM.
26089 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26090 <bp-sym.h> and <bp-asm.h>.
26091 (strncmp): Don't use BP_SYM.
26092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26093 <bp-sym.h> and <bp-asm.h>.
26094 (memcpy): Don't use BP_SYM.
26095 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26096 <bp-sym.h> and <bp-asm.h>.
26097 (memset): Don't use BP_SYM.
26098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26099 <bp-sym.h> and <bp-asm.h>.
26100 (__memchr): Don't use BP_SYM.
26101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26102 <bp-sym.h> and <bp-asm.h>.
26103 (memcmp): Don't use BP_SYM.
26104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26105 <bp-sym.h> and <bp-asm.h>.
26106 (memcpy): Don't use BP_SYM.
26107 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26108 <bp-sym.h> and <bp-asm.h>.
26109 (__mempcpy): Don't use BP_SYM.
26110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26111 <bp-sym.h> and <bp-asm.h>.
26112 (__memrchr): Don't use BP_SYM.
26113 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26114 <bp-sym.h> and <bp-asm.h>.
26115 (memset): Don't use BP_SYM.
26116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26117 <bp-sym.h> and <bp-asm.h>.
26118 (__rawmemchr): Don't use BP_SYM.
26119 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26120 <bp-sym.h> and <bp-asm.h>.
26121 (__STRCMP): Don't use BP_SYM.
26122 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26123 <bp-sym.h> and <bp-asm.h>.
26124 (strchr): Don't use BP_SYM.
26125 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26126 <bp-sym.h> and <bp-asm.h>.
26127 (__strchrnul): Don't use BP_SYM.
26128 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26129 <bp-sym.h> and <bp-asm.h>.
26130 (strlen): Don't use BP_SYM.
26131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26132 <bp-sym.h> and <bp-asm.h>.
26133 (strncmp): Don't use BP_SYM.
26134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26135 <bp-sym.h> and <bp-asm.h>.
26136 (__strnlen): Don't use BP_SYM.
26137 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26139 (__mpn_rshift): Don't use BP_SYM.
26140 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26141 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26142 <bp-sym.h> and <bp-asm.h>.
26143 (__sigsetjmp): Don't use BP_SYM.
26144 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26145 (L(start_addresses)): Don't use BP_SYM.
26146 (_start): Likewise.
26147 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26149 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26150 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26151 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26152 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26154 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26155 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26156 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26157 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26159 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26161 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26162 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26164 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26166 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26167 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26168 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26170 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26172 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26174 (strncmp): Don't use BP_SYM,
26175 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26177 (__mpn_sub_n): Don't use BP_SYM.
26178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26179 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26181 (__mpn_submul_1): Don't use BP_SYM.
26182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26184 <bp-sym.h> and <bp-asm.h>.
26185 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26187 <bp-sym.h> and <bp-asm.h>.
26188 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26191 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26194 Use ZK to minimize writes to Z.
26195 (sub_magnitudes): Simplify code a bit.
26196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26197 Use ZK to minimize writes to Z.
26198 (sub_magnitudes): Simplify code a bit.
26200 2013-02-27 Roland McGrath <roland@hack.frob.com>
26202 * csu/gmon-start.c: Add special exception to license text.
26204 2013-02-27 Richard Henderson <rth@redhat.com>
26206 * scripts/config.guess: Update from config.git.
26207 * scripts/config.sub: Likewise.
26209 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26213 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26215 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26217 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26219 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26221 2013-02-26 Roland McGrath <roland@hack.frob.com>
26223 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26224 [$(build-shared = yes].
26226 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26228 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26229 (__mul): Reduce iterations for calculating mantissa.
26231 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26233 (__mpranred): Likewise.
26236 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26237 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26239 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26241 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26242 Define __attribute__.
26244 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26246 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26248 * posix/regex_internal.h (__attribute): Remove.
26249 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26250 (re_string_context_at): Likewise.
26251 (bitset_not): Use __attribute__ and mark function as possibly
26253 (bitset_merge): Likewise.
26254 (bitset_mask): Likewise.
26255 (re_string_char_size_at): Likewise.
26256 (re_string_wchar_at): Likewise.
26257 (re_string_elem_size_at): Likewise.
26259 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26261 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26265 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26269 (denorm): Likewise.
26270 (__dbl_mp): Likewise.
26271 (add_magnitudes): Likewise.
26272 (sub_magnitudes): Likewise.
26276 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26279 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26282 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26286 up changes with default code.
26287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26290 2013-02-24 Allan McRae <allan@archlinux.org>
26292 * manual/socket.texi (The Internet Namespace): Order menu items
26293 to match that in the file.
26295 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26296 node listing of the info page menu.
26298 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26301 * sysdeps/i386/bp-asm.h: Remove file.
26302 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26303 (PARMS): Do not use macros from bp-asm.h.
26307 (__mpn_add_n): Do not use BP_SYM
26308 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26310 (PARMS): Do not use macros from bp-asm.h.
26313 (__mpn_addmul_1): Do not use BP_SYM
26314 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26316 (PARMS): Do not use macros from bp-asm.h.
26317 (SIGMSK): Likewise.
26318 (_setjmp): Likewise. Do not use BP_SYM.
26319 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26321 (PARMS): Do not use macros from bp-asm.h.
26322 (SIGMSK): Likewise.
26323 (setjmp): Likewise. Do not use BP_SYM.
26324 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26326 (PARMS): Do not use macros from bp-asm.h.
26327 (__frexp): Do not use BP_SYM.
26329 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26331 (PARMS): Do not use macros from bp-asm.h.
26332 (__frexpf): Do not use BP_SYM.
26333 (frexpf): Likewise.
26334 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26336 (PARMS): Do not use macros from bp-asm.h.
26337 (__frexpl): Do not use BP_SYM.
26338 (frexpl): Likewise.
26339 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26341 (PARMS): Do not use macros from bp-asm.h.
26342 (__remquo): Do not use BP_SYM.
26343 (remquo): Likewise.
26344 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26346 (PARMS): Do not use macros from bp-asm.h.
26347 (__remquof): Do not use BP_SYM.
26348 (remquof): Likewise.
26349 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26351 (PARMS): Do not use macros from bp-asm.h.
26352 (__remquol): Do not use BP_SYM.
26353 (remquol): Likewise.
26354 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26356 (PARMS): Do not use macros from bp-asm.h.
26359 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26360 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26362 (PARMS): Do not use macros from bp-asm.h.
26363 (strlen): Do not use BP_SYM.
26364 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26366 (PARMS): Do not use macros from bp-asm.h.
26370 (__mpn_add_n): Do not use BP_SYM.
26371 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26373 (PARMS): Do not use macros from bp-asm.h.
26376 (__mpn_addmul_1): Do not use BP_SYM.
26377 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26380 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26382 (PARMS): Do not use macros from bp-asm.h.
26385 (__mpn_lshift): Do not use BP_SYM.
26386 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26388 (PARMS): Do not use macros from bp-asm.h.
26392 (memcpy): Likewise. Do not use BP_SYM.
26393 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26394 libc_hidden_def and weak_alias.
26395 (mempcpy): Do not use BP_SYM in weak_alias.
26396 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26398 (PARMS): Do not use macros from bp-asm.h.
26401 [!BZERO_P] (CHR): Likewise.
26402 (memset): Likewise. Do not use BP_SYM.
26403 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26405 (PARMS): Do not use macros from bp-asm.h.
26408 (__mpn_mul_1): Do not use BP_SYM.
26409 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26411 (PARMS): Do not use macros from bp-asm.h.
26414 (__mpn_rshift): Do not use BP_SYM.
26415 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26417 (PARMS): Do not use macros from bp-asm.h.
26420 (strchr): Likewise. Do not use BP_SYM.
26421 (index): Do not use BP_SYM in weak_alias.
26422 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26424 (PARMS): Do not use macros from bp-asm.h.
26427 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26428 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26430 (PARMS): Do not use macros from bp-asm.h.
26431 (strlen): Do not use BP_SYM.
26432 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26434 (PARMS): Do not use macros from bp-asm.h.
26438 (__mpn_sub_n): Do not use BP_SYM.
26439 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26441 (PARMS): Do not use macros from bp-asm.h.
26444 (__mpn_submul_1): Do not use BP_SYM.
26445 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26447 (PARMS): Do not use macros from bp-asm.h.
26451 (__mpn_add_n): Do not use BP_SYM.
26452 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26455 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26457 (PARMS): Do not use macros from bp-asm.h.
26460 (memcmp): Do not use BP_SYM.
26461 (bcmp): Do not use BP_SYM in weak_alias.
26462 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26464 (PARMS): Do not use macros from bp-asm.h.
26468 (memcpy): Likewise. Do not use BP_SYM.
26469 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26471 (PARMS): Do not use macros from bp-asm.h.
26475 (memmove): Likewise. Do not use BP_SYM.
26476 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26478 (PARMS): Do not use macros from bp-asm.h.
26482 (__mempcpy): Likewise. Do not use BP_SYM.
26483 (mempcpy): Do not use BP_SYM in weak_alias.
26484 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26486 (PARMS): Do not use macros from bp-asm.h.
26489 [!BZERO_P] (CHR): Likewise.
26490 (memset): Likewise. Do not use BP_SYM.
26491 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26493 (PARMS): Do not use macros from bp-asm.h.
26495 (strcmp): Do not use BP_SYM.
26496 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26498 (PARMS): Do not use macros from bp-asm.h.
26501 [USE_AS_STRTOK_R] (SAVE): Likewise.
26502 (FUNCTION): Likewise. Do not use BP_SYM.
26503 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26505 (strtok_r): Likewise.
26506 (__GI___strtok_r): Likewise.
26507 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26508 (PARMS): Do not use macros from bp-asm.h.
26511 (__mpn_lshift): Do not use BP_SYM.
26512 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26513 (PARMS): Do not use macros from bp-asm.h.
26516 (__memchr): Do not use BP_SYM.
26517 (memchr): Do not use BP_SYM in weak_alias.
26518 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26519 (PARMS): Do not use macros from bp-asm.h.
26522 (memcmp): Do not use BP_SYM.
26523 (bcmp): Do not use BP_SYM in weak_alias.
26524 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26525 (PARMS): Do not use macros from bp-asm.h.
26528 (__mpn_mul_1): Do not use BP_SYM.
26529 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26531 (PARMS): Do not use macros from bp-asm.h.
26534 (__rawmemchr): Do not use BP_SYM.
26535 (rawmemchr): Do not use BP_SYM in weak_alias.
26536 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26537 (PARMS): Do not use macros from bp-asm.h.
26540 (__mpn_rshift): Do not use BP_SYM.
26541 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26542 (PARMS): Do not use macros from bp-asm.h.
26543 (SIGMSK): Likewise.
26544 (__sigsetjmp): Likewise. Do not use BP_SYM.
26545 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26546 (_start): Do not use BP_SYM.
26547 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26548 (PARMS): Do not use macros from bp-asm.h.
26551 (__stpcpy): Likewise. Do not use BP_SYM.
26552 (stpcpy): Do not use BP_SYM in weak_alias.
26553 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26555 (PARMS): Do not use macros from bp-asm.h.
26559 (__stpncpy): Likewise. Do not use BP_SYM.
26560 (stpncpy): Do not use BP_SYM in weak_alias.
26561 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26565 (strchr): Likewise. Do not use BP_SYM.
26566 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26568 (PARMS): Do not use macros from bp-asm.h.
26571 (__strchrnul): Likewise. Do not use BP_SYM.
26572 (strchrnul): Do not use BP_SYM in weak_alias.
26573 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26575 (PARMS): Do not use macros from bp-asm.h.
26577 (strcspn): Do not use BP_SYM.
26578 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26580 (PARMS): Do not use macros from bp-asm.h.
26583 (strpbrk): Likewise. Do not use BP_SYM.
26584 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26586 (PARMS): Do not use macros from bp-asm.h.
26589 (strrchr): Likewise. Do not use BP_SYM.
26590 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26591 (PARMS): Do not use macros from bp-asm.h.
26593 (strspn): Do not use BP_SYM.
26594 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26595 (PARMS): Do not use macros from bp-asm.h.
26599 (FUNCTION): Likewise. Do not use BP_SYM.
26600 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26602 (strtok_r): Likewise.
26603 (__GI___strtok_r): Likewise.
26604 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26605 (PARMS): Do not use macros from bp-asm.h.
26609 (__mpn_sub_n): Do not use BP_SYM.
26610 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26612 (PARMS): Do not use macros from bp-asm.h.
26615 (__mpn_submul_1): Do not use BP_SYM.
26616 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26618 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26620 (PARMS): Do not use macros from bp-asm.h.
26625 (__clone): Do not use BP_SYM.
26626 (clone): Do not use BP_SYM in weak_alias.
26627 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26629 (PARMS): Do not use macros from bp-asm.h.
26631 (__mmap64): Do not use BP_SYM.
26632 (mmap64): Do not use BP_SYM in weak_alias.
26633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26634 <bp-sym.h> and <bp-asm.h>.
26635 (PARMS): Do not use macros from bp-asm.h.
26636 (__posix_fadvise64_l64): Do not use BP_SYM.
26637 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26638 (PARMS): Do not use macros from bp-asm.h.
26640 (semtimedop): Do not use BP_SYM.
26641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26644 2013-02-21 Allan McRae <allan@archlinux.org>
26646 * manual/message.texi (Charset conversion in gettext):
26647 Move @end statement to beginning of line.
26649 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26657 (denorm): Likewise.
26658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26661 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26663 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26664 tail-call to the resolved function if pltexit isn't needed.
26666 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26669 or Y being zero as being unlikely.
26670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26673 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26675 * manual/nss.texi (System Databases and Name Service Switch):
26676 Remove frobnicate @pxref.
26678 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26680 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26681 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26683 2013-02-20 Petr Machata <pmachata@redhat.com>
26685 * elf/elf.h (R_ARM_TARGET1): New macro.
26686 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26687 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26688 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26689 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26690 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26691 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26692 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26693 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26694 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26695 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26696 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26697 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26698 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26699 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26700 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26701 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26702 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26703 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26704 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26705 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26706 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26707 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26708 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26709 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26710 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26711 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26712 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26713 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26714 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26715 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26716 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26717 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26718 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26719 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26720 (R_ARM_THM_GOT_BREL12): Likewise.
26721 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26722 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26723 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26724 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26725 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26726 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26727 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26728 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26729 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26731 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26733 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26734 __attribute_used__ to __attribute__ ((unused)).
26736 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26741 comment formatting.
26742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26744 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26747 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26749 (ENTER): Remove both macro definitions.
26751 (CHECK_BOUNDS_LOW): Likewise.
26752 (CHECK_BOUNDS_HIGH): Likewise.
26753 (CHECK_BOUNDS_BOTH): Likewise.
26754 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26755 (RETURN_BOUNDED_POINTER): Likewise.
26756 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26757 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26758 (POP_ERRNO_LOCATION_RETURN): Likewise.
26759 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26760 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26761 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26764 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26765 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26766 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26767 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26768 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26769 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26770 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26771 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26772 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26773 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26774 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26775 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26776 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26778 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26779 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26781 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26782 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26783 * sysdeps/i386/i586/memset.S (memset): Likewise.
26784 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26785 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26786 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26789 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26790 Change uses of L(2) to L(out).
26791 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26792 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26793 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26795 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26798 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26801 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26802 (RETURN): Do not use macro LEAVE.
26803 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26804 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26805 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26806 * sysdeps/i386/i686/memset.S (memset): Likewise.
26807 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26808 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26810 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26812 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26813 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26814 L(1_2) and L(1_3) into L(1).
26815 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26816 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26817 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26818 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26819 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26820 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26821 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26823 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26825 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26826 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26827 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26828 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26829 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26830 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26831 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26832 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26833 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26834 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26835 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26836 * sysdeps/i386/strspn.S (strspn): Likewise.
26837 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26839 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26840 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26841 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26842 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26843 L(1_3) into L(1_1).
26844 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26845 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26846 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26848 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26850 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26852 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26855 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26857 * math/atest-exp.c (exp_mpn): Remove ROUND.
26858 * math/atest-exp2.c (exp_mpn): Likewise.
26859 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26861 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26862 * stdlib/tst-tls-atexit-lib.c: Likewise.
26863 * stdlib/tst-tls-atexit.c: Likewise.
26865 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26867 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26868 and __attribute_alloc_size__.
26870 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26872 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26873 __attribute_alloc_size__.
26874 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26875 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26877 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26879 * include/programs/xmalloc.h: New file.
26880 * catgets/gencat.c: Include it.
26881 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26882 * elf/pldd.c: Likewise.
26883 * iconv/iconv_charmap.c: Likewise.
26884 * iconv/iconvconfig.c: Likewise.
26885 * iconv/strtab.c: Likewise.
26886 * locale/programs/locale.c: Likewise.
26887 * locale/programs/localedef.h: Likewise.
26888 * locale/programs/simple-hash.c: Likewise.
26889 * nscd/nscd.h: Likewise.
26890 * nss/makedb.c: Likewise.
26891 * sysdeps/generic/ldconfig.h: Likewise.
26893 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26895 * Versions.def: Add GLIBC_2.18.
26896 * include/link.h (struct link_map): New member l_tls_dtor_count.
26897 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26898 (__call_tls_dtors): Likewise.
26899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26900 __cxa_thread_atexit_impl.
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26917 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26918 (tests): Add test case tst-tls-atexit.
26919 (modules-names): Add shared library for tst-tls-atexit.
26920 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26921 (GLIBC_PRIVATE): Add __call_tls_dtors.
26922 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26924 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26925 * stdlib/tst-tls-atexit.c: New test case.
26926 * stdlib/tst-tls-atexit-lib.c: New test case.
26928 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26930 * elf/Versions (ld): Add _dl_find_dso_for_object.
26931 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26932 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26933 (dl_open_worker): Use _dl_find_dso_for_object.
26934 * elf/dl-sym.c (do_sym): Likewise.
26935 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26937 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26939 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26940 Syntactic changes only.
26941 (_dl_runtime_profile): Do a tail-call to the resolved function.
26943 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26946 * sysdeps/x86_64/bp-asm.h: Remove file.
26947 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26948 <bp-sym.h> and <bp-asm.h>.
26949 (__clone): Do not use BP_SYM.
26950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26951 <bp-sym.h> and <bp-asm.h>.
26952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26953 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26955 (_setjmp): Do not use BP_SYM.
26956 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26958 (setjmp): Do not use BP_SYM.
26959 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26961 (mempcpy): Do not use BP_SYM in weak_alias.
26962 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26964 (strchr): Do not use BP_SYM.
26965 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26967 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26968 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26969 (_start): Do not use BP_SYM.
26970 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26972 (strcat): Do not use BP_SYM.
26973 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26975 (STRCMP): Do not use BP_SYM.
26976 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26978 (STRCPY): Do not use BP_SYM.
26979 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26981 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26983 (FUNCTION): Do not use BP_SYM.
26984 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26986 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26988 2013-02-17 Andreas Jaeger <aj@suse.de>
26990 * time/Versions: Sort entries.
26991 * string/Versions: Likewise.
26992 * resolv/Versions: Likewise.
26993 * posix/Versions: Likewise.
26994 * iconv/Versions: Likewise.
26995 * elf/Versions: Likewise.
26996 * wcsmbs/Versions: Likewise.
26998 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27000 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27001 loop termination condition.
27003 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27004 variable to calculate EZ.
27007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27008 the lower precision input.
27010 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27013 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27014 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27015 (run-via-rtld-prefix): Do not handle %-bp tests.
27016 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27017 (all-object-suffixes): Remove .ob.
27018 (bppfx): Remove variable.
27019 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27020 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27021 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27022 [$(build-bounded) = yes] (libtype.ob): Likewise.
27023 * Makerules (elide-routines.ob): Remove variable.
27024 (do-tests-clean): Do not handle *-bp.out.
27025 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27026 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27027 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27028 (tests): Do not include $(tests-bp.out).
27029 (xtests): Do not include $(xtests-bp.out).
27030 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27031 [$(build-bounded) = yes] ($(addprefix
27032 $(objpfx),$(binaries-bounded))): Remove rule.
27033 ($(objpfx)%-bp.out): Remove rule.
27034 * config.make.in (build-bounded): Remove variable.
27035 * crypt/Makefile [$(build-bounded) = yes]
27036 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27037 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27038 append to variable.
27039 [$(build-bounded) = yes] (install-lib): Likewise.
27040 [$(build-bounded) = yes] (generated): Likewise.
27041 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27043 * intl/Makefile [$(build-bounded) = yes]
27044 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27045 * math/Makefile [$(build-bounded) = yes]
27046 ($(tests:%=$(objpfx)%-bp): Likewise.
27047 * misc/Makefile [$(build-bounded) = yes]
27048 ($(objpfx)tst-tsearch-bp): Likewise.
27049 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27050 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27052 * string/Makefile (o-objects.ob): Remove variable.
27053 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27054 (CFLAGS-.ob): Remove variable.
27055 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27057 both definitions of variable.
27058 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27059 (ASFLAGS-.ob): Remove variable.
27061 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27064 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27065 Remove __BOUNDED_POINTERS__ from condition.
27066 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27067 * string/bits/string2.h [!__NO_STRING_INLINES &&
27068 !__BOUNDED_POINTERS__]: Likewise.
27069 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27071 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27072 Remove conditional code.
27073 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27074 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27075 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27079 * csu/libc-start.c: Do not include <bp-sym.h>.
27080 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27081 * elf/dl-open.c: Do not include <bp-sym.h>.
27082 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27083 * math/fegetenv.c: Do not include <bp-sym.h>.
27084 (fegetenv): Do not use BP_SYM in versioned symbols.
27085 * nptl/sysdeps/pthread/bits/libc-lockP.h
27086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27089 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27091 (__pthread_mutex_destroy): Likewise.
27092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27093 (__pthread_mutex_lock): Likewise.
27094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27095 (__pthread_mutex_trylock): Likewise.
27096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27097 (__pthread_mutex_unlock): Likewise.
27098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27099 (__pthread_mutexattr_init): Likewise.
27100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27101 (__pthread_mutexattr_destroy): Likewise.
27102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27103 (__pthread_mutexattr_settype): Likewise.
27104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27105 (__pthread_rwlock_init): Likewise.
27106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27107 (__pthread_rwlock_destroy): Likewise.
27108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27109 (__pthread_rwlock_rdlock): Likewise.
27110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27111 (__pthread_rwlock_tryrdlock): Likewise.
27112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27113 (__pthread_rwlock_wrlock): Likewise.
27114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27115 (__pthread_rwlock_trywrlock): Likewise.
27116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27117 (__pthread_rwlock_unlock): Likewise.
27118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27119 (__pthread_key_create): Likewise.
27120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27121 (__pthread_setspecific): Likewise.
27122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27123 (__pthread_getspecific): Likewise.
27124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27127 (_pthread_cleanup_push_defer): Likewise.
27128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27129 (_pthread_cleanup_pop_restore): Likewise.
27130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27131 (pthread_setcancelstate): Likewise.
27132 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27134 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27135 (memchr): Do not use BP_SYM in weak_alias.
27136 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27137 (fegetenv): Do not use BP_SYM in versioned symbols.
27138 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27139 (fesetenv): Do not use BP_SYM in versioned symbols.
27140 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27141 (feupdateenv): Do not use BP_SYM in versioned symbols.
27142 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27143 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27144 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27145 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27146 (open64): Do not use BP_SYM in weak_alias.
27147 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27148 (fegetenv): Do not use BP_SYM in versioned symbols.
27149 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27150 (fesetenv): Do not use BP_SYM in versioned symbols.
27151 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27152 (feupdateenv): Do not use BP_SYM in versioned symbols.
27153 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27154 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27155 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27156 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27157 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27158 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27161 (__libc_start_main): Do not use BP_SYM.
27163 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27166 redundant return line.
27168 (denorm): Likewise.
27169 (dbl_mp): Likewise.
27170 (sub_magnitudes): Likewise.
27176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27178 (denorm): Likewise.
27179 (dbl_mp): Likewise.
27180 (sub_magnitudes): Likewise.
27187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27193 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27194 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27196 of __mul for squares.
27197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27204 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27207 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27209 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27210 prototype or function definition. Rename ubp_* variables and
27211 parameters. Remove argv definitions conditional on
27212 [__BOUNDED_POINTERS__].
27213 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27214 * elf/dl-runtime.c (_dl_fixup): Likewise.
27215 * include/set-hooks.h (RUN_HOOK): Likewise.
27216 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27218 * string/strcpy.c (strcpy): Do not use __unbounded.
27219 * sysdeps/generic/frame.h (struct layout): Likewise.
27220 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27221 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27222 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27223 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27224 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27225 (__backtrace): Likewise.
27226 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27228 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27229 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27230 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27232 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27233 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27236 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27237 Do not use __unbounded.
27238 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27239 Rename __unboundedrlimits parameter to rlimits in prototype.
27240 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27241 Do not use __unbounded.
27242 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27243 not use __ptrvalue.
27244 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27245 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27246 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27247 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27248 __ptrvalue or __unbounded.
27249 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27250 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27252 (__new_msgctl): Do not use __ptrvalue.
27253 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27255 (__libc_msgrcv): Do not use __ptrvalue.
27256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27257 startup_info): Do not use __unbounded.
27258 (__libc_start_main): Likewise. Rename ubp_* variables and
27259 parameters. Remove argv definitions conditional on
27260 [__BOUNDED_POINTERS__].
27261 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27263 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27267 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27269 (__new_shmctl): Do not use __ptrvalue.
27270 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27271 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27273 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27275 (__libc_sigaction): Likewise.
27276 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27281 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27283 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27285 * string/mempcpy.c: Implement by calling memcpy.
27287 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27295 values in the mantissa.
27297 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27298 minimize writes to Z.
27299 (sub_magnitudes): Simplify code a bit.
27301 2013-02-12 Roland McGrath <roland@hack.frob.com>
27303 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27304 from the message. The linker prefixes all warnings with that already.
27306 2013-02-12 Andreas Schwab <schwab@suse.de>
27309 * posix/regexec.c (extend_buffers): Add parameter min_len.
27310 (check_matching): Pass minimum needed length.
27311 (clean_state_log_if_needed): Likewise.
27312 (get_subexp): Likewise.
27313 * posix/Makefile (tests): Add bug-regex34.
27314 (bug-regex34-ENV): Define.
27315 * posix/bug-regex34.c: New file.
27318 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27319 elements compare against the byte sequence of it, not its name.
27320 * posix/Makefile (tests): Add bug-regex35.
27321 (bug-regex35-ENV): Define.
27322 * posix/bug-regex35.c: New file.
27324 2013-02-11 Tom de Vries <tom@codesourcery.com>
27326 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27328 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27329 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27330 (CHECK_EOL): Add undef.
27332 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27334 * bits/stdlib-bsearch.h: New file.
27335 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27336 * stdlib/stdlib.h: Likewise.
27338 2013-02-11 Roland McGrath <roland@hack.frob.com>
27340 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27341 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27343 * manual/search.texi (Array Search Function): Add missing const in
27345 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27346 declaration to use rlim_t.
27347 (Basic Scheduling Functions): Remove erroneous const from
27348 sched_getparam prototype. Remove erroneous * from
27349 sched_get_priority_max and sched_get_priority_min prototypes.
27350 (Resource Usage): Fix summary @comment on vtimes to refer to
27351 sys/vtimes.h rather than vtimes.h.
27352 Add missing *s in vtimes prototype.
27353 (Limits on Resources): Fix ulimit prototype to return long int.
27354 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27355 prototypes to use long int rather than double.
27356 (BSD Random): Fix initstate and setstate to use char *, not void *.
27357 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27358 prototype to make second argument 'struct aiocb64 *const[]'.
27359 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27360 (Status of AIO Operations): Remove erroneous const in aio_return and
27361 aio_return64 prototypes.
27362 (Synchronizing I/O): Fix sync prototype to return void.
27363 * manual/startup.texi (Suboptions): Remove an erroneous const in
27364 getsubopt prototype.
27365 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27366 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27367 use size_t rather than int.
27368 (Scanning All Users): Likewise for getpwent_r.
27369 (Setting Groups): Add missing const to setgroups prototype.
27370 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27371 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27372 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27373 'const void *' rather than 'const char *'.
27374 (Host Address Functions): Likewise for inet_ntop.
27375 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27376 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27377 ssize_t for return value.
27378 (Sending Data): Likewise for send, sendto, sendmsg.
27379 (Socket Option Functions): Add a missing const in setsockopt prototype.
27380 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27381 use wchar_t for the argument.
27382 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27383 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27385 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27386 double/float/long double for second argument.
27387 Fix return types of significand, significandf, significandl.
27388 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27389 argument in fchmod prototype.
27390 (File Owner): Use uid_t and gid_t in fchown prototype.
27391 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27392 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27393 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27394 use 'const struct dirent **' as argument types to CMP function pointer
27396 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27397 (File Times): Fix summary magic @comment for struct utimbuf and utime
27398 to refer to utime.h, not time.h.
27399 * manual/string.texi (Argz Functions): Add missing const in
27400 argz_extract and argz_next prototypes.
27401 (Finding Tokens in a String): Likewise for basename.
27402 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27403 (Copying and Concatenation): Fix typo in wmemmove prototype.
27404 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27405 (Signal Stack): Remove erroneous const in sigstack prototype.
27406 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27408 (Simple Calendar Time): Likewise for stime.
27409 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27411 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27412 say sys/sysctl.h instead.
27413 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27414 and vsyslog prototypes.
27416 2013-02-11 Tom de Vries <tom@codesourcery.com>
27418 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27421 2013-02-11 Roland McGrath <roland@hack.frob.com>
27423 * misc/sys/mman.h: Fix typo in mremap comment.
27425 2013-02-08 Roland McGrath <roland@hack.frob.com>
27427 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27428 the '\0' terminator.
27430 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27433 * debug/segfault.c: Don't include <bp-checks.h>.
27434 * sysdeps/generic/bp-checks.h: Remove file.
27435 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27436 (__GETDENTS): Don't use CHECK_N.
27437 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27438 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27439 (__getgroups): Don't use CHECK_N.
27440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27441 (setgroups): Don't use CHECK_N.
27442 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27443 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27444 (__libc_msgrcv): Don't use CHECK_N.
27445 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27446 (__libc_msgsnd): Don't use CHECK_N.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27449 (__libc_pread): Don't use CHECK_N.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27451 include <bp-checks.h>.
27452 (__libc_pread64): Don't use CHECK_N.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27454 include <bp-checks.h>.
27455 (__libc_pwrite): Don't use CHECK_N.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27457 include <bp-checks.h>.
27458 (__libc_pwrite64): Don't use CHECK_N.
27459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27461 (__libc_pread): Don't use CHECK_N.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27463 include <bp-checks.h>.
27464 (__libc_pread64): Don't use CHECK_N.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27466 include <bp-checks.h>.
27467 (__libc_pwrite): Don't use CHECK_N.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27469 include <bp-checks.h>.
27470 (__libc_pwrite64): Don't use CHECK_N.
27471 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27472 (do_pread): Don't use CHECK_N.
27473 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27474 (do_pread64): Don't use CHECK_N.
27475 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27476 (do_pwrite): Don't use CHECK_N.
27477 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27478 (do_pwrite64): Don't use CHECK_N.
27479 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27480 (__libc_readv): Don't use CHECK_N.
27481 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27482 (semop): Don't use CHECK_N.
27483 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27485 (semtimedop): Don't use CHECK_N.
27486 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27487 (__libc_pread): Don't use CHECK_N.
27488 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27490 (__libc_pread64): Don't use CHECK_N.
27491 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27493 (__libc_pwrite): Don't use CHECK_N.
27494 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27496 (__libc_pwrite64): Don't use CHECK_N.
27497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27499 (__libc_msgrcv): Don't use CHECK_N.
27500 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27501 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27502 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27503 (__libc_writev): Don't use CHECK_N.
27505 2013-02-08 Roland McGrath <roland@hack.frob.com>
27507 * string/strcpy.c: Removed unused variable.
27509 * Makeconfig (+sysdep-includes): Define with := rather than =.
27510 Use an existing include/ subdir of each sysdeps dir before it.
27512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27514 * nscd/connection.c (register_traced_file): Comment function.
27515 [HAVE_INOTIFY] (union __inev): Define.
27516 [HAVE_INOTIFY] (inotify_check_files): New function.
27517 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27518 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27520 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27522 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27524 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27525 loaded if not already and that a failure is permanent.
27527 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27530 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27531 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27533 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27536 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27537 (CHECK_1_NULL_OK): Likewise.
27538 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27539 (__fxstat): Do not use CHECK_1.
27540 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27542 (___fxstat64): Do not use CHECK_1.
27543 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27545 (__fxstatat): Do not use CHECK_1.
27546 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27548 (__fxstatat64): Do not use CHECK_1.
27549 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27551 (__fxstat): Do not use CHECK_1.
27552 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27554 (__fxstatat): Do not use CHECK_1.
27555 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27557 (__getresgid): Do not use CHECK_1.
27558 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27560 (__getresuid): Do not use CHECK_1.
27561 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27563 (__lxstat): Do not use CHECK_1.
27564 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27566 (__old_msgctl): Do not use CHECK_1.
27567 (__new_msgctl): Likewise.
27568 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27570 (__new_setrlimit): Do not use CHECK_1.
27571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27573 (__old_shmctl): Do not use CHECK_1.
27574 (__new_shmctl): Likewise.
27575 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27577 (__xstat): Do not use CHECK_1.
27578 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27579 (__lxstat): Do not use CHECK_1.
27580 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27582 (___lxstat64): Do not use CHECK_1.
27583 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27584 (__old_msgctl): Do not use CHECK_1.
27585 (__new_msgctl): Likewise.
27586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27588 (__gettimeofday): Do not use CHECK_1.
27589 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27590 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27593 (__gettimeofday): Do not use CHECK_1.
27594 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27595 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27596 (__new_shmctl): Do not use CHECK_1.
27597 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27599 (do_sigtimedwait): Do not use CHECK_1.
27600 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27602 (do_sigwaitinfo): Do not use CHECK_1.
27603 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27605 (msgctl): Do not use CHECK_1.
27606 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27608 (shmctl): Do not use CHECK_1.
27609 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27610 (ustat): Do not use CHECK_1.
27611 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27613 (__fxstat): Do not use CHECK_1.
27614 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27616 (__fxstatat): Do not use CHECK_1.
27617 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27619 (__lxstat): Do not use CHECK_1.
27620 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27622 (__xstat): Do not use CHECK_1.
27623 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27624 (__xstat): Do not use CHECK_1.
27625 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27626 (___xstat64): Do not use CHECK_1.
27629 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27631 (CHECK_BOUNDS_HIGH): Likewise.
27632 * string/strcpy.c: Do not include <bp-checks.h>.
27633 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27635 2013-02-07 Roland McGrath <roland@hack.frob.com>
27637 * nscd/nscd-client.h (__nscd_drop_map_ref):
27638 Add __attribute__ ((unused)).
27639 * nis/nss-nisplus.h (niserr2nss): Likewise.
27641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27642 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27644 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27645 Remove inline keyword.
27646 * include/rounding-mode.h (round_away): Likewise.
27647 * libio/wfileops.c (adjust_wide_data): Likewise.
27648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27649 (__m128i_strloadu_tolower): Likewise.
27650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27651 (__m128i_strloadu_tolower): Likewise.
27652 * time/mktime.c (ydhms_diff): Likewise.
27653 * locale/elem-hash.h (elem_hash): Likewise.
27654 * locale/setlocale.c (setdata): Likewise.
27655 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27656 (re_string_wchar_at): Likewise.
27657 (bitset_not, bitset_merge, bitset_mask): Likewise.
27658 [!(__GNUC__ > 3)] (inline): Remove macro.
27659 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27660 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27661 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27662 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27663 * string/memcmp.c (memcmp_bytes): Likewise.
27664 * locale/programs/locarchive.c (compute_hashval): Likewise.
27665 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27666 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27667 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27668 * nss/getent.c (print_rpc, print_protocols): Likewise.
27669 (print_passwd, print_group, print_aliases): Likewise.
27670 * nis/nss-nisplus.h (niserr2nss): Likewise.
27671 * nscd/connections.c (restart_p): Likewise.
27672 Change return type to bool.
27674 2013-02-05 Roland McGrath <roland@hack.frob.com>
27676 * Makeconfig (all-Depend-files): Add existing
27677 $(sorted-subdirs:=/Depend) files.
27678 (all-subdirs): Remove nss.
27679 * sysdeps/unix/inet/Subdirs: Add it here instead.
27680 * hesiod/Depend: New file.
27682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27683 instead of calling alloca.
27685 * io/lseek.c (__lseek): Rename to __libc_lseek.
27686 Define __lseek as an alias.
27688 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27690 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27692 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27693 else clause and remove check for non-standard endianness.
27695 2013-02-04 David S. Miller <davem@davemloft.net>
27697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27699 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27702 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27703 (__ubp_memchr): Remove prototype.
27704 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27705 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27706 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27707 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27708 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27710 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27711 (__ubp_memchr): Likewise.
27712 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27713 (__ubp_memchr): Likewise.
27714 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27715 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27716 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27719 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27720 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27721 (__getcwd): Do not use CHECK_STRING.
27722 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27724 (__real_chown): Do not use CHECK_STRING.
27725 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27727 (fchownat): Do not use CHECK_STRING.
27728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27732 (__lchown): Do not use CHECK_STRING.
27733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27734 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27735 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27736 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27738 include <bp-checks.h>.
27739 (truncate64): Do not use CHECK_STRING.
27740 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27742 (__real_chown): Do not use CHECK_STRING.
27743 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27745 (__lchown): Do not use CHECK_STRING.
27746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27748 (__chown): Do not use CHECK_STRING.
27749 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27751 (truncate64): Do not use CHECK_STRING.
27752 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27754 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27755 (__xmknod): Do not use CHECK_STRING.
27756 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27758 (__xmknodat): Do not use CHECK_STRING.
27759 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27760 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27762 2013-02-04 Andreas Schwab <schwab@suse.de>
27765 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27766 * include/netdb.h: Likewise for h_errno.
27767 * elf/tst-stackguard1.c: Include <tls.h>.
27769 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27771 * elf/link.h (struct link_map): Extend the l_addr comment.
27772 * include/link.h (struct link_map): Likewise.
27774 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27777 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27778 (BOUNDED_1): Remove macro.
27779 * debug/backtrace.c: Don't include <bp-checks.h>.
27780 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27781 (__backtrace): Likewise.
27782 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27784 (__backtrace): Don't use BOUNDED_1.
27785 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27787 (__backtrace): Don't use BOUNDED_1.
27788 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27789 (__backtrace): Don't use BOUNDED_1.
27790 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27791 (shmat): Don't use BOUNDED_N.
27793 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27796 * sysdeps/generic/bp-start.h: Remove file.
27797 * csu/libc-start.c: Don't include <bp-start.h>.
27798 (LIBC_START_MAIN): Set up __environ directly instead of using
27799 INIT_ARGV_and_ENVIRON.
27800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27804 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27806 (CHECK_FCNTL): Likewise.
27807 (CHECK_N_PAGES): Likewise.
27810 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27812 (CHECK_SIGSET_NULL_OK): Likewise.
27813 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27815 (sigpending): Don't use CHECK_SIGSET.
27816 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27819 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27821 (do_sigsuspend): Don't use CHECK_SIGSET.
27822 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27824 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27825 (do_sigwait): Don't use CHECK_SIGSET.
27826 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27829 include <bp-checks.h>.
27830 (sigpending): Don't use CHECK_SIGSET.
27831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27832 include <bp-checks.h>.
27833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27836 (sigpending): Don't use CHECK_SIGSET.
27837 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27842 * sysdeps/generic/bp-semctl.h: Remove file.
27843 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27844 <bp-checks.h> and <bp-semctl.h>.
27845 (__old_semctl): Don't use CHECK_SEMCTL.
27846 (__new_semctl): Likewise.
27847 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27849 (__old_semctl): Don't use CHECK_SEMCTL.
27850 (__new_semctl): Likewise.
27851 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27852 <bp-checks.h> and <bp-semctl.h>.
27853 (__old_semctl): Don't use CHECK_SEMCTL.
27854 (__new_semctl): Likewise.
27855 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27856 <bp-checks.h> and <bp-semctl.h>.
27857 (semctl): Don't use CHECK_SEMCTL.
27860 * Makerules (elide-bp-thunks): Remove variable.
27861 (elide-routines.oS): Don't use $(elide-bp-thunks).
27862 (elide-routines.os): Likewise.
27863 (elide-routines.o): Likewise.
27864 (elide-routines.op): Likewise.
27865 (elide-routines.og): Likewise.
27866 (objects): Don't use $(bp-thunks).
27867 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27869 (common-generated): Do not add s-proto-bp.d.
27870 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27873 Do not generate makefile rules for bounded-pointer thunks.
27874 * sysdeps/generic/bp-thunks.h: Remove file.
27875 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27876 * sysdeps/unix/s-proto-bp.S: Likewise.
27879 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27880 parts of result separately when argument is not close to line from
27881 -i to i and one part of argument is small.
27882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27884 * math/libm-test.inc (cacos_test): Add more tests.
27885 (casin_test): Likewise.
27886 (casinh_test): Likewise.
27887 * sysdeps/i386/fpu/libm-test-ulps: Update.
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890 2013-01-31 David S. Miller <davem@davemloft.net>
27892 * po/de.po: Update from translation team.
27894 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27896 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27898 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27900 * configure.in (_AC_PROG_CC_C89): New definition.
27901 * configure: Regenerate.
27903 * configure.in (AC_PROG_CPP): New definition.
27904 * configure: Regenerate.
27906 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27908 * debug/tst-backtrace.h: New file.
27909 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27910 (ret): Remove variable.
27912 (FAIL): Remove macro.
27913 (NO_INLINE): Likewise.
27914 (fn1): Use match function instead of strstr.
27915 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27916 (ret): Remove variable.
27918 (FAIL): Remove macro.
27919 (NO_INLINE): Likewise.
27920 (fn): Use match function instead of strstr.
27921 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27922 (ret): Remove variable.
27924 (FAIL): Remove macro.
27925 (NO_INLINE): Likewise.
27926 (handle_signal): Use match function instead of strstr.
27927 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27928 (ret): Remove variable.
27930 (FAIL): Remove macro.
27931 (NO_INLINE): Likewise.
27932 (handle_signal): Use match function instead of strstr.
27934 2013-01-23 Roland McGrath <roland@hack.frob.com>
27936 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27938 2013-01-23 David S. Miller <davem@davemloft.net>
27940 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27941 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27942 argument of CAS if possible.
27943 * sysdeps/sparc/sparc64/bits/atomic.h
27944 (__arch_compare_and_exchange_val_32_acq): Likewise.
27945 (__arch_compare_and_exchange_val_64_acq): Likewise.
27947 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27949 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27950 * sysdeps/posix/ulimit.c: ... this.
27951 Include <limits.h>.
27952 * sysdeps/unix/bsd/ulimit.c: Remove file.
27954 2013-01-23 Adam Conrad <adconrad@0c3.net>
27956 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27957 (LDFLAGS-tst-array5): Likewise.
27959 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27962 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27963 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27964 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27967 2013-01-21 David S. Miller <davem@davemloft.net>
27969 * sysdeps/sparc/backtrace.c: New file.
27970 * sysdeps/sparc/sparc32/backtrace.h: New file.
27971 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27972 * sysdeps/sparc/sparc64/backtrace.h: New file.
27973 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27974 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27977 2013-01-21 Andreas Schwab <schwab@suse.de>
27980 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27983 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27989 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27990 Mark Mitchell <mark@codesourcery.com>
27991 Tom de Vries <tom@codesourcery.com>
27992 Paul Pluzhnikov <ppluzhnikov@google.com>
27994 * debug/tst-backtrace2.c: New file.
27995 * debug/tst-backtrace3.c: Likewise.
27996 * debug/tst-backtrace4.c: Likewise.
27997 * debug/tst-backtrace5.c: Likewise.
27998 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27999 (CFLAGS-tst-backtrace3.c): Likewise.
28000 (CFLAGS-tst-backtrace4.c): Likewise.
28001 (CFLAGS-tst-backtrace5.c): Likewise.
28002 (LDFLAGS-tst-backtrace2): Likewise.
28003 (LDFLAGS-tst-backtrace3): Likewise.
28004 (LDFLAGS-tst-backtrace4): Likewise.
28005 (LDFLAGS-tst-backtrace5): Likewise.
28006 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28007 tst-backtrace4 and tst-backtrace5.
28009 2013-01-18 Anton Blanchard <anton@samba.org>
28010 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28013 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28015 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28017 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28018 "+r" and remove output regs list as redundant. Add explicit inline
28019 asm to specify register of return val to work around compiler codegen
28020 bug. Remove (int) cast on return value. Add return type parameter to
28021 use in macro so that this macro does not truncate return value for
28023 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28024 pass to INTERNAL_VSYSCALL_NCS.
28025 (INLINE_VSYSCALL): Add 'long int' as return type to
28026 INTERNAL_VSYSCALL_NCS macro invocation.
28027 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28028 INTERNAL_VSYSCALL_NCS macro invocation.
28029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28031 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28034 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28035 Fix application of SIMD FP exception mask.
28037 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28038 mp_no from a power of two.
28039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28040 __mpexp_twomm1. Use __pow_mp.
28042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28045 2013-01-17 David S. Miller <davem@davemloft.net>
28047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28049 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28052 * include/complex.h: Condition contents on [!_COMPLEX_H].
28053 (__kernel_casinhf): New prototype.
28054 (__kernel_casinh): Likewise.
28055 (__kernel_casinhl): Likewise.
28056 * math/Makefile (libm_calls): Add k_casinh.
28057 * math/k_casinh.c: New file.
28058 * math/k_casinhf.c: Likewise.
28059 * math/k_casinhl.c: Likewise.
28060 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28061 finite nonzero arguments.
28062 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28063 finite nonzero arguments.
28064 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28065 finite nonzero arguments.
28066 * math/s_casinh.c: Do not include <float.h>.
28067 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28068 * math/s_casinhf.c: Do not include <float.h>.
28069 (__casinhf): Move code for finite nonzero arguments to
28071 * math/s_casinhl.c: Do not include <float.h>.
28072 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28074 (__casinhl): Move code for finite nonzero arguments to
28076 * math/libm-test.inc (cacos_test): Add more tests.
28077 * sysdeps/i386/fpu/libm-test-ulps: Update.
28078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28080 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28082 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28083 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28084 [!HAVE_MREMAP]: Remove [defined linux] case.
28085 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28087 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28089 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28091 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28093 * elf/elf.h (R_386_SIZE32): New relocation.
28094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28096 (elf_machine_rela): Likewise.
28097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28098 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28100 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28102 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28103 (FP_FAST_FMA): Do not define.
28104 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28105 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28106 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28107 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28108 !_SOFT_FLOAT]: Likewise.
28109 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28113 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28116 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28117 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28120 2013-01-16 Andreas Schwab <schwab@suse.de>
28123 * include/stdlib.h (__mktemp): Add declaration.
28124 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28125 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28127 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28129 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28131 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28132 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28133 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28136 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28140 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28141 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28144 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28145 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28147 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28149 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28151 2013-01-15 David S. Miller <davem@davemloft.net>
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28154 trunc{,f} to libm-sysdep_routes.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28170 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28173 nearbyint{,f} to libm-sysdep_routes.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28187 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28191 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28192 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28195 libc_feholdexcept and libc_fesetenv.
28197 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28199 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28201 2013-01-14 David S. Miller <davem@davemloft.net>
28203 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28204 (SPARC_ASM_VIS2_IFUNC): Likewise.
28205 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28207 use of 'siam' instruction.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28241 routines to libm-sysdep_routines.
28242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28245 fdim/fdimf to libm-sysdep_routines.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28254 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28255 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28259 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28262 to optimize copies.
28264 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28269 local variable MPTWO.
28270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28273 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28275 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28278 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28280 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28284 * manual/pattern.texi (glob_t): Document gl_flags.
28285 (glob64_t): Likewise.
28287 2013-01-11 David S. Miller <davem@davemloft.net>
28289 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28290 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28291 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28292 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28293 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28294 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28296 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28298 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28299 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28300 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28301 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28304 sparc V9 rather than using V8 code.
28305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28313 2013-01-11 Roland McGrath <roland@hack.frob.com>
28315 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28316 not in the main loop.
28317 * configure: Regenerated.
28319 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28321 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28322 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28324 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28325 [!__GLIBC_HAVE_LONG_LONG] case.
28326 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28327 condition to just #else.
28328 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28329 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28330 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28331 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28333 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28334 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28335 #elif condition to just #else.
28336 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28337 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28338 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28339 #elif condition to just #else.
28341 2013-01-11 Steve Ellcey <sellcey@mips.com>
28343 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28344 (EF_MIPS_ARCH_64): Fix value.
28345 (EF_MIPS_ARCH_32R2): New.
28346 (EF_MIPS_ARCH_64R2): New.
28348 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28350 * Makeconfig (+link-pie-before-libc): New.
28351 (+link-pie-after-libc): Likewise.
28352 (+link-pie-tests): Likewise.
28353 (+link-pie): Rewritten.
28354 (link-before-libc): Remove $(config-LDFLAGS).
28355 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28356 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28357 (config-LDFLAGS): Renamed to ...
28358 (rtld-LDFLAGS): This.
28359 (rtld-tests-LDFLAGS): New macro.
28360 (link-libc-rpath-link): Likewise.
28361 (link-libc-tests-rpath-link): Likewise.
28362 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28363 (link-libc): Prepand $(link-libc-rpath-link).
28364 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28365 (test-program-prefix): New macro.
28366 (test-via-rtld-prefix): Likewise.
28367 (test-program-cmd): Likewise.
28368 (host-test-program-cmd): Likewise.
28369 * Makefile ($(common-objpfx)testrun.sh): Replace
28370 $(run-program-prefix) with $(test-program-prefix).
28371 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28373 ($(common-objpfx)shlib.lds): Likewise.
28374 (build-module-helper): Likewise.
28375 ($(common-objpfx)format.lds): Likewise.
28376 * Rules (binaries-pie-tests): New.
28377 (binaries-pie-notests): Likewise.
28378 (binaries-pie): Rewritten.
28379 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28380 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28381 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28382 (make-test-out): Replace $(host-built-program-cmd) with
28383 $(host-test-program-cmd).
28384 * config.make.in (build-hardcoded-path-in-tests): New variable.
28385 * configure.in (--enable-hardcoded-path-in-tests): New configure
28387 (hardcoded_path_in_tests): New AC_SUBST.
28388 * configure: Regenerated.
28389 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28390 $(built-program-cmd) with $(test-program-cmd).
28391 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28392 (test_program_cmd): This.
28393 * elf/Makefile ($(objpfx)order.out): Run test with
28394 $(test-program-prefix).
28395 ($(objpfx)order2.out): Likewise.
28396 ($(objpfx)tst-initorder.out): Likewise.
28397 ($(objpfx)tst-initorder2.out): Likewise.
28398 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28399 $(test-program-cmd).
28400 ($(objpfx)tst-array1-static.out): Likewise.
28401 ($(objpfx)tst-array2.out): Likewise.
28402 ($(objpfx)tst-array3.out): Likewise.
28403 ($(objpfx)tst-array4.out): Likewise.
28404 ($(objpfx)tst-array5.out): Likewise.
28405 ($(objpfx)tst-array5-static.out): Likewise.
28406 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28407 $(test-program-cmd).
28408 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28409 $(run-program-prefix) with $(test-program-prefix).
28410 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28411 (test_program_prefix): This.
28412 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28413 $(run-program-prefix) with $(test-program-prefix).
28414 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28415 (test_program_prefix): This.
28416 * iconvdata/tst-tables.sh: Likewise.
28417 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28418 $(run-program-prefix) with $(test-program-prefix).
28419 ($(objpfx)tst-translit.out): Likewise.
28420 ($(objpfx)tst-gettext2.out): Likewise.
28421 ($(objpfx)tst-gettext4.out): Likewise.
28422 ($(objpfx)tst-gettext6.out): Likewise.
28423 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28424 (test_program_prefix): This.
28425 * intl/tst-gettext2.sh: Likewise.
28426 * intl/tst-gettext4.sh Likewise.
28427 * intl/tst-gettext6.sh: Likewise.
28428 * intl/tst-translit.sh: Likewise.
28429 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28430 with $(test-program-cmd).
28431 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28432 $(run-program-prefix) with $(test-program-prefix).
28433 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28434 (test_program_prefix): This.
28435 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28436 $(run-program-prefix) with $(test-program-prefix).
28437 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28438 (test_program_prefix): This.
28439 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28440 * posix/Makefile ($(objpfx)globtest.out): Replace
28441 $(run-via-rtld-prefix) and $(test-wrapper) with
28442 $(test-program-prefix) and $(test-via-rtld-prefix).
28443 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28444 $(test-program-prefix).
28445 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28446 $(host-test-program-cmd).
28447 (tst-spawn-ARGS): Likewise.
28448 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28449 $(test-program-prefix).
28450 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28451 (test_via_rtld_prefix): This.
28452 (test_wrapper): Renamed to ...
28453 (test_program_prefix): This.
28454 (run_program_prefix): Replaced by test_program_prefix.
28455 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28456 (test_program_prefix): This.
28457 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28458 with $(host-test-program-cmd).
28459 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28460 $(run-program-prefix) with $(test-program-prefix).
28461 ($(objpfx)tst-printf.out): Likewise.
28462 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28463 $(test-program-cmd).
28464 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28465 (test_program_prefix): This.
28466 * stdio-common/tst-unbputc.sh: Likewise.
28467 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28468 $(run-program-prefix) with $(test-program-prefix).
28469 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28470 (test_program_prefix): This.
28471 * string/Makefile ($(objpfx)tst-svc.out): Replace
28472 $(built-program-cmd) with $(test-program-cmd).
28474 2013-01-11 Andreas Jaeger <aj@suse.de>
28477 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28478 value. Sync with Linux 3.7.
28480 2013-01-10 David S. Miller <davem@davemloft.net>
28482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28486 2013-01-10 Roland McGrath <roland@hack.frob.com>
28488 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28490 * configure: Regenerated.
28492 2013-01-10 David S. Miller <davem@davemloft.net>
28494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28495 sparc V9 rather than using V8 code.
28496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28499 2013-01-10 Roland McGrath <roland@hack.frob.com>
28501 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28502 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28503 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28504 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28505 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28506 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28507 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28508 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28509 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28510 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28511 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28512 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28513 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28514 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28515 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28516 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28517 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28518 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28519 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28520 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28521 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28522 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28523 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28524 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28525 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28526 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28527 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28529 2013-01-10 David S. Miller <davem@davemloft.net>
28531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28533 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28535 * posix/Makefile (tests-static): New variable.
28536 (tests): Add $(tests-static).
28537 (tst-exec-static-ARGS): New variable.
28538 (tst-spawn-static-ARGS): Likewise.
28539 * posix/tst-exec-static.c: New file.
28540 * posix/tst-spawn-static.c: Likewise.
28541 * posix/tst-exec.c: Support run directly.
28542 * posix/tst-spawn.c: Likewise.
28544 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28546 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28548 * math/bits/mathcalls.h (llrint): Likewise.
28549 (llround): Likewise.
28550 * stdlib/stdlib.h (struct drand48_data): Likewise.
28551 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28552 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28553 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28555 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28557 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28558 (elf_greg_t): Likewise.
28559 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28560 (__jmp_buf): Likewise.
28561 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28563 (llrint): Likewise, for all definitions.
28564 (llrintl): Likewise.
28566 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28567 Remove [__GNUC__] condition.
28568 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28569 condition to just [__USE_ISOC99].
28570 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28572 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28575 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28576 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28578 (_POSIX_V6_ILP32_OFF32): Likewise.
28579 (_XBS5_ILP32_OFF32): Likewise.
28580 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28581 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28583 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28585 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28588 doubles __mpexp_twomm1. Adjust usage.
28589 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28592 2013-01-10 Andreas Schwab <schwab@suse.de>
28595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28596 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28598 2013-01-09 David S. Miller <davem@davemloft.net>
28601 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28602 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28603 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28604 (TCP_FASTOPEN): Define.
28605 (tcp_repair_opt): New structure.
28606 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28608 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28609 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28610 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28611 (tcp_cookie_transactions): New structure.
28613 2013-01-09 Anton Blanchard <anton@samba.org>
28615 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28616 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28617 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28620 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28622 * include/features.h (__USE_ANSI): Remove.
28624 2013-01-09 Roland McGrath <roland@hack.frob.com>
28626 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28628 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28630 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28632 * sysdeps/s390/fpu/libm-test-ulps: Update.
28634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28636 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28640 (denorm): Likewise.
28641 (__mp_dbl): Likewise.
28642 (__dbl_mp): Likewise.
28643 (add_magnitudes): Likewise.
28644 (sub_magnitudes): Likewise.
28650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28654 (denorm): Likewise.
28655 (__mp_dbl): Likewise.
28656 (__dbl_mp): Likewise.
28657 (add_magnitudes): Likewise.
28658 (sub_magnitudes): Likewise.
28664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28668 (denorm): Likewise.
28669 (__mp_dbl): Likewise.
28670 (__dbl_mp): Likewise.
28671 (add_magnitudes): Likewise.
28672 (sub_magnitudes): Likewise.
28679 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28681 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28682 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28683 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28684 2 && __USE_EXTERN_INLINES]: Likewise.
28686 2013-01-08 Andreas Jaeger <aj@suse.de>
28689 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28691 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28692 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28694 2013-01-07 Anton Blanchard <anton@samba.org>
28696 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28697 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28698 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28699 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28700 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28702 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28703 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28706 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28715 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28717 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28719 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28720 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28722 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28725 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28726 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28728 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28729 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28730 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28734 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28740 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28742 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28743 (__MALLOC_PMT): Likewise.
28744 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28745 [__GNUC__], only on [_LIBC].
28746 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28747 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28748 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28749 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28750 forward declaration.
28751 (realloc_hook_ini): Likewise.
28752 (memalign_hook_ini): Likewise.
28753 (__libc_memalign): Do not use __MALLOC_PMT in variable
28755 (__libc_valloc): Likewise.
28756 (__libc_pvalloc): Likewise.
28757 (__libc_calloc): Likewise.
28758 (__posix_memalign): Likewise.
28761 * math/s_casinh.c: Include <float.h>.
28762 (__casinh): Do not do computation with squaring and square root
28763 for large arguments.
28764 * math/s_casinhf.c: Include <float.h>.
28765 (__casinhf): Do not do computation with squaring and square root
28766 for large arguments.
28767 * math/s_casinhl.c: Include <float.h>.
28768 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28769 (__casinhl): Do not do computation with squaring and square root
28770 for large arguments.
28771 * math/libm-test.inc (casin_test): Add more tests.
28772 (casinh_test): Likewise.
28773 * sysdeps/i386/fpu/libm-test-ulps: Update.
28774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28776 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28779 (__x86_64_raw_data_cache_size): Likewise.
28780 (__x86_64_data_cache_size_half): Likewise.
28781 (__x86_64_raw_data_cache_size_half): Likewise.
28782 (__x86_64_shared_cache_size): Likewise.
28783 (__x86_64_raw_shared_cache_size): Likewise.
28784 (__x86_64_shared_cache_size_half): Likewise.
28785 (__x86_64_raw_shared_cache_size_half): Likewise.
28786 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28788 (__x86_data_cache_size): This.
28789 (__x86_64_raw_data_cache_size): Renamed to ...
28790 (__x86_raw_data_cache_size): This.
28791 (__x86_64_data_cache_size_half): Renamed to ...
28792 (__x86_data_cache_size_half): This.
28793 (__x86_64_raw_data_cache_size_half): Renamed to ...
28794 (__x86_raw_data_cache_size_half): This.
28795 (__x86_64_shared_cache_size): Renamed to ...
28796 (__x86_shared_cache_size): This.
28797 (__x86_64_raw_shared_cache_size): Renamed to ...
28798 (__x86_raw_shared_cache_size): This.
28799 (__x86_64_shared_cache_size_half): Renamed to ...
28800 (__x86_shared_cache_size_half): This.
28801 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28802 (__x86_raw_shared_cache_size_half): This.
28803 * sysdeps/x86_64/memcpy.S: Updated.
28804 * sysdeps/x86_64/memset.S: Likewise.
28805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28809 2013-01-04 David S. Miller <davem@davemloft.net>
28811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28813 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28815 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28816 1 to avoid redefinition warning.
28817 (__USE_GNU): Don't define.
28818 (init_signaling_nan): Protoize.
28820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28822 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28824 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28826 (__cpymn): Likewise.
28827 (norm): Remove commented code.
28828 (denorm): Likewise.
28829 (__mp_dbl): Likewise.
28831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28832 (__cpymn): Likewise.
28833 (norm): Remove commented code.
28834 (denorm): Likewise.
28835 (__mp_dbl): Likewise.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28839 mp_no value for 1.0 and 2.0.
28840 (norm): Use RADIXI instead of radixi.d.
28841 (denorm): Likewise.
28842 (__mul): Use 0.0 instead of zero.d.
28843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28844 mp_no value for 1.0 and 2.0.
28845 (norm): Use RADIXI instead of radixi.d.
28846 (denorm): Likewise.
28847 (__mul): Use 0.0 instead of zero.d.
28849 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28852 * math/s_casinh.c (__casinh): Reduce finite argument to first
28853 quadrant then set signs of results at the end.
28854 * math/s_casinhf.c (__casinhf): Likewise.
28855 * math/s_casinhl.c (__casinhl): Likewise.
28856 * math/libm-test.inc (casin_test): Add more tests.
28857 (casinh_test): Likewise.
28858 * sysdeps/i386/fpu/libm-test-ulps: Update.
28859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28861 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28863 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28865 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28867 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28869 (denorm): Likewise.
28870 (__mp_dbl): Likewise.
28873 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28874 and adjust the header comment.
28876 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28877 variable name from declaration.
28879 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28882 Initialize COMMON_CPUID_INDEX_7 element.
28883 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28884 (CPUID_RTM): Likewise.
28885 (HAS_RTM): Likewise.
28886 (COMMON_CPUID_INDEX_7): New enum.
28888 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28891 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28892 size is zero, record memory as freed.
28894 2013-01-03 Andreas Jaeger <aj@suse.de>
28896 * po/ia.po: Add new Interlingua translation.
28898 2012-01-03 Allan McRae <allan@archlinux.org>
28900 * locale/programs/localedef.c: Fix description of '--posix' flag.
28902 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28904 * NEWS: Update dates in second copyright notice.
28905 * README: Update copyright dates in example.
28906 * manual/libc.texinfo: Update copyright dates.
28907 * scripts/test-installation.pl: Update copyright date in --version
28910 * hurd/ctty-input.c: Fix copyright notice formatting.
28911 * hurd/ctty-output.c: Likewise.
28912 * hurd/dtable.c: Likewise.
28913 * hurd/hurd-raise.c: Likewise.
28914 * hurd/hurdprio.c: Likewise.
28915 * hurd/msgportdemux.c: Likewise.
28916 * misc/sys/file.h: Likewise.
28917 * misc/sys/ioctl.h: Likewise.
28918 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28919 * sysdeps/mach/hurd/chdir.c: Likewise.
28920 * sysdeps/mach/hurd/fchdir.c: Likewise.
28921 * sysdeps/mach/hurd/rename.c: Likewise.
28922 * sysdeps/mach/hurd/rmdir.c: Likewise.
28923 * sysdeps/mach/hurd/seekdir.c: Likewise.
28924 * sysdeps/mach/hurd/setsid.c: Likewise.
28925 * sysdeps/posix/wait3.c: Likewise.
28927 * All files with FSF copyright notices: Update copyright dates
28928 using scripts/update-copyrights.
28929 * intl/plural.c: Regenerated.
28930 * locale/programs/charmap-kw.h: Likewise.
28931 * locale/programs/locfile-kw.h: Likewise.
28933 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28938 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28939 calculation loop and add branch prediction.
28941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28942 check access beyond bounds of m1np.
28944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28946 (__inv): Remove local variable MPTWO to use the global
28948 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28952 MP3HALFS static const.
28954 2013-01-01 David S. Miller <davem@davemloft.net>
28956 * po/ca.po: Update from translation team.
28958 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28960 * scripts/update-copyrights: New file.
28961 * Makeconfig: Reformat copyright notice.
28962 * ctype/ctype.h: Likewise.
28963 * debug/swprintf_chk.c: Likewise.
28964 * elf/dl-cache.c: Likewise.
28965 * elf/dl-debug.c: Likewise.
28966 * elf/dl-object.c: Likewise.
28967 * grp/initgroups.c: Likewise.
28968 * hurd/Makefile: Likewise.
28969 * hurd/hurd/signal.h: Likewise.
28970 * hurd/hurdfault.c: Likewise.
28971 * hurd/hurdioctl.c: Likewise.
28972 * hurd/hurdlookup.c: Likewise.
28973 * hurd/intr-msg.c: Likewise.
28974 * iconv/gconv_open.c: Likewise.
28975 * libio/swprintf.c: Likewise.
28976 * locale/lc-ctype.c: Likewise.
28977 * locale/nl_langinfo.c: Likewise.
28978 * mach/Machrules: Likewise.
28979 * mach/Makefile: Likewise.
28980 * malloc/obstack.h: Likewise.
28981 * manual/Makefile: Likewise.
28982 * manual/tsort.awk: Likewise.
28983 * misc/bits/stab.def: Likewise.
28984 * nis/nis_print_group_entry.c: Likewise.
28985 * nis/nis_table.c: Likewise.
28986 * nis/nss_compat/compat-pwd.c: Likewise.
28987 * nis/nss_compat/compat-spwd.c: Likewise.
28988 * po/Makefile: Likewise.
28989 * posix/fnmatch.c: Likewise.
28990 * posix/regex.h: Likewise.
28991 * resolv/Makefile: Likewise.
28992 * resolv/nss_dns/dns-network.c: Likewise.
28993 * resolv/res_hconf.c: Likewise.
28994 * scripts/gen-sorted.awk: Likewise.
28995 * soft-fp/soft-fp.h: Likewise.
28996 * stdio-common/printf.h: Likewise.
28997 * stdlib/monetary.h: Likewise.
28998 * stdlib/random.c: Likewise.
28999 * stdlib/random_r.c: Likewise.
29000 * sysdeps/generic/Makefile: Likewise.
29001 * sysdeps/gnu/Makefile: Likewise.
29002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29030 * sysdeps/mach/hurd/errnos.awk: Likewise.
29031 * sysdeps/mach/hurd/fork.c: Likewise.
29032 * sysdeps/mach/hurd/getcwd.c: Likewise.
29033 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29034 * sysdeps/mach/hurd/mmap.c: Likewise.
29035 * sysdeps/mach/hurd/utimes.c: Likewise.
29036 * sysdeps/mach/hurd/xmknod.c: Likewise.
29037 * sysdeps/posix/profil.c: Likewise.
29038 * sysdeps/posix/readdir_r.c: Likewise.
29039 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29040 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29042 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29044 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29046 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29048 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29050 * sysdeps/pthread/lio_listio.c: Likewise.
29051 * sysdeps/sparc/dl-procinfo.h: Likewise.
29052 * sysdeps/unix/i386/sysdep.S: Likewise.
29053 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29054 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29055 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29056 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29058 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29059 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29060 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29061 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29062 * sysdeps/wordsize-32/divdi3.c: Likewise.
29063 * time/sys/time.h: Likewise.
29064 * wcsmbs/Makefile: Likewise.
29066 2013-01-01 David S. Miller <davem@davemloft.net>
29068 * po/fr.po: Update from translation team.
29070 * catgets/gencat.c: Update copyright year.
29071 * csu/version.c: Likewise.
29072 * debug/catchsegv.sh: Likewise.
29073 * debug/pcprofiledump.c: Likewise.
29074 * debug/xtrace.sh: Likewise.
29075 * elf/ldconfig.c: Likewise.
29076 * elf/ldd.bash.in: Likewise.
29077 * elf/pldd.c: Likewise.
29078 * elf/sotruss.ksh: Likewise.
29079 * elf/sprof.c: Likewise.
29080 * iconv/iconv_prog.c: Likewise.
29081 * iconv/iconvconfig.c: Likewise.
29082 * locale/programs/locale.c: Likewise.
29083 * locale/programs/localedef.c: Likewise.
29084 * login/programs/pt_chown.c: Likewise.
29085 * malloc/memusage.sh: Likewise.
29086 * malloc/memusagestat.c: Likewise.
29087 * malloc/mtrace.pl: Likewise.
29088 * nscd/nscd.c: Likewise.
29089 * nss/getent.c: Likewise.
29090 * nss/makedb.c: Likewise.
29091 * posix/getconf.c: Likewise.
29093 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29095 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29098 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29100 * math/bits/mathcalls.h (modf): Use __nonnull.
29102 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29104 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29105 (split): Use macro CN instead of the bare value.
29106 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29109 instead of the bare value.
29110 (power1): Likewise.
29112 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29116 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29118 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29120 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29122 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29123 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29125 2012-12-28 Andreas Jaeger <aj@suse.de>
29127 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29128 values are from Linux 3.7.
29130 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29131 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29133 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29135 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29138 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29140 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29141 variables with preprocessor constants.
29142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29143 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29144 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29146 2012-12-27 Bruno Haible <bruno@clisp.org>
29149 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29152 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29155 and use variable directly.
29156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29158 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29160 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29165 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29166 include directive. Remove local variable MPONE.
29167 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29171 2012-12-25 David S. Miller <davem@davemloft.net>
29173 * version.h (RELEASE): Set to "development".
29174 (VERSION): Set to "2.17.90".
29175 * NEWS: Add 2.18 section.
29177 2012-12-21 David S. Miller <davem@davemloft.net>
29179 * po/hr.po: Update from translation team.
29181 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29183 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29185 2012-12-19 Steve Ellcey <sellcey@mips.com>
29187 * NEWS: Mention new memcpy for MIPS.
29189 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29191 * manual/contrib.texi (Contributors): Spelling correction.
29193 2012-12-15 David S. Miller <davem@davemloft.net>
29195 * po/ru.po: Update from translation team.
29197 2012-12-13 David S. Miller <davem@davemloft.net>
29199 * NEWS: Mention IFUNC testsuite enhancements.
29201 * po/pl.po: Update from translation team.
29202 * po/bg.po: Likewise.
29204 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29205 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29207 2012-12-11 David S. Miller <davem@davemloft.net>
29209 * po/sv.po: Update from translation team.
29211 * po/vi.po: Update from translation team.
29213 * po/cs.po: Update from translation team.
29215 * po/de.po: Update from translation team.
29216 * po/eo.po: Likewise.
29217 * po/nl.po: Likewise.
29219 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29222 * manual/argp.texi (Argp Helper Functions): Move node to follow
29223 Argp Parsing State.
29226 * manual/conf.texi (Limits on File System Capacity): Mention if
29227 terminating null is included in the max size.
29229 2012-12-10 Andreas Jaeger <aj@suse.de>
29231 * po/cs.po: Update from translation team.
29233 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29235 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29236 void pointer and cast to uintptr_t.
29237 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29239 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29240 * sysdeps/s390/s390-64/memset.S: Likewise.
29242 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29245 * menual/message.texi (Message Translation): Fix typos.
29246 (Helper programs for gettext): Likewise.
29248 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29251 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29254 2012-12-07 David S. Miller <davem@davemloft.net>
29256 * po/libc.pot: Update.
29258 2012-12-07 Richard Henderson <rth@redhat.com>
29261 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29262 normal/normal case to before the switch.
29263 (_FP_DIV): Likewise.
29265 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29266 Mike Frysinger <vapier@gentoo.org>
29268 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29269 check for __NR_fadvise64_64.
29271 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29273 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29274 0, not just to plain "0" as a statement.
29275 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29278 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29280 * NEWS: Use sourceware.org in Bugzilla URL.
29282 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29285 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29287 * stdio-common/tst-put-error.c (do_test): Add newline to the
29288 padded test to ensure flush.
29290 2012-12-05 Jeff Law <law@redhat.com>
29292 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29294 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29296 * README: Don't refer to ports add-on as distributed separately.
29297 Mention AArch64 in list of systems supported in the ports add-on.
29299 * LICENSES: Add more non-FSF copyright and license notices.
29301 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29304 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29306 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29307 10000 as width of padded output.
29309 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29311 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29314 variable LX with __attribute__ ((unused)).
29315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29320 with __attribute__ ((unused)).
29322 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29324 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29326 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29328 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29329 (CFLAGS-nldbl-acos.c): New variable.
29330 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29331 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29332 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29333 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29334 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29335 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29336 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29337 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29338 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29339 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29340 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29341 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29342 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29343 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29344 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29345 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29346 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29347 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29348 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29349 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29350 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29351 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29352 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29353 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29354 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29355 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29356 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29357 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29358 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29359 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29360 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29361 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29362 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29363 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29364 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29365 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29366 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29367 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29368 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29369 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29370 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29371 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29372 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29373 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29374 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29375 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29376 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29377 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29378 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29379 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29380 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29381 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29382 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29383 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29384 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29385 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29386 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29387 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29388 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29389 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29390 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29391 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29392 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29393 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29394 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29395 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29396 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29397 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29398 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29399 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29400 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29401 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29402 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29403 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29404 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29405 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29406 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29407 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29408 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29409 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29410 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29411 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29412 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29413 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29414 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29415 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29416 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29422 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29423 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29424 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29425 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29433 whole low double instead of just low 47 bits when splitting values
29436 2012-12-03 Allan McRae <allan@archlinux.org>
29438 * manual/stdio.texi (Predefined Printf Handlers): Remove
29439 @hsep and @vsep usage.
29441 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29443 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29444 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29446 2012-12-03 Jeff Law <law@redhat.com>
29448 * time/sys/time.h (settimeofday): Do not mark TV argument
29451 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29453 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29454 when currently writing and seek to current position when not.
29455 * libio/Makefile (tests): Remove bug-fclose1.
29456 * libio/bug-fclose1.c: Delete.
29458 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29460 * manual/arith.texi (feenableexcept): Fix typo.
29461 (fedisableexcept): Likewise.
29463 2012-11-30 Roland McGrath <roland@hack.frob.com>
29465 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29466 second, differently-typed declaration, rather than a cast.
29468 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29470 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29471 * include/rpc/svc.h: ... here.
29473 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29476 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29477 depending n and resplen2 to catch cases where answer
29480 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29483 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29485 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29489 2012-11-29 Roland McGrath <roland@hack.frob.com>
29491 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29493 2012-11-28 Jeff Law <law@redhat.com>
29496 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29497 dataset_temporary. Track alloca usage into alloca_used.
29498 If dataset is large allocate and release it via malloc/free.
29500 2012-06-04 Florian Weimer <fweimer@redhat.com>
29503 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29505 2012-11-28 David S. Miller <davem@davemloft.net>
29507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29509 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29512 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29513 of pi/2 rounded to nearest to 64 bits.
29514 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29515 nearest to 64 bits.
29516 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29519 2012-11-28 Jeff Law <law@redhat.com>
29520 Martin Osvald <mosvald@redhat.com>
29523 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29524 * sunrpc/svc.c: Include time.h.
29525 (__svc_accept_failed): New function.
29526 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29527 any reason other than EINTR, call __svc_accept_failed.
29528 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29529 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29531 2012-11-28 Andreas Schwab <schwab@suse.de>
29533 * scripts/abilist.awk: Also handle indirect functions in .opd
29536 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29539 * sysdeps/x86/fpu/powl_helper.c: New file.
29540 * sysdeps/x86/fpu/Makefile: Likewise.
29541 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29543 (__ieee754_powl): Use __powl_helper for finite arguments except
29544 integer exponents below 8.
29545 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29547 (__ieee754_powl): Use __powl_helper for finite arguments except
29548 integer exponents below 8.
29549 * math/libm-test.inc (pow_test): Add more tests and enable some
29550 previously disabled tests.
29551 * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29555 Carlos O'Donell <carlos_odonell@mentor.com>
29557 * nss/makedb.c (is_prime): Assert that input is odd and greater
29558 than 4. Note that fact in a comment too.
29559 (next_prime): Add 4 to input.
29561 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29564 * libio/Makefile (tests): Add test case tst-fwrite-error.
29565 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29566 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29567 * libio/tst-fwrite-error.c: New test case.
29569 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29571 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29572 before casting to void *.
29573 * include/libc-internal.h (__pointer_type): New macro.
29574 (__integer_if_pointer_type_sub): Likewise.
29575 (__integer_if_pointer_type): Likewise.
29576 (cast_to_integer): Likewise.
29577 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29578 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29579 before casting to atomic64_t.
29580 (atomic_exchange_acq): Likewise.
29581 (__arch_exchange_and_add_body): Likewise.
29582 (__arch_add_body): Likewise.
29583 (atomic_add_negative): Likewise.
29584 (atomic_add_zero): Likewise.
29586 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29588 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29589 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29590 (add_fdes): Likewise.
29591 (linear_search_fdes): Likewise.
29592 (binary_search_unencoded_fdes): Likewise.
29594 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29596 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29598 2012-11-24 Adam Conrad <adconrad@0c3.net>
29600 * configure.in: Autodetect C++ header directories.
29601 * configure: Regenerated.
29603 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29605 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29607 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29611 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29613 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29614 LDBL_MANT_DIG == 106]: Disable some tests.
29615 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29617 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29621 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29622 input for small inputs. Return +/- pi/2 for large inputs.
29623 * math/libm-test.inc (atan_test): Add more tests.
29625 * sysdeps/generic/unwind-dw2-fde-glibc.c
29626 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29627 __attribute__ ((unused)).
29630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29631 x * y if x and y are nonzero and z is zero.
29634 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29635 nonzero exponents with absolute value below 0x1p-117 to +/-
29639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29640 up arguments below 2**-450, not just those below 2**-500.
29641 * math/libm-test.inc (hypot_test): Add another test.
29644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29645 Return a+b for ratio over 2**120, not 2**60.
29646 * math/libm-test.inc (hypot_test): Add another test.
29648 * math/libm-test.inc (clog_test): Use
29649 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29650 (clog10_test): Likewise.
29653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29655 2012-11-22 Andreas Schwab <schwab@suse.de>
29657 * sysdeps/i386/fpu/libm-test-ulps: Update.
29659 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29661 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29662 printf output with newline.
29664 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29667 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29668 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29669 -z nodlopen, -z initfirst and -z execstack support.
29670 * configure: Regenerated.
29672 * elf/elf.h (DF_1_NODIRECT): New macro.
29673 (DF_1_IGNMULDEF): Likewise.
29674 (DF_1_NOKSYMS): Likewise.
29675 (DF_1_NOHDR): Likewise.
29676 (DF_1_EDITED): Likewise.
29677 (DF_1_NORELOC): Likewise.
29678 (DF_1_SYMINTPOSE): Likewise.
29679 (DF_1_GLOBAUDIT): Likewise.
29680 (DF_1_SINGLETON): Likewise.
29681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29682 DT_1_SUPPORTED_MASK bits.
29683 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29685 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29687 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29689 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29691 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29694 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29695 (sendmmsg): Move declarations...
29696 * socket/sys/socket.h: ... here.
29697 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29698 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29700 * socket/recvmmsg.c: ... this new file.
29701 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29702 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29703 definition of __sendmmsg hidden.
29704 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29705 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29706 Move ENOSYS stub into and include it from...
29707 * socket/sendmmsg.c: ... this new file.
29708 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29709 (sysdep_routines): Move recvmmsg and sendmmsg...
29710 * socket/Makefile (routines): ... here.
29711 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29712 (GLIBC_PRIVATE): Add __sendmmsg.
29713 * include/sys/socket.h (__sendmmsg): Add declarations.
29714 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29717 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29720 variable I1 with __attribute__ ((unused)).
29721 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29723 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29725 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29726 DUMMY variables with __attribute__ ((unused)).
29728 * bits/byteswap.h: Include <bits/types.h>.
29729 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29731 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29733 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29734 string_t. Do not manually set errno.
29735 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29736 length with __strnlen. Make sure to both set errno and return it on
29739 2012-11-19 David S. Miller <davem@davemloft.net>
29741 With help from Joseph Myers.
29742 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29743 very large arguments properly.
29744 * math/libm-test.inc (atan_test): New tests.
29745 (atan2_test): New tests.
29746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29749 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29752 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29755 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29756 [POSIX] (EADDRNOTAVAIL): Likewise.
29757 [POSIX] (EAFNOSUPPORT): Likewise.
29758 [POSIX] (EALREADY): Likewise.
29759 [POSIX] (ECONNABORTED): Likewise.
29760 [POSIX] (ECONNREFUSED): Likewise.
29761 [POSIX] (ECONNRESET): Likewise.
29762 [POSIX] (EDESTADDRREQ): Likewise.
29763 [POSIX] (EDQUOT): Likewise.
29764 [POSIX] (EHOSTUNREACH): Likewise.
29765 [POSIX] (EIDRM): Likewise.
29766 [POSIX] (EISCONN): Likewise.
29767 [POSIX] (ELOOP): Likewise.
29768 [POSIX] (EMULTIHOP): Likewise.
29769 [POSIX] (ENETDOWN): Likewise.
29770 [POSIX] (ENETUNREACH): Likewise.
29771 [POSIX] (ENOBUFS): Likewise.
29772 [POSIX] (ENODATA): Likewise.
29773 [POSIX] (ENOLINK): Likewise.
29774 [POSIX] (ENOMSG): Likewise.
29775 [POSIX] (ENOPROTOOPT): Likewise.
29776 [POSIX] (ENOSR): Likewise.
29777 [POSIX] (ENOSTR): Likewise.
29778 [POSIX] (ENOTCONN): Likewise.
29779 [POSIX] (ENOTSOCK): Likewise.
29780 [POSIX] (EOPNOTSUPP): Likewise.
29781 [POSIX] (EOVERFLOW): Likewise.
29782 [POSIX] (EPROTO): Likewise.
29783 [POSIX] (EPROTONOSUPPORT): Likewise.
29784 [POSIX] (EPROTOTYPE): Likewise.
29785 [POSIX] (ESTALE): Likewise.
29786 [POSIX] (ETIME): Likewise.
29787 [POSIX] (ETXTBSY): Likewise.
29788 [POSIX] (EWOULDBLOCK): Likewise.
29789 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29790 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29791 [POSIX] (SEEK_CUR): Likewise.
29792 [POSIX] (SEEK_END): Likewise.
29793 [POSIX || UNIX98] (mode_t): Do not require.
29794 [POSIX] (off_t): Likewise.
29795 [POSIX] (pid_t): Likewise.
29796 [POSIX] (sys/stat.h): Do not allow header.
29797 [POSIX] (unistd.h): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29799 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29800 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29801 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29803 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29804 sigevent): Specify elements.
29805 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29807 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29808 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29810 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29811 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29812 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29813 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29814 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29815 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29816 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29817 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29819 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29820 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29821 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29822 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29831 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29833 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29834 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29836 Specify lower bound on value.
29837 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29843 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29844 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29848 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29865 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29867 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29874 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29879 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29886 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29887 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29888 specify as optional.
29889 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29892 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29893 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29894 [XPG3] (NL_LANGMAX): Likewise.
29895 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29896 [POSIX || XPG3] (NL_NMAX): Likewise.
29897 [POSIX || XPG3] (NL_SETMAX): Likewise.
29898 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29899 [XPG3] (NZERO): Likewise.
29900 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29901 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29902 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29903 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29904 (REG_ERANGE): Expect.
29905 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29907 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29908 Use (void) in prototype.
29909 [POSIX] (*_t): Allow.
29910 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29911 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29912 (WRDE_BADVAL): Expect.
29914 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29916 [XPG3 || XPG4] (O_RSYNC): Likewise.
29917 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29919 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29920 [XPG3 || XPG4] (sigqueue): Likewise.
29921 [XPG3 || XPG4] (sigtimedwait): Likewise.
29922 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29923 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29924 [XPG3 || XPG4] (vsnprintf): Likewise.
29925 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29927 [XPG3 || XPG4] (blksize_t): Likewise.
29928 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29930 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29931 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29932 [XPG3 || XPG4] (struct itimerspec): Likewise.
29933 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29934 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29935 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29936 [XPG3 || XPG4] (clockid_t): Likewise.
29937 [XPG3 || XPG4] (timer_t): Likewise.
29938 [XPG3 || XPG4] (clock_getres): Likewise.
29939 [XPG3 || XPG4] (clock_gettime): Likewise.
29940 [XPG3 || XPG4] (clock_settime): Likewise.
29941 [XPG3 || XPG4] (nanosleep): Likewise.
29942 [XPG3 || XPG4] (timer_create): Likewise.
29943 [XPG3 || XPG4] (timer_delete): Likewise.
29944 [XPG3 || XPG4] (timer_gettime): Likewise.
29945 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29946 [XPG3 || XPG4] (timer_settime): Likewise.
29947 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29948 [XPG3 || XPG4] (getlogin_r): Likewise.
29949 [XPG3 || XPG4] (pread): Likewise.
29950 [XPG3 || XPG4] (pthread_atfork): Likewise.
29951 [XPG3 || XPG4] (pwrite): Likewise.
29954 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29957 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29959 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29960 finalizing MALLSTREAM.
29962 * sysdeps/mach/hurd/syncfs.c: New file.
29964 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29968 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29970 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29971 (_nss_dns_gethostbyname4_r): Likewise.
29972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29973 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29975 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29978 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29980 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29982 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29983 * elf/cache.c (print_entry): Print ",AArch64" for
29986 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29987 * elf/cache.c (print_entry): Print ",hard-float" for
29990 2012-11-18 David S. Miller <davem@davemloft.net>
29992 With help from Joseph Myers.
29993 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29995 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29997 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29998 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30001 * math/libm-test.inc (y0_test): New tests.
30002 (y1_test): New tests.
30003 * sysdeps/i386/fpu/libm-test-ulps: Update.
30004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30007 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30009 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30011 * configure: Regenerated.
30013 2012-11-17 David S. Miller <davem@davemloft.net>
30016 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30017 nonzero exponents with absolute value below 0x1p-128 to +/-
30020 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30022 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30024 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30026 * posix/getconf-speclist.c: New file.
30027 * posix/posix-envs.def: Likewise.
30028 * posix/confstr.c (START_ENV_GROUP): New macro.
30029 (END_ENV_GROUP): Likewise.
30030 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30031 (KNOWN_PRESENT_ENV_STRING): Likewise.
30032 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30033 (UNKNOWN_ENVIRONMENT): Likewise.
30034 (confstr): Include posix-envs.def instead of handling
30035 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30036 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30037 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30038 (END_ENV_GROUP): Likewise.
30039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30040 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30041 (UNKNOWN_ENVIRONMENT): Likewise.
30042 (__sysconf): Include posix-envs.def instead of handling associated
30043 cases directly here.
30044 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30045 preprocessing getconf-speclist.c rather than running getconf or
30046 generating empty file.
30048 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30050 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30052 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30055 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30057 2012-11-16 David S. Miller <davem@davemloft.net>
30059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30060 smaller than LDBL_EPSILON/2.0L, just return xm1.
30062 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30064 * elf/tst-array1.c (init): Set constructor priority to 1000.
30065 (fini): Set destructor priority to 1000.
30066 * elf/tst-array2dep.c: Likewise.
30068 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30071 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30072 (_IO_new_file_xsputn): Also return EOF if none of the input
30073 data was written when overflow failed.
30074 * libio/iopadn.c (_IO_padn): Likewise.
30075 * libio/iowpadn.c (_IO_wpadn): Likewise.
30076 * stdio-common/tst-put-error.c: Add copyright notice.
30077 (do_test): Add case for printing padded string.
30078 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30079 _IO_padn returned error.
30080 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30081 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30084 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30086 * libio/libioP.h: Add comment note that the references to C++
30087 bits are now obsolete.
30089 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30091 * math/libm-test.inc (check_complex): Use asprintf.
30093 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30095 * debug/pcprofiledump.c (print_version): Update copyright year.
30096 * malloc/memusagestat.c (print_version): Likewise.
30098 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30101 * elf/Makefile (tests): Add tst-audit8.
30102 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30103 ($(objpfx)tst-audit8.out): New target.
30104 (tst-audit8-ENV): New variable.
30105 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30106 audit if l_reloc_result is NULL.
30107 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30108 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30109 * elf/tst-audit8.c: New file.
30111 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30113 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30114 * misc/Makefile (CFLAGS-select.c): Define.
30115 * posix/Makefile (CFLAGS-pause.c): Define.
30117 2012-11-13 David S. Miller <davem@davemloft.net>
30119 * crypt/Makefile: Move test targets after toplevel Rules
30120 inclusion. Grab any necessary sysdep routines when linking.
30121 * crypt/md5.c (md5_process_block): Remove define, we will always
30122 name it __md5_process_block.
30123 (md5_finish_ctx): Update md5_process_block call.
30124 (md5_stream): Likewise.
30125 (md5_process_bytes): Likewise.
30126 (md5_process_block): Rename to __md5_process_block and move to ...
30127 * crypt/md5-block.c: ... here.
30128 * crypt/sha256.c (sha256_process_block): Move to ...
30129 * crypt/sha256-block.c: ... here.
30130 * crypt/sha512.c (sha512_process_block): Move to ...
30131 * crypt/sha512-block.c: ... here.
30132 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30134 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30135 * sysdeps/sparc/sparc64/multiarch/Makefile
30136 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30138 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30141 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30142 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30143 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30144 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30145 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30146 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30147 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30148 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30151 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30156 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30158 * timezone/tzselect.ksh: Update from tzcode git revision
30159 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30160 * timezone/zdump.c: Likewise.
30161 * timezone/zic.c: Likewise.
30162 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30163 in TZVERSION setting, not $(PKGVERSION).
30164 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30165 REPORT_BUGS_TO settings.
30168 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30171 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30173 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30174 detection to immediately after _FP_ROUND().
30175 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30178 2012-11-11 David S. Miller <davem@davemloft.net>
30180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30182 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30183 __close rather than their public counterparts.
30185 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30187 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30189 [UNIX98] (sem_timedwait): Do not expect.
30190 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30191 [XPG4 || UNIX98] (sockatmark): Do not expect.
30192 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30193 (clock_getcpuclockid): Do not expect.
30194 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30195 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30197 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30198 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30199 [UNIX98] (vwscanf): Likewise.
30200 [UNIX98] (vswscanf): Likewise.
30202 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30204 * timezone/version.h: Remove file.
30205 * timezone/README: Do not refer to version.h.
30206 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30207 $(objpfx)version.h.
30208 ($(objpfx)zdump.o): Likewise.
30209 ($(objpfx)version.h): New target.
30211 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30213 * timezone/README: Don't mention modification to tzselect.ksh.
30214 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30215 work on unmodified tzselect.ksh. Substitute version numbers in
30218 * Makefile (format-me): Remove.
30219 (INSTALL): Adjust indentation. Use commands directly instead of
30220 using $(format-me).
30222 * aclocal.m4 (ACX_PKGVERSION): New macro.
30223 (ACX_BUGURL): Likewise.
30224 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30225 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30226 (REPORT_BUGS_TO): Likewise.
30227 * configure: Regenerated.
30228 * config.h.in (PKGVERSION): New macro.
30229 (REPORT_BUGS_TO): Likewise.
30230 * config.make.in (PKGVERSION): New variable.
30231 (PKGVERSION_TEXI): Likewise.
30232 (REPORT_BUGS_TO): Likewise.
30233 (REPORT_BUGS_TEXI): Likewise.
30234 * Makefile (format-me): Use -I$(common-objpfx)manual.
30235 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30236 ($(common-objpfx)manual/%): New target.
30237 (manual/%): Remove target.
30238 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30239 (print_version): Use PKGVERSION.
30240 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30241 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30242 and REPORT_BUGS_TO.
30243 ($(objpfx)xtrace): Likewise.
30244 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30245 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30246 (print_version): Use PKGVERSION.
30247 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30248 (do_version): Use PKGVERSION.
30249 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30251 (common-ldd-rewrite): Likewise.
30252 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30253 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30254 (print_version): Use PKGVERSION.
30255 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30256 * elf/pldd.c (argp_program_bug_address): Remove variable.
30257 (more_help): New function.
30258 (argp): Use more_help.
30259 (print_version): Use PKGVERSION.
30260 * elf/sln.c (main): Use PKGVERSION.
30261 (usage): Use REPORT_BUGS_TO.
30262 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30263 (top level): Use PKGVERSION.
30264 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30265 (print_version): Use PKGVERSION.
30266 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30267 (print_version): Use PKGVERSION.
30268 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30269 (print_version): Use PKGVERSION.
30270 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30271 (print_version): Use PKGVERSION.
30272 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30273 (print_version): Use PKGVERSION.
30274 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30275 (print_version): Use PKGVERSION.
30276 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30278 ($(objpfx)memusage): Likewise.
30279 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30280 (do_version): Use PKGVERSION.
30281 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30282 (print_version): Use PKGVERSION.
30283 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30284 ($PKGVERSION): New variable.
30285 ($REPORT_BUGS_TO): Likewise.
30286 (usage): Use $REPORT_BUGS_TO.
30287 (top level): Use $PKGVERSION.
30288 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30289 ($(objpfx)pkgvers.texi): New rule.
30290 ($(objpfx)stamp-pkgvers): Likewise.
30291 * manual/install.texi: Include pkgvers.texi.
30292 (--with-pkgversion): Document new configure option.
30293 (--with-bugurl): Likewise.
30294 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30295 than necessarily for this particular distribution. Use
30296 REPORT_BUGS_TO for where to report bugs.
30297 * INSTALL: Regenerated.
30298 * manual/libc.texinfo: Include pkgvers.texi.
30299 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30300 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30301 (print_version): Use PKGVERSION.
30302 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30303 (print_version): Use PKGVERSION.
30304 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30305 (print_version): Use PKGVERSION.
30306 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30307 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30309 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30310 (print_version): Use PKGVERSION.
30311 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30312 (print_version): Use PKGVERSION.
30313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30316 * timezone/checktab.awk: Update from tzcode 2012i.
30317 * timezone/ialloc.c: Likewise.
30318 * timezone/private.h: Likewise.
30319 * timezone/scheck.c: Likewise.
30320 * timezone/tzfile.h: Likewise.
30321 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30322 (TZVERSION): Hardcode tzcode version number.
30323 * timezone/zdump.c: Update from tzcode 2012i.
30324 * timezone/zic.c: Likewise.
30325 * timezone/version.h: New file.
30326 * timezone/README: Describe version.h. Update upstream location.
30329 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30330 (mktemp): Enable declaration.
30331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30348 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30349 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30350 for copies of such integer values.
30351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30354 2012-11-09 Andreas Jaeger <aj@suse.de>
30356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30357 definitions and declarations that are provided by
30358 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30360 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30363 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30364 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30367 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30369 * elf/elf.h: Update comment before AArch64 relocations.
30371 2012-11-07 David S. Miller <davem@davemloft.net>
30373 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30375 (__start_context): Declare.
30376 (__makecontext_ret): Delete.
30377 (__makecontext): Hook up __start_context instead of
30379 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30380 (sysdep_routines): Add __start_context when in stdlib.
30382 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30384 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30385 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30386 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30388 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30389 (READELF): New variable. Use it instead of hardcoded "readelf".
30391 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30393 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30394 * sysdeps/x86/Makefile: Here.
30395 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30396 * sysdeps/x86/tst-xmmymm.sh: This.
30398 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30400 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30402 [UNIX98] (pthread_barrier_t): Do not expect.
30403 [UNIX98] (pthread_barrierattr_t): Likewise.
30404 [UNIX98] (pthread_spinlock_t): Likewise.
30405 [UNIX98] (pthread_barrier_destroy): Likewise.
30406 [UNIX98] (pthread_barrier_init): Likewise.
30407 [UNIX98] (pthread_barrier_wait): Likewise.
30408 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30409 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30410 [UNIX98] (pthread_barrierattr_init): Likewise.
30411 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30412 [UNIX98] (pthread_getcpuclockid): Likewise.
30413 [UNIX98] (pthread_mutex_timedlock): Likewise.
30414 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30415 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30416 [UNIX98] (pthread_sigmask): Likewise.
30417 [UNIX98] (pthread_spin_destroy): Likewise.
30418 [UNIX98] (pthread_spin_init): Likewise.
30419 [UNIX98] (pthread_spin_lock): Likewise.
30420 [UNIX98] (pthread_spin_trylock): Likewise.
30421 [UNIX98] (pthread_spin_unlock): Likewise.
30422 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30424 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30426 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30427 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30428 [XPG3 || XPG4] (pthread_key_t): Likewise.
30429 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30430 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30431 [XPG3 || XPG4] (pthread_once_t): Likewise.
30432 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30433 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30435 [XPG3 || XPG4] (pthread_t): Likewise.
30437 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30439 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30441 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30442 Change function return type to int.
30444 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30445 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30446 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30447 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30448 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30449 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30450 [!POSIX] (posix_madvise): Likewise.
30451 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30453 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30454 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30455 (mode_t): Likewise.
30456 (posix_mem_offset): Likewise.
30457 (posix_typed_mem_get_info): Likewise.
30458 (posix_typed_mem_open): Likewise.
30460 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30461 Change condition to [XOPEN2K8].
30463 * conform/conformtest.pl: Preprocess allow-header data with -x c
30464 instead of from stdin.
30465 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30466 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30467 [C99-based standards] (cerfc): Likewise.
30468 [C99-based standards] (cexp2): Likewise.
30469 [C99-based standards] (cexpm1): Likewise.
30470 [C99-based standards] (clog10): Likewise.
30471 [C99-based standards] (clog1p): Likewise.
30472 [C99-based standards] (clog2): Likewise.
30473 [C99-based standards] (clgamma): Likewise.
30474 [C99-based standards] (ctgamma): Likewise.
30475 [C99-based standards] (cerff): Likewise.
30476 [C99-based standards] (cerfcf): Likewise.
30477 [C99-based standards] (cexp2f): Likewise.
30478 [C99-based standards] (cexpm1f): Likewise.
30479 [C99-based standards] (clog10f): Likewise.
30480 [C99-based standards] (clog1pf): Likewise.
30481 [C99-based standards] (clog2f): Likewise.
30482 [C99-based standards] (clgammaf): Likewise.
30483 [C99-based standards] (ctgammaf): Likewise.
30484 [C99-based standards] (cerfl): Likewise.
30485 [C99-based standards] (cerfcl): Likewise.
30486 [C99-based standards] (cexp2l): Likewise.
30487 [C99-based standards] (cexpm1l): Likewise.
30488 [C99-based standards] (clog10l): Likewise.
30489 [C99-based standards] (clog1pl): Likewise.
30490 [C99-based standards] (clog2l): Likewise.
30491 [C99-based standards] (clgammal): Likewise.
30492 [C99-based standards] (ctgammal): Likewise.
30493 * conform/data/inttypes.h-data [C99-based standards]: Include
30494 stdint.h-data. Remove all expectations for stdint.h contents.
30495 [C99-based standards] (PRI*): Do not allow.
30496 [C99-based standards] (SCN*): Likewise.
30497 [C99-based standards] (*_t): Likewise.
30498 [C99-based-standards] (PRId8): Expect macro.
30499 [C99-based-standards] (PRIi8): Likewise.
30500 [C99-based-standards] (PRIo8): Likewise.
30501 [C99-based-standards] (PRIu8): Likewise.
30502 [C99-based-standards] (PRIx8): Likewise.
30503 [C99-based-standards] (PRIX8): Likewise.
30504 [C99-based-standards] (SCNd8): Likewise.
30505 [C99-based-standards] (SCNi8): Likewise.
30506 [C99-based-standards] (SCNo8): Likewise.
30507 [C99-based-standards] (SCNu8): Likewise.
30508 [C99-based-standards] (SCNx8): Likewise.
30509 [C99-based-standards] (PRIdLEAST8): Likewise.
30510 [C99-based-standards] (PRIiLEAST8): Likewise.
30511 [C99-based-standards] (PRIoLEAST8): Likewise.
30512 [C99-based-standards] (PRIuLEAST8): Likewise.
30513 [C99-based-standards] (PRIxLEAST8): Likewise.
30514 [C99-based-standards] (PRIXLEAST8): Likewise.
30515 [C99-based-standards] (SCNdLEAST8): Likewise.
30516 [C99-based-standards] (SCNiLEAST8): Likewise.
30517 [C99-based-standards] (SCNoLEAST8): Likewise.
30518 [C99-based-standards] (SCNuLEAST8): Likewise.
30519 [C99-based-standards] (SCNxLEAST8): Likewise.
30520 [C99-based-standards] (PRIdFAST8): Likewise.
30521 [C99-based-standards] (PRIiFAST8): Likewise.
30522 [C99-based-standards] (PRIoFAST8): Likewise.
30523 [C99-based-standards] (PRIuFAST8): Likewise.
30524 [C99-based-standards] (PRIxFAST8): Likewise.
30525 [C99-based-standards] (PRIXFAST8): Likewise.
30526 [C99-based-standards] (SCNdFAST8): Likewise.
30527 [C99-based-standards] (SCNiFAST8): Likewise.
30528 [C99-based-standards] (SCNoFAST8): Likewise.
30529 [C99-based-standards] (SCNuFAST8): Likewise.
30530 [C99-based-standards] (SCNxFAST8): Likewise.
30531 [C99-based-standards] (PRId16): Likewise.
30532 [C99-based-standards] (PRIi16): Likewise.
30533 [C99-based-standards] (PRIo16): Likewise.
30534 [C99-based-standards] (PRIu16): Likewise.
30535 [C99-based-standards] (PRIx16): Likewise.
30536 [C99-based-standards] (PRIX16): Likewise.
30537 [C99-based-standards] (SCNd16): Likewise.
30538 [C99-based-standards] (SCNi16): Likewise.
30539 [C99-based-standards] (SCNo16): Likewise.
30540 [C99-based-standards] (SCNu16): Likewise.
30541 [C99-based-standards] (SCNx16): Likewise.
30542 [C99-based-standards] (PRIdLEAST16): Likewise.
30543 [C99-based-standards] (PRIiLEAST16): Likewise.
30544 [C99-based-standards] (PRIoLEAST16): Likewise.
30545 [C99-based-standards] (PRIuLEAST16): Likewise.
30546 [C99-based-standards] (PRIxLEAST16): Likewise.
30547 [C99-based-standards] (PRIXLEAST16): Likewise.
30548 [C99-based-standards] (SCNdLEAST16): Likewise.
30549 [C99-based-standards] (SCNiLEAST16): Likewise.
30550 [C99-based-standards] (SCNoLEAST16): Likewise.
30551 [C99-based-standards] (SCNuLEAST16): Likewise.
30552 [C99-based-standards] (SCNxLEAST16): Likewise.
30553 [C99-based-standards] (PRIdFAST16): Likewise.
30554 [C99-based-standards] (PRIiFAST16): Likewise.
30555 [C99-based-standards] (PRIoFAST16): Likewise.
30556 [C99-based-standards] (PRIuFAST16): Likewise.
30557 [C99-based-standards] (PRIxFAST16): Likewise.
30558 [C99-based-standards] (PRIXFAST16): Likewise.
30559 [C99-based-standards] (SCNdFAST16): Likewise.
30560 [C99-based-standards] (SCNiFAST16): Likewise.
30561 [C99-based-standards] (SCNoFAST16): Likewise.
30562 [C99-based-standards] (SCNuFAST16): Likewise.
30563 [C99-based-standards] (SCNxFAST16): Likewise.
30564 [C99-based-standards] (PRId32): Likewise.
30565 [C99-based-standards] (PRIi32): Likewise.
30566 [C99-based-standards] (PRIo32): Likewise.
30567 [C99-based-standards] (PRIu32): Likewise.
30568 [C99-based-standards] (PRIx32): Likewise.
30569 [C99-based-standards] (PRIX32): Likewise.
30570 [C99-based-standards] (SCNd32): Likewise.
30571 [C99-based-standards] (SCNi32): Likewise.
30572 [C99-based-standards] (SCNo32): Likewise.
30573 [C99-based-standards] (SCNu32): Likewise.
30574 [C99-based-standards] (SCNx32): Likewise.
30575 [C99-based-standards] (PRIdLEAST32): Likewise.
30576 [C99-based-standards] (PRIiLEAST32): Likewise.
30577 [C99-based-standards] (PRIoLEAST32): Likewise.
30578 [C99-based-standards] (PRIuLEAST32): Likewise.
30579 [C99-based-standards] (PRIxLEAST32): Likewise.
30580 [C99-based-standards] (PRIXLEAST32): Likewise.
30581 [C99-based-standards] (SCNdLEAST32): Likewise.
30582 [C99-based-standards] (SCNiLEAST32): Likewise.
30583 [C99-based-standards] (SCNoLEAST32): Likewise.
30584 [C99-based-standards] (SCNuLEAST32): Likewise.
30585 [C99-based-standards] (SCNxLEAST32): Likewise.
30586 [C99-based-standards] (PRIdFAST32): Likewise.
30587 [C99-based-standards] (PRIiFAST32): Likewise.
30588 [C99-based-standards] (PRIoFAST32): Likewise.
30589 [C99-based-standards] (PRIuFAST32): Likewise.
30590 [C99-based-standards] (PRIxFAST32): Likewise.
30591 [C99-based-standards] (PRIXFAST32): Likewise.
30592 [C99-based-standards] (SCNdFAST32): Likewise.
30593 [C99-based-standards] (SCNiFAST32): Likewise.
30594 [C99-based-standards] (SCNoFAST32): Likewise.
30595 [C99-based-standards] (SCNuFAST32): Likewise.
30596 [C99-based-standards] (SCNxFAST32): Likewise.
30597 [C99-based-standards] (PRId64): Likewise.
30598 [C99-based-standards] (PRIi64): Likewise.
30599 [C99-based-standards] (PRIo64): Likewise.
30600 [C99-based-standards] (PRIu64): Likewise.
30601 [C99-based-standards] (PRIx64): Likewise.
30602 [C99-based-standards] (PRIX64): Likewise.
30603 [C99-based-standards] (SCNd64): Likewise.
30604 [C99-based-standards] (SCNi64): Likewise.
30605 [C99-based-standards] (SCNo64): Likewise.
30606 [C99-based-standards] (SCNu64): Likewise.
30607 [C99-based-standards] (SCNx64): Likewise.
30608 [C99-based-standards] (PRIdLEAST64): Likewise.
30609 [C99-based-standards] (PRIiLEAST64): Likewise.
30610 [C99-based-standards] (PRIoLEAST64): Likewise.
30611 [C99-based-standards] (PRIuLEAST64): Likewise.
30612 [C99-based-standards] (PRIxLEAST64): Likewise.
30613 [C99-based-standards] (PRIXLEAST64): Likewise.
30614 [C99-based-standards] (SCNdLEAST64): Likewise.
30615 [C99-based-standards] (SCNiLEAST64): Likewise.
30616 [C99-based-standards] (SCNoLEAST64): Likewise.
30617 [C99-based-standards] (SCNuLEAST64): Likewise.
30618 [C99-based-standards] (SCNxLEAST64): Likewise.
30619 [C99-based-standards] (PRIdFAST64): Likewise.
30620 [C99-based-standards] (PRIiFAST64): Likewise.
30621 [C99-based-standards] (PRIoFAST64): Likewise.
30622 [C99-based-standards] (PRIuFAST64): Likewise.
30623 [C99-based-standards] (PRIxFAST64): Likewise.
30624 [C99-based-standards] (PRIXFAST64): Likewise.
30625 [C99-based-standards] (SCNdFAST64): Likewise.
30626 [C99-based-standards] (SCNiFAST64): Likewise.
30627 [C99-based-standards] (SCNoFAST64): Likewise.
30628 [C99-based-standards] (SCNuFAST64): Likewise.
30629 [C99-based-standards] (SCNxFAST64): Likewise.
30630 [C99-based-standards] (PRIdMAX): Likewise.
30631 [C99-based-standards] (PRIiMAX): Likewise.
30632 [C99-based-standards] (PRIoMAX): Likewise.
30633 [C99-based-standards] (PRIuMAX): Likewise.
30634 [C99-based-standards] (PRIxMAX): Likewise.
30635 [C99-based-standards] (PRIXMAX): Likewise.
30636 [C99-based-standards] (SCNdMAX): Likewise.
30637 [C99-based-standards] (SCNiMAX): Likewise.
30638 [C99-based-standards] (SCNoMAX): Likewise.
30639 [C99-based-standards] (SCNuMAX): Likewise.
30640 [C99-based-standards] (SCNxMAX): Likewise.
30641 [C99-based-standards] (PRIdPTR): Likewise.
30642 [C99-based-standards] (PRIiPTR): Likewise.
30643 [C99-based-standards] (PRIoPTR): Likewise.
30644 [C99-based-standards] (PRIuPTR): Likewise.
30645 [C99-based-standards] (PRIxPTR): Likewise.
30646 [C99-based-standards] (PRIXPTR): Likewise.
30647 [C99-based-standards] (SCNdPTR): Likewise.
30648 [C99-based-standards] (SCNiPTR): Likewise.
30649 [C99-based-standards] (SCNoPTR): Likewise.
30650 [C99-based-standards] (SCNuPTR): Likewise.
30651 [C99-based-standards] (SCNxPTR): Likewise.
30652 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30654 * conform/data/stdint.h-data: Update comments to clarify
30656 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30658 [C99-based standards] (INT8_MAX): Likewise.
30659 [C99-based standards] (INT16_MIN): Likewise.
30660 [C99-based standards] (INT16_MAX): Likewise.
30661 [C99-based standards] (INT32_MIN): Likewise.
30662 [C99-based standards] (INT32_MAX): Likewise.
30663 [C99-based standards] (INT64_MIN): Likewise.
30664 [C99-based standards] (INT64_MAX): Likewise.
30665 [C99-based standards] (UINT8_MAX): Likewise.
30666 [C99-based standards] (UINT16_MAX): Likewise.
30667 [C99-based standards] (UINT32_MAX): Likewise.
30668 [C99-based standards] (UINT64_MAX): Likewise.
30669 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30670 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30671 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30672 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30673 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30674 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30675 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30676 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30677 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30678 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30679 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30680 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30681 [C99-based standards] (INT_FAST8_MIN): Likewise.
30682 [C99-based standards] (INT_FAST8_MAX): Likewise.
30683 [C99-based standards] (INT_FAST16_MIN): Likewise.
30684 [C99-based standards] (INT_FAST16_MAX): Likewise.
30685 [C99-based standards] (INT_FAST32_MIN): Likewise.
30686 [C99-based standards] (INT_FAST32_MAX): Likewise.
30687 [C99-based standards] (INT_FAST64_MIN): Likewise.
30688 [C99-based standards] (INT_FAST64_MAX): Likewise.
30689 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30690 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30691 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30692 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30693 [C99-based standards] (INTPTR_MIN): Likewise.
30694 [C99-based standards] (INTPTR_MAX): Likewise.
30695 [C99-based standards] (UINTPTR_MAX): Likewise.
30696 [C99-based standards] (INTMAX_MIN): Likewise.
30697 [C99-based standards] (INTMAX_MAX): Likewise.
30698 [C99-based standards] (UINTMAX_MAX): Likewise.
30699 [C99-based standards] (PTRDIFF_MIN): Likewise.
30700 [C99-based standards] (PTRDIFF_MAX): Likewise.
30701 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30702 [C99-based standards] (SIZE_MAX): Likewise.
30703 [C99-based standards] (WCHAR_MAX): Likewise.
30704 [C99-based standards] (WINT_MAX): Likewise.
30705 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30706 constraint on value.
30707 [C99-based standards] (WCHAR_MIN): Likewise.
30708 [C99-based standards] (WINT_MIN): Likewise.
30709 [C99-based standards] (*_t): Allow.
30710 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30711 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30712 Include math.h-data and complex.h-data. Remove all expectations
30713 of math.h and complex.h contents.
30714 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30716 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30717 (struct tm): Expect tag.
30718 [C99-based-standards] (wcstof): Expect function.
30719 [C99-based-standards] (wcstold): Likewise.
30720 [C99-based-standards] (wcstoll): Likewise.
30721 [C99-based-standards] (wcstoull): Likewise.
30722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30723 macro-int-constant. Specify type.
30724 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30725 constraint on value.
30726 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30728 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30730 [ISO C standards]: Do not allow headers.
30731 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30732 wcs[abcdefghijklmnopqrstuvwxyz]*.
30733 [ISO C standards] (*_t): Do not allow.
30734 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30736 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30737 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30739 [ISO C standards]: Do not allow headers.
30740 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30741 is[abcdefghijklmnopqrstuvwxyz]*.
30742 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30743 to[abcdefghijklmnopqrstuvwxyz]*.
30744 [ISO C standards] (*_t): Do not allow.
30745 * conform/data/stdalign.h-data: New file.
30746 * conform/data/stdbool.h-data: Likewise.
30747 * conform/data/stdnoreturn.h-data: Likewise.
30749 2012-11-07 Roland McGrath <roland@hack.frob.com>
30752 * manual/filesys.texi (Directory Entries): Typo fix.
30753 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30755 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30757 * elf/elf.h (EM_AARCH64): New macro.
30758 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30759 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30760 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30761 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30762 (R_AARCH64_TLSDESC): Likewise.
30763 (NT_ARM_TLS): Likewise.
30764 (NT_ARM_HW_BREAK): Likewise.
30765 (NT_ARM_HW_WATCH): Likewise.
30767 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30770 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30771 (__ieee754_powl): Saturate nonzero exponents with absolute value
30772 below 0x1p-79 to +/- 0x1p-79.
30773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30774 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30775 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30776 nonzero exponents with absolute value below 0x1p-32 to +/-
30778 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30779 (__ieee754_powl): Saturate nonzero exponents with absolute value
30780 below 0x1p-79 to +/- 0x1p-79.
30781 * math/libm-test.inc (pow_test): Add more tests.
30783 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30785 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30786 _dl_s390_cap_flags with kernel. Increase string length.
30787 (_dl_s390_platforms): Add z196 and zEC12.
30789 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30791 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30792 Change XOPEN21K to XOPEN2K.
30794 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30796 * string/memmove.c: Use memcpy when possible.
30798 2012-11-06 Andreas Jaeger <aj@suse.de>
30800 * po/eo.po: Update from translation team.
30802 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30806 exponent and small x and y exponents, scale x or y up. Increase
30807 by 2 the exponent used in scaling up.
30808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30810 * math/libm-test.inc (fma_test): Add more tests.
30811 (fma_test_towardzero): Likewise.
30812 (fma_test_downward): Likewise.
30813 (fma_test_upward): Likewise.
30815 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30818 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30822 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30823 namespace for names of struct fields.
30824 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30826 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30827 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30829 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30832 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30834 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30836 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30840 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30843 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30847 definitely overflow as x * y not x * y + z.
30848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30850 * math/libm-test.inc (fma_test): Add more tests.
30851 (fma_test_towardzero): Likewise.
30852 (fma_test_downward): Likewise.
30853 (fma_test_upward): Likewise.
30855 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30859 * include/stub-tag.h: Remove file.
30860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30862 * manual/maint.texi (Porting): Don't reference it.
30863 * Makerules ($(objpfx)stubs): Likewise.
30864 * dirent/closedir.c: Don't include <stub-tag.h>.
30865 * dirent/dirfd.c: Likewise.
30866 * dirent/fdopendir.c: Likewise.
30867 * dirent/getdents.c: Likewise.
30868 * dirent/getdents64.c: Likewise.
30869 * dirent/opendir.c: Likewise.
30870 * dirent/readdir.c: Likewise.
30871 * dirent/readdir64.c: Likewise.
30872 * dirent/readdir64_r.c: Likewise.
30873 * dirent/readdir_r.c: Likewise.
30874 * dirent/rewinddir.c: Likewise.
30875 * dirent/seekdir.c: Likewise.
30876 * dirent/telldir.c: Likewise.
30877 * gmon/profil.c: Likewise.
30878 * grp/setgroups.c: Likewise.
30879 * inet/if_index.c: Likewise.
30880 * io/access.c: Likewise.
30881 * io/chdir.c: Likewise.
30882 * io/chmod.c: Likewise.
30883 * io/chown.c: Likewise.
30884 * io/close.c: Likewise.
30885 * io/dup.c: Likewise.
30886 * io/dup2.c: Likewise.
30887 * io/dup3.c: Likewise.
30888 * io/euidaccess.c: Likewise.
30889 * io/faccessat.c: Likewise.
30890 * io/fchdir.c: Likewise.
30891 * io/fchmod.c: Likewise.
30892 * io/fchmodat.c: Likewise.
30893 * io/fchown.c: Likewise.
30894 * io/fchownat.c: Likewise.
30895 * io/fcntl.c: Likewise.
30896 * io/flock.c: Likewise.
30897 * io/fstatfs.c: Likewise.
30898 * io/fstatfs64.c: Likewise.
30899 * io/fstatvfs.c: Likewise.
30900 * io/fstatvfs64.c: Likewise.
30901 * io/futimens.c: Likewise.
30902 * io/fxstat.c: Likewise.
30903 * io/fxstat64.c: Likewise.
30904 * io/fxstatat.c: Likewise.
30905 * io/fxstatat64.c: Likewise.
30906 * io/getcwd.c: Likewise.
30907 * io/isatty.c: Likewise.
30908 * io/lchmod.c: Likewise.
30909 * io/lchown.c: Likewise.
30910 * io/link.c: Likewise.
30911 * io/linkat.c: Likewise.
30912 * io/lseek.c: Likewise.
30913 * io/lseek64.c: Likewise.
30914 * io/lxstat64.c: Likewise.
30915 * io/mkdir.c: Likewise.
30916 * io/mkdirat.c: Likewise.
30917 * io/mkfifo.c: Likewise.
30918 * io/mkfifoat.c: Likewise.
30919 * io/open.c: Likewise.
30920 * io/open64.c: Likewise.
30921 * io/openat.c: Likewise.
30922 * io/openat64.c: Likewise.
30923 * io/pipe.c: Likewise.
30924 * io/pipe2.c: Likewise.
30925 * io/poll.c: Likewise.
30926 * io/posix_fadvise.c: Likewise.
30927 * io/posix_fadvise64.c: Likewise.
30928 * io/posix_fallocate.c: Likewise.
30929 * io/posix_fallocate64.c: Likewise.
30930 * io/read.c: Likewise.
30931 * io/readlink.c: Likewise.
30932 * io/readlinkat.c: Likewise.
30933 * io/rmdir.c: Likewise.
30934 * io/sendfile.c: Likewise.
30935 * io/sendfile64.c: Likewise.
30936 * io/statfs.c: Likewise.
30937 * io/statfs64.c: Likewise.
30938 * io/statvfs.c: Likewise.
30939 * io/statvfs64.c: Likewise.
30940 * io/symlink.c: Likewise.
30941 * io/symlinkat.c: Likewise.
30942 * io/ttyname.c: Likewise.
30943 * io/ttyname_r.c: Likewise.
30944 * io/umask.c: Likewise.
30945 * io/unlink.c: Likewise.
30946 * io/unlinkat.c: Likewise.
30947 * io/utime.c: Likewise.
30948 * io/utimensat.c: Likewise.
30949 * io/write.c: Likewise.
30950 * io/xmknod.c: Likewise.
30951 * io/xmknodat.c: Likewise.
30952 * io/xstat.c: Likewise.
30953 * io/xstat64.c: Likewise.
30954 * login/getpt.c: Likewise.
30955 * login/grantpt.c: Likewise.
30956 * login/unlockpt.c: Likewise.
30957 * math/e_acoshl.c: Likewise.
30958 * math/e_acosl.c: Likewise.
30959 * math/e_asinl.c: Likewise.
30960 * math/e_atan2l.c: Likewise.
30961 * math/e_atanhl.c: Likewise.
30962 * math/e_coshl.c: Likewise.
30963 * math/e_expl.c: Likewise.
30964 * math/e_fmodl.c: Likewise.
30965 * math/e_gammal_r.c: Likewise.
30966 * math/e_hypotl.c: Likewise.
30967 * math/e_j0l.c: Likewise.
30968 * math/e_j1l.c: Likewise.
30969 * math/e_jnl.c: Likewise.
30970 * math/e_lgammal_r.c: Likewise.
30971 * math/e_log10l.c: Likewise.
30972 * math/e_log2l.c: Likewise.
30973 * math/e_logl.c: Likewise.
30974 * math/e_powl.c: Likewise.
30975 * math/e_rem_pio2l.c: Likewise.
30976 * math/e_sinhl.c: Likewise.
30977 * math/e_sqrtl.c: Likewise.
30978 * math/fclrexcpt.c: Likewise.
30979 * math/fedisblxcpt.c: Likewise.
30980 * math/feenablxcpt.c: Likewise.
30981 * math/fegetenv.c: Likewise.
30982 * math/fegetexcept.c: Likewise.
30983 * math/fegetround.c: Likewise.
30984 * math/feholdexcpt.c: Likewise.
30985 * math/fesetenv.c: Likewise.
30986 * math/fesetround.c: Likewise.
30987 * math/feupdateenv.c: Likewise.
30988 * math/fgetexcptflg.c: Likewise.
30989 * math/fraiseexcpt.c: Likewise.
30990 * math/fsetexcptflg.c: Likewise.
30991 * math/ftestexcept.c: Likewise.
30992 * math/k_cosl.c: Likewise.
30993 * math/k_rem_pio2l.c: Likewise.
30994 * math/k_sinl.c: Likewise.
30995 * math/k_tanl.c: Likewise.
30996 * math/s_asinhl.c: Likewise.
30997 * math/s_atanl.c: Likewise.
30998 * math/s_cbrtl.c: Likewise.
30999 * math/s_erfl.c: Likewise.
31000 * math/s_expm1l.c: Likewise.
31001 * math/s_log1pl.c: Likewise.
31002 * math/s_tanhl.c: Likewise.
31003 * misc/acct.c: Likewise.
31004 * misc/brk.c: Likewise.
31005 * misc/chflags.c: Likewise.
31006 * misc/chroot.c: Likewise.
31007 * misc/fchflags.c: Likewise.
31008 * misc/fgetxattr.c: Likewise.
31009 * misc/flistxattr.c: Likewise.
31010 * misc/fremovexattr.c: Likewise.
31011 * misc/fsetxattr.c: Likewise.
31012 * misc/fsync.c: Likewise.
31013 * misc/ftruncate.c: Likewise.
31014 * misc/futimes.c: Likewise.
31015 * misc/futimesat.c: Likewise.
31016 * misc/getdomain.c: Likewise.
31017 * misc/getdtsz.c: Likewise.
31018 * misc/gethostid.c: Likewise.
31019 * misc/gethostname.c: Likewise.
31020 * misc/getloadavg.c: Likewise.
31021 * misc/getpagesize.c: Likewise.
31022 * misc/getsysstats.c: Likewise.
31023 * misc/getxattr.c: Likewise.
31024 * misc/gtty.c: Likewise.
31025 * misc/ioctl.c: Likewise.
31026 * misc/lgetxattr.c: Likewise.
31027 * misc/listxattr.c: Likewise.
31028 * misc/llistxattr.c: Likewise.
31029 * misc/lremovexattr.c: Likewise.
31030 * misc/lsetxattr.c: Likewise.
31031 * misc/lutimes.c: Likewise.
31032 * misc/madvise.c: Likewise.
31033 * misc/mincore.c: Likewise.
31034 * misc/mlock.c: Likewise.
31035 * misc/mlockall.c: Likewise.
31036 * misc/mmap.c: Likewise.
31037 * misc/mprotect.c: Likewise.
31038 * misc/msync.c: Likewise.
31039 * misc/munlock.c: Likewise.
31040 * misc/munlockall.c: Likewise.
31041 * misc/munmap.c: Likewise.
31042 * misc/preadv.c: Likewise.
31043 * misc/preadv64.c: Likewise.
31044 * misc/ptrace.c: Likewise.
31045 * misc/pwritev.c: Likewise.
31046 * misc/pwritev64.c: Likewise.
31047 * misc/readv.c: Likewise.
31048 * misc/reboot.c: Likewise.
31049 * misc/remap_file_pages.c: Likewise.
31050 * misc/removexattr.c: Likewise.
31051 * misc/revoke.c: Likewise.
31052 * misc/select.c: Likewise.
31053 * misc/setdomain.c: Likewise.
31054 * misc/setegid.c: Likewise.
31055 * misc/seteuid.c: Likewise.
31056 * misc/sethostid.c: Likewise.
31057 * misc/sethostname.c: Likewise.
31058 * misc/setregid.c: Likewise.
31059 * misc/setreuid.c: Likewise.
31060 * misc/setxattr.c: Likewise.
31061 * misc/sstk.c: Likewise.
31062 * misc/stty.c: Likewise.
31063 * misc/swapoff.c: Likewise.
31064 * misc/swapon.c: Likewise.
31065 * misc/sync.c: Likewise.
31066 * misc/syncfs.c: Likewise.
31067 * misc/syscall.c: Likewise.
31068 * misc/truncate.c: Likewise.
31069 * misc/ualarm.c: Likewise.
31070 * misc/usleep.c: Likewise.
31071 * misc/ustat.c: Likewise.
31072 * misc/utimes.c: Likewise.
31073 * misc/vhangup.c: Likewise.
31074 * misc/writev.c: Likewise.
31075 * posix/_exit.c: Likewise.
31076 * posix/alarm.c: Likewise.
31077 * posix/execve.c: Likewise.
31078 * posix/fexecve.c: Likewise.
31079 * posix/fork.c: Likewise.
31080 * posix/fpathconf.c: Likewise.
31081 * posix/getaddrinfo.c: Likewise.
31082 * posix/getegid.c: Likewise.
31083 * posix/geteuid.c: Likewise.
31084 * posix/getgid.c: Likewise.
31085 * posix/getgroups.c: Likewise.
31086 * posix/getlogin.c: Likewise.
31087 * posix/getlogin_r.c: Likewise.
31088 * posix/getpgid.c: Likewise.
31089 * posix/getpid.c: Likewise.
31090 * posix/getppid.c: Likewise.
31091 * posix/getresgid.c: Likewise.
31092 * posix/getresuid.c: Likewise.
31093 * posix/getsid.c: Likewise.
31094 * posix/getuid.c: Likewise.
31095 * posix/glob64.c: Likewise.
31096 * posix/nanosleep.c: Likewise.
31097 * posix/pathconf.c: Likewise.
31098 * posix/pause.c: Likewise.
31099 * posix/posix_madvise.c: Likewise.
31100 * posix/pread.c: Likewise.
31101 * posix/pread64.c: Likewise.
31102 * posix/pwrite.c: Likewise.
31103 * posix/pwrite64.c: Likewise.
31104 * posix/sched_getaffinity.c: Likewise.
31105 * posix/sched_getp.c: Likewise.
31106 * posix/sched_gets.c: Likewise.
31107 * posix/sched_primax.c: Likewise.
31108 * posix/sched_primin.c: Likewise.
31109 * posix/sched_rr_gi.c: Likewise.
31110 * posix/sched_setaffinity.c: Likewise.
31111 * posix/sched_setp.c: Likewise.
31112 * posix/sched_sets.c: Likewise.
31113 * posix/sched_yield.c: Likewise.
31114 * posix/setgid.c: Likewise.
31115 * posix/setlogin.c: Likewise.
31116 * posix/setpgid.c: Likewise.
31117 * posix/setresgid.c: Likewise.
31118 * posix/setresuid.c: Likewise.
31119 * posix/setsid.c: Likewise.
31120 * posix/setuid.c: Likewise.
31121 * posix/sleep.c: Likewise.
31122 * posix/spawni.c: Likewise.
31123 * posix/sysconf.c: Likewise.
31124 * posix/times.c: Likewise.
31125 * posix/wait.c: Likewise.
31126 * posix/wait3.c: Likewise.
31127 * posix/wait4.c: Likewise.
31128 * posix/waitpid.c: Likewise.
31129 * resolv/gai_sigqueue.c: Likewise.
31130 * resource/getpriority.c: Likewise.
31131 * resource/getrlimit.c: Likewise.
31132 * resource/getrusage.c: Likewise.
31133 * resource/nice.c: Likewise.
31134 * resource/setpriority.c: Likewise.
31135 * resource/setrlimit.c: Likewise.
31136 * resource/ulimit.c: Likewise.
31137 * rt/aio_cancel.c: Likewise.
31138 * rt/aio_fsync.c: Likewise.
31139 * rt/aio_read.c: Likewise.
31140 * rt/aio_sigqueue.c: Likewise.
31141 * rt/aio_suspend.c: Likewise.
31142 * rt/aio_write.c: Likewise.
31143 * rt/clock_getres.c: Likewise.
31144 * rt/clock_gettime.c: Likewise.
31145 * rt/clock_nanosleep.c: Likewise.
31146 * rt/clock_settime.c: Likewise.
31147 * rt/lio_listio.c: Likewise.
31148 * rt/mq_close.c: Likewise.
31149 * rt/mq_getattr.c: Likewise.
31150 * rt/mq_notify.c: Likewise.
31151 * rt/mq_open.c: Likewise.
31152 * rt/mq_receive.c: Likewise.
31153 * rt/mq_send.c: Likewise.
31154 * rt/mq_setattr.c: Likewise.
31155 * rt/mq_timedreceive.c: Likewise.
31156 * rt/mq_timedsend.c: Likewise.
31157 * rt/mq_unlink.c: Likewise.
31158 * rt/shm_open.c: Likewise.
31159 * rt/shm_unlink.c: Likewise.
31160 * rt/timer_create.c: Likewise.
31161 * rt/timer_delete.c: Likewise.
31162 * rt/timer_getoverr.c: Likewise.
31163 * rt/timer_gettime.c: Likewise.
31164 * rt/timer_settime.c: Likewise.
31165 * setjmp/__longjmp.c: Likewise.
31166 * setjmp/setjmp.c: Likewise.
31167 * signal/kill.c: Likewise.
31168 * signal/killpg.c: Likewise.
31169 * signal/raise.c: Likewise.
31170 * signal/sigaction.c: Likewise.
31171 * signal/sigaltstack.c: Likewise.
31172 * signal/sigblock.c: Likewise.
31173 * signal/sigignore.c: Likewise.
31174 * signal/sigintr.c: Likewise.
31175 * signal/signal.c: Likewise.
31176 * signal/sigpause.c: Likewise.
31177 * signal/sigpending.c: Likewise.
31178 * signal/sigqueue.c: Likewise.
31179 * signal/sigreturn.c: Likewise.
31180 * signal/sigset.c: Likewise.
31181 * signal/sigsetmask.c: Likewise.
31182 * signal/sigstack.c: Likewise.
31183 * signal/sigsuspend.c: Likewise.
31184 * signal/sigtimedwait.c: Likewise.
31185 * signal/sigvec.c: Likewise.
31186 * signal/sigwait.c: Likewise.
31187 * signal/sigwaitinfo.c: Likewise.
31188 * signal/sysv_signal.c: Likewise.
31189 * socket/accept.c: Likewise.
31190 * socket/accept4.c: Likewise.
31191 * socket/bind.c: Likewise.
31192 * socket/connect.c: Likewise.
31193 * socket/getpeername.c: Likewise.
31194 * socket/getsockname.c: Likewise.
31195 * socket/getsockopt.c: Likewise.
31196 * socket/isfdtype.c: Likewise.
31197 * socket/listen.c: Likewise.
31198 * socket/recv.c: Likewise.
31199 * socket/recvfrom.c: Likewise.
31200 * socket/recvmsg.c: Likewise.
31201 * socket/send.c: Likewise.
31202 * socket/sendmsg.c: Likewise.
31203 * socket/sendto.c: Likewise.
31204 * socket/setsockopt.c: Likewise.
31205 * socket/shutdown.c: Likewise.
31206 * socket/sockatmark.c: Likewise.
31207 * socket/socket.c: Likewise.
31208 * socket/socketpair.c: Likewise.
31209 * stdio-common/ctermid.c: Likewise.
31210 * stdio-common/cuserid.c: Likewise.
31211 * stdio-common/remove.c: Likewise.
31212 * stdio-common/rename.c: Likewise.
31213 * stdio-common/renameat.c: Likewise.
31214 * stdio-common/tempname.c: Likewise.
31215 * stdlib/getcontext.c: Likewise.
31216 * stdlib/makecontext.c: Likewise.
31217 * stdlib/setcontext.c: Likewise.
31218 * stdlib/swapcontext.c: Likewise.
31219 * stdlib/system.c: Likewise.
31220 * streams/fattach.c: Likewise.
31221 * streams/fdetach.c: Likewise.
31222 * streams/getmsg.c: Likewise.
31223 * streams/getpmsg.c: Likewise.
31224 * streams/putmsg.c: Likewise.
31225 * streams/putpmsg.c: Likewise.
31226 * sysdeps/unix/bsd/getpt.c: Likewise.
31227 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31228 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31229 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31232 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31234 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31235 * sysvipc/msgctl.c: Likewise.
31236 * sysvipc/msgget.c: Likewise.
31237 * sysvipc/msgrcv.c: Likewise.
31238 * sysvipc/msgsnd.c: Likewise.
31239 * sysvipc/semctl.c: Likewise.
31240 * sysvipc/semget.c: Likewise.
31241 * sysvipc/semop.c: Likewise.
31242 * sysvipc/semtimedop.c: Likewise.
31243 * sysvipc/shmat.c: Likewise.
31244 * sysvipc/shmctl.c: Likewise.
31245 * sysvipc/shmdt.c: Likewise.
31246 * sysvipc/shmget.c: Likewise.
31247 * termios/tcdrain.c: Likewise.
31248 * termios/tcflow.c: Likewise.
31249 * termios/tcflush.c: Likewise.
31250 * termios/tcgetattr.c: Likewise.
31251 * termios/tcgetpgrp.c: Likewise.
31252 * termios/tcsendbrk.c: Likewise.
31253 * termios/tcsetattr.c: Likewise.
31254 * termios/tcsetpgrp.c: Likewise.
31255 * time/adjtime.c: Likewise.
31256 * time/clock.c: Likewise.
31257 * time/getitimer.c: Likewise.
31258 * time/gettimeofday.c: Likewise.
31259 * time/setitimer.c: Likewise.
31260 * time/settimeofday.c: Likewise.
31261 * time/stime.c: Likewise.
31262 * time/time.c: Likewise.
31264 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31266 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31269 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31271 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31273 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31277 FE_TONEAREST before applying Dekker multiplication and Knuth
31278 addition. Clear inexact exceptions and check for exact zero
31279 results afterwards.
31280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31283 * math/libm-test.inc (fma_test): Add more tests.
31284 (fma_test_towardzero): Likewise.
31285 (fma_test_downward): Likewise.
31286 (fma_test_upward): Likewise.
31287 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31289 (libc_fesetround): New macro.
31290 (libc_fesetroundf): Likewise.
31291 (libc_fesetroundl): Likewise.
31292 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31294 (libc_fesetround_387): Likewise.
31295 (libc_fesetroundf): New macro.
31296 (libc_fesetround): Likewise.
31297 (libc_fesetroundl): Likewise.
31298 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31300 (libc_fesetroundf): New macro.
31301 (libc_fesetround): Likewise.
31302 (libc_fesetroundl): Likewise.
31303 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31304 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31305 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31307 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31308 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31310 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31311 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31313 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31317 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31318 integer constant usable in #if and use that to give value to enum
31320 (FE_DIVBYZERO): Likewise.
31321 (FE_UNDERFLOW): Likewise.
31322 (FE_OVERFLOW): Likewise.
31323 (FE_INVALID): Likewise.
31324 (FE_INVALID_SNAN): Likewise.
31325 (FE_INVALID_ISI): Likewise.
31326 (FE_INVALID_IDI): Likewise.
31327 (FE_INVALID_ZDZ): Likewise.
31328 (FE_INVALID_IMZ): Likewise.
31329 (FE_INVALID_COMPARE): Likewise.
31330 (FE_INVALID_SOFTWARE): Likewise.
31331 (FE_INVALID_SQRT): Likewise.
31332 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31333 (FE_TONEAREST): Likewise.
31334 (FE_TOWARDZERO): Likewise.
31335 (FE_UPWARD): Likewise.
31336 (FE_DOWNWARD): Likewise.
31337 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31338 (FE_DIVBYZERO): Likewise.
31339 (FE_OVERFLOW): Likewise.
31340 (FE_UNDERFLOW): Likewise.
31341 (FE_INEXACT): Likewise.
31342 (FE_TONEAREST): Likewise.
31343 (FE_DOWNWARD): Likewise.
31344 (FE_UPWARD): Likewise.
31345 (FE_TOWARDZERO): Likewise.
31346 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31347 (FE_UNDERFLOW): Likewise.
31348 (FE_OVERFLOW): Likewise.
31349 (FE_DIVBYZERO): Likewise.
31350 (FE_INVALID): Likewise.
31351 (FE_TONEAREST): Likewise.
31352 (FE_TOWARDZERO): Likewise.
31353 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31354 (FE_OVERFLOW): Likewise.
31355 (FE_UNDERFLOW): Likewise.
31356 (FE_DIVBYZERO): Likewise.
31357 (FE_INEXACT): Likewise.
31358 (FE_TONEAREST): Likewise.
31359 (FE_TOWARDZERO): Likewise.
31360 (FE_UPWARD): Likewise.
31361 (FE_DOWNWARD): Likewise.
31362 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31363 (FE_DIVBYZERO): Likewise.
31364 (FE_OVERFLOW): Likewise.
31365 (FE_UNDERFLOW): Likewise.
31366 (FE_INEXACT): Likewise.
31367 (FE_TONEAREST): Likewise.
31368 (FE_DOWNWARD): Likewise.
31369 (FE_UPWARD): Likewise.
31370 (FE_TOWARDZERO): Likewise.
31372 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31374 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31376 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31378 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31379 commands. Quote $PWD.
31380 (blacklist_exports): Don't use remove_newlines. Replace "declare
31382 (remove_newlines): Remove.
31384 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31386 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31387 * stdlib/stdlib.h (atof): Moved to ...
31388 * include/bits/stdlib-float.h: Here. New file.
31389 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31390 * stdlib/bits/stdlib-float.h: New file.
31391 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31396 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31398 * conform/conformtest.pl (@headers): Add fenv.h.
31399 * conform/data/fenv.h-data: New file.
31400 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31401 include of <math/fenv.h>.
31403 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31404 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31405 && !UNIX98]. Enables tests for XOPEN2K8.
31406 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31407 POSIX2008]: Likewise.
31409 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31410 (struct rusage): Do not expect type or its members.
31413 * math/math.h (FP_NAN): Define macro to integer constant usable in
31414 #if and use that to give value to enum constant.
31415 (FP_INFINITE): Likewise.
31416 (FP_ZERO): Likewise.
31417 (FP_SUBNORMAL): Likewise.
31418 (FP_NORMAL): Likewise.
31420 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31422 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31423 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31426 2012-11-02 Roland McGrath <roland@hack.frob.com>
31428 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31429 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31430 autoconf-time if not.
31431 * configure.in: Remove AC_PREREQ.
31433 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31435 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31436 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31437 of the internal implementation.
31439 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31441 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31442 except include of <misc/sys/syslog.h>.
31444 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31447 function returns with a NULL context exit with zero.
31449 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31451 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31453 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31455 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31456 (run_program_cmd): This.
31457 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31458 (tst_langinfo): New variable. Use it.
31460 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31462 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31463 floating point opcodes.
31465 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31467 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31470 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31472 * sysdeps/mach/hurd/powerpc: Remove directory.
31473 * sysdeps/mach/powerpc: Likewise.
31475 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31477 * scripts/check-local-headers.sh: Ignore c++ headers.
31479 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31481 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31482 __libc_cleanup_region_start argument.
31484 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31489 x * y using scaling, not as x * y + z.
31490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31492 * math/libm-test.inc (fma_test): Add more tests.
31493 (fma_test_towardzero): Likewise.
31494 (fma_test_downward): Likewise.
31495 (fma_test_upward): Likewise.
31497 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31499 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31501 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31503 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31506 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31508 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31510 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31517 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31520 Fix the order of the list for glibc 2.17.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31524 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31528 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31532 for low part of x being zero before using __atanl (y).
31533 * math/libm-test.inc (atan2_test): Add another test.
31535 * manual/install.texi (Configuring and compiling): Document
31536 general use of test-wrapper and test-wrapper-env.
31537 * INSTALL: Regenerated.
31539 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31540 (__fma): Do not extract and scale down low bits on after-rounding
31541 systems when result rounded to normal precision would have normal
31543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31544 (__fmal): Do not extract and scale down low bits on after-rounding
31545 systems when result rounded to normal precision would have normal
31547 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31548 (__fmal): Do not extract and scale down low bits on after-rounding
31549 systems when result rounded to normal precision would have normal
31551 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31553 (fma_test): Add more tests.
31554 (fma_test_towardzero): Likewise.
31555 (fma_test_downward): Likewise.
31556 (fma_test_upward): Likewise.
31558 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31560 * sysdeps/i386/tininess.h: Renamed to ...
31561 * sysdeps/x86/tininess.h: This.
31562 * sysdeps/x86_64/tininess.h: Removed.
31564 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31566 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31567 input. Use $(build-program-cmd).
31568 ($(objpfx)tst-array1-static.out): Likewise.
31569 ($(objpfx)tst-array2.out): Likewise.
31570 ($(objpfx)tst-array3.out): Likewise.
31571 ($(objpfx)tst-array4.out): Likewise.
31572 ($(objpfx)tst-array5.out): Likewise.
31573 ($(objpfx)tst-array5-static.out): Likewise.
31575 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31577 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31580 * nss/nsswitch.h (nss_interface_function): Provide new
31581 macro for use with NSS functions.
31582 * grp/initgroups.c: Use new macro.
31583 * nss/getXXbyYY.c: Likewise.
31584 * nss/getXXbyYY_r.c: Likewise.
31585 * nss/getXXent.c: Likewise.
31586 * nss/getXXent_r.c: Likewise.
31587 * sysdeps/posix/getaddrinfo.c: Likewise.
31589 2012-10-30 Andreas Jaeger <aj@suse.de>
31591 * po/ru.po: Update Russion translation from translation project.
31593 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31598 result and shift together with sticky bit instead of replicating
31599 round-to-nearest rounding.
31600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31602 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31603 missing underflow exceptions.
31604 (fma_test_towardzero): Add more tests.
31605 (fma_test_downward): Likewise.
31606 (fma_test_upward): Likewise.
31609 * sysdeps/generic/tininess.h: New file.
31610 * sysdeps/i386/tininess.h: Likewise.
31611 * sysdeps/sh/tininess.h: Likewise.
31612 * sysdeps/x86_64/tininess.h: Likewise.
31613 * stdlib/tst-strtod-underflow.c: Likewise.
31614 * stdlib/tst-tininess.c: Likewise.
31615 * stdlib/strtod_l.c: Include <tininess.h>.
31616 (round_and_return): Do not set errno for exact underflow cases.
31617 Force an underflow exception when setting errno for underflow.
31618 Determine underflow based on rounding to normal precision if
31619 TININESS_AFTER_ROUNDING.
31620 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31621 ERANGE for exact underflow cases.
31622 * stdlib/Makefile (tests): Add tst-tininess and
31623 tst-strtod-underflow.
31624 ($(objpfx)tst-tininess): Use $(link-libm).
31625 ($(objpfx)tst-strtod-underflow): Likewise.
31627 2012-10-30 Andreas Jaeger <aj@suse.de>
31630 * elf/Makefile (tests): Remove conditional for have-initfini-array
31631 since this is now always required and the variable does not exist
31633 (tests-static): Likewise.
31634 (modules-names): Likewise.
31636 * po/eo.po: Add Esperanto translation from translation project.
31638 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31639 merged with constructor/destructor.
31640 (init_array): Likewise.
31641 * elf/tst-array2dep.c (fini_array): Likewise.
31642 (init_array): Likewise.
31644 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31646 * manual/message.texi: Delete @cartouche tags.
31648 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31650 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31652 * sysdeps/mach/hurd/fsync.c: Likewise.
31654 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31655 [_POSIX_REALTIME_SIGNALS]: Change condition to
31656 [_POSIX_REALTIME_SIGNALS > 0].
31658 2012-10-27 Andreas Jaeger <aj@suse.de>
31660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31661 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31663 [__WORDSIZE != 64]: Likewise.
31665 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31667 * iconvdata/tst-table.sh: Remove ${SHELL}.
31668 * iconvdata/tst-tables.sh: Likewise.
31670 2012-10-25 David S. Miller <davem@davemloft.net>
31672 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31673 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31679 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31680 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31683 2012-10-25 Roland McGrath <roland@hack.frob.com>
31685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31686 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31689 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31690 Jim Blandy <jimb@codesourcery.com>
31692 * scripts/cross-test-ssh.sh: New file.
31693 * manual/install.texi (Configuring and compiling): Document use of
31695 * INSTALL: Regenerated.
31697 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31699 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31702 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31704 * Makeconfig (run-program-prefix): Fix comment.
31706 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31707 Jim Blandy <jimb@codesourcery.com>
31709 * Makeconfig (test-wrapper): New variable,
31710 (test-wrapper-env): Likewise.
31711 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31712 (run-built-tests): Define to yes.
31713 (run-program-prefix): Use $(test-wrapper).
31714 (built-program-cmd): Likewise.
31715 * Rules (make-test-out): Use $(test-wrapper-env) and
31716 $(host-built-program-cmd).
31717 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31718 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31720 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31721 $(test-wrapper-env) to tst-rtld-load-self.sh.
31722 ($(objpfx)order2.out): Use $(test-wrapper).
31723 ($(objpfx)tst-initorder.out): Likewise.
31724 ($(objpfx)tst-initorder2.out): Likewise.
31725 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31726 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31727 (test_wrapper_env): New variable. Use it to run ld.so.
31728 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31729 Use it to run ld.so.
31730 (test_wrapper_env): Likewise.
31731 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31732 $(test-wrapper) to run-iconv-test.sh.
31733 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31734 (ICONV): Use $test_wrapper.
31735 * posix/Makefile ($(objpfx)globtest.out): Pass
31736 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31737 globtest.sh, not $(run-program-prefix).
31738 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31739 (test_wrapper): Likewise.
31740 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31741 set together with run_via_rtld_prefix.
31742 (run_program_prefix): Define in terms of test_wrapper and
31743 run_via_rtld_prefix.
31745 2012-10-24 Roland McGrath <roland@hack.frob.com>
31747 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31748 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31752 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31753 Declare __clock_getres, __clock_gettime, __clock_settime,
31754 __clock_nanosleep, and __clock_getcpuclockid.
31755 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31756 Remove librt_hidden_def (clock_gettime).
31757 * sysdeps/unix/clock_gettime.c: Likewise.
31758 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31760 * rt/clock_getres.c: Define __clock_getres as an alias.
31761 * sysdeps/posix/clock_getres.c: Likewise.
31762 * rt/clock_settime.c: Define __clock_settime as an alias.
31763 * sysdeps/unix/clock_settime.c: Likewise.
31764 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31765 * sysdeps/unix/clock_nanosleep.c: Likewise.
31766 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31767 * rt/clock-compat.c: New file.
31768 * rt/Makefile (librt-routines): Add clock-compat and move
31769 $(clock-routines) to ...
31770 (routines): ... here, new variable.
31771 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31772 Don't add get_clockfreq here.
31773 * rt/Versions (libc: GLIBC_2.17): New version set.
31774 Add clock_* symbols here.
31775 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31777 (GLIBC_2.17): Add clock_* symbols.
31778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31789 * NEWS: Mention the move.
31791 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31792 Use __open, __read, __close rather than their public counterparts.
31793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31794 (__get_clockfreq_via_cpuinfo): Likewise.
31795 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31796 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31798 * config.h.in (HAVE_IFUNC): New #undef.
31799 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31801 * configure: Regenerated.
31803 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31805 * configure.in: Move READELF check to start of file.
31806 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31807 libc_cv_asm_gnu_indirect_function in the process.
31808 * configure: Regenerated.
31810 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31812 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31813 send the output to /dev/null.
31814 (libc_cv_cc_with_libunwind): Likewise.
31815 (libc_cv_as_noexecstack): Likewise.
31816 * configure: Regenerate.
31818 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31820 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31822 * posix/globtest.sh (TMPDIR): Do not set.
31823 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31824 (testout): Likewise.
31826 2012-10-24 Andreas Jaeger <aj@suse.de>
31828 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31829 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31830 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31831 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31832 posix_fadvise64, posix_fallocate64.
31834 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31835 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31836 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31838 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31840 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31843 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31844 <bits/fcntl-linux.h>.
31845 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31848 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31849 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31850 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31851 [__WORDSIZE != 64]: Likewise.
31853 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31855 * Makeconfig (run-built-tests): New variable.
31856 * Rules [$(cross-compiling) = yes]: Change condition to
31857 [$(run-built-tests) = no].
31858 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31859 to [$(run-built-tests) = yes].
31860 * elf/Makefile [$(cross-compiling) = no]: Likewise
31861 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31862 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31863 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31864 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31865 * io/Makefile [$(cross-compiling) = no]: Likewise.
31866 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31867 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31868 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31869 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31870 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31871 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31872 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31873 * string/Makefile [$(cross-compiling) = no]: Likewise.
31875 * posix/Makefile ($(objpfx)globtest.out): Pass
31876 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31877 $(rtld-installed-name).
31878 * posix/globtest.sh (elf_objpfx): Remove variable.
31879 (rtld_installed_name): Likewise.
31880 (library_path): Likewise.
31881 (run_program_prefix): New variable. Use for running globtest
31884 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31885 Joseph Myers <joseph@codesourcery.com>
31887 * Makeconfig (host-built-program-cmd): New variable.
31888 * elf/Makefile (tst-stackguard1-ARGS): Use
31889 $(host-built-program-cmd).
31890 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31891 (tst-spawn-ARGS): Likewise.
31892 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31894 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31895 Jim Blandy <jimb@codesourcery.com>
31897 * Makeconfig (run-via-rtld-prefix): New variable.
31898 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31899 (built-program-cmd): Likewise.
31901 2012-10-22 Andreas Jaeger <aj@suse.de>
31903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31904 __O_RSYNC if it exists, otherwise to O_SYNC.
31906 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31907 Joseph Myers <joseph@codesourcery.com>
31909 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31911 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31913 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31916 2012-10-22 Andreas Jaeger <aj@suse.de>
31918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31923 bits/fcntl-linux.h.
31925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31926 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31933 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31934 Joseph Myers <joseph@codesourcery.com>
31936 * config.make.in (NM): New variable.
31938 2012-10-21 Andreas Jaeger <aj@suse.de>
31940 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31941 definitions and declarations that are provided by
31942 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31944 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31947 * elf/Makefile (tests-static): Add tst-leaks1-static.
31948 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31949 ($(objpfx)tst-leaks1-static): New rule.
31950 ($(objpfx)tst-leaks1-static-mem): Likewise.
31951 (tst-leaks1-static-ENV): New macro.
31952 * elf/dl-open.c (dl_open_worker): Check the main application
31953 only if SHARED is defined.
31954 * elf/tst-leaks1-static.c: New file.
31956 2012-10-20 Andreas Jaeger <aj@suse.de>
31958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31959 generic values for Linux.
31960 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31961 and declarations that are provided by <bits/fcntl-linux.h> and
31962 include <bits/fcntl-linux.h>.
31963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31966 2012-10-20 Roland McGrath <roland@hack.frob.com>
31968 * io/fcntl.h: Move include of <bits/types.h> to the top and
31969 include it unconditionally.
31971 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31973 * wcsmbs/Makefile (tests-ifunc): New variable.
31974 (tests): Add $(tests-ifunc).
31975 * wcsmbs/test-wcschr-ifunc.c: New file.
31976 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31977 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31978 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31979 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31980 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31982 * string/Makefile (tests-ifunc): New variable.
31983 (tests): Add $(tests-ifunc).
31984 * string/test-memccpy.c (TEST_NAME): New macro.
31985 * string/test-memchr.c (TEST_NAME): Likewise.
31986 * string/test-memcmp.c (TEST_NAME): Likewise.
31987 * string/test-memcpy.c (TEST_NAME): Likewise.
31988 * string/test-memmem.c (TEST_NAME): Likewise.
31989 * string/test-memmove.c (TEST_NAME): Likewise.
31990 * string/test-memset.c (TEST_NAME): Likewise.
31991 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31992 * string/test-stpcpy.c (TEST_NAME): Likewise.
31993 * string/test-stpncpy.c (TEST_NAME): Likewise.
31994 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31995 * string/test-strcasestr.c (TEST_NAME): Likewise.
31996 * string/test-strcat.c (TEST_NAME): Likewise.
31997 * string/test-strchr.c (TEST_NAME): Likewise.
31998 * string/test-strcmp.c(TEST_NAME): Likewise.
31999 * string/test-strcpy.c (TEST_NAME): Likewise.
32000 * string/test-strcspn.c (TEST_NAME): Likewise.
32001 * string/test-strlen.c (TEST_NAME): Likewise.
32002 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32003 * string/test-strncmp.c (TEST_NAME): Likewise.
32004 * string/test-strncpy.c (TEST_NAME): Likewise.
32005 * string/test-strnlen.c (TEST_NAME): Likewise.
32006 * string/test-strpbrk.c (TEST_NAME): Likewise.
32007 * string/test-strrchr.c (TEST_NAME): Likewise.
32008 * string/test-strspn.c (TEST_NAME): Likewise.
32009 * string/test-strstr.c (TEST_NAME): Likewise.
32010 * string/test-bcopy-ifunc.c: New file.
32011 * string/test-bzero-ifunc.c: Likewise.
32012 * string/test-memccpy-ifunc.c: Likewise.
32013 * string/test-memchr-ifunc.c: Likewise.
32014 * string/test-memcmp-ifunc.c: Likewise.
32015 * string/test-memcpy-ifunc.c: Likewise.
32016 * string/test-memmem-ifunc.c: Likewise.
32017 * string/test-memmove-ifunc.c: Likewise.
32018 * string/test-mempcpy-ifunc.c: Likewise.
32019 * string/test-memset-ifunc.c: Likewise.
32020 * string/test-rawmemchr-ifunc.c: Likewise.
32021 * string/test-stpcpy-ifunc.c: Likewise.
32022 * string/test-stpncpy-ifunc.c: Likewise.
32023 * string/test-strcasecmp-ifunc.c: Likewise.
32024 * string/test-strcasestr-ifunc.c: Likewise.
32025 * string/test-strcat-ifunc.c: Likewise.
32026 * string/test-strchr-ifunc.c: Likewise.
32027 * string/test-strchrnul-ifunc.c: Likewise.
32028 * string/test-strcmp-ifunc.c: Likewise.
32029 * string/test-strcpy-ifunc.c: Likewise.
32030 * string/test-strcspn-ifunc.c: Likewise.
32031 * string/test-strlen-ifunc.c: Likewise.
32032 * string/test-strncasecmp-ifunc.c: Likewise.
32033 * string/test-strncat-ifunc.c: Likewise.
32034 * string/test-strncmp-ifunc.c: Likewise.
32035 * string/test-strncpy-ifunc.c: Likewise.
32036 * string/test-strnlen-ifunc.c: Likewise.
32037 * string/test-strpbrk-ifunc.c: Likewise.
32038 * string/test-strrchr-ifunc.c: Likewise.
32039 * string/test-strspn-ifunc.c: Likewise.
32040 * string/test-strstr-ifunc.c: Likewise.
32042 * debug/Makefile (tests-ifunc): New variable.
32043 (tests): Add $(tests-ifunc).
32044 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32045 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32046 * debug/test-stpcpy_chk-ifunc.c: New file.
32047 * debug/test-strcpy_chk-ifunc.c: Likewise.
32049 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32052 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32053 header is not read in.
32055 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32057 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32058 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32059 directly. Pass built executable to script as
32060 $(built-program-cmd).
32061 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32062 $testprogram without using LD_LIBRARY_PATH and $ldso.
32064 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32065 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32066 $(rtld-installed-name).
32067 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32068 (rtld_installed_name): Likewise.
32069 (library_path): Likewise.
32070 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32071 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32072 $(run-program-prefix) to tst-tables.sh.
32073 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32074 it to run tst-table-from and tst-table-to.
32075 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32076 Pass it to tst-table.sh.
32077 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32078 $(run-program-prefix) to tst-gettext.sh.
32079 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32081 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32083 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32084 to run tst-gettext.
32085 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32086 to run tst-gettext2.
32087 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32088 to run tst-translit.
32089 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32090 $(run-program-prefix) to tst-mtrace.sh.
32091 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32093 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32094 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32095 $(rtld-installed-name).
32096 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32097 (rtld_installed_name): Likewise.
32098 (run_program_prefix): New variable. Use it to run wordexp-test.
32100 * Makeconfig (ARCH): Remove all definitions.
32101 (machine): Likewise.
32102 [ARCH]: Remove conditional code.
32103 [!objdir]: Give error.
32104 [!objdir] (objpfx): Remove.
32105 [!objdir] (common-objpfx): Likewise.
32106 [!objdir] (common-objdir): Likewise.
32107 * configure.in (config_makefile): Remove. Hardcode Makefile in
32108 AC_CONFIG_FILES call.
32109 * configure: Regenerated.
32112 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32114 (testout): Likewise.
32116 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32117 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32118 $(rtld-installed-name).
32119 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32120 (rtld_installed_name): Likwise.
32121 (runit): Remove function.
32122 (run_getconf): New variable, Use it for running getconf binary.
32124 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32127 * string/test-memmem.c (check_result): New function.
32128 (do_one_test): Use it.
32129 (check1): New function.
32130 (test_main): Use it.
32132 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32134 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32136 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32138 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32139 (_G_LSEEK64): Likewise.
32140 (_G_MMAP64): Likewise.
32141 (_G_FSTAT64): Likewise.
32142 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32143 (_G_LSEEK64): Likewise.
32144 (_G_MMAP64): Likewise.
32145 (_G_FSTAT64): Likewise.
32146 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32147 unconditional. Call __mmap64 directly.
32148 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32149 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32150 __lseek64 directly.
32151 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32152 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32154 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32155 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32156 __lseek64 directly.
32157 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32158 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32159 __lseek64 directly.
32160 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32161 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32162 __lseek64 directly.
32163 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32164 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32165 __fxstat64 directly.
32166 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32167 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32169 (freopen64) [!_G_OPEN64]: Remove conditional code.
32170 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32172 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32173 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32175 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32176 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32178 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32179 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32181 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32182 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32184 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32185 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32187 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32188 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32190 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32192 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32195 * manual/memory.texi (Malloc Tunable Parameters): Add note
32196 about free list pointers overwriting some perturb bytes.
32197 Wording suggested by Roland McGrath.
32199 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32201 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32202 (lgamma_test): Likewise.
32203 (tgamma_test): Likewise.
32205 2012-10-16 Florian Weimer <fweimer@redhat.com>
32208 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32209 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32211 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32213 * NEWS: Mention BZ #14716.
32214 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32215 when removing AVAILABLE1_USES_J macro.
32217 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32219 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32220 (__bswap_64): __uint64_t for unsigned 64-bit int.
32222 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32224 * include/string.h (memmem): Declare libc hidden alias.
32225 * string/memmem.c (memmem): Define libc hidden alias.
32226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32227 __read, __close instead of open, read, close.
32229 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32232 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32234 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32235 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32236 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32238 (__rawmemchr_sse2): Likewise.
32239 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32240 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32241 (__strchr_sse2): Likewise.
32242 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32243 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32244 (__strcasecmp_sse2): Likewise.
32245 (__strncasecmp_sse2): Likewise.
32246 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32247 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32248 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32249 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32250 (__strrchr_sse2): Likewise.
32251 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32253 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32254 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32255 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32257 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32259 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32260 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32261 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32262 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32263 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32264 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32266 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32267 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32269 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32270 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32272 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32273 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32274 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32275 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32276 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32277 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32279 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32280 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32281 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32282 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32284 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32286 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32287 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32288 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32289 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32291 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32293 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32294 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32295 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32296 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32316 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32329 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32331 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32332 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32334 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32337 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32338 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32340 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32341 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32342 * include/ifunc-impl-list.h: New file.
32343 * misc/ifunc-impl-list.c: Likewise.
32344 * misc/Makefile (routines): Add ifunc-impl-list.
32345 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32346 * string/test-string.h: Include <ifunc-impl-list.h>.
32347 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32348 TEST_NAME]: New variables.
32349 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32351 (test_init): Call __libc_ifunc_impl_list to initialize
32352 func_list if TEST_IFUNC and TEST_NAME are defined.
32354 * string/Makefile (strop-tests): Add bcopy and bzero.
32355 * string/test-bcopy.c: New file.
32356 * string/test-bzero.c: Likewise.
32357 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32359 * string/test-memset.c: Support bzero test if TEST_BZERO is
32361 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32363 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32365 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32368 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32370 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32371 * configure: Regenerated.
32373 * Makeconfig (+link-static-before-libc): Don't include
32374 $(link-static-libc).
32376 * libio/libio.h (_IO_pos_t): Remove.
32378 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32380 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32383 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32385 * crypt/crypt-entry.c: Include fips-private.h.
32386 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32387 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32388 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32389 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32391 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32393 * crypt/crypt-private.h: Include stdbool.h.
32394 (_ufc_setup_salt_r): Return bool.
32395 * crypt/crypt-entry.c: Include errno.h.
32396 (__crypt_r): Return NULL with EINVAL for bad salt.
32397 * crypt/crypt_util.c (bad_for_salt): New.
32398 (_ufc_setup_salt_r): Check that salt is long enough and within
32399 the specified alphabet.
32400 * crypt/badsalttest.c: New file.
32401 * crypt/Makefile (tests): Add it.
32402 ($(objpfx)badsalttest): New.
32404 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32406 * NEWS: Add entry for BZ #14602.
32408 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32410 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32412 * math/libm-test.inc: Update comment listing what functions and
32414 (isgreater_test): New function.
32415 (isgreaterequal_test): Likewise.
32416 (isless_test): Likewise.
32417 (islessequal_test): Likewise.
32418 (islessgreater_test): Likewise.
32419 (isunordered_test): Likewise.
32420 (main): Call the new functions.
32422 2012-10-09 Roland McGrath <roland@hack.frob.com>
32424 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32425 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32426 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32427 * sysdeps/i386/configure: Regenerated.
32428 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32429 * sysdeps/mach/configure: Regenerated.
32430 * sysdeps/mach/hurd/configure: Regenerated.
32431 * sysdeps/powerpc/configure: Regenerated.
32432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32434 * sysdeps/s390/s390-32/configure: Regenerated.
32435 * sysdeps/s390/s390-64/configure: Regenerated.
32436 * sysdeps/sh/configure: Regenerated.
32437 * sysdeps/sparc/configure: Regenerated.
32438 * sysdeps/unix/sysv/linux/configure: Regenerated.
32439 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32440 * sysdeps/x86_64/configure: Regenerated.
32442 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32443 defined. Don't check if MAP is NULL.
32445 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32447 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32448 (_G_stat64): Likewise.
32449 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32450 (_G_stat64): Likewise.
32451 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32452 instead of struct _G_stat64.
32453 * libio/fileops.c (mmap_remap_check): Likewise.
32454 (decide_maybe_mmap): Likewise.
32455 (_IO_new_file_seekoff): Likewise.
32456 (_IO_file_stat): Likewise.
32457 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32459 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32460 instead of struct _G_stat64.
32461 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32463 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32466 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32468 (CHECK_EOL): New macro.
32469 (two_way_short_needle): Check beginning of haystack for EOL. Use
32471 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32472 Replace with CHECK_EOL.
32473 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32474 Replace with CHECK_EOL.
32476 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32478 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32480 * math/libm-test.inc: Update comment listing what functions and
32482 (finite_test): New function.
32483 (isinf_test): Likewise.
32484 (isnan_test): Likewise.
32485 (fpclassify_test): Test subnormal input.
32486 (isfinite_test): Likewise.
32487 (isnormal_test): Likewise.
32488 (main): Call the new functions.
32490 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32493 * Makerules (%.dynsym): Force C locale when running
32494 $(OBJDUMP) --dynamic-syms.
32496 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32498 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32501 2012-10-06 David S. Miller <davem@davemloft.net>
32503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32504 upper 32-bits of the length value in %o2 since we use branch-on-register
32505 tests which consider the entire 64-bit register.
32507 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32509 * string/test-strstr.c (check2): Add a test for page boundary.
32511 2012-10-05 David S. Miller <davem@davemloft.net>
32513 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32514 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32516 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32518 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32519 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32520 and bzero when HWCAP_SPARC_CRYPTO is present.
32522 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32525 * string/test-strstr.c (check2): New function.
32526 (test_main): Call check2.
32528 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32530 * string/bug-strcasestr1.c (do_test): Moved to ...
32531 * string/test-strcasestr.c (check1): Here. New function.
32532 (do_one_test): Break out result checking code into ...
32533 (check_result): This. New function.
32534 (do_one_test): Call check_result.
32535 (test_main): Call check1.
32536 * string/bug-strchr1.c (do_test): Moved to ...
32537 * string/test-strchr.c (check1): Here. New function.
32538 (do_one_test): Break out result checking code into ...
32539 (check_result): This. New function.
32540 (do_one_test): Call check_result.
32541 (test_main): Call check1.
32542 * string/bug-strstr1.c (main): Moved to ...
32543 * string/test-strstr.c (check1): Here. New function.
32544 (do_one_test): Break out result checking code into ...
32545 (check_result): This. New function.
32546 (do_one_test): Call check_result.
32547 (test_main): Call check1.
32548 * string/bug-strcasestr1.c: Removed.
32549 * string/bug-strchr1.c: Likewise.
32550 * string/bug-strstr1.c: Likewise.
32552 * elf/Makefile (dl-routines): Add hwcaps.
32553 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32554 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32555 (_dl_important_hwcaps): Moved to ...
32556 * elf/dl-hwcaps.c: Here. New file.
32557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32560 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32561 if IS_IN_rtld isn't defined.
32563 * elf/dl-support.c (_dl_sysinfo_map): New.
32564 Include "get-dynamic-info.h" and "setup-vdso.h".
32565 (_dl_non_dynamic_init): Call setup_vdso.
32566 * elf/dynamic-link.h: Don't include <assert.h>.
32567 (elf_get_dynamic_info): Moved to ...
32568 * elf/get-dynamic-info.h: Here. New file.
32569 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32570 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32571 * elf/setup-vdso.h: Here. New file.
32572 * elf/rtld.c: Include "setup-vdso.h".
32573 (dl_main): Call setup_vdso.
32575 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32577 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32578 creal in comment listing functions tested. List finite, isinf,
32579 isnan, isless, islessequal, isgreater, isgreaterequal,
32580 islessgreater, isunordered, lgamma_r and pow10 as functions and
32581 macros not tested. Mention which functions not tested are aliases
32582 for other functions. Fix typo. Note that signs of NaNs are not
32585 * scripts/config.guess: Update from config.git.
32586 * scripts/config.sub: Likewise.
32588 2012-10-04 Roland McGrath <roland@hack.frob.com>
32590 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32591 * misc/madvise.c (madvise): Renamed to __madvise.
32592 Make madvise a weak alias.
32593 * include/sys/mman.h: Declare __madvise.
32594 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32595 * sysdeps/unix/syscalls.list
32596 (madvise): Make __madvise the strong name, and madvise a weak alias.
32597 * sysdeps/unix/sysv/linux/syscalls.list
32598 (madvise, mmap): Remove redundant entries.
32599 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32600 * malloc/malloc.c (mtrim): Likewise.
32601 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32603 2012-10-03 Roland McGrath <roland@hack.frob.com>
32605 * sysdeps/mach/hurd/dl-cache.c: File removed.
32606 * config.h.in (USE_LDCONFIG): New #undef.
32607 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32608 * configure: Regenerated.
32609 * elf/Makefile (dl-routines): Add dl-cache only under
32610 [$(use-ldconfig) = yes].
32611 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32612 cache on [USE_LDCONFIG].
32613 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32615 * elf/rtld.c (dl_main): Likewise.
32617 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32619 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32620 _SC_LEVEL4_CACHE_LINESIZE.
32622 2012-10-03 Roland McGrath <roland@hack.frob.com>
32624 * sysdeps/unix/bsd/confstr.h: File removed.
32626 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32628 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32631 2012-10-02 Roland McGrath <roland@hack.frob.com>
32633 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32634 Make 'mapoff' field ElfW(Off) rather than off_t.
32636 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32638 * nscd/Makefile: Remove nscd-cflags and all its users.
32639 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32640 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32643 * malloc.c (malloc_printerr): Clarify error message.
32645 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32649 Set bit_FMA_Usable if FMA is supported.
32650 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32652 (bit_FMA4_Usable): Updated.
32653 (index_FMA_Usable): New macro.
32654 (CPUID_FMA): Likewise
32655 (HAS_FMA): Defined with bit_FMA_Usable.
32657 2012-10-01 Roland McGrath <roland@hack.frob.com>
32659 * bits/types.h (__swblk_t): Type removed.
32660 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32661 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32663 (__SWBLK_T_TYPE): Likewise.
32664 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32665 (__SWBLK_T_TYPE): Likewise.
32666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32667 (__SWBLK_T_TYPE): Likewise.
32668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32669 (__SWBLK_T_TYPE): Likewise.
32671 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32672 Honza Horak <hhorak@redhat.com>
32674 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32675 (xdr_mapname): Use YPMAXMAP as maxsize.
32676 (xdr_peername): Use YPMAXPEER as maxsize.
32677 (xdr_keydat): Use YPAXRECORD as maxsize.
32678 (xdr_valdat): Use YPMAXRECORD as maxsize.
32680 2012-10-01 Roland McGrath <roland@hack.frob.com>
32682 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32684 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32685 * csu/init-first.c: ... here.
32686 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32687 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32689 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32690 * sysdeps/i386/init-first.c: File removed.
32691 * sysdeps/sh/init-first.c: File removed.
32693 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32697 if x * y might underflow to zero and z is zero.
32698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32700 * math/libm-test.inc (min_subnorm_value): New variable.
32701 (fma_test): Add more tests.
32702 (fma_test_towardzero): Likewise.
32703 (fma_test_downward): Likewise
32704 (fma_test_upward): Likewise.
32705 (initialize): Set min_subnorm_value.
32707 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32713 mode for addition resulting in exact zero.
32714 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32719 * math/libm-test.inc (fma_test): Add more tests.
32720 (fma_test_towardzero): New function.
32721 (fma_test_downward): Likewise.
32722 (fma_test_upward): Likewise.
32723 (main): Call the new functions.
32725 2012-09-28 David S. Miller <davem@davemloft.net>
32727 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32729 2012-09-28 Roland McGrath <roland@hack.frob.com>
32731 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32732 instead of SIGALRM.
32734 * sysdeps/gnu/_G_config.h: Moved to ...
32735 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32736 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32737 * sysdeps/generic/_G_config.h: ... here.
32739 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32741 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32743 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32744 Conditionalize target on [libnss_test1.so-version].
32746 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32748 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32749 (elfobjdir): Move out of conditionals.
32751 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32752 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32753 (__nss_lookup_function): Conditionalize label remove_from_tree on
32754 [!DO_STATIC_NSS || SHARED], matching its only use.
32756 2012-09-28 David S. Miller <davem@davemloft.net>
32758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32759 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32761 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32763 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32765 when HWCAP_SPARC_CRYPTO is present.
32767 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32769 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32771 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32774 * stdio-common/vfprintf.c (process_string_arg): Revert
32777 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32779 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32781 * stdio-common/tst-sprintf.c: Include <locale.h>
32782 (main): Test sprintf's handling of incomplete multibyte
32785 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32787 * elf/dl-runtime.c (VERSYMIDX): Removed.
32788 * elf/dl-version.c (VERSYMIDX): Likewise.
32789 * elf/do-rel.h (VERSYMIDX): Likewise.
32790 (VALIDX): Likewise.
32791 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32792 * elf/rtld.c (VALIDX): Likewise.
32793 (ADDRIDX): Likewise.
32794 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32795 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32796 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32797 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32798 (VALIDX): Likewise.
32799 (ADDRIDX): Likewise.
32801 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32803 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32805 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32808 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32810 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32811 addresses are in the same scope as 192.0.2/24.
32812 * posix/gai.conf: Document new scope table defaults.
32814 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32817 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32818 for ftell. Compute offsets from write pointers instead.
32819 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32821 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32824 * libio/Makefile (tests): New test case tst-fseek.
32825 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32826 combination works in wide mode.
32827 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32828 state when the external buffer state changes.
32830 2012-09-27 David S. Miller <davem@davemloft.net>
32833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32834 pass reloc->r_addend in as the 'high' argument to
32835 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32839 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32841 * rt/tst-aio2.c: Include <pthread.h>.
32842 * rt/tst-aio3.c: Likewise.
32844 2012-09-27 Steve Ellcey <sellcey@mips.com>
32846 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32848 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32850 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32851 contents on [SHARED].
32853 2012-09-26 Marek Polacek <polacek@redhat.com>
32857 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32858 for C++ and GCC <4.3 as well as for non GCC compilers.
32860 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32864 2012-09-25 Roland McGrath <roland@hack.frob.com>
32866 * Makefile.in (all, install): Declare with .PHONY.
32867 Reported by Michael Hope <michael.hope@linaro.org>.
32869 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32871 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32872 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32874 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32876 (sydep_routines): Add the new and the internal functions.
32877 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32880 (GLIBC_2.17): Add the new function.
32881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32882 (GLIBC_2.17): Likewise.
32883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32884 (GLIBC_2.17): Likewise.
32885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32886 (GLIBC_2.17): Likewise.
32887 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32889 2012-09-25 Alan Modra <amodra@gmail.com>
32891 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32892 Add release barrier before setting once_control to say
32893 initialisation is done. Add hints on lwarx. Use macro in
32895 (clear_once_control): Add release barrier.
32897 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32900 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32902 * math/s_clog10.c (__clog10): Likewise.
32903 * math/s_clog10f.c (__clog10f): Likewise.
32904 * math/s_clog10l.c (__clog10l): Likewise.
32905 * math/s_clogf.c (__clogf): Likewise.
32906 * math/s_clogl.c (__clogl): Likewise.
32907 * math/Makefile (libm-calls): Add x2y2m1.
32908 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32909 (__x2y2m1): Likewise.
32910 (__x2y2m1l): Likewise.
32911 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32912 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32913 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32914 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32915 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32916 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32917 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32918 * sysdeps/i386/fpu/libm-test-ulps: Update.
32919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32922 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32923 int as type of variable DEPTH.
32924 (glob): Use size_t instead of int as type of variables NEWCOUNT
32927 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32929 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32930 Add s_sincosf-sse2.
32931 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32933 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32934 macros for using routine as __sincosf_ia32.
32935 Use macro for function declaration and weak_alias.
32936 * sysdeps/i386/fpu/libm-test-ulps: Update.
32938 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32941 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32942 subnormal argument.
32943 * math/s_cexpf.c (__cexpf): Likewise.
32944 * math/s_csinf.c (__csinf): Likewise.
32945 * math/s_csinhf.c (__csinhf): Likewise.
32946 * math/s_ctanf.c (__ctanf): Likewise.
32947 * math/s_ctanhf.c (__ctanhf): Likewise.
32948 * math/s_ccosh.c (__ccoshf): Likewise.
32949 * math/s_cexp.c (__cexpl): Likewise.
32950 * math/s_csin.c (__csin): Likewise.
32951 * math/s_csinh.c (__csinh): Likewise.
32952 * math/s_ctan.c (__ctan): Likewise.
32953 * math/s_ctanh.c (ctanh): Likewise.
32954 * math/s_ccoshl.c (__ccoshl): Likewise.
32955 * math/s_cexpl.c (__cexpl): Likewise.
32956 * math/s_csinl.c (__csinl): Likewise.
32957 * math/s_csinhl.c (__csinhl): Likewise.
32958 * math/s_ctanl.c (__ctanl): Likewise.
32959 * math/s_ctanhl.c (__ctanhl): Likewise.
32961 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32963 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32964 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32965 (_IO_off_t): Define to __off_t, not _G_off_t.
32966 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32967 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32968 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32969 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32970 type of __dummy and __dummy2 fields.
32971 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32972 (_G_ssize_t): Likewise.
32973 (_G_off_t): Likewise.
32974 (_G_pid_t): Likewise.
32975 (_G_uid_t): Likewise.
32976 (_G_wchar_t): Likewise.
32977 (_G_wint_t): Likewise.
32978 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32979 (_G_ssize_t): Likewise.
32980 (_G_off_t): Likewise.
32981 (_G_pid_t): Likewise.
32982 (_G_uid_t): Likewise.
32983 (_G_wchar_t): Likewise.
32984 (_G_wint_t): Likewise.
32985 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32986 (_G_ssize_t): Likewise.
32987 (_G_off_t): Likewise.
32988 (_G_pid_t): Likewise.
32989 (_G_uid_t): Likewise.
32990 (_G_wchar_t): Likewise.
32991 (_G_wint_t): Likewise.
32993 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32995 * malloc/arena.c: Include malloc-sysdep.h.
32996 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32997 is sufficient to shrink the heap or an unmap is needed.
32998 * sysdeps/generic/malloc-sysdep.h: New file. Define
32999 new function check_may_shrink_heap.
33000 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33001 new function check_may_shrink_heap.
33003 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33005 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33008 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33010 * catgets/test-gencat.sh: Add "set -e".
33011 * elf/tst-pathopt.sh: Likewise.
33012 * grp/tst_fgetgrent.sh: Likewise.
33013 * iconvdata/run-iconv-test.sh: Likewise.
33014 * intl/tst-gettext.sh: Likewise.
33015 * intl/tst-gettext2.sh: Likewise.
33016 * intl/tst-gettext4.sh: Likewise.
33017 * intl/tst-gettext6.sh: Likewise.
33018 * intl/tst-translit.sh: Likewise.
33019 * io/ftwtest-sh: Likewise.
33020 * libio/test-freopen.sh: Likewise.
33021 * malloc/tst-mtrace.sh: Likewise.
33022 * posix/globtest.sh: Likewise.
33023 * posix/tst-getconf.sh: Likewise.
33024 * posix/wordexp-tst.sh: Likewise.
33025 * stdio-common/tst-printf.sh: Likewise.
33026 * stdio-common/tst-unbputc.sh: Likewise.
33027 * stdlib/tst-fmtmsg.sh: Likewise.
33028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33029 * catgets/Makefile: Do not specify -e option when running
33030 testsuite shell scripts.
33031 * elf/Makefile: Likewise.
33032 * grp/Makefile: Likewise.
33033 * iconvdata/Makefile: Likewise.
33034 * intl/Makefile: Likewise.
33035 * io/Makefile: Likewise.
33036 * libio/Makefile: Likewise.
33037 * malloc/Makefile: Likewise.
33038 * posix/Makefile: Likewise.
33039 * stdio-common/Makefile: Likewise.
33040 * stdlib/Makefile: Likewise.
33041 * sysdeps/x86_64/Makefile: Likewise.
33043 * io/ftwtest-sh: Add copyright header.
33044 * posix/globtest.sh: Likewise.
33045 * posix/tst-getconf.sh: Likewise.
33046 * posix/wordexp-tst.sh: Likewise.
33047 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33049 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33052 * Makeconfig (+link): Defined as $(+link-static) if
33053 $(build-shared) isn't yes.
33054 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33056 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33058 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33061 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33062 new chunk size with MALLOC_ALIGN_MASK.
33064 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33067 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33069 (__printf_fphex): Determine rounding using get_rounding_mode and
33071 * stdio-common/tst-printf-round.c (struct hex_test): New
33073 (hex_tests): New variable.
33074 (test_hex_in_one_mode): New function.
33075 (do_test): Also run tests for hex float output.
33077 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33079 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33080 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33081 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33082 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33083 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33084 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33085 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33088 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33090 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33091 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33092 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33093 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33095 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33098 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33100 * elf/tst-rtld-load-self.sh: New test.
33101 * elf/Makefile: Run it.
33103 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33105 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33106 (tst-writev-ENV): Remove.
33107 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33109 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33111 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33113 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33115 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33117 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33119 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33120 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33121 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33124 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33127 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33128 * config.make.in (have-cpp-asm-debuginfo): Removed.
33129 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33130 * configure: Regenerated.
33132 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33135 * stdio-common/printf_fp.c: Include <stdbool.h> and
33137 (___printf_fp): Determine rounding using get_rounding_mode and
33139 * stdio-common/tst-printf-round.c: New file.
33140 * stdio-common/Makefile (tests): Add tst-printf-round.
33141 (link-libm): New variable.
33142 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33144 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33147 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33148 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33150 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33153 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33155 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33156 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33157 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33160 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33163 * include/rounding-mode.h: New file.
33164 * sysdeps/generic/get-rounding-mode.h: Likewise.
33165 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33166 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33167 (MAX_VALUE): New macro.
33168 (MIN_VALUE): Likewise.
33169 (overflow_value): New function.
33170 (underflow_value): Likewise.
33171 (round_and_return): Use overflow_value and underflow_value to
33172 determine return values in overflow and underflow cases. Use
33173 round_away to determine rounding depending on rounding mode.
33174 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33175 determine return values in overflow and underflow cases.
33176 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33177 (struct test_results): New structure.
33178 (struct test): Use struct test_results to store expected results
33179 for all rounding modes.
33180 (TEST): Include expected results for all rounding modes.
33181 (test_in_one_mode): New function.
33182 (do_test): Use test_in_one_mode to compute and check results.
33183 Check results for all rounding modes.
33184 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33187 2012-12-09 Allan McRae <allan@archlinux.org>
33189 * sysdeps/i386/fpu/libm-test-ulps: Update
33191 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33193 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33194 (_G_int32_t): Likewise.
33195 (_G_uint16_t): Likewise.
33196 (_G_uint32_t): Likewise.
33197 (_G_HAVE_BOOL): Likewise.
33198 (_G_HAVE_ATEXIT): Likewise.
33199 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33200 (_G_HAVE_IO_FILE_OPEN): Likewise.
33201 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33202 (_G_int32_t): Likewise.
33203 (_G_uint16_t): Likewise.
33204 (_G_uint32_t): Likewise.
33205 (_G_HAVE_BOOL): Likewise.
33206 (_G_HAVE_ATEXIT): Likewise.
33207 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33208 (_G_HAVE_IO_FILE_OPEN): Likewise.
33209 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33210 (_G_int32_t): Likewise.
33211 (_G_uint16_t): Likewise.
33212 (_G_uint32_t): Likewise.
33213 (_G_HAVE_BOOL): Likewise.
33214 (_G_HAVE_ATEXIT): Likewise.
33215 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33216 (_G_HAVE_IO_FILE_OPEN): Likewise.
33218 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33220 * csu/libc-tls.c: Update copyright years.
33222 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33224 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33225 [!_G_USING_THUNKS]: Remove conditional code.
33226 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33227 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33229 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33230 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33231 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33232 (_G_VTABLE_LABEL_PREFIX): Likewise.
33233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33234 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33235 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33236 (_G_VTABLE_LABEL_PREFIX): Likewise.
33237 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33238 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33240 (_G_VTABLE_LABEL_PREFIX): Likewise.
33241 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33243 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33245 * libio/Makefile: Include ../Makeconfig before tests.
33246 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33247 only if $(build-shared) is yes.
33249 * iconv/gconv_db.c: Update copyright years.
33251 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33253 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33254 unwind info if defined PIC. Fix special cases description.
33255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33257 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33259 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33261 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33263 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33265 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33268 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33269 (LDLIBS-tst-chk4): This.
33270 (LDFLAGS-tst-chk5): Renamed to ...
33271 (LDLIBS-tst-chk5): This.
33272 (LDFLAGS-tst-chk6): Renamed to ...
33273 (LDLIBS-tst-chk6): This.
33274 (LDFLAGS-tst-lfschk4): Renamed to ...
33275 (LDLIBS-tst-lfschk4): This.
33276 (LDFLAGS-tst-lfschk5): Renamed to ...
33277 (LDLIBS-tst-lfschk5): This.
33278 (LDFLAGS-tst-lfschk6): Renamed to ...
33279 (LDLIBS-tst-lfschk6): This.
33281 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33282 on $(common-objpfx)soversions.mk.
33284 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33287 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33290 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33292 * malloc/arena.c (arena_get_retry): New function that gets
33293 another arena for the caller to try its request on.
33294 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33295 current arena cannot fulfill the request.
33296 (__libc_memalign): Likewise.
33297 (__libc_memalign): Likewise.
33298 (__libc_pvalloc): Likewise.
33299 (__libc_calloc): Likewise.
33301 2012-09-05 John Tobey <john.tobey@gmail.com>
33304 * manual/arith.texi (Operations on Complex): Fix description
33305 of carg branch cut.
33307 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33310 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33314 * manual/memory.texi (Memory): Make order of menu items match
33317 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33319 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33320 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33321 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33323 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33325 * csu/libc-tls.c (static_dtv): Renamed to ...
33326 (_dl_static_dtv): This. Make it global.
33327 (_dl_initial_dtv): Removed.
33328 (__libc_setup_tls): Updated.
33329 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33330 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33333 2012-09-06 Petr Machata <pmachata@redhat.com>
33335 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33336 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33337 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33338 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33343 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33344 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33347 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33350 * Makeconfig (link-static-before-libc): Replace $(+prector)
33352 (link-static-after-libc): Replace $(+postctor) with
33354 (link-bounded): Replace $(+prector)/$(+postctor) with
33355 $(+prectorT)/$(+postctorT).
33356 (+prectorT): New macro.
33357 (+postctorT): Likewise.
33359 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33361 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33362 (round_str): Handle values above the maximum for IBM long double
33364 * stdlib/tst-strtod-round.c (tests): Regenerated.
33366 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33368 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33370 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33371 zarch_nohighgprs around the zarch optimized routines.
33372 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33373 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33377 2012-09-05 David S. Miller <davem@davemloft.net>
33379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33381 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33382 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33383 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33387 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33389 * malloc/arena.c: Fold copyright years.
33390 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33392 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33394 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33398 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33402 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33403 change internal state upon failure.
33405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33407 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33408 * malloc/memusage.c (mmap): Likewise.
33409 (mmap64, mremap): Likewise. Adjust name in comment.
33411 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33413 * libio/fileops.c: Fix typos in comments.
33414 * libio/oldfileops.c: Likewise.
33415 * libio/wfileops.c: Likewise.
33417 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33420 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33421 (tst-malloc-usable-ENV): Set environment for test case.
33422 * malloc/hooks.c (malloc_check_get_size): New function to get
33424 * malloc/malloc.c (musable): Use malloc_check_get_size.
33425 * malloc/tst-malloc-usable.c: New test case.
33427 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33429 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33431 2012-09-05 Allan McRae <allan@archlinux.org>
33434 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33435 determine header location.
33436 * configure: Regenerated.
33438 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33440 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33442 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33443 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33445 (test): Regenerate.
33447 2012-09-04 David S. Miller <davem@davemloft.net>
33449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33453 2012-09-04 Florian Weimer <fweimer@redhat.com>
33455 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33458 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33460 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33463 * libio/iogetdelim.c: Include <limits.h>.
33464 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33465 + len + 1 would overflow.
33467 2012-09-03 Andreas Jaeger <aj@suse.de>
33469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33470 * sysdeps/i386/fpu/libm-test-ulps: Update.
33472 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33475 Add s_sinf-sse2, s_conf-sse2.
33477 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33478 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33479 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33480 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33482 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33483 for using routine as __sinf_ia32.
33484 Use macro for function declaration and weak_alias.
33485 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33486 for using routine as __cosf_ia32.
33487 Use macro for function declaration and weak_alias.
33489 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33490 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33492 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33493 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33496 * math/libm-test.inc (cos_test): Add more test cases.
33497 (sin_test): Likewise.
33498 (sincos_test): Likewise.
33500 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33503 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33505 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33507 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33510 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33511 first element of the GOT.
33512 (elf_machine_load_address): Return the difference between
33513 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33515 2012-09-01 Allan McRae <allan@archlinux.org>
33518 * configure.in (AWK): Require gawk version 3.0 or later.
33519 * configure: Regenerated.
33521 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33523 * sysdeps/unix/sysv/linux/kernel-features.h
33524 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33526 [__NR_clock_getres]: Make code unconditional.
33527 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33528 (clock_getcpuclockid): Remove code left unreachable by removal of
33530 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33531 code unconditional.
33532 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33533 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33534 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33535 Make code unconditional.
33536 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33538 * sysdeps/unix/sysv/linux/clock_settime.c
33539 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33541 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33544 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33547 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33548 scripts/test-installation.pl.
33550 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33551 and $ld_so_version if it is set.
33553 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33557 failure if reading from procfs failed.
33558 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33560 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33562 * sysdeps/unix/sysv/linux/kernel-features.h
33563 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33564 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33565 Remove conditional code.
33566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33567 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33568 Remove conditional code.
33569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33570 * sysdeps/unix/sysv/linux/i386/fxstat.c
33571 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33573 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33574 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33576 * sysdeps/unix/sysv/linux/i386/lxstat.c
33577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33579 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33580 Remove conditional code.
33581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33582 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33583 Remove conditional code.
33584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33585 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33586 <kernel-features.h>.
33587 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33589 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33590 Remove conditional code.
33591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33592 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33593 Remove conditional.
33595 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33598 * NEWS: Add fixed bug number.
33600 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33603 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33604 underflowing exponent in case of negative sign.
33605 * stdlib/tst-strtod-round-data: Add more tests.
33606 * stdlib/tst-strtod-round.c (tests): Regenerated.
33609 * stdlib/strtod_l.c (NDIG): Remove.
33610 (HEXNDIG): Likewise.
33611 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33612 smallest representable value.
33613 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33614 lie within an exact representation of 1/2 ulp of the result.
33615 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33617 (TENS_P9_IDX): Define unconditionally.
33618 (TENS_P9_SIZE): Likewise.
33619 (TENS_P10_IDX): Likewise.
33620 (TENS_P10_SIZE): Likewise.
33621 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33622 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33624 entries for 10^2^13 and 10^2^14.
33625 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33626 (TENS_P13_IDX): Define.
33627 (TENS_P13_SIZE): Likewise.
33628 (TENS_P14_IDX): Likewise.
33629 (TENS_P14_SIZE): Likewise.
33630 (_fpioconst_pow10): Change array size to
33631 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33633 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33634 1024]: Add entries for 10^2^13 and 10^2^14.
33635 [LAST_POW10 > _LAST_POW10]: Remove #error.
33636 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33637 (_fpioconst_pow10): Change array size to
33638 FPIOCONST_POW10_ARRAY_SIZE.
33639 * stdlib/gen-fpioconst.c: New file.
33640 * stdlib/gen-tst-strtod-round.c: Likewise.
33641 * stdlib/tst-strtod-round-data: Likewise.
33642 * stdlib/tst-strtod-round.c: Likewise.
33643 * stdlib/Makefile (tests): Add tst-strtod-round.
33646 * stdlib/strtod_l.c: Include <stdint.h>.
33647 (NDEBUG): Do not define.
33648 (round_and_return): Change EXPONENT parameter to type intmax_t.
33649 Rearrange calculations to avoid internal overflow possibilities.
33650 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33651 Rearrange calculations to avoid internal overflow possibilities.
33652 Assert that number fits inside MPNSIZE limbs.
33653 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33654 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33655 calculations and add assertions to avoid internal overflow
33656 possibilities. Add casts to avoid signed/unsigned operations.
33657 * stdlib/tst-strtod-overflow.c: New file.
33658 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33660 2012-08-25 Marek Polacek <polacek@redhat.com>
33662 * time/time.h: Fix some typos in comments.
33664 2012-08-23 Roland McGrath <roland@hack.frob.com>
33666 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33667 * posix/tst-rfc3484-2.c: Likewise.
33668 * posix/tst-rfc3484-3.c: Likewise.
33670 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33672 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33673 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33675 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33677 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33678 #include of fxstatat64.c.
33680 2012-08-22 Roland McGrath <roland@hack.frob.com>
33682 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33683 * shadow/getspent_r.c: Likewise.
33684 * shadow/getspnam.c: Likewise.
33685 * shadow/getspnam_r.c: Likewise.
33686 * gshadow/getsgent.c: Likewise.
33687 * gshadow/getsgent_r.c: Likewise.
33688 * gshadow/getsgnam.c: Likewise.
33689 * gshadow/getsgnam_r.c: Likewise.
33690 * inet/getnetbyad.c: Likewise.
33691 * inet/getnetbyad_r.c: Likewise.
33692 * inet/getnetbynm.c: Likewise.
33693 * inet/getnetbynm_r.c: Likewise.
33694 * inet/getnetent.c: Likewise.
33695 * inet/getnetent_r.c: Likewise.
33696 * inet/getproto.c: Likewise.
33697 * inet/getproto_r.c: Likewise.
33698 * inet/getprtent.c: Likewise.
33699 * inet/getprtent_r.c: Likewise.
33700 * inet/getprtname.c: Likewise.
33701 * inet/getprtname_r.c: Likewise.
33702 * inet/getrpcbyname.c: Likewise.
33703 * inet/getrpcbyname_r.c: Likewise.
33704 * inet/getrpcbynumber.c: Likewise.
33705 * inet/getrpcbynumber_r.c: Likewise.
33706 * inet/getrpcent.c: Likewise.
33707 * inet/getrpcent_r.c: Likewise.
33708 * inet/getaliasent.c: Likewise.
33709 * inet/getaliasent_r.c: Likewise.
33710 * inet/getaliasname.c: Likewise.
33711 * inet/getaliasname_r.c: Likewise.
33712 * nscd/getgrgid_r.c: Likewise.
33713 * nscd/getgrnam_r.c: Likewise.
33714 * nscd/gethstbyad_r.c: Likewise.
33715 * nscd/gethstbynm3_r.c: Likewise.
33716 * nscd/getpwnam_r.c: Likewise.
33717 * nscd/getpwuid_r.c: Likewise.
33718 * nscd/getsrvbynm_r.c: Likewise.
33719 * nscd/getsrvbypt_r.c: Likewise.
33720 * nscd/gai.c: Likewise.
33722 * configure.in (build_nscd): New substituted variable, set
33723 by --disable-build-nscd and defaults to $use_nscd.
33724 * configure: Regenerated.
33725 * config.make.in (build-nscd): New substituted variable.
33726 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33727 Change conditional to require [$(build-nscd) = yes] as well.
33728 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33731 * configure.in (use_nscd): New substituted variable, set by
33732 --disable-nscd. If enabled, define USE_NSCD.
33733 * configure: Regenerated.
33734 * config.h.in: Add USE_NSCD.
33735 * config.make.in (use-nscd): New substituted variable.
33736 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33737 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33738 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33739 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33740 (CFLAGS-getgrnam_r.c): Likewise.
33741 (CFLAGS-initgroups.c): Likewise.
33742 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33743 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33745 * inet/getnetgrent_r.c
33746 (nscd_setnetgrent): New function, broken out of ...
33747 (setnetgrent): ... here. Call it.
33748 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33749 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33750 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33751 * nscd/Makefile (routines, aux): Move definitions after include of
33752 Makeconfig. Conditionalize on [$(use-nscd) != no].
33753 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33754 Conditionalize on [USE_NSCD].
33755 (is_nscd, nscd_init_cb): Likewise.
33756 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33757 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33758 * nss/nss_db/db-init.c: Likewise.
33759 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33761 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33762 (make_request): Use it.
33763 (cache_valid_p): New function.
33764 (__check_pf): Use it.
33765 * NEWS: Add item for --disable-nscd.
33767 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33769 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33770 to support sed >= 4.2.1-20-ga9bf076.
33771 * configure: Regenerated.
33773 2012-08-22 Roland McGrath <roland@hack.frob.com>
33775 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33776 Conditionalize whole body on [IREL].
33778 2012-08-22 Jeff Law <law@redhat.com>
33781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33782 if the family is PF_UNSPEC.
33784 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33786 * Makerules (lib-version): Rename from V.
33787 (install-lib-nosubdir): Change V to lib-version.
33789 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33792 * powerpc32/power6/wcschr.c: New file.
33793 * powerpc32/power6/wcscpy.c: New file.
33794 * powerpc32/power6/wcsrchr.c: New file.
33795 * powerpc64/power6/wcschr.c: New file.
33796 * powerpc64/power6/wcscpy.c: New file.
33797 * powerpc64/power6/wcsrchr.c: New file.
33799 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33801 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33802 (two_way_short_needle): Use it.
33803 * string/strstr.c (AVAILABLE1_USES_J): Define.
33804 * string/strcasestr.c: Likewise.
33806 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33808 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33811 * NEWS: Add an entry.
33812 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33813 define their defaults.
33814 (two_way_short_needle): Detect end-of-string on-the-fly.
33815 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33816 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33817 * string/bug-strcasestr1.c: New test.
33818 * string/Makefile: Run it.
33820 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33823 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33824 the first character.
33826 2012-08-21 Roland McGrath <roland@hack.frob.com>
33828 * csu/elf-init.c (__libc_csu_irel): Function removed.
33829 * csu/libc-start.c (apply_irel): New function.
33830 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33832 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33834 * sysdeps/unix/sysv/linux/kernel-features.h
33835 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33836 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33837 <kernel-features.h>.
33838 [__NR_fadvise64_64]: Make code unconditional.
33839 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33840 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33841 !__NR_fadvise64_64)]: Likewise.
33842 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33843 !__NR_fadvise64_64))]: Likewise.
33844 [__NR_fadvise64]: Make code unconditional.
33845 [!__NR_fadvise64]: Remove conditional code.
33846 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33847 <kernel-features.h>.
33848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33853 not include <kernel-features.h>.
33854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33858 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33859 include <kernel-features.h>.
33860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33865 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33868 slight instruction rearrangements per scrollpipe analysis.
33869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33871 2012-08-20 Roland McGrath <roland@hack.frob.com>
33873 * manual/syslog.texi (syslog; vsyslog, closelog):
33874 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33875 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33877 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33878 DSOCAPS to match condition on defining it.
33880 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33882 * sysdeps/unix/sysv/linux/kernel-features.h
33883 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33885 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33886 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33888 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33889 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33894 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33895 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33897 * sysdeps/unix/sysv/linux/kernel-features.h
33898 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33899 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33901 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33902 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33903 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33904 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33905 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33906 Make code unconditional.
33907 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33908 (__mmap64) [!__NR_mmap2]: Likewise.
33909 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33910 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33911 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33913 [__NR_mmap2]: Make code unconditional.
33914 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33915 (__mmap64) [!__NR_mmap2]: Likewise.
33917 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33919 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33921 2012-08-18 Andreas Jaeger <aj@suse.de>
33923 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33925 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33927 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33928 * include/unistd.h (__have_sock_cloexec): Likewise.
33929 (__have_pipe2): Likewise.
33930 (__have_dup3): Likewise.
33932 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33935 * include/unistd.h (__have_pipe2): Change define into an extern int.
33936 (__have_dup3): Likewise.
33937 * socket/have_sock_cloexec.c: Include fcntl.h.
33938 (__have_pipe2): New variable.
33939 (__have_dup3): Likewise.
33941 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33943 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33945 2012-08-17 Marek Polacek <polacek@redhat.com>
33947 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33948 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33950 2012-08-17 Roland McGrath <roland@hack.frob.com>
33952 * configure.in: Add AC_SUBST for sysheaders.
33953 * configure: Regenerated.
33954 * config.make.in (sysheaders): New substituted variable.
33956 * sysdeps/unix/mkfifo.c: Moved ...
33957 * sysdeps/posix/mkfifo.c: ... here.
33958 * sysdeps/unix/mkfifoat.c: Moved ...
33959 * sysdeps/posix/mkfifoat.c: ... here.
33961 * sysdeps/unix/utime.c: Moved ...
33962 * sysdeps/posix/utime.c: ... here.
33964 * sysdeps/unix/time.c: Moved ...
33965 * sysdeps/posix/time.c: ... here.
33966 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33967 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33969 * sysdeps/unix/nice.c: Moved ...
33970 * sysdeps/posix/nice.c: ... here.
33972 * sysdeps/unix/alarm.c: Moved ...
33973 * sysdeps/posix/alarm.c: ... here.
33975 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33977 2012-08-17 Jeff Law <law@redhat.com>
33979 * intl/Makefile (codeset_mo): New variable.
33980 ($(codeset_mo)): New target.
33981 (tst-codeset.out): Depend on that. Remove explicit rule.
33982 (tst-gettext3.out, tst-gettext5.out): Likewise.
33983 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33984 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33985 * intl/tst-codeset.sh: Remove.
33986 * intl/tst-gettext3.sh: Likewise.
33987 * intl/tst-gettext5.sh: Likewise.
33989 2012-08-17 Roland McGrath <roland@hack.frob.com>
33991 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33992 * sysdeps/unix/syscalls.list: ... here.
33994 * sysdeps/posix/getaddrinfo.c
33995 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33996 (gaiconf_init, gaiconf_reload): Use them.
33997 [!_STATBUF_ST_NSEC]
33998 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33999 Define using time_t rather than struct timespec.
34001 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34002 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34004 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34006 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34007 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34010 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34011 __libc_cleanup_push argument.
34013 * bits/param.h: New file.
34014 * misc/sys/param.h: New file.
34015 * include/sys/param.h: New file.
34016 * misc/Makefile (headers): Add bits/param.h.
34017 * sysdeps/generic/sys/param.h: File removed.
34018 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34019 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34020 * sysdeps/mach/hurd/bits/param.h: New file.
34021 * sysdeps/mach/hurd/sys/param.h: File removed.
34023 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34026 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34028 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34029 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34032 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34033 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34034 rather than -D_IO_MTSAFE_IO conditionally.
34035 * stdio-common/Makefile (CPPFLAGS): Likewise.
34036 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34037 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34038 Use $(libio-mtsafe).
34039 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34040 of -D_IO_MTSAFE_IO.
34041 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34042 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34043 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34044 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34045 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34046 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34047 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34048 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34049 (CFLAGS-fread_u_chk.c): Likewise.
34050 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34051 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34052 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34053 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34054 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34055 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34056 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34057 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34058 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34060 * libio/Makefile: Test [$(libc-reentrant) = yes]
34061 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34064 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34065 * sysdeps/pthread/configure: File removed.
34066 * sysdeps/pthread/Makeconfig: New file.
34067 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34068 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34070 2012-08-16 Gary Benson <gbenson@redhat.com>
34072 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34073 unmapping the first object in a namespace.
34075 2012-08-16 Roland McGrath <roland@hack.frob.com>
34077 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34078 (__internal_setnetgrent): ... this. Add internal_function to
34079 definition. Add libc_hidden_def.
34080 (setnetgrent): Update caller.
34081 (internal_endnetgrent): Renamed to ...
34082 (__internal_endnetgrent): ... this. Add internal_function to
34083 definition. Add libc_hidden_def.
34084 (endnetgrent): Update caller.
34085 (internal_getnetgrent_r): Renamed to ...
34086 (__internal_getnetgrent_r): ... this. Add internal_function to
34087 definition. Add libc_hidden_def.
34088 (__getnetgrent_r): Update caller.
34089 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34091 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34093 * stdlib/longlong.h: Update from GCC.
34095 2012-08-16 Roland McGrath <roland@hack.frob.com>
34097 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34098 on _QL, which is set by umul_ppmm but never used.
34099 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34100 variables, which are set by GMP macros but never used.
34101 * stdio-common/_itowa.c (_itowa): Likewise.
34102 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34103 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34105 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34107 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34108 struct La_sh_regs is not constant.
34109 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34110 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34111 and struct La_sparc64_regs are not constant.
34113 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34115 * sysdeps/unix/sysv/linux/kernel-features.h
34116 (__ASSUME_POSIX_TIMERS): Remove.
34117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34119 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34120 Make code unconditional.
34121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34122 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34123 Make code unconditional.
34124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34125 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34126 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34129 Make code unconditional.
34130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34131 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34132 (__libc_missing_posix_timers): Remove.
34134 2012-08-15 Roland McGrath <roland@hack.frob.com>
34136 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34137 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34139 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34141 * elf/dl-sym.c: Include <stdlib.h>.
34143 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34144 constants, which avoids warnings in 32-bit builds.
34146 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34147 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34149 * misc/lseek.c: File moved to ...
34150 * io/lseek.c: ... here.
34152 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34154 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34155 shifting LEN more than 31 bits at once.
34157 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34160 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34161 segmentation fault for a case of two empty input strings.
34162 * string/test-strncasecmp.c (check1): Renamed to...
34163 (bz12205): ...this.
34164 (bz14195): Add new testcase for two empty input strings and N > 0.
34165 (test_main): Call new testcase, adapt for renamed function.
34167 2012-08-15 Andreas Jaeger <aj@suse.de>
34170 * crypt/md5test2.c: New test, based on test supplied by Serge
34171 Belyshev <belyshev@depni.sinp.msu.ru>.
34172 * crypt/Makefile (xtests): Add md5test-giant..
34173 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34175 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34178 * crypt/md5.c (md5_process_block): Don't assume the buffer
34179 length is less than 2**32.
34180 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34181 length is less than 2**64.
34183 2012-08-15 Roland McGrath <roland@hack.frob.com>
34185 * string/str-two-way.h: Include <sys/param.h>.
34186 (MAX): Macro removed.
34188 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34189 Move #define and #undef of memmove to just before and after
34190 including <string.h>.
34192 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34193 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34194 and after including <string.h>. Move declarations of
34195 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34196 to before #include "string/memmove.c".
34198 * include/dirent.h: Declare __getdirentries.
34200 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34201 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34203 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34205 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34206 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34207 * sysdeps/i386/configure: Regenerated.
34208 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34209 STABS_CURRENT_FILE, and STABS_FUN.
34210 (END): Remove call to STABS_FUN_END.
34211 (STABS_CURRENT_FILE1): Delete.
34212 (STABS_CURRENT_FILE): Likewise.
34213 (STABS_FUN): Likewise.
34214 (STABS_FUN_END): Likewise.
34215 (STABS_FUN2): Likewise.
34216 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34217 * sysdeps/x86_64/configure: Regenerated.
34219 2012-08-14 Roland McGrath <roland@hack.frob.com>
34221 * elf/dl-open.c: Include <atomic.h>.
34222 * elf/dl-lookup.c: Likewise.
34224 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34226 * sysdeps/unix/sysv/linux/kernel-features.h
34227 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34228 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34230 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34232 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34233 condition on __ASSUME_CLONE_THREAD_FLAGS.
34235 2012-08-14 Andreas Jaeger <aj@suse.de>
34237 * sysdeps/i386/fpu/libm-test-ulps: Update.
34239 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34241 * include/atomic.h (atomic_exchange_and_add): Split into ...
34242 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34245 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34249 2012-08-13 Jeff Law <law@redhat.com>
34251 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34252 null byte in the output string.
34254 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34256 * sysdeps/unix/sysv/linux/kernel-features.h
34257 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34258 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34259 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34261 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34262 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34263 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34265 2012-08-09 Jeff Law <law@redhat.com>
34268 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34269 When avoid_arena is set, don't retry in the that arena. Pick the
34270 next one, whatever it might be.
34271 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34272 (arena_lock): Pass in new parameter to arena_get2.
34273 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34275 (__libc_malloc): Unify retrying after main arena failure with
34276 __libc_memalign version.
34277 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34279 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34282 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34283 to __redirect_strstr.
34284 (__strstr_sse42): Use typeof __redirect_strstr.
34285 (__strstr_ia32): Likewise.
34286 (__libc_strstr): New prototype.
34287 (strstr): Renamed to ...
34288 (__libc_strstr): This.
34289 (strstr): New strong alias of __libc_strstr.
34290 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34291 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34294 (__libc_time): New prototype.
34295 (time_ifunc): Replace time with __libc_time.
34296 (time): New strong alias and hidden definition of __libc_time.
34297 (__GI_time): Remove strong alias.
34298 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34299 Include <stddef.h>.
34300 (memmove): Redefined to __redirect_memmove.
34301 (__memmove_sse2): Use typeof __redirect_memmove.
34302 (__memmove_ssse3): Likewise.
34303 (__memmove_ssse3_back): Likewise.
34304 (__libc_memmove): New prototype.
34305 (memmove): Renamed to ...
34306 (__libc_memmove): This.
34307 (memmove): New strong alias of __libc_memmove.
34309 2012-08-08 Mark Salter <msalter@redhat.com>
34312 (R_MN10300_TLS_GD): Define.
34313 (R_MN10300_TLS_LD): Likewise.
34314 (R_MN10300_TLS_LDO): Likewise.
34315 (R_MN10300_TLS_GOTIE): Likewise.
34316 (R_MN10300_TLS_IE): Likewise.
34317 (R_MN10300_TLS_LE): Likewise.
34318 (R_MN10300_TLS_DTPMOD): Likewise.
34319 (R_MN10300_TLS_DTPOFF): Likewise.
34320 (R_MN10300_TLS_TPOFF): Likewise.
34321 (R_MN10300_SYM_DIFF): Likewise.
34322 (R_MN10300_ALIGN): Likewise.
34323 (R_MN10300_NUM): Update.
34325 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34330 2012-08-08 Roland McGrath <roland@hack.frob.com>
34332 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34334 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34335 sysdeps/unix -> sysdeps/posix move.
34336 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34338 2012-08-07 Allan McRae <allan@archlinux.org>
34341 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34342 (SUNOS_CPP): Likewise.
34343 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34345 (open_input): Call CPP using execvp.
34347 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34349 * sysdeps/unix/sysv/linux/kernel-features.h
34350 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34351 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34352 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34353 (__ASSUME_WAITID_SYSCALL): Likewise.
34354 * sysdeps/unix/sysv/linux/dl-execstack.c
34355 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34356 code unconditional.
34357 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34360 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34361 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34363 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34365 [__ASSUME_WAITID_SYSCALL]: Likewise.
34366 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34368 2012-08-07 Roland McGrath <roland@hack.frob.com>
34370 * sysdeps/unix/closedir.c: Renamed to ...
34371 * sysdeps/posix/closedir.c: ... here.
34372 * sysdeps/unix/dirfd.c: Renamed to ...
34373 * sysdeps/posix/dirfd.c: ... here.
34374 * sysdeps/unix/dirstream.h: Renamed to ...
34375 * sysdeps/posix/dirstream.h: ... here.
34376 * sysdeps/unix/fdopendir.c: Renamed to ...
34377 * sysdeps/posix/fdopendir.c: ... here.
34378 * sysdeps/unix/opendir.c: Renamed to ...
34379 * sysdeps/posix/opendir.c: ... here.
34380 * sysdeps/unix/readdir.c: Renamed to ...
34381 * sysdeps/posix/readdir.c: ... here.
34382 * sysdeps/unix/readdir_r.c: Renamed to ...
34383 * sysdeps/posix/readdir_r.c: ... here.
34384 * sysdeps/unix/rewinddir.c: Renamed to ...
34385 * sysdeps/posix/rewinddir.c: ... here.
34386 * sysdeps/unix/seekdir.c: Renamed to ...
34387 * sysdeps/posix/seekdir.c: ... here.
34388 * sysdeps/unix/telldir.c: Renamed to ...
34389 * sysdeps/posix/telldir.c: ... here.
34390 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34391 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34392 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34393 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34395 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34396 * bits/fcntl.h: ... here.
34398 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34400 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34401 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34402 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34403 (struct flock): Move l_start, l_len to the beginning.
34404 Use __pid_t for l_pid.
34405 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34406 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34407 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34408 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34409 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34410 [__USE_LARGEFILE64] (struct flock64): New type.
34411 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34413 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34414 * bits/dirent.h: ... here.
34416 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34417 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34419 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34422 Change from 2.6.0 to 2.6.16.
34423 * sysdeps/unix/sysv/linux/configure: Regenerated.
34424 * sysdeps/unix/sysv/linux/kernel-features.h
34425 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34426 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34428 (__ASSUME_UTIMES): Likewise.
34429 (__ASSUME_CLONE_STOPPED): Remove.
34430 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34431 architectures, not kernel version.
34432 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34435 (__ASSUME_WAITID_SYSCALL): Likewise.
34436 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34437 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34438 * README: State 2.6.16 as minimum Linux kernel version. Do not
34439 refer to older versions.
34441 2012-08-06 Roland McGrath <roland@hack.frob.com>
34443 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34444 Define alphasort64 as an alias.
34445 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34446 Define versionsort64 as an alias.
34447 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34448 Define scandir64 as an alias.
34449 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34450 Define scandirat64 as an alias.
34451 * dirent/alphasort64.c (alphasort64):
34452 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34453 * dirent/versionsort64.c: Likewise.
34454 * dirent/scandir64.c: Likewise.
34455 * dirent/scandirat64.c: Likewise.
34456 * sysdeps/wordsize-64/alphasort.c: File removed.
34457 * sysdeps/wordsize-64/alphasort64.c: File removed.
34458 * sysdeps/wordsize-64/scandir.c: File removed.
34459 * sysdeps/wordsize-64/scandir64.c: File removed.
34460 * sysdeps/wordsize-64/scandirat.c: File removed.
34461 * sysdeps/wordsize-64/scandirat64.c: File removed.
34462 * sysdeps/wordsize-64/versionsort.c: File removed.
34463 * sysdeps/wordsize-64/versionsort64.c: File removed.
34464 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34465 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34466 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34467 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34468 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34469 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34470 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34473 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34475 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34477 [defined __arch64__ || defined __sparcv9]
34478 (__INO_T_MATCHES_INO64_T): New macro.
34479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34480 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34481 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34482 * sysdeps/unix/sysv/linux/bits/dirent.h
34483 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34484 (_DIRENT_MATCHES_DIRENT64): New macro.
34486 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34487 Define lockf64 as an alias.
34488 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34489 Define fseeko64 as an alias.
34490 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34491 Define ftello64 as an alias.
34492 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34493 Define _IO_fgetpos64 and fgetpos64 as aliases.
34494 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34495 Define _IO_fsetpos64 and fsetpos64 as aliases.
34496 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34497 Conditionalize body on this.
34498 * libio/fseeko64.c: Likewise.
34499 * libio/ftello64.c: Likewise.
34500 * libio/iofgetpos64.c: Likewise.
34501 * libio/iofsetpos64.c: Likewise.
34502 * sysdeps/wordsize-64/lockf.c: File removed.
34503 * sysdeps/wordsize-64/lockf64.c: File removed.
34504 * sysdeps/wordsize-64/fseeko.c: File removed.
34505 * sysdeps/wordsize-64/fseeko64.c: File removed.
34506 * sysdeps/wordsize-64/ftello.c: File removed.
34507 * sysdeps/wordsize-64/ftello64.c: File removed.
34508 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34509 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34510 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34511 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34515 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34517 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34518 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34520 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34521 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34523 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34525 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34527 [defined __arch64__ || defined __sparcv9]
34528 (__OFF_T_MATCHES_OFF64_T): New macro.
34529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34530 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34532 (__OFF_T_MATCHES_OFF64_T): New macro.
34534 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34536 * stdlib/secure-getenv.c (__secure_getenv): Replace
34537 GLIBC_2_16 with GLIBC_2_17.
34539 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34544 2012-08-03 David S. Miller <davem@davemloft.net>
34546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34548 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34552 (__ASSUME_CORRECT_SI_PID): Likewise.
34553 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34554 (__ASSUME_TMPFS_NAME): Likewise.
34555 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34556 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34557 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34558 (HAVE_AUX_SECURE): Make definition unconditional.
34559 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34560 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34562 2012-08-03 Roland McGrath <roland@hack.frob.com>
34564 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34565 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34566 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34567 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34568 __eloop_threshold instead of SYMLOOP_MAX.
34570 * sysdeps/generic/eloop-threshold.h: New file.
34571 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34573 * elf/chroot_canon.c (chroot_canon): Likewise.
34575 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34579 Change to 2.6.0 everywhere.
34580 * sysdeps/unix/sysv/linux/configure: Regenerated.
34581 * sysdeps/unix/sysv/linux/kernel-features.h
34582 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34583 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34585 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34586 (__ASSUME_FUTEX_REQUEUE): Remove.
34587 (__ASSUME_STATFS64): Define unconditionally.
34588 (__ASSUME_AT_SECURE): Likewise.
34589 (__ASSUME_CORRECT_SI_PID): Likewise.
34590 (__ASSUME_TGKILL): Define without depending on kernel version for
34592 (__ASSUME_UTIMES): Likewise.
34593 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34595 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34596 (__ASSUME_TMPFS_NAME): Likewise.
34597 * README: Update reference to Linux kernel versions.
34599 2012-08-02 Marek Polacek <polacek@redhat.com>
34602 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34603 libc_cv_asm_type_prefix with %.
34604 * configure: Regenerated.
34605 * include/libc-symbols.h: Remove comment about
34606 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34607 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34608 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34609 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34610 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34611 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34612 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34613 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34614 * elf/tst-unique2mod1.c: Likewise.
34615 * elf/tst-unique1mod2.c: Likewise.
34616 * elf/tst-unique1mod1.c: Likewise.
34617 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34618 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34619 Replace ASM_TYPE_DIRECTIVE with .type.
34620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34621 * sysdeps/i386/sysdep.h: Likewise.
34622 * sysdeps/x86_64/sysdep.h: Likewise.
34623 * sysdeps/sh/sysdep.h: Likewise.
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34625 Do not define ASM_TYPE_DIRECTIVE.
34626 * sysdeps/powerpc/sysdep.h: Likewise.
34627 * sysdeps/powerpc/powerpc32/sysdep.h:
34628 Replace ASM_TYPE_DIRECTIVE with .type.
34629 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34630 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34631 * sysdeps/i386/fpu/e_powf.S: Likewise.
34632 * sysdeps/i386/fpu/e_expl.S: Likewise.
34633 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34635 * sysdeps/i386/fpu/e_pow.S: Likewise.
34636 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34638 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34639 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34640 * sysdeps/i386/fpu/e_log2.S: Likewise.
34641 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34643 * sysdeps/i386/fpu/e_powl.S: Likewise.
34644 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34645 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34646 * sysdeps/i386/fpu/e_logl.S: Likewise.
34647 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34652 * sysdeps/i386/fpu/e_log.S: Likewise.
34653 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34654 * sysdeps/i386/fpu/e_logf.S: Likewise.
34655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34657 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34658 * sysdeps/i386/fpu/e_log10.S: Likewise.
34659 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34661 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34662 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34663 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34665 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34666 * sysdeps/i386/i686/strtok.S: Likewise.
34667 * sysdeps/i386/i386-mcount.S: Likewise.
34668 * sysdeps/i386/strtok.S: Likewise.
34669 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34673 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34674 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34675 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34676 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34678 * sysdeps/x86_64/_mcount.S: Likewise.
34679 * sysdeps/x86_64/strtok.S: Likewise.
34680 * sysdeps/sh/_mcount.S: Likewise.
34682 2012-08-01 Roland McGrath <roland@hack.frob.com>
34684 * libio/iofopen.c: Include <fcntl.h>.
34685 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34686 (_IO_fopen64, fopen64): Define as aliases.
34687 * libio/iofopen64.c: Include <fcntl.h>.
34688 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34689 Conditionalize body on this.
34690 * sysdeps/wordsize-64/iofopen.c: File removed.
34691 * sysdeps/wordsize-64/iofopen64.c: File removed.
34693 2012-08-01 Marek Polacek <polacek@redhat.com>
34695 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34696 Use dlfcn directly instead of a variable.
34697 (binfmt-subdir): Do not define.
34700 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34703 Remove all definitions.
34704 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34705 <kernel-features.h>.
34706 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34707 (miss_F_GETOWN_EX): Remove all definitions.
34708 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34710 [!__ASSUME_FCNTL64]: Remove conditional code.
34711 [__ASSUME_FCNTL64]: Make code unconditional.
34712 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34713 <kernel-features.h>.
34714 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34715 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34716 (lockf64) [__NR_fcntl64]: Make code unconditional.
34717 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34719 * sysdeps/unix/sysv/linux/kernel-features.h
34720 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34721 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34722 Make code unconditional.
34723 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34724 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34726 [__NR_vfork]: Make code unconditional.
34727 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34728 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34730 [__NR_vfork]: Make code unconditional.
34731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34734 2012-08-01 Roland McGrath <roland@hack.frob.com>
34736 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34737 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34739 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34740 Define mkstemp64 as an alias.
34741 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34742 Define mkstemps64 as an alias.
34743 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34744 Define mkostemp64 as an alias.
34745 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34746 Define mkostemps64 as an alias.
34747 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34748 Conditionalize body on this.
34749 * misc/mkostemp64.c: Likewise.
34750 * misc/mkostemps64.c: Likewise.
34751 * misc/mkstemps64.c: Likewise.
34752 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34753 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34754 * sysdeps/wordsize-64/mkostemp.c: File removed.
34755 * sysdeps/wordsize-64/mkstemp.c: File removed.
34756 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34762 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34763 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34764 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34765 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34767 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34768 compat_symbol macros from <shlib-compat.h> rather than the underlying
34769 default_symbol_version and symbol_version macros, so that DEFAULT
34770 lines in shlib-versions are respected.
34771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34773 2012-08-01 Florian Weimer <fweimer@redhat.com>
34775 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34776 Declare with warn_unused_result.
34777 (setgid, setregid, setegid, setresgid): Likewise.
34778 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34780 * WUR-REPORT: Remove set*id functions.
34782 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34784 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34786 2012-07-31 Roland McGrath <roland@hack.frob.com>
34789 * include/sys/socket.h (__libc_accept, __libc_accept4):
34790 Add attribute_hidden.
34791 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34793 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34795 * inet/getnetgrent_r.c (setup): Likewise.
34797 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34799 2012-07-31 David S. Miller <davem@davemloft.net>
34801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34803 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34806 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34807 value between 1.0 and 2.0 and smaller part has absolute value less
34809 * math/s_clog10.c (__clog10): Likewise.
34810 * math/s_clog10f.c (__clog10f): Likewise.
34811 * math/s_clog10l.c (__clog10l): Likewise.
34812 * math/s_clogf.c (__clogf): Likewise.
34813 * math/s_clogl.c (__clogl): Likewise.
34814 * math/libm-test.inc (clog_test): Add more tests.
34815 (clog10_test): Likewise.
34816 * sysdeps/i386/fpu/libm-test-ulps: Update.
34817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34819 2012-07-31 Florian Weimer <fweimer@redhat.com>
34821 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34822 Exit with zero in case no suitable GID is found, and write a
34823 message to standard error.
34825 2012-07-30 Roland McGrath <roland@hack.frob.com>
34827 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34829 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34830 (MAXPATHLEN): Removed.
34831 (NOGROUP, NODEV): New macros.
34832 (setbit, clrbit, isset, isclr): New macros.
34833 (howmany, roundup, powerof2): New macros.
34834 (DEV_BSIZE): New macro.
34836 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34837 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34839 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34840 definition on [!__NO_LONG_DOUBLE_MATH].
34842 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34843 PTR_MANGLE and PTR_DEMANGLE.
34845 * socket/accept4.c (accept4): Rename to __libc_accept4.
34846 Define accept4 as a weak alias.
34848 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34849 on [_DIRENT_HAVE_D_TYPE].
34850 * io/ftw.c (ftw_dir): Likewise.
34852 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34854 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34856 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34857 Use the BSD numbers rather than the arbitrary ones we had.
34858 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34859 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34860 (SIGXCPU, SIGXFSZ): New macros.
34863 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34864 initializer on [_LIBC_REENTRANT].
34866 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34867 definitions inside [_POSIX_MAPPED_FILES].
34869 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34871 * dirent/opendir.c: Include <fcntl.h>.
34873 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34874 (__libc_getspecific): Likewise.
34875 (__libc_key_create): Likewise.
34877 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34878 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34879 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34880 (tmpfile64): Define as alias.
34881 * sysdeps/wordsize-64/tmpfile.c: File removed.
34882 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34883 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34884 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34886 * stdio-common/vfscanf.c: Include <stdbool.h>.
34887 * nss/makedb.c: Likewise.
34888 * stdio-common/_i18n_number.h: Likewise.
34889 * argp/argp-help.c: Likewise.
34890 * posix/wordexp.c: Likewise.
34891 * sysdeps/posix/spawni.c: Likewise.
34892 * nss/nss_files/files-initgroups.c: Likewise.
34893 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34894 * nss/nss_files/files-initgroups.c: Likewise.
34895 * nss/nss_db/db-netgrp.c: Likewise.
34896 * nss/nss_db/db-initgroups.c: Likewise.
34897 * io/fchmodat.c: Include <sys/stat.h>.
34899 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34900 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34902 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34905 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34906 Add multiple inclusion protection.
34908 2012-07-27 David S. Miller <davem@davemloft.net>
34910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34912 2012-07-27 Gary Benson <gbenson@redhat.com>
34915 * elf/rtld.c: Include <stap-probe.h>.
34916 (dl_main): Added static probes "init_start" and "init_complete".
34917 * elf/dl-load.c: Include <stap-probe.h>.
34918 (lose): Take new parameter "nsid".
34919 Added static probe "map_failed".
34920 (_dl_map_object_from_fd): Pass namespace id to lose.
34921 Added static probe "map_start".
34922 (open_verify): Pass namespace id to lose.
34923 * elf/dl-open.c: Include <stap-probe.h>.
34924 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34925 and "reloc_complete".
34926 * elf/dl-close.c: Include <stap-probe.h>.
34927 (_dl_close_worker): Added static probes "unmap_start" and
34929 * elf/rtld-debugger-interface.txt: New file documenting the above.
34931 2012-07-26 Roland McGrath <roland@hack.frob.com>
34933 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34934 rather than a string variable.
34935 * sunrpc/rpc_main.c (h_output): Likewise.
34936 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34938 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34940 * inet/check_native.c: New file.
34942 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34945 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34946 if larger part has absolute value 1.0.
34947 * math/s_clog10.c (__clog10): Likewise.
34948 * math/s_clog10f.c (__clog10f): Likewise.
34949 * math/s_clog10l.c (__clog10l): Likewise.
34950 * math/s_clogf.c (__clogf): Likewise.
34951 * math/s_clogl.c (__clogl): Likewise.
34952 * math/libm-test.inc (clog_test): Add more tests.
34953 (clog10_test): Likewise.
34954 * sysdeps/i386/fpu/libm-test-ulps: Update.
34955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34957 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34958 (pltexit): Likewise.
34959 (La_regs): Likewise.
34960 (La_retval): Likewise.
34961 (int_retval): Likewise.
34962 Update #error for removed macros to refer only to definitions in
34964 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34966 (pltexit): Likewise.
34967 (La_regs): Likewise.
34968 (La_retval): Likewise.
34969 (int_retval): Likewise.
34970 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34972 (pltexit): Likewise.
34973 (La_regs): Likewise.
34974 (La_retval): Likewise.
34975 (int_retval): Likewise.
34976 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34978 (pltexit): Likewise.
34979 (La_regs): Likewise.
34980 (La_retval): Likewise.
34981 (int_retval): Likewise.
34982 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34984 (pltexit): Likewise.
34985 (La_regs): Likewise.
34986 (La_retval): Likewise.
34987 (int_retval): Likewise.
34988 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34990 (pltexit): Likewise.
34991 (La_regs): Likewise.
34992 (La_retval): Likewise.
34993 (int_retval): Likewise.
34994 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34996 (pltexit): Likewise.
34997 (La_regs): Likewise.
34998 (La_retval): Likewise.
34999 (int_retval): Likewise.
35000 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35001 macro definitions in tst-audit.h.
35002 * sysdeps/i386/tst-audit.h: New file.
35003 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35004 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35005 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35006 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35007 * sysdeps/sh/tst-audit.h: Likewise.
35008 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35009 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35010 * sysdeps/x86_64/tst-audit.h: Likewise.
35012 2012-07-26 Andreas Jaeger <aj@suse.de>
35014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35017 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35018 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35019 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35021 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35022 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35023 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35025 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35028 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35030 (si_call_addr, si_syscall, si_arch): Define new macro.
35031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35033 (si_call_addr, si_syscall, si_arch): Define new marcro.
35034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35036 (si_call_addr, si_syscall, si_arch): Define new macro.
35037 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35039 (si_call_addr, si_syscall, si_arch): Define new macro.
35041 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35045 Change to 2.4.21 where previously 2.4.1.
35046 * sysdeps/unix/sysv/linux/configure: Regenerated.
35047 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35048 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35049 Linux kernel version.
35050 (__ASSUME_STD_AUXV): Remove.
35051 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35053 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35054 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35055 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35056 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35057 (__ASSUME_NETLINK_SUPPORT): Likewise.
35058 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35059 (__no_netlink_support): Remove conditional definition.
35060 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35062 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35063 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35064 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35065 (if_nameindex_ioctl): Remove.
35066 (if_nameindex_netlink): Do not handle __no_netlink_support.
35067 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35069 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35070 Remove conditional code.
35071 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35073 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35075 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35076 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35077 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35079 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35080 [!__ASSUME_STD_AUXV]: Remove conditional code.
35081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35082 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35083 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35085 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35086 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35088 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35090 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35091 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35093 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35095 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35098 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35101 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35102 code unconditional.
35103 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35105 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35107 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35110 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35112 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35115 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35116 code unconditional.
35117 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35119 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35121 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35124 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35125 code unconditional.
35126 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35128 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35130 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35133 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35135 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35136 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35137 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35138 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35139 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35140 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35141 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35142 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35143 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35144 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35145 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35146 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35147 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35148 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35150 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35153 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35155 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35156 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35159 2012-07-25 Florian Weimer <fweimer@redhat.com>
35161 * Versions.def: Add GLIBC_2.17.
35162 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35163 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35164 Introduce __libc_secure_getenv.
35165 * stdlib/Versions (2.17): Add secure_getenv
35166 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35167 * stdlib/secure-getenv.c: Rename __secure_getenv to
35168 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35169 symbol __secure_getenv for GLIBC_2.0.
35170 * stdlib/tst-secure-getenv.c: New.
35171 * stdlib/Makefile (tests): Add testcase.
35172 * manual/startup.texi (Environment Access): Document
35174 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35175 __libc_secure_getenv.
35176 * inet/ruserpass.c (ruserpass): Likewise.
35177 * malloc/mtrace.c (mtrace): Likewise.
35178 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35179 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35180 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35181 * sysdeps/posix/tempname.c: Likewise. Evaluate
35182 HAVE_SECURE_GETENV.
35183 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35184 __secure_getenv to __libc_secure_getenv.
35185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35198 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35201 (struct La_i86_retval): Likewise.
35202 (struct La_x86_64_regs): Likewise.
35203 (struct La_x86_64_retval): Likewise.
35204 (struct La_x32_regs): Likewise.
35205 (struct La_x32_retval): Likewise.
35206 (struct La_ppc32_regs): Likewise.
35207 (struct La_ppc32_retval): Likewise.
35208 (struct La_ppc64_regs): Likewise.
35209 (struct La_ppc64_retval): Likewise.
35210 (struct La_sh_regs): Likewise.
35211 (struct La_sh_retval): Likewise.
35212 (struct La_s390_32_regs): Likewise.
35213 (struct La_s390_32_retval): Likewise.
35214 (struct La_s390_64_regs): Likewise.
35215 (struct La_s390_64_retval): Likewise.
35216 (struct La_sparc32_regs): Likewise.
35217 (struct La_sparc32_retval): Likewise.
35218 (struct La_sparc64_regs): Likewise.
35219 (struct La_sparc64_retval): Likewise.
35220 (struct audit_ifaces): Remove architecture-specific pltenter and
35222 * sysdeps/i386/ldsodefs.h: New file.
35223 * sysdeps/powerpc/ldsodefs.h: Likewise.
35224 * sysdeps/s390/ldsodefs.h: Likewise.
35225 * sysdeps/sh/ldsodefs.h: Likewise.
35226 * sysdeps/sparc/ldsodefs.h: Likewise.
35227 * sysdeps/x86_64/ldsodefs.h: Likewise.
35229 2012-07-25 Marek Polacek <polacek@redhat.com>
35232 * math/libm-test.inc (yn_test): Add another test.
35233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35234 to ERANGE when the result is +-Inf.
35235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35236 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35237 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35238 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35240 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35242 * conform/data/time.h-data (NULL): Use macro-constant. Require
35244 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35246 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35248 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35250 * configure.in <sysdeps resolving>: Correct printing
35252 * configure: Regenerate.
35254 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35256 * math/w_ilogb.c: Include <limits.h>.
35257 * math/w_ilogbl.c: Likewise.
35259 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35261 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35262 va_copy. Document allowing for unavailable va_copy only as
35263 pre-C99 compatibility.
35264 * manual/string.texi (Copying and Concatenation): Use va_copy
35265 instead of __va_copy in concat example.
35267 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35269 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35270 (__sendto): Use create_address_port. Initialize APORT and deallocate
35273 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35274 with O_NOLINK passed to __file_name_lookup.
35276 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35277 with O_NOLINK passed to __file_name_lookup.
35279 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35280 negative N or less than NGIDS.
35282 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35283 type to string_t. Set ERANGE as errno and return it if NAME is not big
35284 enough. Use memcpy instead of strncpy.
35286 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35288 * elf/Makefile (check-data): Remove.
35289 (localplt.data): New vpath directive.
35290 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35291 instead of $(check-data).
35292 * scripts/data/localplt-generic.data: Move to ...
35293 * sysdeps/generic/localplt.data: ... here.
35294 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35295 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35296 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35299 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35302 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35305 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35308 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35311 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35315 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35317 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35318 PPC32 and PPC64 files.
35319 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35320 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35322 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35324 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35325 __makecontext_ret to ...
35326 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35327 ... here and call exit if uc_link is NULL. New file.
35328 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35329 __makecontext_ret.S.
35330 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35331 __makecontext_ret to ...
35332 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35333 ... here and call exit if uc_link is NULL. New file.
35334 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35335 __makecontext_ret.S.
35337 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35339 * elf/elf.h (R_390_IRELATIVE): New definition.
35340 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35341 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35342 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35344 (elf_machine_lazy_rel): Likewise.
35345 * sysdeps/s390/dl-irel.h: New file.
35346 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35347 * sysdeps/s390/s390-64/memset.S: New asm code.
35348 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35349 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35351 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35352 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35353 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35355 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35356 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35357 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35358 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35359 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35360 * sysdeps/s390/s390-32/memset.S: New asm code.
35361 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35363 2012-07-17 Marek Polacek <polacek@redhat.com>
35366 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35367 * sysdeps/s390/s390-64/configure.in: Likewise.
35368 * sysdeps/sparc/configure.in: Likewise.
35369 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35370 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35371 * sysdeps/i386/configure.in: Likewise.
35372 * sysdeps/x86_64/configure.in: Likewise.
35373 * sysdeps/sh/configure.in: Likewise.
35374 * sysdeps/s390/s390-32/configure: Regenerated.
35375 * sysdeps/s390/s390-64/configure: Likewise.
35376 * sysdeps/x86_64/configure: Likewise.
35377 * sysdeps/sh/configure: Likewise.
35378 * sysdeps/powerpc/powerpc64/configure: Likewise.
35379 * sysdeps/powerpc/powerpc32/configure: Likewise.
35380 * sysdeps/sparc/configure: Likwise.
35381 * sysdeps/i386/configure: Likewise.
35383 * elf/dl-open.c: Comment fixes.
35385 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35387 * Makefile [CXX] (check-data): Remove.
35388 [CXX] (c++-types.data): New vpath directive.
35389 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35390 vpath. Do not allow for C++ type data being missing.
35391 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35392 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35393 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35394 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35395 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35396 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35397 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35400 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35403 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35406 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35409 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35412 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35415 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35418 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35421 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35422 definitions to architecture-specific files.
35423 (TLS_IE): Likewise.
35424 (TLS_LD): Likewise.
35425 (TLS_GD): Likewise.
35426 * sysdeps/i386/tls-macros.h: New file.
35427 * sysdeps/powerpc/tls-macros.h: Likewise.
35428 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35429 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35430 * sysdeps/sh/tls-macros.h: Likewise.
35431 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35432 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35433 * sysdeps/x86_64/tls-macros.h: Likewise.
35435 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35437 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35438 zero value for regular exit case.
35440 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35441 (__start_context): Preserve zero value for regular exit case.
35443 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35444 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35446 * manual/setjmp.texi (setcontext): Clarify normal process
35447 termination when uc_link is the null pointer.
35448 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35451 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35453 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35454 preprocessor. Test for each exception mask separately.
35456 2012-07-16 Andreas Jaeger <aj@suse.de>
35458 * po/ru.po: Update from translation team.
35460 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35462 * conform/data/string.h-data (NULL): Use macro-constant. Require
35464 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35465 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35466 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35467 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35470 2012-07-13 Andreas Jaeger <aj@suse.de>
35472 * po/fr.po: Update from translation team.
35474 2012-07-12 Marek Polacek <polacek@redhat.com>
35477 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35481 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35485 Change to 2.4.1 where previously 2.4.0.
35486 * sysdeps/unix/sysv/linux/configure: Regenerated.
35487 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35488 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35490 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35491 (__ASSUME_AT_CLKTCK): Remove.
35492 (__ASSUME_AT_PAGESIZE): Likewise.
35493 (__ASSUME_AT_XID): Likewise.
35494 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35495 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35496 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35498 (HAVE_AUX_PAGESIZE): Likewise.
35499 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35500 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35501 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35503 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35507 the temporary buffer used to invoke __gethostbyname2_r,
35508 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35509 host_data / struct gaih_addrtuple.
35510 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35511 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35512 header file nss/nsswitch.h.
35513 * nss/nsswitch.h (global scope): Add definition of implementation
35514 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35515 resolv/nss_dns/dns-host.c).
35517 2012-07-11 Andreas Jaeger <aj@suse.de>
35519 * po/fr.po: Update from translation team.
35521 * po/sv.po: Update from translation team
35522 * po/fr.po: Another update from translation team.
35524 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35527 for subnormals or multiply small sinh result by itself.
35528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35531 2012-07-11 David S. Miller <davem@davemloft.net>
35533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35535 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35538 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35539 (INTERNAL_MARK): Shift it here.
35541 2012-07-10 Marek Polacek <polacek@redhat.com>
35544 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35545 libc_cv_asm_global_directive with .globl.
35546 * configure: Regenerated.
35547 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35549 * sysdeps/i386/configure: Regenerated.
35550 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35552 * sysdeps/x86_64/configure: Regenerated.
35553 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35554 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35555 * elf/tst-unique2mod2.c: Likewise.
35556 * elf/tst-unique2mod1.c: Likewise.
35557 * elf/tst-unique1mod2.c: Likewise.
35558 * elf/tst-unique1mod1.c: Likewise.
35559 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35560 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35562 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35563 * sysdeps/mach/sysdep.h: Likewise.
35564 * sysdeps/i386/sysdep.h: Likewise.
35565 * sysdeps/i386/i386-mcount.S: Likewise.
35566 * sysdeps/x86_64/_mcount.S: Likewise.
35567 * sysdeps/x86_64/sysdep.h: Likewise.
35568 * sysdeps/sh/_mcount.S: Likewise.
35569 * sysdeps/sh/sysdep.h: Likewise.
35570 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35571 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35572 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35573 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35574 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35575 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35576 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35577 * locale/localeinfo.h: Likewise.
35578 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35579 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35581 2012-07-09 Roland McGrath <roland@hack.frob.com>
35584 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35586 * manual/message.texi (The Uniforum approach): Likewise.
35587 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35588 (glibc iconv Implementation): Likewise.
35590 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35593 * math/s_clog.c (__clog): Avoid scaling a value down where that
35594 could result in underflow.
35595 * math/s_clog10.c (__clog10): Likewise.
35596 * math/s_clog10f.c (__clog10f): Likewise.
35597 * math/s_clog10l.c (__clog10l): Likewise.
35598 * math/s_clogf.c (__clogf): Likewise.
35599 * math/s_clogl.c (__clogl): Likewise.
35600 * math/libm-test.inc (clog_test): Add more tests.
35601 (clog10_test): Likewise.
35602 * sysdeps/i386/fpu/libm-test-ulps: Update.
35603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35605 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35608 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35609 by 7 not 8 to examine high bit of fractional part.
35612 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35613 for call to __mcount_internal.
35614 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35615 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35616 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35618 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35621 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35622 approximation for values within 0x1p-13f of an odd multiple of
35624 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35625 exception. Add more tests.
35626 * sysdeps/i386/fpu/libm-test-ulps: Update.
35629 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35630 inputs and return -1 for them. Do not check for +Inf in case not
35631 reachable for +Inf.
35632 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35633 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35635 and return -1 for them. Do not check for +Inf in case not
35636 reachable for +Inf.
35637 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35640 and return -1 for them. Do not check for +Inf in case not
35641 reachable for +Inf.
35642 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35643 spurious underflow.
35644 * sysdeps/i386/fpu/libm-test-ulps: Update.
35645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35647 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35649 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35651 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35655 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35656 could result in spurious underflow. Scale down values above
35657 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35658 * math/s_csqrtf.c (__csqrtf): Likewise.
35659 * math/s_csqrtl.c (__csqrtl): Likewise.
35660 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35661 spurious underflow.
35662 * sysdeps/i386/fpu/libm-test-ulps: Update.
35663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35665 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35667 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35669 * catgets/xopen-msg.awk: New file.
35670 * catgets/xopen-msg.sed: Removed.
35672 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35674 * intl/po2test.awk: New file.
35675 * intl/po2test.sed: Removed.
35677 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35680 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35681 or multiply small sinh result by itself.
35682 * math/s_ctanf.c (__ctanf): Likewise.
35683 * math/s_ctanh.c (__ctanh): Likewise.
35684 * math/s_ctanhf.c (__ctanhf): Likewise.
35685 * math/s_ctanhl.c (__ctanhl): Likewise.
35686 * math/s_ctanl.c (__ctanl): Likewise.
35687 * math/libm-test.inc (ctan_test_tonearest): New function.
35688 (ctan_test_towardzero): Likewise.
35689 (ctan_test_downward): Likewise.
35690 (ctan_test_upward): Likewise.
35691 (ctanh_test_tonearest): Likewise.
35692 (ctanh_test_towardzero): Likewise.
35693 (ctanh_test_downward): Likewise.
35694 (ctanh_test_upward): Likewise.
35695 (main): Call these new functions.
35696 * sysdeps/i386/fpu/libm-test-ulps: Update.
35697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35699 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35701 * .gitignore: Delete /ports entry.
35703 2012-07-03 Andreas Jaeger <aj@suse.de>
35705 * po/bg.po: Update from translation team.
35706 * po/cs.po: Likewise.
35707 * po/de.po: Likewise.
35708 * po/hr.po: Likewise.
35709 * po/nl.pl: Likewise.
35710 * po/pl.po: Likewise.
35711 * po/vi.po: Likewise.
35713 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35715 * Makeconfig [!+link] (+link-before-libc): New variable.
35716 [!+link] (+link-after-libc): Likewise.
35717 [!+link] (+link-tests): Likewise.
35718 [!+link] (+link): Define in terms of $(+link-before-libc) and
35719 $(+link-after-libc).
35720 [!+link-static] (+link-static-before-libc): New variable.
35721 [!+link-static] (+link-static-after-libc): Likewise.
35722 [!+link-static] (+link-static-tests): Likewise.
35723 [!+link-static] (+link-static): Define in terms of
35724 $(+link-static-before-libc) and $(+link-static-after-libc).
35725 [build-shared] (link-libc-before-gnulib): New variable.
35726 [build-shared] (link-libc-tests): Likewise.
35727 [build-shared] (link-libc): Define in terms of
35728 $(link-libc-before-gnulib).
35729 [!build-shared] (link-libc-tests): New variable.
35730 (link-libc-static-tests): New variable.
35731 [!gnulib] (gnulib-arch): New variable.
35732 [!gnulib] (gnulib-tests): Likewise.
35733 [!gnulib] (static-gnulib-arch): Likewise.
35734 [!gnulib] (static-gnulib-tests): Likewise.
35735 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35736 Define with "=" instead of ":=".
35737 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35738 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35739 * Rules (binaries-all-notests): New variable.
35740 (binaries-all-tests): Likewise.
35741 (binaries-static-notests): Likewise.
35742 (binaries-static-tests): Likewise.
35743 (binaries-all): Define using $(binaries-all-notests) and
35744 $(binaries-all-tests).
35745 (binaries-static): Define using $(binaries-static-notests) and
35746 $(binaries-static-tests).
35747 (binaries-shared-tests): New variable.
35748 (binaries-shared-notests): Likewise.
35749 (binaries-shared): Remove variable.
35750 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35751 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35752 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35753 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35754 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35755 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35756 * elf/Makefile (sln-modules): New variable.
35757 (extra-objs): Add $(sln-modules:=.o).
35758 (ldconfig-modules): Add static-stubs.
35759 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35760 * elf/static-stubs.c: New file.
35763 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35764 by 7 not 8 to examine high bit of fractional part. Use volatile
35765 variables when splitting into final array of floats if
35766 __FLT_EVAL_METHOD__ != 0.
35767 * math/libm-test.inc (cos_test): Add another test.
35768 (sin_test): Likewise.
35769 * sysdeps/i386/fpu/libm-test-ulps: Update.
35772 * math/libm-test.inc (cosh_test): Add more tests.
35774 * version.h (RELEASE): Set to "development".
35775 (VERSION): Set to "2.16.90".
35777 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35779 * NEWS: Update copyright. Remove last-updated date.
35780 Mention math library bug fixes and timezone data changes.
35781 * README: Mention GNU/Hurd, x32, and HPPA support status.
35783 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35785 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35787 2012-06-27 Andreas Jaeger <aj@suse.de>
35789 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35791 2012-06-25 Andreas Jaeger <aj@suse.de>
35793 * sysdeps/s390/fpu/libm-test-ulps: Update.
35795 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35796 Thomas Schwinge <thomas@codesourcery.com>
35798 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35799 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35803 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35805 * sysdeps/mach/start.c: Remove file.
35806 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35807 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35808 * sysdeps/sh/init-first.c: Likewise.
35810 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35811 registers for frame unwinding purposes, add CFI directives.
35812 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35813 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35814 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35817 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35818 __fortify_fail returning.
35819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35821 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35822 sysdeps/sh/____longjmp_chk.S.
35823 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35824 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35825 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35826 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35828 * sysdeps/sh/abort-instr.h: New file.
35829 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35830 process in case exit returns.
35832 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35833 initialize the GOT register before use.
35835 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35836 calculation of ARGC > 4.
35838 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35839 meaningful names to some local labels.
35841 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35842 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35844 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35845 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35846 (__arch_compare_and_exchange_val_16_acq): Likewise.
35847 (__arch_compare_and_exchange_val_32_acq): Likewise.
35848 (atomic_exchange_and_add): Fix gUSA sequence.
35849 (atomic_add): Likewise.
35850 (atomic_add_negative): Likewise.
35851 (atomic_add_zero): Likewise.
35852 (atomic_bit_test_set): Likewise.
35854 2012-06-22 Andreas Schwab <schwab@redhat.com>
35857 * include/link.h (struct link_map): Add l_free_initfini.
35858 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35860 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35861 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35862 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35865 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35867 * configure.in: Use AC_LANG_SOURCE.
35868 * configure: Regenerate.
35870 2012-06-22 Roland McGrath <roland@hack.frob.com>
35872 * configure.in (libc_cv_localstatedir): New substituted variable.
35873 * configure: Regenerated.
35874 * config.make.in (localstatedir): New variable, substituted from
35875 libc_cv_localstatedir.
35876 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35877 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35878 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35879 * sysdeps/gnu/configure: Regenerated.
35881 2012-06-21 Jeff Law <law@redhat.com>
35884 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35885 free. Simplify list management for _LIBC case.
35887 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35890 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35891 Clear sign bit of 64-bit integer value before comparing against
35894 * sysdeps/mach/configure: Regenerated.
35896 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35899 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35901 2012-06-21 Jeff Law <law@redhat.com>
35904 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35905 uint16_t for elements in the "seen" array to avoid char overflows.
35906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35907 * elf/dl-open.c (dl_open_worker): Likewise.
35909 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35911 * scripts/list-sources.sh: Scan PORTS for translations.
35912 * po/libc.pot: Regenerated.
35914 2012-06-21 Andreas Jaeger <aj@suse.de>
35917 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35919 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35920 * bits/byteswap-16.h (__bswap_16): Likewise.
35921 * bits/byteswap.h (__bswap_constant_16): Likewise.
35923 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35926 * sysdeps/i386/fpu_control.h: Removed.
35927 * sysdeps/x86_64/fpu_control.h: Moved to ...
35928 * sysdeps/x86/fpu_control.h: Here.
35930 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35931 (_FPU_SETCW): Likewise.
35933 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35936 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35937 * sysdeps/x86/fpu/bits/mathinline.h: This.
35938 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35942 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35943 functions if __x86_64__ is defined.
35945 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35947 * string/endian.h: Add !__ASSEMBLER__ condition for including
35948 conversion interfaces.
35950 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35954 of ABS(x) in calculating zero to negative powers other than odd
35956 * math/libm-test.inc (pow_test): Add more tests.
35958 2012-06-15 Andreas Jaeger <aj@suse.de>
35960 * manual/contrib.texi (Contributors): Update entry of Liubov
35961 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35964 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35966 * string/string.h: Add __wur to GNU version of strerror_r.
35968 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35971 * string/Makefile (tests): Add tst-strtok_r.
35972 * string/tst-strtok_r.c: New file.
35973 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35974 RAX_LP/RDX_LP on SAVE_PTR.
35976 2012-06-14 Roland McGrath <roland@hack.frob.com>
35978 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35980 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35982 * libm_test.inc (csqrt_test): Allow more spurious underflow
35984 (j0_test): Likewise.
35985 (j1_test): Likewise.
35986 (y0_test): Likewise.
35987 (y1_test): Likewise.
35989 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35991 * po/Makefile (libc.pot): Use UTF-8 charset.
35993 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35996 Suppress sign-conversion warning from FD_SET.
35997 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35998 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35999 not unsigned long int.
36000 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36002 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36006 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36007 __extern_always_inline instead of __extern_inline.
36008 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36009 (__signbit): Likewise.
36010 (__signbitl): Support C++ namespace.
36011 (lrintf): New inline function.
36013 (llrintf): Likewise.
36014 (llrint): Likewise.
36024 (floorf): Likewise.
36025 (nearbyint): Likewise.
36026 (nearbyintf): Likewise.
36028 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36030 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36031 non-default versions.
36033 2012-06-11 Roland McGrath <roland@hack.frob.com>
36036 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36038 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36040 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36041 (FE_UPWARD, FE_DOWNWARD): Don't define.
36042 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36043 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36047 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36048 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36050 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36052 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36054 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36055 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36057 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36060 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36061 * sysdeps/i386/fpu/Implies: New file.
36062 * sysdeps/x86_64/fpu/Implies: Likewise.
36063 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36064 * sysdeps/x86/fpu/bits/fenv.h: This.
36066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36069 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36072 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36073 character 0xffff that matches the last element of the
36076 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36081 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36084 values higher than 25.6283.
36086 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36089 subnormal exponent extraction and add some __builtin_expect.
36090 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36091 Fix for subnormal mantissa calculation.
36093 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36095 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36096 cpu2 is -1 and errno is not ENOSYS.
36098 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36101 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36102 * sysdeps/x86/bits/string.h: This.
36103 * sysdeps/x86_64/bits/string.h: Removed.
36105 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36106 if not compiling for x86-64, but compiling for >= i486.
36108 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36109 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36111 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36112 New macro from Linux kernel 3.4.0.
36113 (FP_XSTATE_MAGIC2): Likewise.
36114 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36115 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36116 (struct _fpx_sw_bytes): New struct.
36117 (struct _xsave_hdr): Likewise.
36118 (struct _ymmh_state): Likewise.
36119 (struct _xstate): Likewise.
36121 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36122 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36124 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36126 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36128 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36129 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36130 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36131 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36132 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36133 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36135 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36138 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36139 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36140 (sysdep_headers): Include sys/platform/ppc.h.
36141 * sysdeps/powerpc/test-gettimebase.c: Test for
36142 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36143 * manual/Makefile (appendices): Include platform.texi.
36144 * manual/contrib.texi (Contributors): Update @node pointers.
36145 * manual/maint.texi (Maintenance): Likewise.
36146 (Platform): New node.
36147 * manual/platform.texi: New file. Document the new features.
36149 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36150 Jakub Jelinek <jakub@redhat.com>
36153 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36154 where __builtin_expect is unavailable.
36156 2012-06-03 David S. Miller <davem@davemloft.net>
36158 * stdlib/longlong.h: Updated from GCC.
36160 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36163 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36164 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36167 (GLIBC_2.16): Likewise.
36169 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36171 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36173 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36176 (default-abi): New variable.
36177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36178 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36180 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36182 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36184 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36187 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36188 definition. Document in comment.
36190 2012-06-01 David S. Miller <davem@davemloft.net>
36192 * stdlib/longlong.h: Updated from GCC.
36194 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36197 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36198 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36199 sys/debugreg.h sys/io.h here.
36200 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36201 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36203 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36204 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36205 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36206 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36207 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36208 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36211 Define only if __x86_64__ is defined.
36213 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36216 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36217 Use int64_t for variable i.
36218 * math/libm-test.inc (fmod_test): Add more tests.
36220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36221 z computation is not scheduled after fetestexcept.
36222 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36223 Use math_force_eval instead of asm to ensure calculation scheduled
36224 before exception test.
36225 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36226 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36228 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36231 computation is not scheduled after fetestexcept.
36233 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36236 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36237 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36239 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36241 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36242 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36244 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36247 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36249 (__WCHAR_MIN): Support __WORDSIZE == 64.
36250 (__WCHAR_MAX): Likewise.
36252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36257 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36260 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36263 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36264 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36266 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36267 Defined to 1 if __x86_64__ isn't defined.
36268 (_STAT_VER_LINUX_OLD): New.
36269 (st_atime): Remove duplicate.
36270 (st_mtime): Likewise.
36271 (st_ctime): Likewise.
36273 2012-05-31 David S. Miller <davem@davemloft.net>
36275 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36278 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36280 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36284 * elf/dl-reloc.c: Include <_itoa.h>.
36285 (_dl_reloc_bad_type): Remove use of INTUSE.
36286 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36287 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36288 * stdio-common/psiginfo.c (psiginfo): Likewise.
36289 * stdio-common/psignal.c (psignal): Likewise.
36290 * string/strsignal.c (strsignal): Likewise.
36291 * include/signal.h (_sys_siglist): Declare hidden proto.
36292 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36293 INTVARDEF with libc_hidden_data_def.
36294 * stdio-common/itoa-udigits.c: Likewise.
36295 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36296 (_itoa_lower_digits_internal): Remove declaration.
36297 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36298 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36299 (_sys_sigabbrev_internal): Remove aliases.
36300 (_sys_siglist): Define hidden alias.
36302 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36307 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36310 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36311 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36313 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36314 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36315 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36316 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36318 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36320 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36321 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36324 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36332 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36334 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36336 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36338 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36339 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36340 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36341 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36343 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36344 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36346 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36347 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36351 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36353 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36354 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36356 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36358 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36360 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36362 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36364 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36366 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36368 * math/math.h (M_El): Use two more decimal places.
36369 (M_LOG2El): Likewise.
36370 (M_LOG10El): Likewise.
36371 (M_LN2l): Likewise.
36372 (M_LN10l): Likewise.
36374 (M_PI_2l): Likewise.
36375 (M_PI_4l): Likewise.
36376 (M_1_PIl): Likewise.
36377 (M_2_PIl): Likewise.
36378 (M_2_SQRTPIl): Likewise.
36379 (M_SQRT2l): Likewise.
36380 (M_SQRT1_2l): Likewise.
36382 2012-05-31 David S. Miller <davem@davemloft.net>
36384 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36385 values between float registers.
36386 * sysdeps/sparc/sparc64/memset.S: Likewise.
36387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36389 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36391 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36392 -D_FORTIFY_SOURCE=1.
36393 (CPPFLAGS-tst-longjmp_chk.c): Define.
36394 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36395 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36396 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36397 CFLAGS-tst-wchar-h.c.
36399 2012-05-31 Marek Polacek <polacek@redhat.com>
36402 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36403 __endmntent_internal): Remove declaration.
36404 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36405 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36406 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36408 2012-05-30 David S. Miller <davem@davemloft.net>
36410 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36411 (___Q_simulate_exceptions): Use real FP ops rather than writing
36413 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36419 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36420 * sysdeps/x86/bits/xtitypes.h: This.
36422 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36423 * sysdeps/x86/bits/wordsize.h: This.
36425 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36426 * sysdeps/x86/bits/huge_vall.h: This.
36428 * sysdeps/i386/bits/select.h: Removed.
36429 * sysdeps/x86_64/bits/select.h: Renamed to ...
36430 * sysdeps/x86/bits/select.h: This.
36432 * sysdeps/i386/bits/setjmp.h: Removed.
36433 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36434 * sysdeps/x86/bits/setjmp.h: This.
36436 * sysdeps/i386/bits/mathdef.h: Removed.
36437 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36438 * sysdeps/x86/bits/mathdef.h: This.
36440 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36443 * include/sys/socket.h (__connect_internal)
36444 (__libc_sa_len_internal): Remove declaration.
36445 (__connect, __libc_sa_len): Declare hidden_proto.
36446 (SA_LEN): Remove use of INTUSE.
36447 * socket/connect.c: Add libc_hidden_def.
36448 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36449 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36450 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36452 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36453 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36454 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36455 of adding _internal alias.
36457 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36460 * sysdeps/i386/bits/link.h: Removed.
36461 * sysdeps/i386/bits/linkmap.h: Likewise.
36462 * sysdeps/x86_64/bits/link.h: Renamed to ...
36463 * sysdeps/x86/bits/link.h: This.
36464 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36465 * sysdeps/x86/bits/linkmap.h: This.
36467 * sysdeps/i386/bits/endian.h: Removed.
36468 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36469 * sysdeps/x86/bits/endian.h: This.
36471 * sysdeps/i386/bits/byteswap.h: Removed.
36472 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36473 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36474 * sysdeps/x86/bits/byteswap.h: This.
36475 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36476 * sysdeps/x86/bits/byteswap-16.h: This.
36477 * sysdeps/i386/Implies: Add x86.
36478 * sysdeps/x86_64/Implies: Likewise.
36480 2012-05-30 David S. Miller <davem@davemloft.net>
36482 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36483 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36484 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36485 (FP_TRAPPING_EXCEPTIONS): Define.
36486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36487 (FP_TRAPPING_EXCEPTIONS): Define.
36488 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36489 subnormals only when inexact has been signalled or underflow
36490 exceptions are enabled.
36491 (_FP_PACK_CANONICAL): Likewise.
36493 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36496 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36497 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36499 2012-05-30 Richard Henderson <rth@twiddle.net>
36501 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36502 with #ifndef NOT_IN_libc.
36504 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36505 marked to avoid plt entry.
36507 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36510 * Makeconfig (default-abi): New macro.
36511 (abi-includes): Likewise.
36512 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36513 $(abi-$(default-abi)-lib-soname) for soname if defined.
36514 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36516 * Makefile (installed-stubs): Likewise.
36517 * include/stubs-biarch.h: Removed.
36518 * scripts/lib-names.awk: Only handle one library at a time.
36519 * scripts/soversions.awk: Remove WORDSIZE support.
36520 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36522 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36524 (syscall-list-default-condition): Likewise.
36525 (syscall-list-default-condition): Likewise.
36526 (syscall-list-includes): Likewise.
36527 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36528 syscall-list-* with abi-*. Handle undefined abi-variants.
36529 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36530 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36531 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36532 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36533 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36534 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36536 (syscall-list-32-options): Likewise.
36537 (syscall-list-32-condition): Likewise.
36538 (syscall-list-64-options): Likewise.
36539 (syscall-list-64-condition): Likewise.
36540 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36542 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36545 (abi-64-ld-soname): New macro.
36546 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36547 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36550 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36551 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36553 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36555 * sysdeps/unix/sysv/linux/kernel-features.h
36556 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36557 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36558 include <kernel-features.h>.
36559 [!__NR_ftruncate64]: Remove conditional code.
36560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36561 [__NR_ftruncate64]: Make code unconditional.
36562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36563 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36564 include <kernel-features.h>.
36565 [!__NR_ftruncate64]: Remove conditional code.
36566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36567 [__NR_ftruncate64]: Make code unconditional.
36568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36570 include <kernel-features.h>.
36571 [!__NR_ftruncate64]: Remove conditional code.
36572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36573 [__NR_ftruncate64]: Make code unconditional.
36574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36576 include <kernel-features.h>.
36577 [!__NR_ftruncate64]: Remove conditional code.
36578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36579 [__NR_ftruncate64]: Make code unconditional.
36580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36582 * configure.in (libc_cv_fpie): Weaken to a compile test using
36583 LIBC_TRY_CC_OPTION.
36584 * configure: Regenerated.
36586 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36601 2012-05-27 David S. Miller <davem@davemloft.net>
36603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36605 (__Q_simulate_exceptions): Return void. Change to simulate
36606 exceptions by writing into the %fsr.
36607 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36608 (__Qp_handle_exceptions): Likewise.
36610 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36611 __Qp_handle_exceptions.
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36613 __Qp_handle_exceptions.
36614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36615 as unused and give dummy FP_RND_NEAREST initializer.
36616 (FP_INHIBIT_RESULTS): Define.
36617 (___Q_simulate_exceptions): Update declaration.
36618 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36621 as unused and give dummy FP_RND_NEAREST initializer.
36622 (__Qp_handle_exceptions): Update declaration.
36623 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36626 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36629 the temporary FPU control word.
36630 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36631 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36632 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36633 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36634 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36635 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36636 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36637 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36638 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36639 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36642 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36644 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36647 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36649 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36650 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36651 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36652 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36654 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36655 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36658 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36660 * po/h.po: Update from translation team.
36662 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36664 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36666 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36667 handling of denormals.
36668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36669 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36670 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36677 2012-05-26 Marek Polacek <polacek@redhat.com>
36680 * math/libm-test.inc (fma_test): Don't always expect underflow
36683 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36686 * elf/tst-execstack.c: Include stackinfo.h.
36687 (do_test): Adjust test case to ensure that pthread_getattr_np
36688 behaviour remains the same after marking stack executable.
36690 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36692 * sysdeps/unix/sysv/linux/kernel-features.h
36693 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36694 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36696 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36697 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36698 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36700 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36701 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36703 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36705 * configure.in: Define the default includes to being none.
36706 * configure: Regenerated.
36708 2012-05-25 Roland McGrath <roland@hack.frob.com>
36710 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36711 * sysdeps/x86_64/setjmp.S: Likewise.
36712 * sysdeps/i386/bsd-setjmp.S: Likewise.
36713 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36714 * sysdeps/i386/setjmp.S: Likewise.
36715 * sysdeps/i386/__longjmp.S: Likewise.
36716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36719 * include/stap-probe.h: New file.
36720 * configure.in: Handle --enable-systemtap.
36721 * configure: Regenerated.
36722 * config.h.in (USE_STAP_PROBE): New #undef.
36723 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36724 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36725 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36727 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36731 to 2.4.0 where earlier.
36732 * sysdeps/unix/sysv/linux/configure: Regenerated.
36733 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36734 <kernel-features.h>.
36735 [__ASSUME_32BITUIDS]: Make code unconditional.
36736 [!__ASSUME_32BITUIDS]: Remove conditional code.
36737 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36738 <kernel-features.h>.
36739 [__ASSUME_32BITUIDS]: Make code unconditional.
36740 [!__ASSUME_32BITUIDS]: Remove conditional code.
36741 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36742 [__ASSUME_32BITUIDS]: Make code unconditional.
36743 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36744 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36745 <kernel-features.h>.
36746 [__ASSUME_32BITUIDS]: Make code unconditional.
36747 [!__ASSUME_32BITUIDS]: Remove conditional code.
36748 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36749 <kernel-features.h>.
36750 [__ASSUME_32BITUIDS]: Make code unconditional.
36751 [!__ASSUME_32BITUIDS]: Remove conditional code.
36752 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36753 <kernel-features.h>.
36754 [__ASSUME_32BITUIDS]: Make code unconditional.
36755 [!__ASSUME_32BITUIDS]: Remove conditional code.
36756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36757 <kernel-features.h>.
36758 [__ASSUME_32BITUIDS]: Make code unconditional.
36759 [!__ASSUME_32BITUIDS]: Remove conditional code.
36760 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36761 <kernel-features.h>.
36762 [__ASSUME_32BITUIDS]: Make code unconditional.
36763 [!__ASSUME_32BITUIDS]: Remove conditional code.
36764 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36765 <kernel-features.h>.
36766 [__ASSUME_32BITUIDS]: Make code unconditional.
36767 [!__ASSUME_32BITUIDS]: Remove conditional code.
36768 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36769 <kernel-features.h>.
36770 [__ASSUME_32BITUIDS]: Make code unconditional.
36771 [!__ASSUME_32BITUIDS]: Remove conditional code.
36772 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36773 <kernel-features.h>.
36774 [__ASSUME_32BITUIDS]: Make code unconditional.
36775 [!__ASSUME_32BITUIDS]: Remove conditional code.
36776 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36777 <kernel-features.h>.
36778 [__ASSUME_32BITUIDS]: Make code unconditional.
36779 [!__ASSUME_32BITUIDS]: Remove conditional code.
36780 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36781 <kernel-features.h>.
36782 [__ASSUME_32BITUIDS]: Make code unconditional.
36783 [!__ASSUME_32BITUIDS]: Remove conditional code.
36784 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36785 <kernel-features.h>.
36786 [__NR_setresgid] (__setresgid): Do not declare.
36787 [__ASSUME_32BITUIDS]: Make code unconditional.
36788 [!__ASSUME_32BITUIDS]: Remove conditional code.
36789 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36790 <kernel-features.h>.
36791 [__NR_setresuid] (__setresuid): Do not declare.
36792 [__ASSUME_32BITUIDS]: Make code unconditional.
36793 [!__ASSUME_32BITUIDS]: Remove conditional code.
36794 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36795 <kernel-features.h>.
36796 [__ASSUME_32BITUIDS]: Make code unconditional.
36797 [!__ASSUME_32BITUIDS]: Remove conditional code.
36798 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36799 <kernel-features.h>.
36800 [__ASSUME_32BITUIDS]: Make code unconditional.
36801 [!__ASSUME_32BITUIDS]: Remove conditional code.
36802 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36803 <kernel-features.h>.
36804 [__ASSUME_32BITUIDS]: Make code unconditional.
36805 [!__ASSUME_32BITUIDS]: Remove conditional code.
36806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36807 <kernel-features.h>.
36808 [__ASSUME_32BITUIDS]: Make code unconditional.
36809 [!__ASSUME_32BITUIDS]: Remove conditional code.
36810 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36811 <kernel-features.h>.
36812 [__ASSUME_32BITUIDS]: Make code unconditional.
36813 [!__ASSUME_32BITUIDS]: Remove conditional code.
36814 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36815 <kernel-features.h>.
36816 [__ASSUME_32BITUIDS]: Make code unconditional.
36817 [!__ASSUME_32BITUIDS]: Remove conditional code.
36818 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36819 <kernel-features.h>.
36820 [__ASSUME_32BITUIDS]: Make code unconditional.
36821 [!__ASSUME_32BITUIDS]: Remove conditional code.
36822 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36823 <kernel-features.h>.
36824 [__ASSUME_32BITUIDS]: Make code unconditional.
36825 [!__ASSUME_32BITUIDS]: Remove conditional code.
36826 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36827 <kernel-features.h>.
36828 [__ASSUME_32BITUIDS]: Make code unconditional.
36829 [!__ASSUME_32BITUIDS]: Remove conditional code.
36830 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36831 <kernel-features.h>.
36832 [__ASSUME_32BITUIDS]: Make code unconditional.
36833 [!__ASSUME_32BITUIDS]: Remove conditional code.
36834 * sysdeps/unix/sysv/linux/kernel-features.h
36835 (__ASSUME_SETRESUID_SYSCALL): Remove.
36836 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36837 (__ASSUME_32BITUIDS): Likewise.
36838 (__ASSUME_LDT_WORKS): Likewise.
36839 (__ASSUME_O_DIRECTORY): Likewise.
36840 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36841 architecture but not kernel version.
36842 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36843 (__ASSUME_MMAP2_SYSCALL): Likewise.
36844 (__ASSUME_STAT64_SYSCALL): Likewise.
36845 (__ASSUME_IPC64): Likewise.
36846 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36847 <kernel-features.h>.
36848 [__ASSUME_32BITUIDS]: Make code unconditional.
36849 [!__ASSUME_32BITUIDS]: Remove conditional code.
36850 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36851 <kernel-features.h>.
36852 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36853 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36854 132096]: Remove conditional code.
36855 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36856 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36857 <kernel-features.h>.
36858 [__ASSUME_32BITUIDS]: Make code unconditional.
36859 [!__ASSUME_32BITUIDS]: Remove conditional code.
36860 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36861 <kernel-features.h>.
36862 [__ASSUME_32BITUIDS]: Make code unconditional.
36863 [!__ASSUME_32BITUIDS]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36865 <kernel-features.h>.
36866 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36868 (__setresgid): Do not declare.
36869 [__ASSUME_32BITUIDS]: Make code unconditional.
36870 [!__ASSUME_32BITUIDS]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36872 <kernel-features.h>.
36873 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36875 (__setresuid): Do not declare.
36876 [__ASSUME_32BITUIDS]: Make code unconditional.
36877 [!__ASSUME_32BITUIDS]: Remove conditional code.
36878 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36879 <kernel-features.h>.
36880 [__ASSUME_32BITUIDS]: Make code unconditional.
36881 [!__ASSUME_32BITUIDS]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36883 <kernel-features.h>.
36884 [__ASSUME_32BITUIDS]: Make code unconditional.
36885 [!__ASSUME_32BITUIDS]: Remove conditional code.
36887 2012-05-25 Richard Henderson <rth@twiddle.net>
36889 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36890 dl_hwcap to ifunc resolver.
36891 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36893 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36894 dl_hwcap to ifunc resolver.
36895 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36897 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36900 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36901 for |x| <= 2**-26, not 2**-57.
36902 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36905 2012-05-24 Jeff Law <law@redhat.com>
36907 * stdio-common/Makefile (tests): Add bug25.
36908 * stdio-common/bug25.c: New test.
36910 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36913 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36914 multiple of MALLOC_ALIGNMENT in size.
36915 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36917 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36919 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36921 (FILENAME_MAX): Use macro-int-constant.
36922 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36923 (_IOFBF): Use macro-int-constant.
36924 (_IOLBF): Likewise.
36925 (_IONBF): Likewise.
36926 (SEEK_CUR): Likewise.
36927 (SEEK_END): Likewise.
36928 (SEEK_SET): Likewise.
36929 (TMP_MAX): Likewise.
36930 (EOF): Use macro-int-constant. Require < 0.
36931 (NULL): Use macro-constant. Require == 0.
36932 (stdin): Require type to be FILE *.
36933 (stdout): Likewise.
36934 (stderr): Likewise.
36935 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36936 macro-int-constant.
36937 (EXIT_SUCCESS): Likewise.
36938 (NULL): Use macro-constant. Require == 0.
36939 (RAND_MAX): Use macro-int-constant.
36940 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36941 [C99-based standards] (strtof): Require function.
36942 [C99-based standards] (strtold): Likewise.
36943 [C99-based standards] (strtoll): Likewise.
36944 [C99-based standards] (strtoull): Likewise.
36945 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36946 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36947 [ISO || ISO99 || ISO11] (math.h): Likewise.
36948 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36949 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36952 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36955 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36956 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36957 * intl/dgettext.c (DCGETTEXT): Likewise.
36958 * intl/gettext.c (DCGETTEXT): Likewise.
36959 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36960 * posix/regex_internal.h (gettext): Likewise.
36961 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36962 Remove declaration.
36963 * include/argz.h (__argz_count_internal)
36964 (__argz_stringify_internal): Remove declaration.
36965 (__argz_count, __argz_stringify): Declare hidden proto.
36966 * intl/dcgettext.c: Remove use of INTDEF.
36967 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36968 * string/argz-stringify.c: Likewise.
36969 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36970 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36971 Declare hidden proto.
36972 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36973 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36974 Declare hidden proto.
36975 * include/stdio.h (__asprintf_internal): Don't declare.
36976 (__asprintf): Don't define as macro. Declare hidden proto.
36977 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36978 (__fsetlocking): Declare hidden proto.
36979 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36980 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36982 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36983 (_IO_setlinebuf): Remove use of INTUSE.
36984 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36985 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36986 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36987 Remove declaration.
36988 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36989 (_IO_do_flush): Remove use of INTUSE.
36990 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36991 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36992 (_IO_adjust_column, _IO_least_wmarker)
36993 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36994 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36995 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36996 (_IO_default_doallocate, _IO_wdefault_doallocate)
36997 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36998 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36999 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37000 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37001 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37002 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37003 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37004 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37005 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37006 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37007 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37008 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37009 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37011 (_IO_flush_all_internal, _IO_adjust_column_internal)
37012 (_IO_default_uflow_internal, _IO_default_finish_internal)
37013 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37014 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37015 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37016 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37017 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37018 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37019 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37020 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37021 (_IO_file_close_internal, _IO_file_close_it_internal)
37022 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37023 (_IO_file_init_internal, _IO_file_attach_internal)
37024 (_IO_file_fopen_internal, _IO_file_read_internal)
37025 (_IO_file_sync_internal, _IO_file_seek_internal)
37026 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37027 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37028 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37029 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37030 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37031 (_IO_list_all_internal, _IO_link_in_internal)
37032 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37033 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37034 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37035 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37036 (_IO_do_write_internal, _IO_padn_internal)
37037 (_IO_getline_info_internal, _IO_getline_internal)
37038 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37039 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37040 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37041 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37042 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37043 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37044 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37045 with libc_hidden_ver, remove use of INTUSE.
37046 * libio/genops.c: Likewise.
37047 * libio/freopen.c: Likewise.
37048 * libio/freopen64.c: Likewise.
37049 * libio/iofclose.c: Likewise.
37050 * libio/iofdopen.c: Likewise.
37051 * libio/iofflush.c: Likewise.
37052 * libio/iofflush_u.c: Likewise.
37053 * libio/iofgets.c: Likewise.
37054 * libio/iofgets_u.c: Likewise.
37055 * libio/iofopen.c: Likewise.
37056 * libio/iofopncook.c: Likewise.
37057 * libio/iofread.c: Likewise.
37058 * libio/iofread_u.c: Likewise.
37059 * libio/ioftell.c: Likewise.
37060 * libio/iofwrite.c: Likewise.
37061 * libio/iogetline.c: Likewise.
37062 * libio/iogets.c: Likewise.
37063 * libio/iogetwline.c: Likewise.
37064 * libio/iopadn.c: Likewise.
37065 * libio/iopopen.c: Likewise.
37066 * libio/ioseekoff.c: Likewise.
37067 * libio/ioseekpos.c: Likewise.
37068 * libio/iosetbuffer.c: Likewise.
37069 * libio/iosetvbuf.c: Likewise.
37070 * libio/ioungetc.c: Likewise.
37071 * libio/ioungetwc.c: Likewise.
37072 * libio/iovdprintf.c: Likewise.
37073 * libio/iovsprintf.c: Likewise.
37074 * libio/iovsscanf.c: Likewise.
37075 * libio/memstream.c: Likewise.
37076 * libio/obprintf.c: Likewise.
37077 * libio/oldfileops.c: Likewise.
37078 * libio/oldiofclose.c: Likewise.
37079 * libio/oldiofdopen.c: Likewise.
37080 * libio/oldiofopen.c: Likewise.
37081 * libio/oldiopopen.c: Likewise.
37082 * libio/oldstdfiles.c: Likewise.
37083 * libio/putc.c: Likewise.
37084 * libio/setbuf.c: Likewise.
37085 * libio/setlinebuf.c: Likewise.
37086 * libio/stdfiles.c: Likewise.
37087 * libio/strops.c: Likewise.
37088 * libio/vasprintf.c: Likewise.
37089 * libio/vscanf.c: Likewise.
37090 * libio/vsnprintf.c: Likewise.
37091 * libio/vswprintf.c: Likewise.
37092 * libio/wfiledoalloc.c: Likewise.
37093 * libio/wfileops.c: Likewise.
37094 * libio/wgenops.c: Likewise.
37095 * libio/wmemstream.c: Likewise.
37096 * libio/wstrops.c: Likewise.
37097 * libio/__fpurge.c: Likewise.
37098 * libio/__fsetlocking.c: Likewise.
37099 * assert/assert.c: Likewise.
37100 * debug/fgets_chk.c: Likewise.
37101 * debug/fgets_u_chk.c: Likewise.
37102 * debug/fread_chk.c: Likewise.
37103 * debug/fread_u_chk.c: Likewise.
37104 * debug/gets_chk.c: Likewise.
37105 * debug/obprintf_chk.c: Likewise.
37106 * debug/vasprintf_chk.c: Likewise.
37107 * debug/vdprintf_chk.c: Likewise.
37108 * debug/vsnprintf_chk.c: Likewise.
37109 * debug/vsprintf_chk.c: Likewise.
37110 * malloc/mtrace.c: Likewise.
37111 * misc/error.c: Likewise.
37112 * misc/syslog.c: Likewise.
37113 * stdio-common/asprintf.c: Likewise.
37114 * stdio-common/fxprintf.c: Likewise.
37115 * stdio-common/getw.c: Likewise.
37116 * stdio-common/isoc99_fscanf.c: Likewise.
37117 * stdio-common/isoc99_scanf.c: Likewise.
37118 * stdio-common/isoc99_vfscanf.c: Likewise.
37119 * stdio-common/isoc99_vscanf.c: Likewise.
37120 * stdio-common/isoc99_vsscanf.c: Likewise.
37121 * stdio-common/printf-prs.c: Likewise.
37122 * stdio-common/printf_fp.c: Likewise.
37123 * stdio-common/printf_fphex.c: Likewise.
37124 * stdio-common/printf_size.c: Likewise.
37125 * stdio-common/putw.c: Likewise.
37126 * stdio-common/scanf.c: Likewise.
37127 * stdio-common/sprintf.c: Likewise.
37128 * stdio-common/tmpfile.c: Likewise.
37129 * stdio-common/vfprintf.c: Likewise.
37130 * stdio-common/vfscanf.c: Likewise.
37131 * stdlib/strfmon_l.c: Likewise.
37132 * sunrpc/openchild.c: Likewise.
37133 * sunrpc/xdr_stdio.c: Likewise.
37134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37135 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37137 2012-05-24 Roland McGrath <roland@hack.frob.com>
37139 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37141 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37142 in the third column, to generate for the shared library an IFUNC
37143 that uses _dl_vdso_vsym.
37144 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37145 * Makeconfig (object-suffixes-noshared): New variable.
37147 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37148 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37149 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37150 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37153 * include/sys/time.h (__gettimeofday): Remove macro.
37154 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37155 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37157 (__gettimeofday): Add libc_hidden_def.
37158 (gettimeofday): Add libc_hidden_weak.
37159 * sysdeps/mach/gettimeofday.c: Likewise.
37160 * sysdeps/posix/gettimeofday.c: Likewise.
37161 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37162 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37164 (__gettimeofday_internal): Remove strong_alias.
37165 (__gettimeofday): Add libc_hidden_def.
37166 (gettimeofday): Add libc_hidden_weak.
37167 * sysdeps/unix/syscalls.list (gettimeofday):
37168 Remove __gettimeofday_internal alias.
37170 2012-05-24 Daniel Jacobowitz <drow@false.org>
37171 H.J. Lu <hongjiu.lu@intel.com>
37174 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37175 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37176 (largebin_index_32_big): New.
37177 (largebin_index): Use it for 16-byte alignment.
37178 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37179 correction with front_misalign.
37181 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37209 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37210 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37212 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37216 * math/libm-test.inc (exp_test): Add test from bug 14036.
37217 (pow_test): Add test from bug 10846.
37219 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37221 (special_function): Do not include flags in test name.
37222 (parse_args): Likewise.
37223 * sysdeps/i386/fpu/libm-test-ulps: Update.
37224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37225 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37231 * math/libm-test.inc ("Philosophy"): Update comment about
37233 (UNDERFLOW_EXCEPTION): New macro.
37234 (UNDERFLOW_EXCEPTION_OK): Likewise.
37235 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37236 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37237 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37238 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37239 (INVALID_EXCEPTION_OK): Update value.
37240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37241 (OVERFLOW_EXCEPTION_OK): Likewise.
37242 (IGNORE_ZERO_INF_SIGN): Likewise.
37243 (test_exceptions): Handle underflow exceptions.
37244 (acos_test): Update for underflow exception expectations.
37245 (cexp_test): Likewise.
37246 (clog_test): Likewise.
37247 (clog10_test): Likewise.
37248 (csqrt_test): Likewise.
37249 (ctan_test): Likewise.
37250 (ctanh_test): Likewise.
37251 (exp_test): Likewise.
37252 (exp10_test): Likewise.
37253 (exp2_test): Likewise.
37254 (expm1_test): Likewise.
37255 (fma_test): Likewise.
37256 (j0_test): Likewise.
37257 (jn_test): Likewise.
37258 (nexttoward_test): Likewise.
37259 (pow_test): Likewise.
37260 (scalbn_test): Likewise.
37261 (scalbln_test): Likewise.
37262 (tan_test): Likewise.
37263 (y1_test): Likewise.
37264 * sysdeps/i386/fpu/libm-test-ulps: Update.
37265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37267 2012-05-23 David S. Miller <davem@davemloft.net>
37269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37270 (__libc_sigaction): Remove unused local variables.
37272 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37274 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37276 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37278 mktime: avoid signed integer overflow
37279 * time/mktime.c (__mktime_internal): Do not mishandle the case
37280 where diff == INT_MIN.
37282 mktime: simplify computation of average
37283 * time/mktime.c (ranged_convert): Use new time_t_avg function
37284 instead of rolling our own (probably-slower) code.
37286 mktime: do not assume signed right shift propagates sign bit
37287 * time/mktime.c (isdst_differ): New static function.
37288 (__mktime_internal): No need to normalize tm_isdst now.
37289 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37292 mktime: merge another wrapv change from gnulib
37293 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37294 from some compilers.
37296 mktime: remove incorrect attempt at unusual arithmetics
37297 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37298 The code didn't really work on such machines anyway.
37299 (TYPE_MINIMUM): Assume two's complement.
37300 (twos_complement_arithmetic): Verify that long_int and time_t
37301 are two's complement (or unsigned, in the latter case).
37303 mktime: check signed shifts on long_int and time_t, too
37304 * time/mktime.c (SHR): Check that shifts work as desired
37305 on the types long_int and time_t too, as SHR is used on
37308 mktime: do not assume 'long' is wide enough
37309 * time/mktime.c (verify): Move decl up.
37310 (long_int): New type.
37311 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37312 to remove assumption in the code that 'long' is wide enough to
37313 store year values. This assumption is not true on x32 and on
37314 some non-glibc platforms.
37316 mktime: merge wrapv change from gnulib
37317 * time/mktime.c (WRAPV): New macro.
37318 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37319 (guess_time_tm, __mktime_internal): Do not assume that signed
37320 integer overflow wraps around; modern compilers generate code
37321 where this assumption is no longer valid.
37323 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37325 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37326 Replace "jmp L(pseudo_end)" with "ret".
37327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37330 2012-05-23 Andreas Jaeger <aj@suse.de>
37332 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37333 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37335 2012-05-23 Andreas Jaeger <aj@suse.de>
37336 Maximilian Attems <max@stro.at>
37338 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37341 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37343 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37344 code so that pseudo_end is just ret and the stack pointer is
37345 correct also for static library in error case.
37347 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37349 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37350 move to syscalls.list.
37351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37356 * manual/install.texi (Running make install): Do not mention Linux
37357 kernel version for which pt_chown is not needed.
37358 (Linux): Do not mention problems with nscd with 2.0 kernels.
37359 * INSTALL: Regenerated.
37361 2012-05-23 Andreas Jaeger <aj@suse.de>
37363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37364 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37366 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37368 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37370 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37374 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37376 * sysdeps/unix/sysv/linux/bits/in.h
37377 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37379 2012-05-22 Roland McGrath <roland@hack.frob.com>
37381 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37382 (PREPARE_VERSION): Just use assert instead, it will be elided
37383 under [NDEBUG] anyway.
37385 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37387 * sysdeps/unix/sysv/linux/Makefile: Include
37388 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37389 (sysdep_routines): Remove sysctl.
37390 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37391 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37392 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37394 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37396 2012-05-22 Andreas Jaeger <aj@suse.de>
37398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37399 that pseudo_end is just ret and the stack pointer is correct also
37400 for static library in error case.
37402 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37405 * nss/nsswitch.c (defconfig_entries): New variable.
37406 (__nss_database_lookup): Don't leak defconfig entries.
37407 (nss_parse_service_list): Don't leak on error paths.
37408 (free_database_entries): New function.
37409 (free_defconfig): New function.
37410 (free_mem): Move common code to free_database_entries.
37412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37416 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37418 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37419 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37422 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37423 (INTERNAL_SYSCALL_TYPES): Likewise.
37424 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37425 (LOAD_REGS_TYPES_[1-6]): Likewise.
37426 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37427 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37429 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37432 copysignl for GLIBC_2_0.
37433 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37434 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37436 logbl for GLIBC_2_0.
37437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37438 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37440 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37443 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37445 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37448 * time/mktime.c: Update copyright years.
37450 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37452 mktime: merge comment-quoting-style change from gnulib
37453 * time/mktime.c: Quote 'like this' in comments.
37454 The GNU coding standards suggest that we no longer quote `like this',
37455 as "`" and "'" are typically rendered asymmetrically nowadays.
37456 The typical gnulib style is to quote 'like this' when quoting
37457 code, and "like this" when quoting English.
37459 * time/mktime.c (compile-command): Add "-I.".
37461 mktime: merge mktime-internal.h change from gnulib
37462 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37464 mktime: merge time_r change from gnulib
37465 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37467 mktime: merge DEBUG change from gnulib
37468 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37469 case system <time.h> has a #define.
37471 mktime: merge <sys/types.h> change from gnulib
37472 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37473 since <time.t> is now guaranteed to define time_t.
37475 mktime: merge HAVE_CONFIG_H change from gnulib
37476 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37478 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37483 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37485 (struct rusage): Use anonymous union to pad each field to
37488 2012-05-21 David S. Miller <davem@davemloft.net>
37490 * Makefules (o-iterator): Remove .s cases.
37491 (compile-command.s): Delete.
37492 (COMPILE.s): Delete.
37493 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37495 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37497 * configure.in (libc_cv_predef_stack_protector): Only consider
37498 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37499 * configure: Regenerated.
37501 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37504 New macro. Use R*LP on int and pointer.
37505 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37506 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37507 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37508 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37510 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37511 [__WORDSIZE_TIME64_COMPAT32] instead of
37512 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37513 (struct utmp): Likewise.
37514 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37515 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37517 (__WORDSIZE_TIME64_COMPAT32): This.
37518 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37519 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37520 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37521 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37523 (__WORDSIZE_TIME64_COMPAT32): New macro.
37525 2012-05-21 Andreas Jaeger <aj@suse.de>
37527 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37528 only if [SHARED]. Add prototype for __wcschr_ia32.
37530 2012-05-21 Roland McGrath <roland@hack.frob.com>
37532 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37533 of %rbp unmolested in the jmp_buf while mangling the low bits.
37534 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37535 unmolested high bits of %rbp while demangling the low bits.
37536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37538 2012-05-21 Andreas Jaeger <aj@suse.de>
37540 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37541 * sunrpc/svc_simple.c: Use it for registerrpc.
37542 * sunrpc/xcrypt.c: Use it for passwd2des.
37544 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37546 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37548 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37549 Don't define if [__SYSCALL_WORDSIZE != 32].
37550 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37553 2012-05-21 Bruno Haible <bruno@clisp.org>
37554 Andreas Jaeger <aj@suse.de>
37556 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37557 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37558 inptr and inend for must_buffer_ch.
37559 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37560 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37561 * stdio-common/Makefile (tests): Remove bug15.
37562 (bug15-ENV): Remove macro.
37563 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37566 2012-05-19 Andreas Jaeger <aj@suse.de>
37567 Roland McGrath <roland@hack.frob.com>
37569 * manual/contrib.texi: Completely rewritten. It contains now an
37570 alphabetical list of contributors and their contributions.
37572 2012-05-21 Richard Henderson <rth@twiddle.net>
37574 * misc/getauxval.c (__getauxval): Use unsigned long int.
37575 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37576 (getauxval): Use unsigned long int.
37578 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37580 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37582 2012-05-21 Roland McGrath <roland@hack.frob.com>
37584 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37585 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37586 __alignof__ (long double).
37588 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37592 2012-05-20 Richard Henderson <rth@twiddle.net>
37594 * misc/getauxval.c: New file.
37595 * misc/sys/auxv.h: New file.
37596 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37597 (routines): Add getauxval.
37598 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37600 * elf/dl-sysdep.c (_dl_auxv): Remove.
37601 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37602 * elf/dl-support.c (_dl_auxv): New variable.
37603 (_dl_aux_init): Initialize it.
37604 * manual/startup.texi (Auxiliary Vector): New node.
37605 * sysdeps/generic/bits/hwcap.h: New file.
37606 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37607 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37608 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37609 * sysdeps/sparc/sysdep.h: ... here. Include it.
37610 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37623 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37627 2012-05-19 David S. Miller <davem@davemloft.net>
37629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37631 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37634 * math/s_ccosh.c: Include <float.h>
37635 (__ccosh): Avoid internal overflow calculating sinh and cosh
37636 values before multiplying by sin and cos values.
37637 * math/s_ccoshf.c: Likewise.
37638 * math/s_ccoshl.c: Likewise.
37639 * math/s_csin.c: Likewise.
37640 * math/s_csinf.c: Likewise.
37641 * math/s_csinl.c: Likewise.
37642 * math/s_csinh.c: Likewise.
37643 * math/s_csinhf.c: Likewise.
37644 * math/s_csinhl.c: Likewise.
37645 * math/libm-test.inc (ccos_test): Add more tests.
37646 (ccosh_test): Likewise.
37647 (csin_test): Likewise.
37648 (csinh_test): Likewise.
37649 * sysdeps/i386/fpu/libm-test-ulps: Update.
37650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37652 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37654 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37655 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37657 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37659 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37661 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37662 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37663 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37664 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37665 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37666 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37667 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37668 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37669 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37670 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37671 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37672 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37673 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37674 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37675 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37676 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37677 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37678 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37679 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37680 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37681 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37682 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37683 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37684 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37685 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37686 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37687 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37688 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37689 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37690 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37691 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37693 2012-05-18 Andreas Jaeger <aj@suse.de>
37695 * csu/.gitignore: Delete.
37697 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37699 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37700 (timex): Use __syscall_slong_t.
37702 2012-05-18 Andreas Jaeger <aj@suse.de>
37703 Carlos O'Donell <carlos_odonell@mentor.com>
37705 * manual/install.texi (Configuring and compiling): Update
37706 description about files modified in the source directory.
37707 * INSTALL: Regenerated.
37709 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37711 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37712 value. Use "or" to set return value to -1.
37713 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37714 negate return value.
37716 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37718 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37719 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37720 failure if the compiler has Graphite support disabled.
37721 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37723 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37724 (CFLAGS-memmove.c): Likewise.
37725 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37728 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37730 * sysdeps/x86_64/x32/_itoa.h: New file.
37732 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37733 getdents system call only if kernel and user dirents have the
37734 same d_ino and d_off.
37736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37737 LLONG_MAX != LONG_MAX.
37738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37739 (_fitoa_word): Likewise.
37741 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37744 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37745 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37747 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37748 include <bits/wordsize.h>. Check __x86_64__ instead of
37750 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37751 if __x86_64__ is defined. Use anonymous union on fpstate.
37753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37756 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37758 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37759 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37760 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37761 Refer to _rtld_local_ro instead of _rtld_global_ro.
37762 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37764 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37766 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37768 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37769 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37770 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37772 * sysdeps/powerpc/powerpc32/dl-machine.c
37773 (__elf_machine_runtime_setup) [PROF]: Don't reference
37776 2012-05-18 Andreas Jaeger <aj@suse.de>
37778 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37779 function only available for GCCs before 3.4 since GCC 3.4
37780 introduced a builtin.
37782 (llrintf): Likewise.
37783 (llrint): Likewise.
37790 (nearbyint): Likewise.
37791 (nearbyintf): Likewise.
37795 (floorf): Likewise.
37797 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37799 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37800 on both fields and cast pointer to __syscall_ulong_t.
37802 * bits/types.h (__fsword_t): New type.
37803 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37804 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37806 (__FSWORD_T_TYPE): Likewise.
37807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37808 (__FSWORD_T_TYPE): Likewise.
37809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37810 (__FSWORD_T_TYPE): Likewise.
37811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37812 (__FSWORD_T_TYPE): Likewise.
37813 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37814 __SWORD_TYPE with __fsword_t.
37815 (statfs64): Likewise.
37817 2012-05-17 David S. Miller <davem@davemloft.net>
37819 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37821 2012-05-17 Andreas Jaeger <aj@suse.de>
37823 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37826 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37828 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37830 2012-05-17 Andreas Jaeger <aj@suse.de>
37832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37835 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37837 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37839 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37841 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37842 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37844 2012-05-17 Andreas Jaeger <aj@suse.de>
37845 Carlos O'Donell <carlos_odonell@mentor.com>
37848 * sysdeps/x86_64/multiarch/init-arch.h
37849 (bit_YMM_Usable): Rename to...
37850 (bit_AVX_Usable): ... this.
37851 (bit_FMA4_Usable): New macro.
37852 (bit_XMM_state): New macro.
37853 (bit_YMM_state): New macro.
37854 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37855 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37856 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37857 (CPUID_OSXSAVE): New macro.
37858 (CPUID_AVX): New macro.
37859 (CPUID_FMA4): New macro.
37860 (index_YMM_Usable): Rename to...
37861 (index_AVX_Usable): ... this.
37862 (HAS_AVX): Use HAS_ARCH_FEATURE.
37863 (HAS_FMA4): Likewise.
37864 (HAS_YMM_USABLE): Remove.
37865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37866 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37868 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37869 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37870 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37871 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37872 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37874 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37876 * math/libm-test.c: Support platforms without multiple rounding modes.
37877 * math/bug-nextafter.c: Support platforms without FP exceptions.
37878 * math/bug-nexttoward.c: Likewise.
37879 * math/test-fenv.c: Likewise.
37880 * math/test-misc.c: Likewise.
37881 * stdlib/bug-getcontext.c: Likewise.
37883 2012-05-17 Andreas Jaeger <aj@suse.de>
37885 * manual/examples/search.c (critter_cmp): Change signature to
37887 * manual/string.texi (Collation Functions): Likewise.
37889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37891 * bits/types.h: Fold copyright years.
37892 * bits/typesizes.h: Likewise.
37893 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37897 * time/time.h: Likewise.
37899 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37902 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37903 in instead of returning them. Return void.
37904 (__libc_mallinfo): Accumulate over all arenas.
37905 (__malloc_stats): Adjust for change in int_mallinfo interface.
37907 2012-05-16 Roland McGrath <roland@hack.frob.com>
37910 * configure.in (NM): Add AC_CHECK_TOOL for it.
37911 (libc_extra_cflags): New substituted variable.
37912 Check for -fstack-protector being used implicitly.
37913 * configure: Regenerated.
37914 * config.make.in (config-extra-cflags): New variable,
37915 gets @libc_extra_cflags@.
37916 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37919 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37920 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37921 * configure: Regenerated.
37922 * config.make.in (CPPUNDEFS): New substituted variable.
37923 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37924 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37925 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37927 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37929 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37930 (mq_attr): Use __syscall_slong_t.
37932 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37934 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37935 Check __x86_64__ instead of __WORDSIZE.
37936 (_STAT_VER_LINUX): Likewise.
37937 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37938 __syscall_ulong_t and __syscall_slong_t.
37939 (stat64): Likewise.
37941 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37945 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37947 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37951 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37954 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37955 include <bits/wordsize.h>. Check __x86_64__ instead of
37957 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37959 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37961 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37962 include <bits/wordsize.h>. Check __x86_64__ instead of
37964 (user_regs_struct): Use "__extension__ unsigned long long"
37965 instead of "unsigned long" if __x86_64__ is defined.
37966 (user): Likewise. Pad after pointer field if __ILP32__ is
37969 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37971 * configure.in (makeinfo): Require version 4.5 or later. Allow
37973 * configure: Regenerated.
37974 * manual/install.texi (texinfo): Increase version requirement to
37976 * INSTALL: Regenerated.
37978 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37980 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37982 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37984 * sysdeps/x86_64/x32/ffs.c: New file.
37986 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37988 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37989 defined. Use __syscall_ulong_t.
37990 (shminfo): Use __syscall_ulong_t.
37991 (shm_info): Likewise.
37993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37998 (msgqnum_t): Use __syscall_ulong_t.
37999 (msglen_t): Likewise.
38000 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38003 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38008 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38009 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38011 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38015 include <bits/wordsize.h>. Check __x86_64__ instead of
38018 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38019 "unsigned long long int" if __x86_64__ is defined.
38020 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38022 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38023 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38024 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38026 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38028 (GET_PC): Cast to uintptr_t first.
38029 (GET_FRAME): Likewise.
38030 (GET_STACK): Likewise.
38032 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38038 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38039 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38040 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38041 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38042 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38043 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38045 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38049 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38059 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38062 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38064 * Makerules (+depfiles): Also collect depfiles from .oS in
38066 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38067 .oS, $(libnldbl-routines)).
38069 * Makerules (native-compile-mkdep-flags): Define.
38070 * sunrpc/Makefile (extra-objs): Add $(addprefix
38071 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38072 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38073 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38074 calling $(make-target-directory).
38076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38078 * bits/types.h (__snseconds_t): Removed.
38079 * time/time.h (struct timespec): Replace __snseconds_t with
38081 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38082 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38085 (__SNSECONDS_T_TYPE): Likewise.
38086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38087 (__SNSECONDS_T_TYPE): Likewise.
38088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38089 (__SNSECONDS_T_TYPE): Likewise.
38091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/mach/hurd/bits/typesizes.h
38094 (__SYSCALL_SLONG_TYPE): New macro.
38095 (__SYSCALL_ULONG_TYPE): Likewise.
38097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38099 * bits/types.h (__syscall_slong_t): New type.
38100 (__syscall_ulong_t): Likewise.
38102 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38103 (__SYSCALL_ULONG_TYPE): Likewise.
38104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38105 (__SYSCALL_SLONG_TYPE): Likewise.
38106 (__SYSCALL_ULONG_TYPE): Likewise.
38107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38108 (__SYSCALL_SLONG_TYPE): Likewise.
38109 (__SYSCALL_ULONG_TYPE): Likewise.
38110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38111 (__SYSCALL_SLONG_TYPE): Likewise.
38112 (__SYSCALL_ULONG_TYPE): Likewise.
38114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38116 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38117 Add sigaltstack-offsets.sym.
38118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38119 <sigaltstack-offsets.h>.
38120 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38121 longjmp_msg pointer.
38122 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38123 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38125 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38127 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38129 * elf/stackguard-macros.h: Remove file.
38130 * sysdeps/generic/stackguard-macros.h: New file.
38131 * sysdeps/i386/stackguard-macros.h: Likewise.
38132 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38133 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38134 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38135 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38136 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38137 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38138 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38139 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38140 <elf/stackguard-macros.h>.
38143 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38144 __aligned__ in attribute.
38145 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38146 (gregset_t): Likewise.
38148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38150 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38151 * sysdeps/x86_64/64/Implies-after: Here. New file.
38152 * sysdeps/x86_64/x32/Implies-after: New file.
38154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38156 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38157 and access return value for _dl_profile_fixup. Use R10_LP to
38160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38162 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38167 * sysdeps/x86_64/x32/sysdep.h: New file.
38169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38171 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38172 * sysdeps/x86_64/setjmp.S: Likewise.
38174 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38177 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38178 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38179 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38180 remove unused global constant.
38182 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38184 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38185 include of <not-cancel.h>.
38187 2012-05-15 Roland McGrath <roland@hack.frob.com>
38189 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38191 2012-05-15 Jeff Law <law@redhat.com>
38192 Andreas Jaeger <aj@suse.de>
38195 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38197 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38198 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38199 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38200 code changing __hst_map_handle.map.
38202 2012-05-15 Roland McGrath <roland@hack.frob.com>
38204 * configure.in (sysnames): Look for Implies-before and Implies-after
38206 * configure: Regenerated.
38208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38210 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38211 8-byte data alignment with LP_SIZE alignment.
38213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38215 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38220 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38224 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38225 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38228 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38232 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38233 (stackinfo_sub_sp): Likewise.
38235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38237 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38247 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38252 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38256 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38257 into R11_LP and load __x86_64_shared_cache_size_half into
38260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38265 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38274 powerpc32/power7/fpu/s_logb.c via #include.
38275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38276 powerpc32/power7/fpu/s_logbf.c via #include.
38277 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38278 powerpc32/power7/fpu/s_logbl.c via #include.
38280 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38282 * README.libm: Remove file.
38284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38286 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38287 count for x32. Use R*_LP and omit operand-size suffix.
38289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38291 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38292 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38293 * sysdeps/x86_64/x32/shlib-versions: New file.
38295 2012-05-14 Roland McGrath <roland@hack.frob.com>
38297 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38298 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38299 Use _dl_fatal_printf instead.
38301 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38303 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38304 set if not set by the user. Do not allow for being unset.
38305 * sysdeps/unix/sysv/linux/configure: Regenerated.
38307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38309 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38310 the `q' suffix from lea and replace .quad with ASM_ADDR.
38312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38315 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38317 (PTR_DEMANGLE): Likewise.
38319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38321 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38323 (ASM_ADDR): Likewise.
38324 (RAX_LP): Likewise.
38325 (RBP_LP): Likewise.
38326 (RBX_LP): Likewise.
38327 (RCX_LP): Likewise.
38328 (RDI_LP): Likewise.
38329 (RSI_LP): Likewise.
38330 (RSP_LP): Likewise.
38333 (R10_LP): Likewise.
38334 (R10_LP): Likewise.
38335 (R11_LP): Likewise.
38336 (R12_LP): Likewise.
38337 (R13_LP): Likewise.
38338 (R14_LP): Likewise.
38339 (R15_LP): Likewise.
38341 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38343 * sysdeps/x86_64/x32/dl-machine.h: New file.
38345 2012-05-14 Andreas Jaeger <aj@suse.de>
38347 * manual/Makefile (subdir): Remove export of subdir.
38348 (all): Remove target.
38349 (.PHONY): Remove all from list.
38350 (mkinstalldirs): Remove.
38351 (.PHONY): Remove installdirs from list.
38352 ($(inst_infodir)/libc.info): Use make-target-directory.
38353 (installdirs): Remove.
38354 (subdir_%): Remove.
38355 (glibc-targets): Remove.
38358 ($(objpfx)stubs ../po/manual.pot): Remove.
38359 ($(objpfx)stamp%): Remove.
38360 (make-target-directory): Remove.
38361 (subdir_install): Remove.
38362 (routines): Remove.
38369 * manual/.gitignore: Remove, it's not needed anymore.
38370 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38372 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38374 (texis): Renamed to $(objpfx)texis.
38375 (texis-path): New, contains path to generated files.
38376 (chapters.%): Use texis-path for complete path, add extra argument
38378 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38379 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38380 (summary,texi, stamp-summary): Use complete path of
38381 files. Generate files in build dir.
38382 (dir-add.texi): Build in build dir.
38383 (libm-err.texi,stamp-libm-err): Likewise.
38384 (version.texi, stamp-version): Likewise.
38385 (.%c.texi): Likewise.
38386 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38387 (mostlyclean): Remove target.
38388 (realclean): Remove target.
38389 (generated): Add new variable with contents from mostlyclean and
38390 realclean, remove entries duplicated in common-mostlyclean, add
38391 stamp-libm-err and stamp-version.
38392 (generated-dirs): Add libc directory.
38393 ($(inst_infodir)/libc.info): Install files from build dir.
38395 * manual/install.texi (Configuring and compiling): Adjust since
38396 the info files are not part of the tar ball anymore.
38398 2012-05-14 Andreas Jaeger <aj@suse.de>
38400 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38403 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38407 to 2.2.0 where earlier.
38408 * sysdeps/unix/sysv/linux/configure: Regenerated.
38409 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38410 Remove conditional code.
38411 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38412 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38413 Remove conditional code.
38414 [!__NR_lchown]: Likewise.
38415 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38416 [__NR_lchown]: Likewise.
38417 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38418 comment referencing __ASSUME_LCHOWN_SYSCALL.
38419 * sysdeps/unix/sysv/linux/i386/sigaction.c
38420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38422 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38423 Remove conditional code.
38424 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38425 (__protocol_available): Remove #if 0 code.
38426 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38428 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38429 * sysdeps/unix/sysv/linux/kernel-features.h
38430 (__ASSUME_GETCWD_SYSCALL): Don't define.
38431 (__ASSUME_REALTIME_SIGNALS): Likewise.
38432 (__ASSUME_PREAD_SYSCALL): Likewise.
38433 (__ASSUME_PWRITE_SYSCALL): Likewise.
38434 (__ASSUME_POLL_SYSCALL): Likewise.
38435 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38436 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38438 (__ASSUME_SIOCGIFNAME): Don't define.
38439 (__ASSUME_MSG_NOSIGNAL): Likewise.
38440 (__ASSUME_SENDFILE): Define unconditionally.
38441 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38442 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38444 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38445 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38446 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38447 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38448 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38449 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38450 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38452 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38475 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38476 Remove conditional code.
38477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38478 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38479 Remove conditional code.
38480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38481 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38482 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38483 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38484 Remove conditional code.
38485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38486 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38487 Remove conditional code.
38488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38489 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38490 Remove conditional code.
38491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38492 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38493 Remove conditional code.
38494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38495 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38496 Remove conditional code.
38497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38498 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38499 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38501 * sysdeps/unix/sysv/linux/sigaction.c
38502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38504 * sysdeps/unix/sysv/linux/sigpending.c
38505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38507 * sysdeps/unix/sysv/linux/sigprocmask.c
38508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38510 * sysdeps/unix/sysv/linux/sigsuspend.c
38511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38513 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38514 (__libc_missing_rt_sigs): Remove.
38515 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38516 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38517 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38518 Remove conditional code.
38519 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38520 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38522 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38523 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38524 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38525 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38527 2012-05-14 Andreas Jaeger <aj@suse.de>
38529 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38530 it's not used in glibc.
38531 (__coshm1): Likewise.
38532 (__acosh1p): Likewise.
38535 * manual/string.texi (Copying and Concatenation): Add missing
38536 variable in concat example.
38537 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38543 __builtin_clzl with __builtin_clzll.
38545 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38548 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38551 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38553 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38554 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38555 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38556 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38558 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38560 * NEWS: Update ia64 info.
38562 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38564 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38567 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38569 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38570 * sysdeps/unix/syscalls.list (dup3): Likewise.
38571 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38572 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38574 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38576 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38577 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38579 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38581 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38583 (TLS_IE): Use mov/add instead of movq/addq to load thread
38585 (TLS_GD_PREFIX): New.
38588 2012-05-11 David S. Miller <davem@davemloft.net>
38590 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38591 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38592 (_FPU_SETCW): Likewise.
38594 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38596 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38597 is 32-byte aligned.
38599 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38602 * iconvdata/gb18030.c: Update tables.
38603 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38604 characters specially.
38605 (BODY for TO_LOOP): Add encoding of missing ranges.
38607 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38610 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38611 * sysdeps/mach/hurd/dup3.c: Likewise.
38612 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38613 * sysdeps/powerpc/memmove.c:: Likewise.
38615 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38618 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38620 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38622 * elf/elf.h (R_X86_64_RELATIVE64): New.
38623 (R_X86_64_NUM): Updated.
38624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38625 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38626 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38627 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38628 tst-quad1pie tst-quad2pie
38629 (modules-names): Add tst-quadmod1 tst-quadmod2.
38630 ($(objpfx)tst-quad1): New dependency.
38631 ($(objpfx)tst-quad2): Likewise.
38632 ($(objpfx)tst-quad1pie): Likewise.
38633 ($(objpfx)tst-quad2pie): Likewise.
38634 * sysdeps/x86_64/tst-quad1.c: New file.
38635 * sysdeps/x86_64/tst-quad1pie.c: New file.
38636 * sysdeps/x86_64/tst-quad2.c: Likewise.
38637 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38638 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38639 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38640 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38641 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38645 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38646 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38647 * streams/stropts.h (t_scalar_t): Define type.
38649 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38650 (_PATH_PRESERVE): Set to "/var/lib".
38651 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38653 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38656 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38657 if __dir_mkfile succeeded.
38659 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38660 checking for _hurd_dtablesize. Unlock it right after having
38661 finished _hurd_dtable allocation.
38663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38665 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38666 * sysdeps/mach/hurd/configure: Regenerated.
38667 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38668 special-casing to...
38669 * sysdeps/gnu/configure.in: ... this new file.
38670 * sysdeps/unix/sysv/linux/configure: Regenerated.
38671 * sysdeps/gnu/configure: New generated file.
38673 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38674 for Linux: use nsec instead of usec, as well as:
38675 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38676 members of type struct timespec.
38677 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38679 (struct stat64): Likewise.
38680 (_STATBUF_ST_NSEC): New macro.
38681 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38683 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38684 __strtoul_internal rather than strtoul.
38686 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38688 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38693 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38694 which preserves existing values.
38695 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38697 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38699 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38700 TIMEOUT values. Return EINVAL for NFDS values either negative or
38701 greater than FD_SETSIZE.
38703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38705 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38706 allocated, call __vm_protect to finish enabling the existing space, and
38707 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38708 allocate the remainder.
38710 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38712 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38713 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38717 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38718 sysdeps/mach/hurd/readlink.c.
38720 * posix/tst-sysconf.c (posix_options): Only use
38721 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38722 _POSIX_SYNCHRONIZED_IO when they are defined
38723 * sysdeps/mach/hurd/bits/posix_opt.h:
38724 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38725 (_XOPEN_REALTIME): Undefine macro.
38726 (_XOPEN_REALTIME_THREADS): Undefine macro.
38727 (_XOPEN_SHM): Undefine macro.
38728 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38730 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38732 (_POSIX_ASYNC_IO): Undefine macro.
38733 (_POSIX_PRIORITIZED_IO): Undefine macro.
38734 (_POSIX_SPIN_LOCKS): Define macro to -1.
38736 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38737 SA_NODEFER, SA_RESETHAND.
38738 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38739 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38744 * elf/Makefile (pldd-modules): Define unconditionally.
38746 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38748 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38752 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38753 Return ENOENT when name is empty.
38754 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38758 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38760 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38764 Fix mlock in all cases except non-readable pages.
38765 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38766 instead of VM_PROT_ALL as parameter to __vm_wire function.
38768 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38769 (__mkdir): When path is `/', just fail with EEXIST.
38770 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38774 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38775 <sys/uio.h> (for writev).
38776 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38777 and <sys/param.h> (for MIN).
38779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38781 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38782 REQUESTED_TIME. Properly set the remaining time and return EINTR
38785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38787 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38788 Depend on against $(link-rpcuserlibs).
38790 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38792 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38793 (__libc_stack_end): Do not use attribute_relro.
38794 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38795 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38796 to libthread-provided value.
38797 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38800 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38803 * bits/libc-lock.h (__libc_once_get): New macro.
38804 * sysdeps/mach/bits/libc-lock.h: Likewise.
38805 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38806 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38807 instead of using implementation details.
38809 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38810 * libio/freopen.c: Likewise.
38811 * libio/freopen64.c: Likewise.
38812 * misc/syslog.c: Likewise.
38813 * nscd/connections.c: Likewise.
38814 * nscd/netgroupcache.c: Likewise.
38815 * sysdeps/posix/getcwd.c: Likewise.
38817 2012-05-10 Roland McGrath <roland@hack.frob.com>
38819 * math/w_ilogbf.c: Add #include <limits.h>.
38821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38823 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38824 path instead of returning without unlocking.
38826 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38827 immediate-write ioctls.
38828 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38832 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38833 __builtin_frame_address instead of making assumptions about the
38834 location of the return address relative to DATA. Force early load of
38835 the return address.
38836 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38837 __builtin_frame_address.
38840 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38841 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38842 implement dup3 and do some further code clean-ups.
38843 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38844 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38848 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38850 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38851 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38852 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38853 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38854 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38857 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38858 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38859 when handler == SIG_ERR, not when handler != SIG_ERR.
38861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38863 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38864 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38867 accept4 for GNU Hurd.
38868 * include/sys/socket.h (__libc_accept4): New prototype.
38869 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38870 to implement __libc_accept4.
38871 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38873 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38875 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38876 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38877 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38878 signal-defines.sym.
38880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38882 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38886 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38887 assertion on O_CLOEXEC flag.
38888 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38889 * hurd/intern-fd.c: Likewise.
38890 * hurd/port2fd.c: Likewise.
38892 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38895 * bits/in.h (IPV6_PKTINFO): Define new macro.
38896 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38898 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38903 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38904 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38905 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38906 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38908 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38909 * math/libm-test.inc (logb_test) : Additional logb tests.
38911 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38912 Andreas Jaeger <aj@suse.de>
38914 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38915 * configure: Regenerated.
38916 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38917 * config.make.in (link-obsolete-rpc): New substituted variable.
38918 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38919 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38920 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38921 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38922 so that libc.a contains the symbols.
38923 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38924 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38925 * sunrpc/auth_none.c: Likewise.
38926 * sunrpc/auth_unix.c: Likewise.
38927 * sunrpc/authdes_prot.c: Likewise.
38928 * sunrpc/authuxprot.c: Likewise.
38929 * sunrpc/clnt_gen.c: Likewise.
38930 * sunrpc/clnt_perr.c: Likewise.
38931 * sunrpc/clnt_raw.c: Likewise.
38932 * sunrpc/clnt_simp.c: Likewise.
38933 * sunrpc/clnt_tcp.c: Likewise.
38934 * sunrpc/clnt_udp.c: Likewise.
38935 * sunrpc/clnt_unix.c: Likewise.
38936 * sunrpc/des_crypt.c: Likewise.
38937 * sunrpc/des_soft.c: Likewise.
38938 * sunrpc/get_myaddr.c: Likewise.
38939 * sunrpc/key_call.c: Likewise.
38940 * sunrpc/key_prot.c: Likewise.
38941 * sunrpc/netname.c: Likewise.
38942 * sunrpc/pm_getmaps.c: Likewise.
38943 * sunrpc/pm_getport.c: Likewise.
38944 * sunrpc/pmap_clnt.c: Likewise.
38945 * sunrpc/pmap_prot.c: Likewise.
38946 * sunrpc/pmap_prot2.c: Likewise.
38947 * sunrpc/pmap_rmt.c: Likewise.
38948 * sunrpc/publickey.c: Likewise.
38949 * sunrpc/rpc_cmsg.c: Likewise.
38950 * sunrpc/rpc_common.c: Likewise.
38951 * sunrpc/rpc_dtable.c: Likewise.
38952 * sunrpc/rpc_prot.c: Likewise.
38953 * sunrpc/rpc_thread.c: Likewise.
38954 * sunrpc/rtime.c: Likewise.
38955 * sunrpc/svc.c: Likewise.
38956 * sunrpc/svc_auth.c: Likewise.
38957 * sunrpc/svc_raw.c: Likewise.
38958 * sunrpc/svc_run.c: Likewise.
38959 * sunrpc/svc_tcp.c: Likewise.
38960 * sunrpc/svc_udp.c: Likewise.
38961 * sunrpc/svc_unix.c: Likewise.
38962 * sunrpc/svcauth_des.c: Likewise.
38963 * sunrpc/xcrypt.c: Likewise.
38964 * sunrpc/xdr.c: Likewise.
38965 * sunrpc/xdr_array.c: Likewise.
38966 * sunrpc/xdr_float.c: Likewise.
38967 * sunrpc/xdr_intXX_t.c: Likewise.
38968 * sunrpc/xdr_mem.c: Likewise.
38969 * sunrpc/xdr_rec.c: Likewise.
38970 * sunrpc/xdr_ref.c: Likewise.
38971 * sunrpc/xdr_sizeof.c: Likewise.
38972 * sunrpc/xdr_stdio.c: Likewise.
38974 2012-05-10 Roland McGrath <roland@hack.frob.com>
38976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38977 change. Update copyright years.
38979 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38981 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38983 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38984 Joseph Myers <joseph@codesourcery.com>
38985 Paul Pluzhnikov <ppluzhnikov@google.com>
38988 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38990 [cross-compiling] (extra-libs): Likewise.
38991 [cross-compiling] (extra-libs-others): Likewise.
38992 [cross-compiling] (librpcsvc-routines): Likewise.
38993 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38994 [cross-compiling] (omit-deps): Likewise.
38995 (sunrpc-CPPFLAGS): New variable.
38996 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38997 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38998 (cross-rpcgen-objs): New variable.
38999 (extra-objs): Append $(cross-rpcgen-objs).
39000 ($(cross-rpcgen-objs)): New rule.
39001 ($(objpfx)cross-rpcgen): Likewise.
39002 (rpcgen-cmd): Define to use $(built-program-file). Expand
39004 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39005 ($(objpfx)x%.stmp): Likewise.
39006 * sunrpc/proto.h [IS_IN_build] (_): Define.
39007 [IS_IN_build] (_libc_intl_domainname): Likewise.
39009 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39012 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39013 and R_X86_64_TPOFF64.
39015 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39017 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39018 sysdeps/unix/sysv/syscalls.list.
39021 * sysdeps/unix/sysv/syscalls.list: Remove file.
39023 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39026 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39027 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39028 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39029 (__LC_IDENTIFICATION): Make these macros useful in #if
39030 expressions, as required by C99.
39032 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39034 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39035 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39038 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39040 * stdlib/longlong.h: Updated from GCC.
39042 2012-05-09 Andreas Jaeger <aj@suse.de>
39044 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39045 default is first entry.
39046 (run_mode): Set type.
39047 (main): Remove informal message about syslog.
39048 (options): Fix typo.
39051 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39054 (llrintf): Likewise.
39055 (llrint): Likewise.
39058 (nearbyint): Likewise.
39059 (nearbyintf): Likewise.
39061 2012-05-09 Andreas Jaeger <aj@suse.de>
39062 Pedro Alves <palves@redhat.com>
39064 * nscd/nscd.c (run_mode): Use enum.
39065 (main): Cleanup coding style issue.
39067 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39068 Andreas Jaeger <aj@suse.de>
39070 * nscd/nscd.c (go_background): Replaced with...
39071 (run_mode): ... this.
39072 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39073 (options): Add -F --foreground.
39074 (main): Implement it.
39075 (parse_opt): Parse it.
39077 2012-05-09 Andreas Jaeger <aj@suse.de>
39080 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39081 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39082 -Wconversion warning.
39083 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39086 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39088 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39090 (LC_ALL): Use macro-int-constant.
39091 (LC_COLLATE): Likewise.
39092 (LC_CTYPE): Likewise.
39093 (LC_MESSAGES): Likewise.
39094 (LC_MONETARY): Likewise.
39095 (LC_NUMERIC): Likewise.
39096 (LC_TIME): Likewise.
39097 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39098 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39100 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39102 [C99-based standards] (float_t): Expect type.
39103 [C99-based standards] (double_t): Expect type.
39104 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39106 [C99-based standards] (HUGE_VALL): Likewise.
39107 [C99-based standards] (INFINITY): Likewise.
39108 [C99-based standards] (NAN): Likewise.
39109 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39110 [C99-based standards] (FP_NAN): Likewise.
39111 [C99-based standards] (FP_NORMAL): Likewise.
39112 [C99-based standards] (FP_SUBNORMAL): Likewise.
39113 [C99-based standards] (FP_ZERO): Likewise.
39114 [C99-based standards] (FP_FAST_FMA): Use
39115 optional-macro-int-constant. Specify type. Require == 1.
39116 [C99-based standards] (FP_FAST_FMAF): Likewise.
39117 [C99-based standards] (FP_FAST_FMAL): Likewise.
39118 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39119 [C99-based standards] (FP_ILOGBNAN): Likewise.
39120 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39122 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39123 [C99-based standards] (math_errhandling): Specify type.
39124 [ISO99 || ISO11] (signgam): Do not allow.
39125 [non-C99-based standards] (copysignf): Do not allow.
39126 [non-C99-based standards] (exp2f): Likewise.
39127 [non-C99-based standards] (log2f): Likewise.
39128 [non-C99-based standards] (modff): Allow.
39129 [non-C99-based standards] (erff): Do not allow.
39130 [non-C99-based standards] (erfcf): Likewise.
39131 [non-C99-based standards] (gammaf): Likewise.
39132 [non-C99-based standards] (hypotf): Likewise.
39133 [non-C99-based standards] (j0f): Likewise.
39134 [non-C99-based standards] (j1f): Likewise.
39135 [non-C99-based standards] (jnf): Likewise.
39136 [non-C99-based standards] (lgammaf): Likewise.
39137 [non-C99-based standards] (tgammaf): Likewise.
39138 [non-C99-based standards] (y0f): Likewise.
39139 [non-C99-based standards] (y1f): Likewise.
39140 [non-C99-based standards] (ynf): Likewise.
39141 [non-C99-based standards] (isnanf): Likewise.
39142 [non-C99-based standards] (acoshf): Likewise.
39143 [non-C99-based standards] (asinhf): Likewise.
39144 [non-C99-based standards] (atanhf): Likewise.
39145 [non-C99-based standards] (cbrtf): Likewise.
39146 [non-C99-based standards] (expm1f): Likewise.
39147 [non-C99-based standards] (ilogbf): Likewise.
39148 [non-C99-based standards] (log1pf): Likewise.
39149 [non-C99-based standards] (logbf): Likewise.
39150 [non-C99-based standards] (nextafterf): Likewise.
39151 [non-C99-based standards] (remainderf): Likewise.
39152 [non-C99-based standards] (rintf): Likewise.
39153 [non-C99-based standards] (scalbf): Likewise.
39154 [non-C99-based standards] (copysignl): Likewise.
39155 [non-C99-based standards] (exp2l): Likewise.
39156 [non-C99-based standards] (log2l): Likewise.
39157 [non-C99-based standards] (modfl): Allow.
39158 [non-C99-based standards] (erfl): Do not allow.
39159 [non-C99-based standards] (erfcl): Likewise.
39160 [non-C99-based standards] (gammal): Likewise.
39161 [non-C99-based standards] (hypotl): Likewise.
39162 [non-C99-based standards] (j0l): Likewise.
39163 [non-C99-based standards] (j1l): Likewise.
39164 [non-C99-based standards] (jnl): Likewise.
39165 [non-C99-based standards] (lgammal): Likewise.
39166 [non-C99-based standards] (tgammal): Likewise.
39167 [non-C99-based standards] (y0l): Likewise.
39168 [non-C99-based standards] (y1l): Likewise.
39169 [non-C99-based standards] (ynl): Likewise.
39170 [non-C99-based standards] (isnanl): Likewise.
39171 [non-C99-based standards] (acoshl): Likewise.
39172 [non-C99-based standards] (asinhl): Likewise.
39173 [non-C99-based standards] (atanhl): Likewise.
39174 [non-C99-based standards] (cbrtl): Likewise.
39175 [non-C99-based standards] (expm1l): Likewise.
39176 [non-C99-based standards] (ilogbl): Likewise.
39177 [non-C99-based standards] (log1pl): Likewise.
39178 [non-C99-based standards] (logbl): Likewise.
39179 [non-C99-based standards] (nextafterl): Likewise.
39180 [non-C99-based standards] (remainderl): Likewise.
39181 [non-C99-based standards] (rintl): Likewise.
39182 [non-C99-based standards] (scalbl): Likewise.
39183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39184 [non-C99-based standards] (FP_*): Do not allow.
39185 [C99-based standards] (FP_*): Change to
39186 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39187 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39189 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39190 (SIG_ERR): Likewise.
39191 [X/Open-based standards] (SIG_HOLD): Likewise.
39192 (SIG_IGN): Likewise.
39193 (SIGABRT): Use macro-int-constant. Specify type. Require
39195 (SIGFPE): Likewise.
39196 (SIGILL): Likewise.
39197 (SIGINT): Likewise.
39198 (SIGSEGV): Likewise.
39199 (SIGTER): Likewise.
39200 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39213 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39218 [X/Open-based standards] (SIGTRAP): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39223 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39226 2012-05-08 Ian Wienand <ianw@vmware.com>
39229 * time/tzset.c (__tzset_parse_tz): Update default rules for
39230 daylight time changes in the Energy Policy Act of 2005.
39232 2012-05-09 Andreas Jaeger <aj@suse.de>
39235 * elf/ldconfig.c (parse_conf): Change string to make clear that
39236 ldconfig only issued a warning if ld.so.conf does not exist.
39238 2012-05-08 David S. Miller <davem@davemloft.net>
39240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39241 movxtod instead of popping the value on the stack.
39243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39245 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39247 * config.h.in: Add HAVE_ARM_PCS_VFP.
39249 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39252 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39253 checking but the checks are disabled for any reason.
39255 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39257 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39258 and ELF64_R_TYPE with ELFW(R_TYPE).
39260 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39262 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39263 (ulimit): Likewise.
39265 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39266 (settimeofday): Likewise.
39268 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39270 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39271 a struct th_u2 inside the union, and move tu_block/tu_code into
39272 a new th_u3 union of tu_block/tu_code inside of that. Move
39273 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39274 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39275 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39276 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39277 (th_stuff): Change to th_u1.tu_stuff.
39279 (th_msg): Change to th_u1.th_u2.tu_data.
39281 2012-05-07 David S. Miller <davem@davemloft.net>
39283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39286 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39287 (SETUP_PIC_REG): Use it.
39288 (SETUP_PIC_REG_LEAF): Use it.
39290 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39294 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39296 (EXPL_FINITE): Likewise.
39297 (FLDLOG): Likewise.
39298 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39299 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39301 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39303 (EXPL_FINITE): Likewise.
39304 (FLDLOG): Likewise.
39305 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39306 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39308 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39309 test of -max_value argument for long double.
39310 * sysdeps/i386/fpu/libm-test-ulps: Update.
39311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39313 2012-05-06 David S. Miller <davem@davemloft.net>
39315 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39316 quad soft-float symbols whose references which are compiler
39318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39320 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39326 (EXPL_FINITE): Likewise.
39327 (FLDLOG): Likewise.
39330 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39331 Adjust comments for base varying.
39332 (__expl_finite): Change alias to EXPL_FINITE.
39333 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39335 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39336 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39338 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39339 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39341 (EXPL_FINITE): Likewise.
39342 (FLDLOG): Likewise.
39345 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39346 Adjust comments for base varying.
39347 (__expl_finite): Change alias to EXPL_FINITE.
39348 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39353 * math/libm-test.inc (check_float_internal): Correct ulp
39354 calculation for subnormal expected results.
39356 2012-05-06 Andreas Jaeger <aj@suse.de>
39358 * Makeconfig (+math-flags): New, set to -frounding-math.
39359 (+cflags): Add +math-flags so that all of glibc gets compiled with
39362 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39364 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39366 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39372 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39373 (__ieee754_expl): Allow for and saturate large arguments.
39374 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39375 (u_threshold): Likewise.
39376 (__exp): Call __ieee754_exp before checking for overflow and
39378 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39379 (u_threshold): Likewise.
39380 (__expf): Call __ieee754_expf before checking for overflow and
39382 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39383 (u_threshold): Likewise.
39384 (__expl): Call __ieee754_expl before checking for overflow and
39386 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39387 (__ieee754_expl): Allow for and saturate large arguments.
39388 * math/libm-test.inc (exp_test): Add another test. Do not allow
39389 missing overflow exception on overflow.
39390 (expm1_test): Do not allow missing overflow exception on overflow.
39392 * sysdeps/i386/fpu/e_expl.c: Move to ...
39393 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39394 rather than using inline asm.
39395 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39396 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39397 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39399 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39402 (signal): Likewise.
39406 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39408 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39409 sysdeps/unix/common/syscalls.list.
39410 (fchmod): Likewise.
39411 (fchown): Likewise.
39412 (ftruncate): Likewise.
39413 (getrusage): Likewise.
39414 (gettimeofday): Likewise.
39415 (setpgid): Likewise.
39416 (setregid): Likewise.
39417 (setreuid): Likewise.
39418 (sigaction): Likewise.
39419 (truncate): Likewise.
39420 (vhangup): Likewise.
39421 * sysdeps/unix/common/syscalls.list: Remove file.
39422 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39423 * sysdeps/unix/sysv/linux/Implies: Likewise.
39425 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39427 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39429 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39433 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39436 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39439 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39445 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39448 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39455 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39459 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39462 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39470 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39472 * sysdeps/unix/common/bits/dirent.h: Remove file.
39473 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39475 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39476 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39477 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39478 * sysdeps/unix/bsd/isatty.c: Likewise.
39479 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39480 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39481 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39483 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39486 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39487 long double comparison inaccuracies.
39488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39491 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39493 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39496 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39500 nonzero digits before rounding a hex value.
39501 * stdlib/tst-strtod.c (tests): Add another test.
39503 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39505 * sysdeps/s390/fpu/libm-test-ulps: Update.
39507 2012-05-03 Andreas Jaeger <aj@suse.de>
39509 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39510 does not get optimized out.
39511 (malloc_opt_barrier): New.
39513 2012-05-03 Andreas Jaeger <aj@suse.de>
39514 Roland McGrath <roland@hack.frob.com>
39516 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39517 intermediate file deletion.
39518 (generated): Add .symlist files.
39520 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39523 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39524 Redirect under this condition.
39525 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39526 [__USE_GNU] (__dprintf_chk): Not under this condition.
39527 [__USE_GNU] (__vdprintf_chk): Likewise.
39528 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39529 under this condition.
39530 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39531 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39532 [__USE_XOPEN2K8] (vdprintf): Likewise.
39533 [__USE_GNU] (__dprintf_chk): Not under this condition.
39534 [__USE_GNU] (__vdprintf_chk): Likewise.
39535 [__USE_GNU] (dprintf): Likewise.
39536 [__USE_GNU] (vdprintf): Likewise.
39538 2012-05-03 Roland McGrath <roland@hack.frob.com>
39540 * elf/Makefile (common-generated): Set this instead of generated for
39541 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39542 $(all-built-dso)-derived lists.
39544 2012-05-03 Andreas Jaeger <aj@suse.de>
39546 * sysdeps/i386/fpu/libm-test-ulps: Update.
39549 * FAQ.in: Likewise.
39550 * scripts/gen-FAQ.pl: Likewise.
39551 * manual/install.texi (Installation): Point to online location of
39553 * Makefile (files-for-dist): Remove FAQ.
39556 2012-05-02 Allan McRae <allan@archlinux.org>
39558 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39559 (LDFLAGS-reldepmod5.so): Likewise.
39560 (LDFLAGS-reldep6mod1.so): Likewise.
39561 (LDFLAGS-reldep6mod4.so): Likewise.
39562 (LDFLAGS-reldep8mod3.so): Likewise.
39563 (LDFLAGS-unload4mod1.so): Likewise.
39564 (LDFLAGS-unload4mod2.so): Likewise.
39565 (LDFLAGS-tst-initorder): Likewise.
39566 (LDFLAGS-tst-initordera2.so): Likewise.
39567 (LDFLAGS-tst-initordera3.so): Likewise.
39568 (LDFLAGS-tst-initordera4.so): Likewise.
39569 (LDFLAGS-tst-initorderb2.so): Likewise.
39570 (LDFLAGS-noload): Likewise.
39571 (LDFLAGS-next): Likewise.
39572 (LDFLAGS-order2mod1.so): Likewise.
39573 (LDFLAGS-order2mod2.so): Likewise.
39574 (LDFLAGS-tst-initorder2): Likewise.
39575 (LDFLAGS-tst-initorder2a.so): Likewise.
39576 (LDFLAGS-tst-initorder2b.so): Likewise.
39577 (LDFLAGS-tst-initorder2c.so): Likewise.
39578 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39580 2012-05-02 David S. Miller <davem@davemloft.net>
39582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39584 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39587 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39589 2012-05-02 Andreas Jaeger <aj@suse.de>
39591 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39592 since we manipulate rounding mode.
39593 (CPPFLAGS-test-idouble.c): Likewise.
39594 (CPPFLAGS-test-ifloat.c): Likewise.
39595 (CFLAGS-test-ldouble.c): Likewise.
39596 (CFLAGS-test-double.c): Likewise.
39597 (CFLAGS-test-float.c): Likewise.
39598 (CFLAGS-test-misc.c): Likewise.
39599 (CFLAGS-test-test-fenv.c): Likewise.
39601 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39606 comparisons to determine direction to adjust input.
39608 2012-05-01 Roland McGrath <roland@hack.frob.com>
39610 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39611 output to the target.
39613 * scripts/localplt.awk: New file.
39614 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39615 (check-localplt-CFLAGS): Variable removed.
39616 ($(all-built-dso:=.jmprel)): New static pattern rule.
39617 (generated): Add those targets.
39618 (localplt-built-dso): New variable.
39619 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39621 * elf/check-localplt.c: File removed.
39623 * scripts/check-execstack.awk: New file.
39624 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39625 (check-execstack-CFLAGS): Variable removed.
39626 ($(objpfx)check-execstack.h): Target removed.
39627 ($(objpfx)execstack-default): New target.
39628 (generated): Add that instead of check-execstack.h.
39629 ($(all-built-dso:=.phdr)): New static pattern rule.
39630 (generated): Add those targets.
39631 * elf/check-execstack.c: File removed.
39633 * scripts/check-textrel.awk: New file.
39634 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39635 (check-textrel-CFLAGS): Variable removed.
39636 (all-built-dso): Use := to define.o
39637 ($(all-built-dso:=.dyn)): New static pattern rule.
39638 (generated): Add those targets.
39639 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39640 * config.make.in (READELF): New substituted variable.
39641 * elf/check-textrel.c: File removed.
39643 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39645 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39647 * conform/data/ctype.h-data [C99-based standards] (isblank):
39649 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39650 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39652 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39653 Specify type. Require positive value.
39654 (EILSEQ): Likewise.
39655 (ERANGE): Likewise.
39656 [ISO || POSIX] (EILSEQ): Do not expect.
39657 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39658 Specify type. Require positive value.
39659 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39660 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39661 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39662 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39663 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39664 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39665 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39666 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39667 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39668 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39669 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39670 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39671 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39672 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39673 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39674 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39675 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39676 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39677 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39678 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39679 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39680 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39681 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39682 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39683 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39684 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39685 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39686 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39687 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39688 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39689 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39690 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39691 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39692 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39693 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39694 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39695 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39696 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39697 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39698 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39699 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39700 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39701 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39702 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39703 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39704 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39705 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39706 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39707 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39708 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39709 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39710 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39711 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39712 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39713 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39714 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39715 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39716 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39717 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39718 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39719 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39720 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39721 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39722 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39723 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39724 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39725 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39726 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39727 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39728 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39729 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39730 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39731 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39732 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39733 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39734 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39735 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39737 (FLT_ROUNDS): Expect as macro, not constant.
39738 (FLT_MANT_DIG): Use macro-int-constant.
39739 (DBL_MANT_DIG): Likewise.
39740 (LDBL_MANT_DIG): Likewise.
39741 (FLT_DIG): Likewise.
39742 (DBL_DIG): Likewise.
39743 (LDBL_DIG): Likewise.
39744 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39745 (DBL_MIN_EXP): Likewise.
39746 (LDBL_MIN_EXP): Likewise.
39747 (FLT_MAX_EXP): Use macro-int-constant.
39748 (DBL_MAX_EXP): Likewise.
39749 (LDBL_MAX_EXP): Likewise.
39750 (FLT_MAX_10_EXP): Likewise.
39751 (DBL_MAX_10_EXP): Likewise.
39752 (LDBL_MAX_10_EXP): Likewise.
39753 (FLT_MAX): Use macro-constant.
39754 (DBL_MAX): Likewise.
39755 (LDBL_MAX): Likewise.
39756 (FLT_EPSILON): Use macro-constant. Give upper bound.
39757 (DBL_EPSILON): Likewise.
39758 (LDBL_EPSILON): Likewise.
39759 (FLT_MIN): Likewise.
39760 (DBL_MIN): Likewise.
39761 (LDBL_MIN): Likewise.
39762 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39763 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39764 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39765 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39766 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39767 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39768 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39769 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39770 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39771 [ISO11] (FLT_TRUE_MIN): Likewise.
39772 [ISO11] (LDBL_TRUE_MIN): Likewise.
39773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39774 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39775 (SCHAR_MIN): Use macro-int-constant. Specify type.
39776 (SCHAR_MAX): Likewise.
39777 (UCHAR_MAX): Likewise.
39778 (CHAR_MIN): Likewise.
39779 (CHAR_MAX): Likewise.
39780 (MB_LEN_MAX): Use macro-int-constant.
39781 (SHRT_MIN): Use macro-int-constant. Specify type.
39782 (SHRT_MAX): Likewise.
39783 (USHRT_MAX): Likewise.
39784 (INT_MAX): Likewise.
39785 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39787 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39789 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39791 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39792 bound negative. Suffix upper bound with "L".
39793 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39795 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39797 [C99-based standards] (LLONG_MAX): Likewise.
39798 [C99-based standards] (ULLONG_MAX): Likewise.
39799 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39801 [ISO11] (max_align_t): Require type.
39802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39804 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39805 from $CFLAGS, without defining away __attribute__ calls.
39806 (checknamespace): Use $CFLAGS_namespace.
39808 * conform/conformtest.pl (@keywords): Only include C99 keywords
39809 for standards based on C99 or C11.
39811 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39813 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39816 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39817 usability of symbols in #if.
39819 * conform/conformtest.pl: If macro or constant types start
39820 "promoted:", expect the symbol to be of the following type
39821 promoted by the integer promotions.
39823 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39824 in one place. Also handle "macro-constant".
39826 * conform/conformtest.pl: Only accept expected macro values with
39827 "==". Parse all "macro" lines in one place.
39828 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39830 * conform/conformtest.pl: Handle braced types on "constant" lines
39831 instead of handling "typed-constant".
39832 * conform/data/signal.h-data: Use "constant" instead of
39835 * conform/conformtest.pl: Handle "optional-" at start of lines in
39836 one place rather than duplicating several cases. Handle each
39837 format of "macro" line with initial "optional-".
39839 * conform/conformtest.pl: Only accept expected constant or
39840 optional-constant values with "==". Parse all "constant" lines in
39841 one place. Parse all "optional-constant" lines in one place.
39842 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39843 * conform/data/fmtmsg.h-data: Likewise.
39844 * conform/data/netinet/in.h-data: Likewise.
39845 * conform/data/tar.h-data: Likewise.
39846 * conform/data/limits.h-data: Use "==" form on "constant" and
39847 "optional-constant" lines.
39849 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39850 Use -std=c99 for XOPEN2K.
39851 (@knownproblems): Remove.
39852 (newtoken): Don't check %isknown.
39854 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39855 Do not expect macro.
39856 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39862 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39863 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39864 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39868 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39869 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39880 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39881 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39882 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39883 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39884 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39885 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39886 [XPG3] (acosh): Likewise.
39887 [XPG3] (asinh): Likewise.
39888 [XPG3] (atanh): Likewise.
39889 [XPG3] (cbrt): Likewise.
39890 [XPG3] (expm1): Likewise.
39891 [XPG3] (ilogb): Likewise.
39892 [XPG3] (log1p): Likewise.
39893 [XPG3] (logb): Likewise.
39894 [XPG3] (nextafter): Likewise.
39895 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39896 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39897 [XPG3] (remainder): Likewise.
39898 [XPG3] (rint): Likewise.
39899 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39900 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39901 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39902 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39903 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39904 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39905 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39906 [UNIX98 || XOPEN2K] (scalb): Expect.
39907 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39908 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39909 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39910 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39911 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39912 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39913 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39914 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39915 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39916 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39917 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39918 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39919 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39920 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39932 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39933 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39935 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39936 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39937 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39972 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40045 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40046 _XOPEN_SOURCE_EXTENDED for XPG4.
40048 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40050 * Makeconfig (localtime): Remove variable.
40051 (inst_localtime-file): Likewise.
40053 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40074 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40078 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40079 comparisons to determine direction to adjust input.
40080 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40081 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40082 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40088 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40089 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40091 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40093 * math/libm-test.inc (nexttoward_test): Add more tests.
40095 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40099 in version GLIBC_2.1, not GLIBC_2.0.
40100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40103 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40106 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40108 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40109 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40110 * math/libm-test.inc (acos_test): Add more tests.
40111 (asin_test): Likewise.
40112 * sysdeps/i386/fpu/libm-test-ulps: Update.
40113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40116 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40118 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40119 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40120 * math/libm-test.inc (acos_test_tonearest): New function.
40121 (acos_test_towardzero): Likewise.
40122 (acos_test_downward): Likewise.
40123 (acos_test_upward): Likewise.
40124 (asin_test_tonearest): Likewise.
40125 (asin_test_towardzero): Likewise.
40126 (asin_test_downward): Likewise.
40127 (asin_test_upward): Likewise.
40128 (main): Call the new functions.
40129 * sysdeps/i386/fpu/libm-test-ulps: Update.
40130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40134 * math/e_exp10.c: Include <float.h>.
40135 (__ieee754_exp10): Handle underflow here rather than multiplying
40136 large negative argument by M_LN10.
40137 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40139 * math/e_exp10l.c: Include <float.h>.
40140 (__ieee754_exp10l): Handle underflow here rather than multiplying
40141 large negative argument by M_LN10l.
40142 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40143 spurious overflow exception on underflow.
40145 2012-04-29 Marek Polacek <polacek@redhat.com>
40147 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40148 (__fortify_function): New macro.
40149 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40150 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40151 __extern_always_inline.
40152 * libio/bits/stdio2.h: Likewise.
40153 * libio/bits/stdio.h: Likewise.
40154 * string/string.h: Likewise.
40155 * string/bits/string3.h: Likewise.
40156 * include/stdio.h: Likewise.
40157 * stdlib/bits/stdlib.h: Likewise.
40158 * stdlib/stdlib.h: Likewise.
40159 * rt/bits/mqueue2.h: Likewise.
40160 * rt/mqueue.h: Likewise.
40161 * posix/bits/unistd.h: Likewise.
40162 * posix/unistd.h: Likewise.
40163 * io/bits/poll2.h: Likewise.
40164 * io/bits/fcntl2.h: Likewise.
40165 * io/fcntl.h: Likewise.
40166 * io/sys/poll.h: Likewise.
40167 * misc/bits/syslog.h: Likewise.
40168 * misc/bits/syslog-ldbl.h: Likewise.
40169 * misc/sys/syslog.h: Likewise.
40170 * socket/bits/socket2.h: Likewise.
40171 * socket/sys/socket.h: Likewise.
40172 * debug/tst-chk1.c: Likewise.
40173 * wcsmbs/bits/wchar2.h: Likewise.
40174 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40175 * wcsmbs/wchar.h: Likewise.
40177 2012-04-29 Andreas Jaeger <aj@suse.de>
40179 * Makerules (tests): Remove enable-check-abi protection.
40180 (check-abi-warn): Remove.
40181 (check-abi-%): Remove check-abi-warn usage.
40183 * configure.in: Remove check-abi configure option.
40184 * configure: Regenerated.
40185 * config.make.in (enable-check-abi): Remove.
40187 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40190 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40191 double functions to double *_finite functions.
40194 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40195 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40197 * stdio-common/Makefile (tests): Add tst-sprintf3.
40198 * stdio-common/tst-sprintf3.c: New file.
40200 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40201 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40203 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40205 * conform/conformtest.pl: Remove duplicate typed-constant
40208 2012-04-28 David S. Miller <davem@davemloft.net>
40210 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40211 (check-abi-%): Remove AWK script prerequisite and explicit
40213 (check-abi): Rewrite to just diff the symlist with the abilist.
40214 (config-tls, config-abi-config): Delete, no longer used.
40215 (update-abi-%): Remove AWK script and explicit abilist directory.
40216 (update-abi): Rewrite to simply compare and conditionally copy the
40217 symlist and the sysdep abilist file. Remove update-abi-config
40219 * abilist/ld.abilist: Remove.
40220 * abilist/libBrokenLocale.abilist: Remove.
40221 * abilist/libanl.abilist: Remove.
40222 * abilist/libcrypt.abilist: Remove.
40223 * abilist/libdl.abilist: Remove.
40224 * abilist/librt.abilist: Remove.
40225 * abilist/libthread_db.abilist: Remove.
40226 * abilist/libutil.abilist: Remove.
40227 * scripts/extract-abilist.awk: Remove.
40228 * scripts/merge-abilist.awk: Remove.
40229 * sysdeps/generic/libcidn.abilist: New file.
40230 * sysdeps/generic/libnss_compat.abilist: New file.
40231 * sysdeps/generic/libnss_db.abilist: New file.
40232 * sysdeps/generic/libnss_dns.abilist: New file.
40233 * sysdeps/generic/libnss_files.abilist: New file.
40234 * sysdeps/generic/libnss_hesiod.abilist: New file.
40235 * sysdeps/generic/libnss_nis.abilist: New file.
40236 * sysdeps/generic/libnss_nisplus.abilist: New file.
40237 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40238 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40239 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40241 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40242 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40243 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40244 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40245 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40246 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40248 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40249 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40251 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40252 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40253 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40254 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40256 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40257 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40258 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40259 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40260 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40261 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40263 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40264 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40265 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40267 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40371 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40372 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40375 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40376 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40377 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40378 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40379 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40380 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40381 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40382 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40383 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40435 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40437 * conform/conformtest.pl: Fix typo in handling typed-constant from
40440 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40442 * README: Cut down references to pre-2.6 Linux kernels and
40443 Linuxthreads. Update lists of configurations in libc and ports
40444 and sort alphabetically. Say "or newer" with Linux kernel version
40447 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40449 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40452 * math/libm-test.inc (logb_test_downward): New test to expose
40453 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40456 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40459 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40461 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40462 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40464 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40466 * sysdeps/unix/i386/brk.S: Remove file.
40467 * sysdeps/unix/i386/dl-brk.S: Likewise.
40468 * sysdeps/unix/i386/pipe.S: Likewise.
40469 * sysdeps/unix/i386/sigreturn.S: Likewise.
40470 * sysdeps/unix/i386/syscall.S: Likewise.
40471 * sysdeps/unix/i386/vfork.S: Likewise.
40472 * sysdeps/unix/i386/wait.S: Likewise.
40474 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40475 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40477 * configure.in (arm*-none*): Do not allow without
40478 --enable-hacker-mode.
40479 (netbsd*): Remove case setting base_os.
40480 (386bsd*): Likewise.
40481 (freebsd*): Likewise.
40484 (sunos*): Likewise.
40485 (ultrix*): Likewise.
40486 (newsos*): Likewise.
40487 (dynix*): Likewise.
40493 (minix*): Likewise.
40494 (irix4*): Likewise.
40495 (irix6*): Likewise.
40496 (solaris[2-9]*): Likewise.
40498 * configure: Regenerated.
40500 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40503 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40504 overflow or cancellation in calculating denominator.
40505 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40507 down expression to avoid unexpected rounding in newer GCCs.
40508 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40510 2012-04-26 David S. Miller <davem@davemloft.net>
40512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40513 long-double compat symbols.
40514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40528 2012-04-25 David S. Miller <davem@davemloft.net>
40530 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40531 HWCAP_* values only after the memory barriers have been defined.
40532 (atomic_full_barrier): Define.
40533 (atomic_read_barrier): Define.
40534 (atomic_write_barrier): Define.
40536 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40538 * shlib-versions: Add libgcc_s version information.
40539 * sysdeps/generic/libgcc_s.h: Remove.
40540 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40542 * sysdeps/gnu/unwind-resume.c: Likewise.
40543 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40545 2012-04-25 David S. Miller <davem@davemloft.net>
40547 * sysdeps/unix/sparc/brk.S: Delete.
40548 * sysdeps/unix/sparc/dl-brk.S: Delete.
40549 * sysdeps/unix/sparc/pipe.S: Delete.
40550 * sysdeps/unix/sparc/sysdep.S: Delete.
40551 * sysdeps/unix/sparc/sysdep.h: Delete.
40552 * sysdeps/unix/sparc/vfork.S: Delete.
40553 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40554 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40556 (ret_ERRVAL, r0, r1, MOVE): Define.
40557 (JUMPTARGET): Remove.
40558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40559 sysdeps/unix/sparc/sysdep.h
40560 (ENTRY, END): Remove.
40561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40563 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40565 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40566 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40569 * timezone/README: Update upstream location and email address for
40571 * timezone/zdump.c: Update from tzcode 2012b.
40572 * timezone/zic.c: Likewise.
40574 * configure.in (libc_cv_as_needed): Remove test.
40575 * configure: Regenerated.
40576 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40577 conditional definition.
40578 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40579 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40580 * config.make.in (have-as-needed): Remove variable.
40582 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40583 Paul Pluzhnikov <ppluzhnikov@google.com>
40585 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40588 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40590 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40591 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40592 * sysdeps/sh/strlen.S: Likewise.
40594 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40596 * sysdeps/unix/fork.S: Remove file.
40597 * sysdeps/unix/i386/fork.S: Likewise.
40598 * sysdeps/unix/sparc/fork.S: Likewise.
40600 * sysdeps/unix/system.c: Remove file.
40601 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40603 * sysdeps/unix/getegid.S: Remove file.
40604 * sysdeps/unix/geteuid.S: Likewise.
40606 2012-04-24 Roland McGrath <roland@hack.frob.com>
40608 * scripts/check-localplt.awk: New file.
40609 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40611 * scripts/data/localplt-generic.data: Add a comment.
40613 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40614 NODE when __dir_mkfile failed.
40615 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40616 Reported by Ludovic Courtès <ludo@gnu.org>.
40618 2012-04-24 Andreas Jaeger <aj@suse.de>
40620 * Makerules (common-clean): Also remove gen-as-const-headers
40623 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40625 * Makerules (native-compile): Do not change working directory for
40626 build. Use $(OUTPUT_OPTION) in command.
40627 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40629 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40632 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40633 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40634 * math/libm-test.inc (floor_test): Add more tests.
40635 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40637 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40639 * sysdeps/unix/getdents.c: Remove file.
40640 * sysdeps/unix/sysv/getdents.c: Likewise.
40641 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40643 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40644 sysdeps/unix/mman/syscalls.list.
40646 (mprotect): Likewise.
40648 (munmap): Likewise.
40649 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40650 * sysdeps/unix/mman/syscalls.list: Remove.
40651 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40653 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40654 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40655 * configure: Regenerated.
40656 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40657 $(libgcc_s_suffix).
40658 * config.make.in (libgcc_s_suffix): Remove variable.
40660 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40662 * sysdeps/unix/sysv/gethostname.c: Move to ...
40663 * sysdeps/posix/gethostname.c: ... here.
40665 * sysdeps/unix/execve.S: Remove file.
40667 * sysdeps/unix/_exit.S: Remove file.
40669 2012-04-23 Andreas Jaeger <aj@suse.de>
40672 * manual/Makefile: Remove make dist support, there's no
40673 need for a stand-alone documentation tar ball.
40674 (TEXI2DVI): Define always, it's not in Makeconfig.
40677 (edition): Removed.
40678 (glibc-doc-$(edition).tar): Removed
40682 (ETAGS): Remove, it's in Makeconfig.
40683 (move-if-change): Remove, it's in Makeconfig.
40685 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40688 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40689 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40690 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40691 (strtod_l, strtof_l, strtold_l): Remove __wur.
40692 It is not necessarily an error to ignore strtol's return value.
40693 One can reliably look at the stored endptr to decide whether
40694 the number had valid syntax.
40696 2012-04-21 Andreas Jaeger <aj@suse.de>
40699 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40701 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40703 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40704 * sysdeps/unix/sysv/Versions: Remove file.
40706 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40711 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40715 version from __vm86.
40717 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40719 * sysdeps/unix/common/lxstat.c: Remove file.
40720 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40722 * sysdeps/unix/sysv/Makefile: Remove file.
40724 * sysdeps/unix/sysv/direct.h: Remove file.
40726 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40727 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40728 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40729 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40730 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40731 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40732 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40734 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40736 * sysdeps/unix/xmknod.c: Remove file.
40737 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40739 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40741 * sysdeps/unix/sysv/i386/time.S: Remove file.
40743 * sysdeps/unix/fxstat.c: Remove file.
40744 * sysdeps/unix/xstat.c: Likewise.
40745 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40747 * sysdeps/unix/sysv/sigaction.c: Remove file.
40749 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40750 (sysdep_headers): Remove variable.
40751 [termio.h not in sysdep_headers] (generated): Likewise.
40752 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40753 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40754 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40755 * sysdeps/unix/sysv/tcflow.c: Likewise.
40756 * sysdeps/unix/sysv/tcflush.c: Likewise.
40757 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40758 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40759 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40760 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40761 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40763 * sysdeps/unix/siglist.c: Remove file.
40765 * sysdeps/unix/getppid.S: Remove file.
40767 * sysdeps/unix/mkdir.c: Remove file.
40768 * sysdeps/unix/rmdir.c: Likewise.
40770 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40772 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40774 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40775 errlist-compat value.
40777 2012-04-18 David S. Miller <davem@davemloft.net>
40779 * sysdeps/generic/memcopy.h (reg_char): Delete.
40780 * debug/strcat_chk.c: Use char, not reg_char.
40781 * debug/strcpy_chk.c: Likewise.
40782 * debug/strncat_chk.c: Likewise.
40783 * debug/strncpy_chk.c: Likewise.
40784 * string/memchr.c: Likewise.
40785 * string/memrchr.c: Likewise.
40786 * string/rawmemchr.c: Likewise.
40787 * string/strcat.c: Likewise.
40788 * string/strchr.c: Likewise.
40789 * string/strchrnul.c: Likewise.
40790 * string/strcmp.c: Likewise.
40791 * string/strcpy.c: Likewise.
40792 * string/strncat.c: Likewise.
40793 * string/strncmp.c: Likewise.
40794 * string/strncpy.c: Likewise.
40796 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40798 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40799 __builtin_memcopy is called when src and dest ranges are known to not
40802 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40804 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40805 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40806 fwd_align_merge macro call.
40807 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40808 bwd_align_merge macro call.
40809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40811 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40813 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40814 bwd_align_merge macros.
40815 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40816 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40819 2012-04-18 David S. Miller <davem@davemloft.net>
40821 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40823 2012-04-18 Andreas Jaeger <aj@suse.de>
40826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40827 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40828 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40830 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40831 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40832 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40834 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40835 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40836 Adjust for changed ldbl-128 files.
40838 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40839 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40842 2012-04-17 David S. Miller <davem@davemloft.net>
40844 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40846 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40848 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40849 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40850 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40851 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40852 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40853 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40855 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40858 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40859 * math/libm-test.inc: Add ilogb errno and exception tests.
40860 * math/w_ilogb.c: New file: ilogb wrapper.
40861 * math/w_ilogbf.c: New file: ilogbf wrapper.
40862 * math/w_ilogbl.c: New file: ilogbl wrapper.
40863 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40864 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40865 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40866 exception being thrown with 0.0 as argument.
40867 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40868 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40869 exception being thrown with 0.0 as argument.
40870 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40871 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40872 exception being thrown with 0.0 as argument.
40873 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40874 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40875 exception being thrown with 0.0 as argument.
40876 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40877 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40878 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40879 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40880 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40881 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40882 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40883 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40884 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40886 2012-04-17 Petr Baudis <pasky@ucw.cz>
40888 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40891 2012-04-16 Marek Polacek <polacek@redhat.com>
40893 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40895 2012-04-16 Marek Polacek <polacek@redhat.com>
40897 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40898 operands of fdivp instruction.
40900 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40902 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40903 * elf/tst-auditmod3b.c: Likewise.
40904 * elf/tst-auditmod4b.c: Likewise.
40905 * elf/tst-auditmod5b.c: Likewise.
40906 * elf/tst-auditmod6b.c: Likewise.
40907 * elf/tst-auditmod6c.c: Likewise.
40908 * elf/tst-auditmod7b.c: Likewise.
40909 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40910 * sysdeps/x86_64/preconfigure.in: Likewise.
40911 * sysdeps/x86_64/preconfigure: Regenerated.
40913 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40915 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40918 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40921 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40923 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40926 * locale/iso-639.def: Fix gl language name. Spotted by
40929 2012-04-12 Roland McGrath <roland@hack.frob.com>
40932 * libio/libio.h (__io_write_fn): Update comment.
40934 2012-04-12 Petr Baudis <pasky@ucw.cz>
40937 * stdio.texi (Hook Functions): The user provided writer function
40938 is not allowed to return -1.
40940 2012-04-11 David S. Miller <davem@davemloft.net>
40942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40944 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40946 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40947 Add a leading slash to rtkaio.
40949 2012-04-11 Jim Meyering <meyering@redhat.com>
40952 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40953 It is not necessarily an error to ignore fwrite's return
40954 value. One can reliably use ferror to test for errors after
40957 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40959 * bits/types.h (__snseconds_t): New type.
40960 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40962 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40964 (__SNSECONDS_T_TYPE): Likewise.
40965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40966 (__SNSECONDS_T_TYPE): Likewise.
40967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40968 (__SNSECONDS_T_TYPE): Likewise.
40970 2012-04-10 Andreas Jaeger <aj@suse.de>
40973 * manual/time.texi (Processor Time): Return type of times is
40974 elapsed real time since an arbitrary point in the past.
40975 (CPU Time): Move CLK_TCK from here...
40976 (Processor Time): ...to here. Correct description.
40977 * manual/conf.texi (Constants for Sysconf): Correct description of
40980 2012-04-10 David S. Miller <davem@davemloft.net>
40983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40984 where the is a gap between DT_REL(A) and DT_JMPREL.
40986 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40988 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40989 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40990 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40992 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40994 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40995 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40996 (dl_main): Handle --inhibit-cache.
40997 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40999 * elf/dl-load.c (_dl_map_object): Use it.
41000 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41002 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41005 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41006 (__ieee754_powl): Saturate large exponents rather than testing for
41007 overflow of y*log2(x).
41008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41009 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41013 * math/s_ctan.c: Include <float.h>.
41014 (__ctan): Avoid internal overflow or cancellation in calculating
41016 * math/s_ctanf.c: Likewise.
41017 * math/s_ctanl.c: Likewise.
41018 * math/s_ctanh.c: Likewise.
41019 * math/s_ctanhf.c: Likewise.
41020 * math/s_ctanhl.c: Likewise.
41021 * math/libm-test.inc (ctan_test): Add more tests.
41022 (ctanh_test): Likewise.
41023 * sysdeps/i386/fpu/libm-test-ulps: Update.
41024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41026 2012-04-09 Andreas Jaeger <aj@suse.de>
41029 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41030 is an optional BSD extension.
41033 * manual/stdio.texi (Opening Streams): Document additional fopen
41036 2012-04-09 Roland McGrath <roland@hack.frob.com>
41038 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41039 %eax without telling the compiler.
41041 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41044 * manual/install.texi: Use sourceware.org.
41046 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41049 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41050 (__ieee754_pow): Generate overflow and underflow using huge*huge
41051 and tiny*tiny rather than just returning constant infinity or zero
41052 for large exponents.
41053 * math/libm-test.inc (pow_test): Require overflow exceptions for
41054 applicable cases of large exponents.
41057 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41058 (__ieee754_pow): Use iterative multiplication algorithm only for
41059 integer exponents with absolute value below 1024. Check for odd
41060 integer exponents when using algorithm for real exponents.
41061 * math/libm-test.inc (pow_test): Add more tests.
41062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41064 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41067 * math/libm-test.inc (exp_test): Do not allow overflow exception
41070 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41073 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41074 instead of __kernel_standard_f.
41076 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41078 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41079 * sysdeps/x86_64/memset_chk.S: Likewise.
41081 2012-04-08 Andreas Jaeger <aj@suse.de>
41084 * manual/startup.texi (Environment Access): Describe return value
41085 for putenv and setenv.
41088 * manual/filesys.texi (Directory Entries): Add description for
41092 * manual/filesys.texi (Directory Entries): Clarify that it's file
41093 system not operating system in the description of DT_UNKNOWN.
41096 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41098 2012-04-08 Stephen Compall <s11@member.fsf.org>
41101 * manual/llio.texi (Opening and Closing Files): Add cross
41102 reference to explain mode argument.
41104 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41106 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41107 * sysdeps/x86_64/memset_chk.S: Likewise.
41109 2012-04-07 David S. Miller <davem@davemloft.net>
41111 * elf/elf.h (R_SPARC_WDISP10): Define.
41112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41115 R_SPARC_SIZE64 and R_SPARC_H34.
41117 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41120 conditions and remove no longer applicable assertion.
41122 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41124 * bits/byteswap.h: Include <features.h>.
41125 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41126 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41128 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41130 * bits/byteswap.h (__bswap_16): Removed.
41131 Include <bits/byteswap-16.h> to get __bswap_16.
41132 * sysdeps/i386/bits/byteswap.h: Likewise.
41133 * sysdeps/s390/bits/byteswap.h: Likewise.
41134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41135 * bits/byteswap-16.h: New file.
41136 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41137 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41138 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41139 * string/Makefile (headers): Add bits/byteswap-16.h.
41141 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41144 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41146 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41147 * nss/tst-nss-static.c: New.
41149 2012-04-06 Robert Millan <rmh@gnu.org>
41152 * manual/llio.texi (File Position Primitive): lseek
41153 refers to WHENCE when it really means OFFSET.
41155 2012-04-06 Andreas Jaeger <aj@suse.de>
41157 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41158 strncmp declarations.
41160 * abilist/libc.abilist: Add __poll and __ppoll.
41162 2012-04-05 David S. Miller <davem@davemloft.net>
41164 * scripts/check-local-headers.sh: Accept a host triplet in the
41165 path matched by the exclude regexp.
41167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41169 * sysdeps/powerpc/powerpc32/dl-machine.h
41170 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41171 * sysdeps/s390/s390-32/dl-machine.h
41172 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41173 * sysdeps/sparc/sparc32/dl-machine.h
41174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41175 * sysdeps/sparc/sparc64/dl-machine.h
41176 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41178 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41180 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41181 undefined symbol errors.
41183 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41186 2012-04-05 Michael Matz <matz@suse.de>
41189 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41191 2012-04-05 Andreas Jaeger <aj@suse.de>
41194 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41197 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41199 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41200 which ROUND is no valid rounding mode.
41202 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41206 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41208 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41210 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41211 an exception using FPU order intentionally.
41213 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41215 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41216 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41217 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41218 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41220 2012-04-05 Simon Josefsson <simon@josefsson.org>
41223 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41224 EINVAL when BUFLEN is too smal.
41226 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41229 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41230 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41232 2012-04-03 Andreas Jaeger <aj@suse.de>
41235 * manual/setjmp.texi (System V contexts): Fix sentence.
41238 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41239 New macro for this case.
41240 [!__GNUC__] (__bswap_64): New inline function for this case.
41241 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41242 * bits/byteswap.h: Likewise.
41243 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41244 ull, guard with __GLIBC_HAVE_LONG_LONG.
41246 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41247 __GLIBC_HAVE_LONG_LONG.
41249 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41250 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41252 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41255 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41256 inptr and inend, rather than using last_ch.
41258 2012-04-02 David S. Miller <davem@davemloft.net>
41260 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41261 * stdio-common/printf-parse.h (read_int): Change return type to
41262 'int', return -1 on INT_MAX overflow.
41263 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41264 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41265 overflows INT_MAX. Check for overflow of in-format-string precision
41266 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41267 SIZE_MAX not INT_MAX for integer overflow test.
41268 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41269 skip the construct in the format string but do not record anything.
41270 * stdio-common/bug22.c: Adjust to test both width/prevision
41271 INT_MAX overflow as well as total length INT_MAX overflow. Check
41272 explicitly for proper errno values.
41274 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41276 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41278 * string/test-strcmp.c [! WIDE]: Likewise.
41279 * time/tst-mktime2.c: Likewise for INT_MAX.
41280 * string/test-string.h: #include <sys/param.h> for MIN.
41282 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41283 * sysdeps/i386/init-first.c (init): Likewise.
41284 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41285 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41286 * sysdeps/sh/init-first.c (init): Likewise.
41288 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41290 * po/ru.po: Update from translation team.
41291 * po/vi.po: Likewise.
41293 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41295 * resolv/nss_dns/dns-host.c: Merge copyright years.
41297 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41300 Optimize memcpy with prefetch if
41301 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41302 src, dst pointers have unequal 16 byte alignments.
41304 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41307 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41308 from a CNAME entry and return the minimum ttl for the query.
41309 (gaih_getanswer_slice): Likewise.
41311 2012-03-30 Jeff Law <law@redhat.com>
41313 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41315 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41316 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41318 * resolv/nss_dns/dns-host.c: Update copyright year.
41320 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41322 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41323 requests to save a system call. Fix check that all bytes are sent.
41325 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41326 comments for sendmmsg.
41328 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41331 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41332 with only 1 character between 0x0041 and 0x01b0.
41333 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41334 * wcsmbs/tst-mbsnrtowcs.c: New file.
41336 2012-03-29 David S. Miller <davem@davemloft.net>
41338 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41339 small copies by hand.
41341 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41344 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41345 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41348 2012-03-28 David S. Miller <davem@davemloft.net>
41350 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41351 that branches into memcpy.
41352 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41353 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41355 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41358 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41359 implementation too.
41360 * sysdeps/sparc/mempcpy.S: New file.
41362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41363 the IFUNC routine in the libc case.
41364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41366 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41367 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41368 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41369 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41370 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41371 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41372 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41373 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41375 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41376 loop to 256 bytes instead of 64 bytes and fix test signedness.
41378 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41379 * sysdeps/sparc/sparc32/Makefile: rather than here...
41380 * sysdeps/sparc/sparc64/Makefile: and here.
41382 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41384 * malloc/mallocbug.c: Avoid warnings about unused variables.
41386 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41389 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41390 in the right place. Discard and retry query if response is
41391 larger than input buffer size.
41393 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41398 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41399 x for large integer exponent.
41400 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41401 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41402 sign of result as needed afterwards.
41403 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41404 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41405 result for underflowing pow the same as for overflow.
41406 (__kernel_standard_l): Handle powl overflow and underflow here
41407 rather than calling __kernel_standard.
41408 * math/libm-test.inc (pow_test): Add more tests.
41423 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41424 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41425 (__kernel_standard_l): New function.
41426 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41428 * math/w_acosl.c (__acosl): Likewise.
41429 * math/w_asinl.c (__asinl): Likewise.
41430 * math/w_atan2l.c (__atan2l): Likewise.
41431 * math/w_atanhl.c (__atanhl): Likewise.
41432 * math/w_coshl.c (__coshl): Likewise.
41433 * math/w_exp10l.c (__exp10l): Likewise.
41434 * math/w_exp2l.c (__exp2l): Likewise.
41435 * math/w_fmodl.c (__fmodl): Likewise.
41436 * math/w_hypotl.c (__hypotl): Likewise.
41437 * math/w_j0l.c (__j0l, __y0l): Likewise.
41438 * math/w_j1l.c (__j1l, __y1l): Likewise.
41439 * math/w_jnl.c (__jnl, __ynl): Likewise.
41440 * math/w_lgammal.c (__lgammal): Likewise.
41441 * math/w_log10l.c (__log10l): Likewise.
41442 * math/w_log2l.c (__log2l): Likewise.
41443 * math/w_logl.c (__logl): Likewise.
41444 * math/w_powl.c (__powl): Likewise.
41445 * math/w_remainderl.c (__remainderl): Likewise.
41446 * math/w_scalbl.c (sysv_scalbl): Likewise.
41447 * math/w_sinhl.c (__sinhl): Likewise.
41448 * math/w_sqrtl.c (__sqrtl): Likewise.
41449 * math/w_tgammal.c (__tgammal): Likewise.
41450 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41451 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41452 * math/libm-test.inc (acos_test): Add more tests.
41453 (acosh_test): Likewise.
41454 (asin_test): Likewise.
41455 (atanh_test): Likewise.
41456 (exp_test): Likewise.
41457 (exp10_test): Likewise.
41458 (exp2_test): Likewise.
41459 (expm1_test): Likewise.
41460 (lgamma_test): Likewise.
41461 (log_test): Likewise.
41462 (log10_test): Likewise.
41463 (log1p_test): Likewise.
41464 (log2_test): Likewise.
41465 (pow_test): Do not allow some spurious overflow exceptions.
41466 (sqrt_test): Add more tests.
41467 (tgamma_test): Likewise.
41468 (y0_test): Likewise.
41469 (y1_test): Likewise.
41470 (yn_test): Likewise.
41472 2012-03-27 Anton Blanchard <anton@samba.org>
41474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41476 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41477 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41480 2012-03-27 David S. Miller <davem@davemloft.net>
41482 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41484 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41485 have-as-vis3 check.
41487 2012-03-27 Andreas Jaeger <aj@suse.de>
41489 * sysdeps/x86_64/elf/configure.in: Moved to ...
41490 * sysdeps/x86_64/configure.in: ... here.
41491 * sysdeps/x86_64/elf/start.S: Moved to ...
41492 * sysdeps/x86_64/start.S: ... here.
41493 * sysdeps/x86_64/elf/configure: Delete.
41495 * sysdeps/x86_64/configure.in: Merge contents from
41496 sysdeps/i386/configure.in (without i686 check).
41498 * sysdeps/i386/elf/Versions: Merge into ...
41499 * sysdeps/i386/Versions: ... this.
41500 * sysdeps/i386/elf/Versions: Delete file.
41501 * sysdeps/i386/elf/start.S: Moved to ...
41502 * sysdeps/i386/start.S: ...here.
41503 * sysdeps/i386/elf/configure.in: Merge into...
41504 * sysdeps/i386/configure.in: ...here.
41505 * sysdeps/i386/elf/configure.in: Delete file.
41506 * sysdeps/i386/elf/configure: Delete file.
41508 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41509 * debug/backtracesyms.c: ... here.
41510 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41511 * debug/backtracesymsfd.c: ... here.
41512 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41513 * sysdeps/generic/ifunc-sel.h: ... here.
41515 * sysdeps/unix/i386/start.c: Delete file.
41516 * sysdeps/unix/sparc/start.c: Delete file.
41517 * sysdeps/unix/start.c: Delete file.
41519 * sysdeps/sh/elf/configure.in: Moved to ...
41520 * sysdeps/sh/configure.in: ... here.
41521 * sysdeps/sh/elf/start.S: Moved to ...
41522 * sysdeps/sh/start.S: ... here.
41523 * sysdeps/sh/elf/configure: Delete file.
41525 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41526 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41527 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41528 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41529 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41530 * sysdeps/powerpc/powerpc64/start.S: here.
41531 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41532 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41533 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41534 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41535 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41537 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41538 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41539 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41540 * sysdeps/powerpc/powerpc32/start.S: ... here.
41541 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41542 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41543 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41545 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41546 * sysdeps/powerpc/ifunc-sel.h: ... here.
41547 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41548 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41550 * sysdeps/sparc/elf/configure.in: Moved to ...
41551 * sysdeps/sparc/configure.in: ... here.
41552 * sysdeps/sparc/elf/configure: Delete file.
41553 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41554 * sysdeps/sparc/sparc32/start.S: ... here.
41555 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41556 * sysdeps/sparc/sparc64/start.S: ... here.
41557 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41558 * sysdeps/sparc/sparc32/Makefile: ... this.
41559 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41560 * sysdeps/sparc/sparc64/Makefile: ... this.
41562 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41563 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41564 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41565 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41566 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41567 * sysdeps/s390/s390-32/setjmp.S: ... here.
41568 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41569 * sysdeps/s390/s390-32/configure.in: ... here.
41570 * sysdeps/s390/s390-32/elf/configure: Delete file.
41571 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41572 * sysdeps/s390/s390-32/start.S: ... here.
41574 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41575 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41576 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41577 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41578 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41579 * sysdeps/s390/s390-64/setjmp.S: ... here.
41580 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41581 * sysdeps/s390/s390-64/configure.in: ... here
41582 * sysdeps/s390/s390-64/elf/configure: Delete file.
41583 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41584 * sysdeps/s390/s390-64/start.S: ... here.
41585 * sysdeps/s390/s390-64/elf/configure: Delete.
41587 * configure.in: Remove support for elf directories in sysdeps.
41589 * configure: Regenerated.
41590 * sysdeps/i386/configure: Regenerated.
41591 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41592 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41593 * sysdeps/s390/s390-32/configure: Regenerated.
41594 * sysdeps/s390/s390-64/configure: Regenerated.
41595 * sysdeps/sh/configure: Regenerated.
41596 * sysdeps/sparc/configure: Regenerated.
41597 * sysdeps/x86_64/configure: Regenerated.
41599 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41604 denormal result into account.
41606 2012-03-25 Roland McGrath <roland@hack.frob.com>
41608 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41609 Reported by Allan McRae <allan@archlinux.org>.
41611 2012-03-23 Jeff Law <law@redhat.com>
41613 * nss/getnssent.c (__nss_getent): Fix typo.
41615 2012-03-23 David S. Miller <davem@davemloft.net>
41617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41619 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41621 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41622 to pad to uint64_t for each field.
41623 (dl_tls_index): Replace unsigned long with uint64_t.
41625 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41626 Paul Pluzhnikov <ppluzhnikov@google.com>
41629 * grp/Makefile (otherlibs): Don't set it.
41630 * inet/Makefile (otherlibs): Likewise.
41631 * login/Makefile (otherlibs): Likewise.
41632 * nscd/Makefile (otherlibs): Likewise.
41633 * posix/Makefile (otherlibs): Likewise.
41634 * pwd/Makefile (otherlibs): Likewise.
41635 * rt/Makefile (otherlibs): Likewise.
41636 * sunrpc/Makefile (otherlibs): Likewise.
41637 * nss/Makefile (otherlibs): Likewise.
41638 Add libnss_files to routines and static-only-routines.
41639 ($(objpfx)getent): Remove rule.
41640 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41641 static-only-routines.
41643 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41646 * math/s_cexp.c: Include <float.h>.
41647 (__cexp): Handle exp result overflowing not necessarily
41648 overflowing both real and imaginary parts of result.
41649 * math/s_cexpf.c: Likewise.
41650 * math/s_cexpl.c: Likewise.
41651 * math/libm-test.inc (cexp_test): Add more tests.
41652 * sysdeps/i386/fpu/libm-test-ulps: Update.
41653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41655 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41657 * include/link.h (ELFW): New macro.
41658 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41659 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41661 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41663 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41666 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41668 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41670 (struct La_x32_retval): Likewise.
41672 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41674 * sysdeps/x86_64/preconfigure.in: New file.
41675 * sysdeps/x86_64/preconfigure: New generated file.
41677 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41680 * math/e_exp2l.c: Include <float.h>.
41681 (__ieee754_exp2l): Handle overflow and underflow cases
41682 separately. Only pass fractional part of argument to
41684 * math/libm-test.inc (exp2_test): Add more tests.
41686 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41687 negating x to take absolute value.
41688 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41690 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41691 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41693 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41694 computing low part if x was negated.
41695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41697 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41699 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41700 la_x32_gnu_pltexit.
41701 (pltexit): Cast int_retval to ptrdiff_t.
41702 * elf/tst-auditmod3b.c: Likewise.
41703 * elf/tst-auditmod4b.c: Likewise.
41704 * elf/tst-auditmod5b.c: Likewise.
41705 * elf/tst-auditmod6b.c: Likewise.
41706 * elf/tst-auditmod6c.c: Likewise.
41707 * elf/tst-auditmod7b.c: Likewise.
41709 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41710 and x32_gnu_pltexit.
41712 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41713 __ELF_NATIVE_CLASS.
41714 (La_x32_regs): New macro.
41715 (La_x32_retval): Likewise.
41716 (la_x32_gnu_pltenter): New function prototype.
41717 (la_x32_gnu_pltexit): Likewise.
41719 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41726 * configure.in (libc_cv_cc_nofma): Check for option to disable
41727 generation of FMA instructions.
41728 * configure: Regenerate.
41729 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41730 * sysdeps/ieee754/dbl-64/Makefile: New file.
41731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41732 Remove brandred-fma4.
41733 (CFLAGS-brandred-fma4.c): Remove.
41734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41740 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41742 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41743 LLONG_MAX != LONG_MAX.
41744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41745 (_fitoa_word): Likewise.
41746 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41747 LLONG_MAX != LONG_MAX.
41748 * stdio-common/_itowa.h: Include <_itoa.h>.
41749 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41750 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41751 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41752 only if not defined.
41753 (_ITOA_WORD_TYPE): Likewise.
41754 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41755 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41757 2012-03-21 David S. Miller <davem@davemloft.net>
41759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41761 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41763 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41764 of x86_64 when setting libc_cv_slibdir, libdir and
41766 * sysdeps/unix/sysv/linux/configure: Regenerated.
41768 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41770 * manual/lang.texi (Old Varargs): Remove section.
41771 (How Variadic): Update menu.
41772 (va_start): Do not mention varargs.h.
41774 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41775 Joseph Myers <joseph@codesourcery.com>
41777 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41779 * configure: Regenerated.
41781 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41783 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41784 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41787 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41790 * Makefile (files-for-dist): Remove NOTES.
41791 (NOTES): Remove rule.
41792 * README: Don't refer to NOTES.
41793 * manual/creature.texi: Don't include macros.texi.
41794 * manual/intro.texi (creature.texi): Remove comment referring to
41797 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41798 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41799 * configure: Regenerated.
41800 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41801 LIBC_TRY_CC_OPTION.
41802 (libc_cv_as_i686): Likewise.
41803 (libc_cv_cc_avx): Likewise.
41804 (libc_cv_cc_sse2avx): Likewise.
41805 (libc_cv_cc_fma4): Likewise.
41806 (libc_cv_cc_novzeroupper): Likewise.
41807 * sysdeps/i386/configure: Regenerated.
41810 * sysdeps/i386/fpu/s_cexp.S: Remove.
41811 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41812 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41813 * math/libm-test.inc (cexp_test): Add more tests.
41814 * sysdeps/i386/fpu/libm-test-ulps: Update.
41815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817 2012-03-21 Allan McRae <allan@archlinux.org>
41819 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41821 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41824 * math/w_exp2.c: Do not include <float.h>.
41825 (o_threshold, u_threshold): Remove.
41826 (__exp2): Calculate result before checking finiteness and calling
41828 * math/w_exp2f.c: Likewise.
41829 * math/w_exp2l.c: Likewise.
41830 * math/libm-test.inc (exp2_test): Require overflow exception for
41834 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41835 range of signed 64-bit integers before using fistpll. Remove
41836 checks for whether integers fit in mantissa bits.
41837 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41838 the range of signed 32-bit integers before using fistpl. Remove
41839 checks for whether integers fit in mantissa bits.
41840 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41841 (__ieee754_powl): Test for y outside the range of signed 64-bit
41842 integers before using fistpll. Reduce 64-bit values to 63-bit
41844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41845 divide-by-zero is raised for zero to large negative powers.
41846 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41847 (__ieee754_powl): Test for y outside the range of signed 64-bit
41848 integers before using fistpll. Reduce 64-bit values to 63-bit
41850 * math/libm-test.inc (pow_test): Add more tests.
41852 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41854 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41855 <stdio-common/_itoa.h>.
41856 * debug/segfault.c: Likewise.
41857 * elf/dl-cache.c: Likewise.
41858 * elf/dl-minimal.c: Likewise.
41859 * elf/dl-misc.c: Likewise.
41860 * elf/dl-sysdep.c: Likewise.
41861 * elf/dl-version.c: Likewise.
41862 * elf/rtld.c: Likewise.
41863 * hurd/hurdsock.c: Likewise.
41864 * hurd/lookup-retry.c: Likewise.
41865 * malloc/malloc.c: Likewise.
41866 * malloc/mtrace.c: Likewise.
41867 * nscd/nscd_getgr_r.c: Likewise.
41868 * nscd/nscd_getpw_r.c: Likewise.
41869 * nscd/nscd_getserv_r.c: Likewise.
41870 * posix/getopt_init.c: Likewise.
41871 * posix/wordexp.c: Likewise.
41872 * stdio-common/_itoa.c: Likewise.
41873 * stdio-common/printf_fphex.c: Likewise.
41874 * stdio-common/vfprintf.c: Likewise.
41875 * string/_strerror.c: Likewise.
41876 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41877 * sysdeps/i386/i686/hp-timing.h: Likewise.
41878 * sysdeps/mach/_strerror.c: Likewise.
41879 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41880 * sysdeps/mach/hurd/sethostid.c: Likewise.
41881 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41882 * sysdeps/mach/xpg-strerror.c: Likewise.
41883 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41885 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41886 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41887 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41888 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41889 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41890 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41891 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41892 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41893 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41894 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41895 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41896 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41897 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41898 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41899 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41900 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41901 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41902 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41903 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41905 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41907 * stdio-common/_itoa.h: Moved to ...
41908 * sysdeps/generic/_itoa.h: Here.
41910 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41912 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41913 instead of "_itoa.h" and "_itowa.h".
41914 * stdio-common/vfprintf.: Likewise.
41916 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41918 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41920 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41921 (__signbit): Likwise.
41922 (llrintf): Likwise.
41925 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41927 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41930 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41932 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41933 OVERFLOW_EXCEPTION_OK.
41934 * math/libm-test.inc ("Philosophy"): Update comment about
41936 (OVERFLOW_EXCEPTION): Define.
41937 (OVERFLOW_EXCEPTION_OK): Likewise.
41938 (INVALID_EXCEPTION_OK): Renumber.
41939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41940 (IGNORE_ZERO_INF_SIGN): Likewise.
41941 (test_exceptions): Handle FE_OVERFLOW.
41942 (exp10_test): Expect overflow exceptions.
41943 (exp2_test): Likewise.
41944 (expm1_test): Likewise.
41945 (nextafter_test): Likewise.
41946 (pow_test): Likewise.
41947 (scalbn_test): Likewise.
41948 (scalbln_test): Likewise.
41950 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41952 * sysdeps/x86_64/bits/atomic.h
41953 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41955 (atomic_exchange_acq): Likewise.
41956 (__arch_exchange_and_add_body): Likewise.
41957 (__arch_add_body): Likewise.
41958 (atomic_add_negative): Likewise.
41959 (atomic_add_zero): Likewise.
41961 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41963 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41964 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41966 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41968 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41969 Check __x86_64__ instead of __WORDSIZE.
41971 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41973 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41975 2012-03-19 David S. Miller <davem@davemloft.net>
41977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41979 * sysdeps/sparc/fpu/fenv_private.h: New file.
41980 * sysdeps/sparc/fpu/math_private.h: Use it.
41981 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41983 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41984 (libc_feholdexcept_setroundl): Remove.
41985 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41987 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41988 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41990 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41992 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41993 int64_t instead of long int.
41994 (INSERT_WORDS64): Likwise.
41996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41998 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41999 _Unwind_GetCFA return to _Unwind_Ptr first.
42001 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42004 * math/s_clog.c: Include <float.h>.
42005 (__clog): Scale large or subnormal inputs.
42006 * math/s_clogf.c: Likewise.
42007 * math/s_clogl.c: Likewise.
42008 * math/s_clog10.c: Include <float.h>.
42009 (M_LOG10_2): Define.
42010 (__clog10): Scale large or subnormal inputs.
42011 * math/s_clog10f.c: Likewise.
42012 * math/s_clog10l.c: Likewise.
42013 * math/libm-test.inc (clog_test): Add more tests.
42014 (clog10_test): Likewise.
42015 * sysdeps/i386/fpu/libm-test-ulps: Update.
42016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42019 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42021 * math/libm-test.inc (atan2_test): Add another test.
42023 * Makerules (common-objdir-compile): Remove.
42024 * sysdeps/unix/Makefile (config-generated): Do not add
42025 $(unix-generated) to variable.
42026 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42027 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42029 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42031 [generic bits/local_lim.h] (before-compile): Do not append to
42033 [generic bits/local_lim.h] (common-generated): Likewise.
42034 [generic sys/param.h] (before-compile): Do not append to variable.
42035 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42036 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42037 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42038 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42040 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42041 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42042 [generic sys/param.h] ($(addprefix
42043 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42044 [generic sys/param.h] (common-generated): Do not append to
42046 [generic sys/param.h] (sysdep_headers): Likewise.
42047 [generic bits/errno.h] (before-compile): Do not append to
42049 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42051 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42052 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42053 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42054 [generic bits/errno.h] (common-generated): Do not append to
42056 [generic bits/ioctls.h] (before-compile): Do not append to
42058 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42060 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42061 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42062 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42064 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42065 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42066 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42067 [generic bits/ioctls.h] (common-generated): Do not append to
42069 [generic sys/syscall.h] (syscall.h): Remove variable.
42070 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42072 [generic sys/syscall.h] (before-compile): Do not append to
42074 [generic sys/syscall.h] (common-generated): Likewise.
42075 * sysdeps/unix/errnos-tmpl.c: Remove file.
42076 * sysdeps/unix/errnos.awk: Likewise.
42077 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42078 * sysdeps/unix/ioctls.awk: Likewise.
42079 * sysdeps/unix/mk-local_lim.c: Likewise.
42080 * sysdeps/unix/snarf-ioctls: Likewise.
42082 2012-03-19 Richard Henderson <rth@twiddle.net>
42084 * sysdeps/i386/fpu/fenv_private.h: New file.
42085 * sysdeps/i386/fpu/math_private.h: Use it.
42086 (math_opt_barrier, math_force_eval): Remove.
42087 (libc_feholdexcept_setround_53bit): Remove.
42088 (libc_feupdateenv_53bit): Remove.
42089 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42090 (math_opt_barrier, math_force_eval): Remove.
42091 (libc_feholdexcept): Remove.
42092 (libc_feholdexcept_setround): Remove.
42093 (libc_fetestexcept, libc_fesetenv): Remove.
42094 (libc_feupdateenv_test): Remove.
42095 (libc_feupdateenv, libc_feholdsetround): Remove.
42096 (libc_feresetround): Remove.
42098 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42099 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42101 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42102 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42103 (libc_feupdateenv_testl): New.
42104 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42105 (libc_feupdateenv_testf): New.
42106 (libc_feupdateenv): Use libc_feupdateenv_test.
42107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42110 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42111 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42112 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42113 (libc_feresetround_noex): New.
42114 (libc_feresetround_noexf): New.
42115 (libc_feresetround_noexl): New.
42116 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42117 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42118 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42119 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42124 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42126 SET_RESTORE_ROUND_NOEX.
42127 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42128 SET_RESTORE_ROUND_NOEXF.
42129 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42130 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42131 (libc_feholdsetroundf): New.
42132 (libc_feresetround, libc_feresetroundf): New.
42134 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42135 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42136 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42138 * sysdeps/generic/math_private.h: Include <fenv.h>.
42139 (default_libc_feholdexcept): New.
42140 (default_libc_feholdexcept_setround): New.
42141 (default_libc_fesetenv, default_libc_feupdateenv): New.
42142 (libc_feholdexcept): Only define if undefined.
42143 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42144 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42145 (libc_feholdexcept_setroundl): Likewise.
42146 (libc_feholdexcept_setround_53bit): Likewise.
42147 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42148 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42149 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42150 (libc_feupdateenv_53bit): Likewise.
42151 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42152 (libc_feholdexcept): Convert from macro to inline function.
42153 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42154 (libc_fesetenv, libc_feupdateenv): Likewise.
42156 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42157 not previously defined.
42158 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42159 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42160 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42161 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42162 * sysdeps/ieee754/flt-32/math_private.h: New file.
42163 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42164 math_private.h below SET_FLOAT_WORD.
42165 (__isnan, __isinf_ns, __finite): Remove.
42166 (__isnanf, __isinf_nsf, __finitef): Remove.
42168 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42172 2012-03-17 David S. Miller <davem@davemloft.net>
42175 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42178 2012-03-16 David S. Miller <davem@davemloft.net>
42180 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42184 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42186 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42187 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42188 sysdep_routines when subdir is sysvipc.
42189 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42190 __getshmlba helper.
42192 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42194 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42196 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42199 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42202 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42203 (__lround): Renamed to ...
42204 (__llround): This. Replace long int with long long int.
42205 Define lround functions as aliases of llround functions.
42206 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42208 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42210 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42211 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42212 adresses to uintptr_t. Replace "long int" and "unsigned long
42213 int" with "greg_t" on va_arg.
42215 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42217 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42218 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42220 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42221 Move e_machine check before EI_CLASS check. Handle x32
42222 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42223 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42224 SKIP_EM_IA_64 and include
42225 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42227 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42228 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42229 (add_system_dir): New macro.
42231 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42232 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42234 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42245 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42247 * math/w_j0f.c (j0f): Likewise.
42249 * math/w_j0l.c (__j0l): Likewise.
42251 * math/w_j1.c (j1): Likewise.
42253 * math/w_j1f.c (j1f): Likewise.
42255 * math/w_j1l.c (__j1l): Likewise.
42257 * math/w_jn.c (jn): Likewise.
42259 * math/w_jnf.c (jnf): Likewise.
42261 * math/w_jnl.c (__jnl): Likewise.
42263 * math/libm-test.inc (j0_test): Add more tests.
42264 (j1_test): Likewise.
42265 (jn_test): Likewise. Add trailing semicolon to existing test.
42266 (y0_test): Likewise.
42267 (y1_test): Likewise.
42268 * sysdeps/i386/fpu/libm-test-ulps: Update.
42269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42274 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42275 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42277 (__tanl): Set errno for infinite argument.
42278 * sysdeps/i386/fpu/mptan.c: Remove.
42279 * sysdeps/i386/fpu/s_tan.S: Likewise.
42280 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42281 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42282 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42283 * math/libm-test.inc (tan_test): Add more tests and enable more
42284 tests for double and long double.
42285 * sysdeps/i386/fpu/libm-test-ulps: Update.
42286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42288 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42290 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42291 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42293 2012-03-16 Roland McGrath <roland@hack.frob.com>
42295 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42296 * configure.in: Use it for both main tree and add-ons.
42297 * configure: Regenerated.
42299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42301 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42303 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42305 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42309 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42310 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42311 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42312 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42315 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42316 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42317 != 0 for prec == 2.
42318 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42319 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42320 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42321 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42322 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42323 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42324 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42325 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42326 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42327 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42328 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42329 * math/libm-test.inc (cos_test): Add more tests and enable more
42330 tests for long double.
42331 (sin_test): Likewise.
42332 (sincos_test): Likewise.
42333 * sysdeps/i386/fpu/libm-test-ulps: Update.
42334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42336 2012-03-16 David S. Miller <davem@davemloft.net>
42338 * sysdeps/sparc/fpu/math_private.h: New file.
42340 2012-03-15 David S. Miller <davem@davemloft.net>
42342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42356 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42357 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42359 * sysdeps/sparc/sparc-ifunc.h: New file.
42360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42405 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42407 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42411 2012-03-15 Andreas Jaeger <aj@suse.de>
42414 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42415 ieee754/flt-32 implementation for sin, cos and sincos.
42416 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42417 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42418 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42419 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42420 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42421 ieee754/flt-32 implementation for tan.
42423 * math/libm-test.inc (cos_test): Enable some large input tests for
42425 (sin_test): Likewise.
42426 (sincos_test): Likewise.
42427 (tan_test): Add tests for large input.
42429 * sysdeps/i386/fpu/libm-test-ulps: Update.
42431 2012-03-15 Andreas Jaeger <aj@suse.de>
42434 * math/libm-test.inc (cos_test): Add more test cases.
42435 (sin_test): Likewise.
42436 (sincos_test): Likewise.
42438 2012-03-15 Andreas Jaeger <aj@suse.de>
42441 * math/libm-test.inc (cos_test): Add a test case for large input
42443 (sin_test): Likewise.
42444 (sincos_test): Likewise.
42446 2012-03-15 Andreas Jaeger <aj@suse.de>
42447 Joseph Myers <joseph@codesourcery.com>
42450 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42451 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42452 * sysdeps/i386/fpu/branred.c: Likewise.
42453 * sysdeps/i386/fpu/dosincos.c: Likewise.
42454 * sysdeps/i386/fpu/mpa.c: Likewise.
42455 * sysdeps/i386/fpu/s_cos.S: Likewise.
42456 * sysdeps/i386/fpu/s_sin.S: Likewise.
42457 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42458 * sysdeps/i386/fpu/sincos32.c: Likewise.
42460 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42462 (libc_feupdateenv_53bit): Define.
42463 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42465 (libc_feupdateenv_53bit): Define.
42467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42468 53 bit (without extend i386 double precision).
42470 * math/libm-test.inc (sincos_test): Add tests for large input.
42474 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42476 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42480 2012-03-15 David S. Miller <davem@davemloft.net>
42482 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42483 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42484 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42485 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42510 fmin/fmax sysdep routines.
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42513 2012-03-14 David S. Miller <davem@davemloft.net>
42515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42587 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42592 * sysdeps/sparc/configure.in: New file.
42593 * sysdeps/sparc/configure: Generate.
42594 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42595 * configure: Regenerate.
42596 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42597 * config.make.in (have-as-vis3): New.
42598 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42599 available use -Av9d instead of -Av9a.
42600 * sysdeps/sparc/sparc64/Makefile: Likewise.
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42617 fzeros/fnegs to load 0x80000000 into a float register instead of
42619 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42621 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42625 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42626 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42627 ($(inst_includedir)/bits/syscall.h): Remove rule.
42628 ($(objpfx)bits/syscall.d): Include instead of
42629 $(objpfx)syscall-list.d.
42630 (generated): Change syscall-list.h and syscall-list.d to
42631 bits/syscall.h and bits/syscall.d.
42633 2012-03-14 Roland McGrath <roland@hack.frob.com>
42636 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42638 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42641 * math/s_csqrt.c: Include <float.h>.
42642 (__csqrt): Scale large or subnormal inputs.
42643 * math/s_csqrtf.c: Likewise.
42644 * math/s_csqrtl.c: Likewise.
42645 * math/libm-test.inc (csqrt_test): Add more tests.
42646 * sysdeps/i386/fpu/libm-test-ulps: Update.
42647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42650 * math/libm-test.inc (hypot_test): Add more tests.
42652 2012-03-13 David S. Miller <davem@davemloft.net>
42655 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42656 double-precision for the calculation instead of scaling.
42658 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42660 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42661 manipulate bits before adding and subtracting TWO52[sx].
42662 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42667 2012-03-13 David S. Miller <davem@davemloft.net>
42669 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42670 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42672 rtld-global-offsets.h
42673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42675 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42678 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42680 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42681 'err' in the ifdef scope in which it is actually used.
42683 * nss/nss_db/db-init.c: Include string.h
42685 2012-03-12 David S. Miller <davem@davemloft.net>
42687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42688 masking out of the most significant byte of random value used.
42689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42690 Fix coding style in previous change.
42692 * sysdeps/unix/sysv/linux/kernel-features.h
42693 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42694 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42696 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42699 2012-03-11 David S. Miller <davem@davemloft.net>
42701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42702 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42704 for 'resultvar' otherwise things get truncated on 64-bit.
42706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42707 Fix masking out of the most significant byte of random value used.
42709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42711 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42715 2012-03-09 David S. Miller <davem@davemloft.net>
42717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42718 variables with appropriate CPP guards.
42719 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42720 from the frame pointer, not the stack pointer. Correct layout
42721 comments. Fix test on resulting framesize and the management of
42722 the outregs buffer for pltexit. Preserve floating point return
42723 values across _dl_call_pltexit call.
42724 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42725 framesize and the management of the outregs buffer for pltexit.
42726 Preserve floating point return values across _dl_call_pltexit
42728 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42729 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42730 (la_sparc64_gnu_pltexit): New functions.
42731 (print_exit): Fix format string for return register value.
42733 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42735 * sunrpc/Makefile (others): Add rpcgen.
42736 ($(objpfx)rpcgen): Remove special build rule and dependency on
42738 * sunrpc/rpcgen.c: New file.
42740 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42743 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42744 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42745 * sysdeps/i386/crti.S: Likewise.
42746 * sysdeps/i386/crtn.S: Likewise.
42747 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42748 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42749 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42750 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42751 * sysdeps/sh/crti.S: Likewise.
42752 * sysdeps/sh/crtn.S: Likewise.
42753 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42756 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42758 * locale/programs/locfile-kw.gperf: Likewise.
42759 * locale/programs/charmap-kw.h: Regenerated.
42760 * locale/programs/locfile-kw.h: Likewise.
42763 * intl/plural.y: Replace FSF snail mail address with URL.
42764 * intl/plural.c: Regenerated.
42766 2012-03-09 Richard Henderson <rth@twiddle.net>
42768 * include/math_private.h: Remove file.
42769 * math/math_private.h: Move file ...
42770 * sysdeps/generic/math_private.h: ... here.
42772 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42773 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42774 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42776 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42777 and <math_private.h>.
42778 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42779 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42780 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42781 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42782 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42825 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42826 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42827 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42828 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42829 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42833 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42834 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42857 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42858 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42860 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42861 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42862 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42866 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42867 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42868 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42869 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42871 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42872 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42873 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42874 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42875 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42878 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42879 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42880 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42881 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42882 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42883 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42884 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42885 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42886 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42887 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42888 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42889 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42890 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42891 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42892 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42893 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42894 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42895 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42896 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42897 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42898 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42899 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42900 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42901 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42902 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42903 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42905 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42906 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42907 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42908 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42909 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42910 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42911 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42912 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42913 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42914 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42919 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42920 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42921 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42922 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42923 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42924 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42925 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42926 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42927 * sysdeps/ieee754/k_standard.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43043 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43047 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43048 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43050 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43060 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43076 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43078 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43088 * sysdeps/ieee754/s_lib_version.c: Likewise.
43089 * sysdeps/ieee754/s_matherr.c: Likewise.
43090 * sysdeps/ieee754/s_signgam.c: Likewise.
43091 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43092 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43093 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43094 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43096 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43097 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43098 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43099 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43100 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43101 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43102 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43103 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43104 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43105 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43106 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43107 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43108 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43113 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43115 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43116 * sunrpc/rpc_main.c: Likewise.
43117 * sunrpc/rpc_svcout.c: Likewise.
43119 2012-03-09 David S. Miller <davem@davemloft.net>
43121 * include/math_private.h: New file.
43123 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43125 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43126 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43127 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43128 from <bits/socket_type.h>.
43129 (enum __socket_type): Don't define here.
43130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43132 bits/socket_type.h.
43135 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43136 checking __USE_GNU.
43138 * Makerules ($(inst_includedir)/%.h): New rule.
43139 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43140 (install-others): Remove variable setting.
43141 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43143 2012-03-08 Richard Henderson <rth@twiddle.net>
43145 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43146 from macro to inline function; merge with the
43147 !__LIBC_INTERNAL_MATH_INLINES version.
43148 (__ieee754_sqrtf): Likewise.
43150 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43151 to inline function.
43152 (__rintf, __floor, __floorf): Likewise.
43154 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43155 macro to inline function.
43156 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43159 not <math/math_private.h>.
43161 2012-03-08 David S. Miller <davem@davemloft.net>
43163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43165 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43167 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43169 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43171 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43172 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43174 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43176 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43177 be defined individually, they must be defined as a block. Define
43178 S for printing a string instead of hidint the different by using a
43179 macro for adding the 'l'.
43180 * stdio-common/tst-fphex-wide.c: Adjust.
43182 2012-03-07 Marek Polacek <polacek@redhat.com>
43184 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43186 2012-03-08 Marek Polacek <polacek@redhat.com>
43189 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43190 * stdio-common/tst-fphex.c: Define a few macros to make the
43191 test reusable. Use them.
43192 * stdio-common/tst-fphex-wide.c: New file.
43194 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43197 * manual/macros.texi (gnusystems): New macro.
43198 (nongnusystems): Likewise.
43199 (gnulinuxhurdsystems): Likewise.
43200 (gnuhurdsystems): Likewise..
43201 (gnulinuxsystems): Likewise.
43202 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43203 variants of the GNU system, not "GNU system".
43204 * manual/conf.texi: Likewise.
43205 * manual/errno.texi: Likewise. Update example of errno macro
43207 * manual/filesys.texi: Likewise.
43208 (getumask): Document as specific to GNU/Hurd.
43209 * manual/install.texi: Likewise. Reword some references to
43211 * manual/intro.texi: Likewise.
43212 * manual/io.texi: Likewise.
43213 (File Name Portability): Detail which constraints are inapplicable
43214 to all GNU systems and which are only inapplicable to GNU/Hurd.
43215 * manual/job.texi: Likewise.
43216 * manual/llio.texi: Likewise.
43217 (O_NOCTTY): Document as present on GNU/Linux.
43218 * manual/maint.texi: Likewise.
43219 * manual/memory.texi: Likewise.
43220 * manual/pattern.texi: Likewise.
43221 * manual/pipe.texi: Likewise.
43222 * manual/process.texi: Likewise.
43223 * manual/resource.texi: Likewise.
43224 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43226 * manual/setjmp.texi: Likewise.
43227 * manual/signal.texi: Likewise.
43228 * manual/startup.texi: Likewise.
43229 * manual/stdio.texi: Likewise.
43230 * manual/terminal.texi: Likewise.
43231 (ONLCR): Document as POSIX.
43232 (OXTABS): Document availability on GNU/Linux as XTABS.
43233 (ONOEOT): Document availability separately from other bits.
43234 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43235 * manual/time.texi: Likewise.
43236 * manual/users.texi: Likewise.
43237 * INSTALL: Regenerated.
43238 * sysdeps/gnu/errlist.c: Regenerated.
43240 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43241 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43242 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43244 * configure: Regenerated.
43246 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43248 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43249 default includes instead of AC_HEADER_CHECK.
43250 * sysdeps/i386/configure: Regenerated.
43253 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43254 * math/s_cacoshf.c (__cacoshf): Likewise.
43255 * math/s_cacoshl.c (__cacoshl): Likewise.
43256 * math/s_casinh.c (__casinh): Set signs of result from argument.
43257 * math/s_casinhf.c (__casinhf): Likewise.
43258 * math/s_casinhl.c (__casinhl): Likewise.
43259 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43260 (casinh_test): Add more tests.
43261 * sysdeps/i386/fpu/libm-test-ulps: Update.
43262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43264 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43266 * po/zh_TW.po: Update from translation team.
43268 * login/Makefile (distribute): Remove variable.
43269 * catgets/Makefile: Likewise.
43270 * mach/Makefile: Likewise.
43271 * malloc/Makefile: Likewise.
43272 * misc/Makefile: Likewise.
43273 * iconv/Makefile: Likewise.
43274 * nscd/Makefile: Likewise.
43275 * hurd/Makefile: Likewise.
43276 * manual/Makefile: Likewise.
43277 * locale/Makefile: Likewise.
43278 * intl/Makefile: Likewise.
43279 * conform/Makefile: Likewise.
43280 * nss/Makefile: Likewise.
43281 * time/Makefile: Likewise.
43282 * soft-fp/Makefile: Likewise.
43283 * dirent/Makefile: Likewise.
43284 * gmon/Makefile: Likewise.
43285 * po/Makefile: Likewise.
43286 * rt/Makefile: Likewise.
43287 * socket/Makefile: Likewise.
43288 * math/Makefile: Likewise.
43289 * signal/Makefile: Likewise.
43290 * debug/Makefile: Likewise.
43291 * elf/Makefile: Likewise.
43292 * timezone/Makefile: Likewise.
43293 * stdlib/Makefile: Likewise.
43294 * iconvdata/Makefile: Likewise.
43295 * sunrpc/Makefile: Likewise.
43296 * io/Makefile: Likewise.
43297 * argp/Makefile: Likewise.
43298 * inet/Makefile: Likewise.
43299 * hesiod/Makefile: Likewise.
43300 * grp/Makefile: Likewise.
43301 * csu/Makefile: Likewise.
43302 * wctype/Makefile: Likewise.
43303 * crypt/Makefile: Likewise.
43304 * libio/Makefile: Likewise.
43305 * string/Makefile: Likewise.
43306 * nis/Makefile: Likewise.
43307 * resolv/Makefile: Likewise.
43308 * stdio-common/Makefile: Likewise.
43309 * wcsmbs/Makefile: Likewise.
43310 * dlfcn/Makefile: Likewise.
43311 * posix/Makefile: Likewise.
43314 * timezone/Makefile: Don't install timezone files, just the programs
43317 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43319 * nss/databases.def: Add missing gshadow entry.
43321 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43323 2012-03-06 Marek Polacek <polacek@redhat.com>
43326 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43327 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43328 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43329 * stdio-common/tst-long-dbl-fphex.c: New file.
43331 2012-03-06 David S. Miller <davem@davemloft.net>
43333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43334 (set_obp_int): New function.
43335 (get_obp_int): New function.
43336 (__get_clockfreq_via_dev_openprom): Likewise.
43337 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43338 Avoid unused variable warnings on 'val' and use builtin_expect.
43339 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43341 (INLINE_CLONE_SYSCALL): Likewise.
43343 2012-03-05 David S. Miller <davem@davemloft.net>
43345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43347 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43351 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43352 only for |x| >= 40.
43353 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43355 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43358 Replace gettimeofday with __vdso_gettimeofday.
43360 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43361 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43362 __vdso_clock_gettime and __vdso_getcpu.
43364 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43365 time with __vdso_time.
43367 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43369 * manual/lang.texi (size_t): Note types to which size_t may be
43370 equivalent with the GNU C Library, but do not describe when
43371 differences between them are significant.
43373 2012-03-05 Andreas Jaeger <aj@suse.de>
43375 * sysdeps/i386/fpu/libm-test-ulps: Update.
43377 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43380 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43381 (__ieee754_pow): Save and restore rounding mode and use
43382 round-to-nearest for main computations.
43383 * math/libm-test.inc (pow_test_tonearest): New function.
43384 (pow_test_towardzero): Likewise.
43385 (pow_test_downward): Likewise.
43386 (pow_test_upward): Likewise.
43387 (main): Call the new functions.
43388 * sysdeps/i386/fpu/libm-test-ulps: Update.
43389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43392 * math/libm-test.inc (cosh_test_tonearest): New function.
43393 (cosh_test_towardzero): Likewise.
43394 (cosh_test_downward): Likewise.
43395 (cosh_test_upward): Likewise.
43396 (sinh_test_tonearest): Likewise.
43397 (sinh_test_towardzero): Likewise.
43398 (sinh_test_downward): Likewise.
43399 (sinh_test_upward): Likewise.
43400 (main): Call the new functions.
43401 * sysdeps/i386/fpu/libm-test-ulps: Update.
43402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43404 2012-03-05 Tom de Vries <tom@codesourcery.com>
43406 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43407 default stack guard is set in last bytes.
43408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43410 2012-03-05 Kees Cook <keescook@chromium.org>
43412 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43415 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43416 possibly allocate from heap instead of stack.
43417 * stdio-common/bug-vfprintf-nargs.c: New file.
43418 * stdio-common/Makefile (tests): Add nargs overflow test.
43420 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43424 2012-03-03 Marek Polacek <polacek@redhat.com>
43426 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43427 * math/math_private.h: Likewise.
43428 * stdlib/tst-strtod.c: Likewise.
43429 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43430 * sysdeps/x86_64/bits/atomic.h: Likewise.
43432 2012-03-02 David S. Miller <davem@davemloft.net>
43434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43438 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43439 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43440 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43441 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43443 2012-03-02 Roland McGrath <roland@hack.frob.com>
43446 * manual/examples/README: New file, says the example source files
43447 can be used under GPL>=2.
43448 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43449 line containing just "*/".
43450 * manual/examples/add.c: Add copyright header (GPL>=2).
43451 * manual/examples/argp-ex1.c: Likewise.
43452 * manual/examples/argp-ex2.c: Likewise.
43453 * manual/examples/argp-ex3.c: Likewise.
43454 * manual/examples/argp-ex4.c: Likewise.
43455 * manual/examples/atexit.c: Likewise.
43456 * manual/examples/db.c: Likewise.
43457 * manual/examples/dir.c: Likewise.
43458 * manual/examples/dir2.c: Likewise.
43459 * manual/examples/execinfo.c: Likewise.
43460 * manual/examples/filecli.c: Likewise.
43461 * manual/examples/filesrv.c: Likewise.
43462 * manual/examples/fmtmsgexpl.c: Likewise.
43463 * manual/examples/genpass.c: Likewise.
43464 * manual/examples/inetcli.c: Likewise.
43465 * manual/examples/inetsrv.c: Likewise.
43466 * manual/examples/isockad.c: Likewise.
43467 * manual/examples/longopt.c: Likewise.
43468 * manual/examples/memopen.c: Likewise.
43469 * manual/examples/memstrm.c: Likewise.
43470 * manual/examples/mkfsock.c: Likewise.
43471 * manual/examples/mkisock.c: Likewise.
43472 * manual/examples/mygetpass.c: Likewise.
43473 * manual/examples/pipe.c: Likewise.
43474 * manual/examples/popen.c: Likewise.
43475 * manual/examples/rprintf.c: Likewise.
43476 * manual/examples/search.c: Likewise.
43477 * manual/examples/select.c: Likewise.
43478 * manual/examples/setjmp.c: Likewise.
43479 * manual/examples/sigh1.c: Likewise.
43480 * manual/examples/sigusr.c: Likewise.
43481 * manual/examples/stpcpy.c: Likewise.
43482 * manual/examples/strdupa.c: Likewise.
43483 * manual/examples/strftim.c: Likewise.
43484 * manual/examples/strncat.c: Likewise.
43485 * manual/examples/subopt.c: Likewise.
43486 * manual/examples/swapcontext.c: Likewise.
43487 * manual/examples/termios.c: Likewise.
43488 * manual/examples/testopt.c: Likewise.
43489 * manual/examples/testpass.c: Likewise.
43490 * manual/examples/timeval_subtract.c: Likewise.
43493 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43495 * manual/timeval_subtract.c.texi: ... here, new file.
43497 2012-03-02 David S. Miller <davem@davemloft.net>
43499 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43501 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43504 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43505 (__sin): Save and restore rounding mode and use round-to-nearest
43506 for all computations.
43507 (__cos): Save and restore rounding mode and use round-to-nearest
43508 for all computations.
43509 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43511 (tan): Save and restore rounding mode and use round-to-nearest for
43513 * math/libm-test.inc (cos_test_tonearest): New function.
43514 (cos_test_towardzero): Likewise.
43515 (cos_test_downward): Likewise.
43516 (cos_test_upward): Likewise.
43517 (sin_test_tonearest): Likewise.
43518 (sin_test_towardzero): Likewise.
43519 (sin_test_downward): Likewise.
43520 (sin_test_upward): Likewise.
43521 (tan_test_tonearest): Likewise.
43522 (tan_test_towardzero): Likewise.
43523 (tan_test_downward): Likewise.
43524 (tan_test_upward): Likewise.
43525 (main): Call the new functions.
43526 * sysdeps/i386/fpu/libm-test-ulps: Update.
43527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43530 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43531 small n, then large n, before computing and testing k+n.
43532 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43537 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43538 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43543 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43544 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43545 * math/libm-test.inc (scalbn_test): Add more tests.
43546 (scalbln_test): Likewise.
43548 * manual/filesys.texi (mode_t): Describe constraints on size and
43549 signedness, not exact equivalence to a particular type.
43551 (ino64_t): Likewise.
43553 (nlink_t): Likewise.
43554 (blkcnt_t): Likewise.
43555 (blkcnt64_t): Likewise.
43556 * manual/llio.texi (off_t): Likewise.
43559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43560 (__ieee754_exp): Save and restore rounding mode and use
43561 round-to-nearest for all computations.
43562 * math/libm-test.inc (exp_test_tonearest): New function.
43563 (exp_test_towardzero): Likewise.
43564 (exp_test_downward): Likewise.
43565 (exp_test_upward): Likewise.
43566 (main): Call the new functions.
43567 * sysdeps/i386/fpu/libm-test-ulps: Update.
43568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43570 2012-03-01 Chris Demetriou <cgd@google.com>
43572 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43573 have predictable order.
43575 2012-03-01 David S. Miller <davem@davemloft.net>
43577 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43579 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43580 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43581 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43582 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43584 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43585 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43586 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43588 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43589 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43590 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43591 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43592 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43597 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43598 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43600 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43601 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43602 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43603 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43604 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43607 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43608 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43609 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43610 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43613 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43614 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43616 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43617 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43618 * sysdeps/sparc/elf/configure: Regenerated.
43620 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43622 * configure.in (AS, LD): Require binutils 2.20 or later.
43623 * configure: Regenerated.
43624 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43625 as required minimum version.
43626 * INSTALL: Regenerated.
43630 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43631 before squaring exponent.
43632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43633 bottom long double and 27 bits of top long double before squaring
43635 * math/libm-test.inc (erfc_test): Add more tests.
43636 * sysdeps/i386/fpu/libm-test-ulps: Update.
43637 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43640 2012-03-01 Kai Tietz <ktietz@redhat.com>
43642 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43643 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43644 containing bit-fields.
43645 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43646 * soft-fp/single.h (_FP_UNION_S): Likewise.
43647 * soft-fp/double.h (_FP_UNION_D): Likewise.
43649 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43652 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43653 not include ../strcmp.S.
43654 [USE_AS_STRNCASECMP_L]: Likewise.
43655 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43656 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43657 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43658 (__strncasecmp_l_ia32): Define as alias to
43659 __strncasecmp_l_nonascii.
43662 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43663 * sysdeps/i386/fpu/libm-test-ulps: Update.
43664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43666 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43669 2012-02-29 Jeff Law <law@redhat.com>
43671 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43672 out of bounds read.
43674 2012-02-29 Marek Polacek <polacek@redhat.com>
43677 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43678 * elf/Makefile: Add rules to run tst-unused-dep.out.
43680 2012-02-28 David S. Miller <davem@davemloft.net>
43682 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43683 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43685 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43686 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43687 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43689 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43691 * math/libm-test.inc (llround_test): Move one test from
43692 lround_test. Use TEST_f_L in moved test.
43693 (lround_test): Move misplaced test to llround_test. Add testcase
43696 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43698 * sysdeps/x86_64/fpu/e_expf.S: New file.
43699 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43701 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43704 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43705 of remain_len that may cause incomplete multi-byte character and
43707 * posix/bug-regex33.c: New file.
43708 * posix/Makefile (tests): Add bug-regex33.
43710 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43712 * manual/macros.texi: New file.
43713 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43714 * manual/libc.texinfo: Include macros.texi.
43715 * manual/creatute.texi: Likewise.
43716 * manual/install.texi: Likewise.
43717 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43718 @glibcadj{} in references to the GNU C Library.
43719 * manual/charset.texi: Likewise.
43720 * manual/conf.texi: Likewise.
43721 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43722 when not using those macros.
43723 * manual/creature.texi: Likewise.
43724 * manual/crypt.texi: Likewise.
43725 * manual/errno.texi: Likewise.
43726 * manual/filesys.texi: Likewise.
43727 * manual/header.texi: Likewise.
43728 * manual/install.texi: Likewise.
43729 * manual/intro.texi: Likewise.
43730 * manual/io.texi: Likewise.
43731 * manual/job.texi: Likewise.
43732 * manual/lang.texi: Likewise.
43733 * manual/libc.texiinfo: Likewise.
43734 * manual/llio.texi: Likewise.
43735 * manual/locale.texi: Likewise.
43736 * manual/maint.texi: Likewise.
43737 * manual/math.texi: Likewise.
43738 * manual/memory.texi: Likewise.
43739 * manual/message.texi: Likewise.
43740 * manual/nss.texi: Likewise.
43741 * manual/pattern.texi: Likewise.
43742 * manual/process.texi: Likewise.
43743 * manual/resource.texi: Likewise.
43744 * manual/search.texi: Likewise.
43745 * manual/setjmp.texi: Likewise.
43746 * manual/signal.texi: Likewise.
43747 * manual/socket.texi: Likewise.
43748 * manual/startup.texi: Likewise.
43749 * manual/stdio.texi: Likewise.
43750 * manual/string.texi: Likewise.
43751 * manual/sysinfo.texi: Likewise.
43752 * manual/syslog.texi: Likewise.
43753 * manual/terminal.texi: Likewise.
43754 * manual/time.texi: Likewise.
43755 * manual/users.texi: Likewise.
43756 * INSTALL: Regenerated.
43757 * NOTES: Regenerated.
43758 * sysdeps/gnu/errlist.c: Regenerated.
43760 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43762 * include/dirent.h: Include <dirstream.h> before
43765 2012-02-28 David S. Miller <davem@davemloft.net>
43767 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43768 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43769 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43770 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43772 2012-02-27 David S. Miller <davem@davemloft.net>
43774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43776 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43777 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43780 frame pointer instead of stack pointer relative arg slot.
43781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43782 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43783 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43785 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43788 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43790 2012-02-27 David S. Miller <davem@davemloft.net>
43792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43796 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43797 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43798 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43799 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43801 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43803 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43804 later. Allow versions 5-9.
43805 * configure: Regenerated.
43806 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43807 required minimum version and 4.6 as recommended version. Do not
43808 mention bugs in GCC 2.7 and 2.8.
43809 * INSTALL: Regenerated.
43811 2012-02-27 David S. Miller <davem@davemloft.net>
43813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43819 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43823 manipulate bits before adding and subtracting TWO112[sx].
43824 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43826 2012-02-27 Roland McGrath <roland@hack.frob.com>
43829 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43830 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43831 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43832 being in POSIX, because they are in 1003.1-2008.
43834 * rt/tst-aio.c: Include <fcntl.h>.
43835 * rt/tst-aio7.c: Likewise.
43836 * rt/tst-aio64.c: Likewise.
43838 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43840 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43842 * manual/install.texi (--with-headers): Describe headers as
43843 interface headers, not private headers.
43844 (Specific advice for GNU/Linux systems): Describe use of headers
43845 from "make headers_install", not private headers from older
43847 * INSTALL: Regenerated.
43848 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43850 * sysdeps/unix/sysv/linux/configure: Regenerated.
43852 * manual/llio.texi (fclean): Remove documentation.
43854 * manual/Makefile (libc-texi-generated): New variable. Include
43856 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43857 $(libc-texi-generated), not duplicated list of files.
43858 (version.texi, stamp-version): New rules.
43859 (realclean): Remove $(libc-texi-generated), not individual files
43860 from that list. Do not remove dir-add.texinfo.
43861 * manual/libc.texinfo: Comment out uses of edition numbers and
43862 references to printed manual. Remove last-updated dates.
43863 (EDITION): Comment out.
43865 (VERSION, UPDATED): Remove.
43866 (version.texi): Include.
43868 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43870 * sysdeps/posix/spawni.c: Include <signal.h>.
43871 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43872 * sysdeps/pthread/aio_fsync.c: Likewise.
43874 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43876 * conform/Makefile (tests): Run only when not cross-compiling and
43877 when fast-check is not defined.
43879 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43880 * conform/data/limits.h-data: Fixes for POSIX2008.
43881 * conform/run-conformtest.sh: Run all tests.
43882 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43884 * include/bits/dlfcn.h: Likewise.
43885 * include/langinfo.h: Likewise.
43886 * include/monetary.h: Likewise.
43887 * include/sys/poll.h: Likewise.
43889 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43891 * posix/spawn.h: Define __need_sigset_t.
43892 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43893 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43894 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43895 to get sigevent_t only.
43896 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43897 only for __USE_GNU.
43898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43899 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43900 process_vm_writev only for __USE_GNU.
43901 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43903 * conform/Makefile: For now ignore errors from run-conformtest.
43904 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43905 POSIX to avoid namespace pollution. Don't prepend headers.
43906 * conform/data/aio.h-data: Fixes for POSIX testing.
43907 * conform/data/fcntl.h-data: Likewise.
43908 * conform/data/glob.h-data: Likewise.
43909 * conform/data/grp.h-data: Likewise.
43910 * conform/data/pthread.h-data: Likewise.
43911 * conform/data/pwd.h-data: Likewise.
43912 * conform/data/signal.h-data: Likewise.
43913 * conform/data/spawn.h-data: Likewise.
43914 * conform/data/stdio.h-data: Likewise.
43915 * conform/data/stdlib.h-data: Likewise.
43916 * conform/data/stropts.h-data: Likewise.
43917 * conform/data/sys/mman.h-data: Likewise.
43918 * conform/data/sys/stat.h-data: Likewise.
43919 * conform/data/sys/types.h-data: Likewise.
43920 * conform/data/sys/wait.h-data: Likewise.
43921 * conform/data/time.h-data: Likewise.
43922 * conform/data/unistd.h-data: Likewise.
43923 * conform/data/utime.h-data: Likewise.
43925 * io/sys/stat.h: fchmod was always in POSIX.
43926 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43927 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43928 * rt/aio.h: Define __need_timespec before including <time.h>.
43929 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43930 struct. Add forward declaration of pthread_attr_t and use it in
43932 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43933 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43934 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43935 always remove CLK_TCK definition.
43937 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43939 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43941 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43943 * conform/run-conformtest.sh: New file.
43944 * conform/Makefile: Run run-conformtest for tests.
43945 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43948 * conform/data/uchar.h-data: New file.
43949 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43950 * conform/data/arpa/inet.h-data: Likewise.
43951 * conform/data/assert.h-data: Likewise.
43952 * conform/data/complex.h-data: Likewise.
43953 * conform/data/cpio.h-data: Likewise.
43954 * conform/data/ctype.h-data: Likewise.
43955 * conform/data/dirent.h-data: Likewise.
43956 * conform/data/dlfcn.h-data: Likewise.
43957 * conform/data/errno.h-data: Likewise.
43958 * conform/data/fcntl.h-data: Likewise.
43959 * conform/data/float.h-data: Likewise.
43960 * conform/data/fmtmsg.h-data: Likewise.
43961 * conform/data/fnmatch.h-data: Likewise.
43962 * conform/data/ftw.h-data: Likewise.
43963 * conform/data/glob.h-data: Likewise.
43964 * conform/data/grp.h-data: Likewise.
43965 * conform/data/iconv.h-data: Likewise.
43966 * conform/data/inttypes.h-data: Likewise.
43967 * conform/data/langinfo.h-data: Likewise.
43968 * conform/data/libgen.h-data: Likewise.
43969 * conform/data/limits.h-data: Likewise.
43970 * conform/data/locale.h-data: Likewise.
43971 * conform/data/math.h-data: Likewise.
43972 * conform/data/monetary.h-data: Likewise.
43973 * conform/data/mqueue.h-data: Likewise.
43974 * conform/data/ndbm.h-data: Likewise.
43975 * conform/data/net/if.h-data: Likewise.
43976 * conform/data/netdb.h-data: Likewise.
43977 * conform/data/netinet/in.h-data: Likewise.
43978 * conform/data/nl_types.h-data: Likewise.
43979 * conform/data/poll.h-data: Likewise.
43980 * conform/data/pthread.h-data: Likewise.
43981 * conform/data/pwd.h-data: Likewise.
43982 * conform/data/regex.h-data: Likewise.
43983 * conform/data/sched.h-data: Likewise.
43984 * conform/data/search.h-data: Likewise.
43985 * conform/data/semaphore.h-data: Likewise.
43986 * conform/data/setjmp.h-data: Likewise.
43987 * conform/data/signal.h-data: Likewise.
43988 * conform/data/spawn.h-data: Likewise.
43989 * conform/data/stdarg.h-data: Likewise.
43990 * conform/data/stdio.h-data: Likewise.
43991 * conform/data/stdlib.h-data: Likewise.
43992 * conform/data/string.h-data: Likewise.
43993 * conform/data/strings.h-data: Likewise.
43994 * conform/data/stropts.h-data: Likewise.
43995 * conform/data/sys/ipc.h-data: Likewise.
43996 * conform/data/sys/mman.h-data: Likewise.
43997 * conform/data/sys/msg.h-data: Likewise.
43998 * conform/data/sys/resource.h-data: Likewise.
43999 * conform/data/sys/select.h-data: Likewise.
44000 * conform/data/sys/sem.h-data: Likewise.
44001 * conform/data/sys/shm.h-data: Likewise.
44002 * conform/data/sys/socket.h-data: Likewise.
44003 * conform/data/sys/stat.h-data: Likewise.
44004 * conform/data/sys/statvfs.h-data: Likewise.
44005 * conform/data/sys/time.h-data: Likewise.
44006 * conform/data/sys/timeb.h-data: Likewise.
44007 * conform/data/sys/times.h-data: Likewise.
44008 * conform/data/sys/types.h-data: Likewise.
44009 * conform/data/sys/uio.h-data: Likewise.
44010 * conform/data/sys/un.h-data: Likewise.
44011 * conform/data/sys/utsname.h-data: Likewise.
44012 * conform/data/sys/wait.h-data: Likewise.
44013 * conform/data/syslog.h-data: Likewise.
44014 * conform/data/tar.h-data: Likewise.
44015 * conform/data/termios.h-data: Likewise.
44016 * conform/data/utime.h-data: Likewise.
44017 * conform/data/utmpx.h-data: Likewise.
44018 * conform/data/varargs.h-data: Likewise.
44019 * conform/data/wchar.h-data: Likewise.
44020 * conform/data/wctype.h-data: Likewise.
44021 * conform/data/wordexp.h-data: Likewise.
44023 * include/stropts.h: New file.
44024 * include/uchar.h: New file.
44025 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44026 * include/assert.h: Likewise.
44027 * include/ctype.h: Likewise.
44028 * include/dirent.h: Likewise.
44029 * include/dlfcn.h: Likewise.
44030 * include/fcntl.h: Likewise.
44031 * include/fnmatch.h: Likewise.
44032 * include/glob.h: Likewise.
44033 * include/grp.h: Likewise.
44034 * include/libio.h: Likewise.
44035 * include/locale.h: Likewise.
44036 * include/math.h: Likewise.
44037 * include/net/if.h: Likewise.
44038 * include/netdb.h: Likewise.
44039 * include/netinet/in.h: Likewise.
44040 * include/pthread.h: Likewise.
44041 * include/pwd.h: Likewise.
44042 * include/regex.h: Likewise.
44043 * include/sched.h: Likewise.
44044 * include/search.h: Likewise.
44045 * include/setjmp.h: Likewise.
44046 * include/signal.h: Likewise.
44047 * include/stdio.h: Likewise.
44048 * include/stdlib.h: Likewise.
44049 * include/string.h: Likewise.
44050 * include/sys/cdefs.h: Likewise.
44051 * include/sys/mman.h: Likewise.
44052 * include/sys/msg.h: Likewise.
44053 * include/sys/resource.h: Likewise.
44054 * include/sys/select.h: Likewise.
44055 * include/sys/socket.h: Likewise.
44056 * include/sys/stat.h: Likewise.
44057 * include/sys/statvfs.h: Likewise.
44058 * include/sys/time.h: Likewise.
44059 * include/sys/times.h: Likewise.
44060 * include/sys/uio.h: Likewise.
44061 * include/sys/utsname.h: Likewise.
44062 * include/sys/wait.h: Likewise.
44063 * include/termios.h: Likewise.
44064 * include/time.h: Likewise.
44065 * include/ulimit.h: Likewise.
44066 * include/unistd.h: Likewise.
44067 * include/utime.h: Likewise.
44068 * include/wchar.h: Likewise.
44069 * include/wctype.h: Likewise.
44070 * include/wordexp.h: Likewise.
44072 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44074 * time/time.h: TIME_UTC must be a macro.
44075 Make timespec_get available for ISO C11 only as well.
44077 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44079 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44080 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44082 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44084 * configure.in: Use -o not -a in test for unsupported multi-arch.
44086 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44088 * manual/texinfo.tex: Update to version 2012-01-19.16.
44090 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44092 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44094 2012-02-24 Roland McGrath <roland@hack.frob.com>
44097 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44098 * manual/fdl-1.3.texi: New file.
44099 * manual/fdl-1.1.texi: File removed.
44102 * manual/libc.texinfo (FDL_VERSION): New @set.
44103 Use it for mention of FDL in cover text.
44104 (Documentation License): Use it in @include file name.
44106 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44107 Roland McGrath <roland@hack.frob.com>
44110 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44111 (not LONG_LONG_MAX and LONG_LONG_MIN.
44112 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44113 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44115 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44117 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44121 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44122 manipulate bits before adding and subtracting TWO23[sx].
44123 * math/libm-test.inc (nearbyint_test): Add more tests.
44125 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44128 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44129 bits before adding and subtracting TWO23[sx].
44130 * math/libm-test.inc (rint_test): Add more tests.
44131 (rint_test_tonearest): Likewise.
44132 (rint_test_towardzero): Likewise.
44133 (rint_test_downward): Likewise.
44134 (rint_test_upward: Likewise.
44136 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44139 * include/stdc-predef.h: New file. Extracted from features.h.
44140 * include/features.h: Include stdc-predef.h.
44141 * Makefile (headers): Add stdc-predef.h.
44142 * CONFORMANCE (Compiler limitations): Update.
44144 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44146 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44148 2012-02-21 David S. Miller <davem@davemloft.net>
44150 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44153 2012-02-20 David S. Miller <davem@davemloft.net>
44155 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44156 using a normal save/restore sequence, rather than allocating a
44157 dummy stack frame just to store a frame pointer and restore.
44158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44160 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44162 * manual/install.texi: Fix stray word in line-wrapped comment.
44164 2012-02-20 David S. Miller <davem@davemloft.net>
44166 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44167 both binutils and gcc support GOTDATA.
44169 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44170 "rd %pc" in the PIC register setup sequences.
44172 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44173 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44174 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44175 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44176 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44181 (SYSCALL_ERROR_HANDLER): Likewise.
44182 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44183 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44185 (SYSCALL_ERROR_HANDLER): Likewise.
44187 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44188 (HAVE_GCC_GOTDATA): New.
44189 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44190 relocation support in both binutils and gcc.
44191 * sysdeps/sparc/elf/configure: Regenerate.
44193 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44194 * sysdeps/sparc/sparc32/elf/configure: Delete.
44195 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44196 * sysdeps/sparc/sparc64/elf/configure: Delete.
44197 * sysdeps/sparc/elf/configure.in: New file.
44198 * sysdeps/sparc/elf/configure: Generate.
44200 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44201 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44202 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44203 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44204 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44206 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44208 * manual/install.texi: Do not mention specific glibc version
44210 * manual/libc.texinfo (VERSION, UPDATED): Update.
44211 (@copying): Use @copyright{} and range of years.
44213 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44216 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44217 [crti.S not in sysdirs] (generated): Do not append.
44218 [crti.S not in sysdirs] (omit-deps): Likewise.
44219 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44220 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44221 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44222 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44223 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44225 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44226 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44227 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44228 * csu/defs.awk: Remove file.
44229 * sysdeps/generic/initfini.c: Likewise.
44230 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44232 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44235 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44237 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44238 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44239 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44242 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44244 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44245 (__EPOLL_PACKED): Define to empty if not defined by
44247 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44251 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44253 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44254 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44255 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44256 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44258 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44262 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44264 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44267 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44268 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44271 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44276 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44278 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44279 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44281 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44283 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44286 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44288 * math/w_acos.c: Use non-signaling floating-point comparisons.
44289 * math/w_acosf.c: Likewise.
44290 * math/w_acosh.c: Likewise.
44291 * math/w_acoshf.c: Likewise.
44292 * math/w_acoshl.c: Likewise.
44293 * math/w_acosl.c: Likewise.
44294 * math/w_asin.c: Likewise.
44295 * math/w_asinf.c: Likewise.
44296 * math/w_asinl.c: Likewise.
44297 * math/w_atanh.c: Likewise.
44298 * math/w_atanhf.c: Likewise.
44299 * math/w_atanhl.c: Likewise.
44300 * math/w_exp2.c: Likewise.
44301 * math/w_exp2f.c: Likewise.
44302 * math/w_exp2l.c: Likewise.
44303 * math/w_j0.c: Likewise.
44304 * math/w_j0f.c: Likewise.
44305 * math/w_j0l.c: Likewise.
44306 * math/w_j1.c: Likewise.
44307 * math/w_j1f.c: Likewise.
44308 * math/w_j1l.c: Likewise.
44309 * math/w_jn.c: Likewise.
44310 * math/w_jnf.c: Likewise.
44311 * math/w_log.c: Likewise.
44312 * math/w_log10.c: Likewise.
44313 * math/w_log10f.c: Likewise.
44314 * math/w_log10l.c: Likewise.
44315 * math/w_log2.c: Likewise.
44316 * math/w_log2f.c: Likewise.
44317 * math/w_log2l.c: Likewise.
44318 * math/w_logf.c: Likewise.
44319 * math/w_logl.c: Likewise.
44320 * math/w_sqrt.c: Likewise.
44321 * math/w_sqrtf.c: Likewise.
44322 * math/w_sqrtl.c: Likewise.
44323 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44324 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44327 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44329 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44332 * manual/string.texi (strnlen): Use correct parameter name in
44333 equivalent expression.
44335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44338 * manual/users.texi (seteuid): Consistently use neweuid for
44341 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44344 * manual/nss.texi (Services in the NSS configuration): Correct
44345 list of services in example configuration file.
44347 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44350 * manual/arith.texi: Remove statements about negative zero
44351 behaving identically to zero.
44353 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44356 * manual/install.texi: Do not document upgrading from libc5.
44358 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44361 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44363 2012-02-18 David S. Miller <davem@davemloft.net>
44365 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44366 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44367 %o7 across the call.
44368 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44371 SETUP_PIC_REG_LEAF.
44372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44373 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44374 * sysdeps/sparc/crtn.S: Likewise.
44376 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44378 * aout/Makefile: Remove.
44380 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44383 * manual/examples/argp-ex1.c (main): Format definition in GNU
44385 * manual/examples/argp-ex2.c (main): Likewise.
44386 * manual/examples/argp-ex3.c (main): Likewise.
44387 * manual/examples/argp-ex4.c (main): Likewise.
44388 * manual/examples/longopt.c (main): Use new-style prototype
44390 * manual/examples/strncat.c (main): Specify return type and use
44391 (void) for arguments.
44392 * manual/examples/subopt.c (main): Use char **argv argument.
44394 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44397 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44400 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44403 * manual/string.texi (strchr): Change when strchrnul is
44406 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44409 * manual/locale.texi (setlocale): Document LOCPATH.
44411 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44414 * manual/process.texi (execle): Move @dots{} before last argument.
44416 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44419 * manual/charset.texi (Generic Charset Conversion): Fix typo
44420 (LC_TYPE -> LC_CTYPE).
44422 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44425 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44426 (scalbnf): Likewise.
44427 (scalbnl): Likewise.
44428 (scalbln): Likewise.
44429 (scalblnf): Likewise.
44430 (scalblnl): Likewise.
44431 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44432 (vwarnx): Likewise.
44435 * manual/filesys.texi (telldir): Use braces around return type.
44436 * manual/llio.texi (mmap): Add space after comma.
44437 (mmap64): Likewise.
44438 * manual/math.texi (jn): Use @var{} on parameter names.
44444 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44446 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44448 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44449 (sched_get_priority_max): Likewise.
44450 * manual/signal.texi (sigvec): Add space after comma.
44451 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44453 (if_indextoname): Likewise.
44454 (if_freenameindex): Likewise.
44455 (sendto): Use ',' instead of '.' in prototype.
44456 * manual/startup.texi (syscall): Use @dots{} instead of literal
44458 * manual/stdio.texi (__fpending): Separate initial words of
44459 paragraph from @deftypefun line.
44460 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44462 (vsyslog): Use @var{} on parameter names.
44463 * manual/terminal.texi (stty): Use @var{} on parameter names.
44464 * manual/users.texi (getutmp): Use @var{} on parameter names.
44465 (getutmpx): Likewise.
44467 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44470 * manual/stdio.texi (fopen): Fix typos in description of
44473 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44476 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44477 get clock_id definition.
44479 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44482 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44483 (madvise): Cast every argument to void on its own.
44485 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44488 * manual/startup.texi (Exit Status): Fix typo.
44490 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44493 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44494 * manual/examples/argp-ex2.c: Likewise.
44495 * manual/examples/argp-ex3.c: Likewise.
44497 2012-02-16 Richard Henderson <rth@redhat.com>
44499 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44500 * sysdeps/s390/s390-32/initfini.c: Remove.
44501 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44502 * sysdeps/s390/s390-64/initfini.c: Remove.
44504 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44506 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44507 compiler output for sysdeps/generic/initfini.c.
44508 * sysdeps/sh/elf/initfini.c: Remove file.
44510 2012-02-16 David S. Miller <davem@davemloft.net>
44513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44515 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44516 * sysdeps/sparc/crti.S: New file.
44517 * sysdeps/sparc/crtn.S: New file.
44518 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44519 * sysdeps/sparc/sparc64/Makefile: Likewise.
44521 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44524 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44526 2012-02-15 Roland McGrath <roland@hack.frob.com>
44529 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44531 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44532 (write, read, close): Likewise.
44533 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44535 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44537 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44538 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44539 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44540 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44542 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44546 2012-02-14 Marek Polacek <polacek@redhat.com>
44548 * sysdeps/x86_64/crti.S: New file.
44549 * sysdeps/x86_64/crtn.S: New file.
44550 * sysdeps/x86_64/elf/initfini.c: Remove file.
44552 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44554 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44555 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44556 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44557 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44559 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44563 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44565 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44566 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44567 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44568 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44570 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44574 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44576 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44577 __feraiseexcept instead of feraiseexcept.
44579 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44580 nanosleep invocations.
44581 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44582 strings, and add error checking for a nanosleep invocations.
44584 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44586 Replace FSF snail mail address with URLs, as per GNU coding standards.
44587 Most of the snail mail addresses were wrong anyway, and omitting
44588 them makes the source code easier to maintain. Almost all of the
44589 changes are to license notices and to locale LC_IDENTIFICATION
44590 addresses, except for this one:
44591 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44592 not its snail mail address.
44594 2012-02-09 Richard Henderson <rth@twiddle.net>
44596 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44597 of kernel-features.h.
44599 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44601 2012-02-08 Marek Polacek <polacek@redhat.com>
44603 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44604 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44605 * sysdeps/gnu/_G_config.h: Likewise.
44606 * sysdeps/generic/_G_config.h: Likewise.
44608 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44610 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44614 * sysdeps/powerpc/powerpc32/crti.S: New file.
44615 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44616 * sysdeps/powerpc/powerpc64/crti.S: New file.
44617 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44619 * Makeconfig (have-initfini): Don't set.
44620 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44621 * configure.in (nopic_initfini): Don't substitute.
44622 * config.h.in (HAVE_INITFINI): Don't #undef.
44623 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44624 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44626 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44628 Support crti.S and crtn.S provided directly by architectures.
44629 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44630 [crti.S in sysdirs] (omit-deps): Likewise.
44631 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44632 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44633 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44634 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44635 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44636 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44637 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44638 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44639 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44640 compiler output for sysdeps/generic/initfini.c.
44641 * sysdeps/i386/elf/Makefile: Remove file.
44642 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44644 2012-02-07 Marek Polacek <polacek@redhat.com>
44646 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44647 * sysdeps/gnu/_G_config.h: Likewise.
44648 * sysdeps/mach/hurd/_G_config.h: Likewise.
44650 2012-02-07 Marek Polacek <polacek@redhat.com>
44652 * math/Makefile (tests): Add tst-CMPLX2.
44653 * math/tst-CMPLX2.c: New file.
44655 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44657 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44659 * math/libm-test.inc (jn_test): Add missing L suffix.
44661 2012-02-06 Marek Polacek <polacek@redhat.com>
44663 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44664 * sysdeps/i386/fpu/e_powf.S: Likewise.
44665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44666 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44667 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44668 * sysdeps/i386/fpu/e_pow.S: Likewise.
44669 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44670 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44671 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44672 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44673 * sysdeps/i386/fpu/e_log2.S: Likewise.
44674 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44675 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44676 * sysdeps/i386/fpu/e_powl.S: Likewise.
44677 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44678 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44679 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44680 * sysdeps/i386/fpu/e_logl.S: Likewise.
44681 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44682 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44683 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44684 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44685 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44686 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44687 * sysdeps/i386/fpu/e_log.S: Likewise.
44688 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44689 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44690 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44691 * sysdeps/i386/fpu/e_logf.S: Likewise.
44692 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44693 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44694 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44695 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44696 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44697 * sysdeps/i386/fpu/e_log10.S: Likewise.
44698 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44699 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44700 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44701 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44702 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44703 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44704 * sysdeps/i386/asm-syntax.h: Likewise.
44705 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44706 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44707 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44708 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44709 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44710 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44711 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44712 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44713 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44714 * sysdeps/powerpc/sysdep.h: Likewise.
44715 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44716 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44718 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44721 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44723 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44725 * sysdeps/i386/sysdep.h: Include <features.h>.
44726 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44729 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44731 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44733 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44736 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44738 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44739 (SETUP_PIC_REG): Use GET_PC_THUNK.
44740 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44743 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44745 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44746 for non-PIC compilation.
44747 (SETUP_PIC_REG): Add .p2align directive.
44748 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44749 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44750 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44751 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44752 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44753 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44754 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44756 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44757 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44758 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44759 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44760 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44761 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44762 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44763 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44764 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44765 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44766 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44767 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44768 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44769 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44770 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44771 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44772 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44774 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44775 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44776 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44777 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44778 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44779 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44780 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44781 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44782 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44783 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44784 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44785 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44786 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44787 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44788 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44790 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44792 * math/tst-CMPLX.c: Include <stdio.h>.
44794 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44796 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44798 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44799 * sysdeps/sparc/bits/mathdef.h: Likewise.
44801 2012-01-31 Marek Polacek <polacek@redhat.com>
44803 * libio/libio.h: Don't define _PARAMS.
44804 * locale/programs/config.h: Don't define PARAMS.
44805 * stdlib/strtol_l.c: Likewise.
44806 (__strtol_l): Remove PARAMS from the prototype.
44808 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44810 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44811 names. Just use the correct names. Remove unnecessary wrapper
44813 * malloc/arena.c: Likewise.
44814 * malloc/hooks.c: Likewise.
44816 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44817 ARENA_TEST says not to. Simplify test for creation of a new arena.
44818 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44820 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44822 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44824 (update_get_addr): New function.
44825 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44826 GET_ADDR_MODULE parameter.
44828 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44830 * crypt/cert.c: Remove __STDC__ conditionals.
44831 * crypt/crypt-entry.c: Likewise.
44832 * crypt/crypt_util.c: Likewise.
44833 * libio/filedoalloc.c: Likewise.
44834 * libio/fileops.c: Likewise.
44835 * libio/genops.c: Likewise.
44836 * libio/iofclose.c: Likewise.
44837 * libio/iofdopen.c: Likewise.
44838 * libio/iofopen.c: Likewise.
44839 * libio/iofopen64.c: Likewise.
44840 * libio/iogetdelim.c: Likewise.
44841 * libio/iopopen.c: Likewise.
44842 * libio/obprintf.c: Likewise.
44843 * libio/oldfileops.c: Likewise.
44844 * libio/oldiofclose.c: Likewise.
44845 * libio/oldiofdopen.c: Likewise.
44846 * libio/oldiofopen.c: Likewise.
44847 * libio/oldiopopen.c: Likewise.
44848 * libio/wfiledoalloc.c: Likewise.
44849 * libio/wgenops.c: Likewise.
44850 * locale/programs/xmalloc.c: Likewise.
44851 * misc/syslog.c: Likewise.
44852 * stdio-common/xbug.c: Likewise.
44853 * string/memchr.c: Likewise.
44854 * string/memcmp.c: Likewise.
44855 * string/memrchr.c: Likewise.
44856 * string/rawmemchr.c: Likewise.
44857 * sysdeps/posix/getcwd.c: Likewise.
44858 * time/strftime_l.c: Likewise.
44860 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44862 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44863 * config.make.in (config-cflags-sse2avx): Define.
44864 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44867 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44869 * scripts/config.guess: Update from upstream config git repository.
44870 * scripts/config.sub: Likewise.
44872 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44874 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44876 (R_TILEPRO_*, R_TILEGX_*): New macros.
44878 * scripts/firstversions.awk: Fix bug in version range handling.
44880 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44882 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44884 * include/sys/epoll.h: New file.
44885 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44888 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44890 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44891 Avoid unnecessary __WORDSIZE == 64 test.
44892 (fmaxf): Use VEX format if possible.
44897 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44898 * math/math_private.h: Remove libc_fegetround* and
44900 * sysdeps/i386/configure.in: Check for -msse2avx.
44901 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44902 also if SSE2AVX is defined.
44903 Remove libc_fegetround* and libc_fesetround*.
44904 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44905 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44906 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44914 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44916 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44918 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44920 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44922 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44925 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44927 * Makeconfig (libm): Define.
44928 * elf/Makefile: Add rules to build and run tst-relsort1.
44929 * elf/tst-relsort1.c: New file.
44930 * elf/tst-relsort1mod1.c: New file.
44931 * elf/tst-relsort1mod2.c: New file.
44933 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44935 * math/s_ldexp.c: Remove __STDC__ conditionals.
44936 * math/s_ldexpf.c: Likewise.
44937 * math/s_ldexpl.c: Likewise.
44938 * math/s_nextafter.c: Likewise.
44939 * math/s_nexttowardf.c: Likewise.
44940 * math/s_significand.c: Likewise.
44941 * math/s_significandf.c: Likewise.
44942 * math/s_significandl.c: Likewise.
44943 * math/w_jnl.c: Likewise.
44944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44949 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44950 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44951 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44952 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44953 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44954 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44956 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44957 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44959 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44960 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44961 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44963 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44964 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44965 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44966 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44967 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44968 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44969 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44970 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44971 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44972 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44973 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44975 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44976 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44978 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44979 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44980 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44981 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44982 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44983 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44984 * sysdeps/ieee754/k_standard.c: Likewise.
44985 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44986 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44987 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44988 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44989 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44990 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44991 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44992 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44993 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44994 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44995 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44996 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44997 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44998 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44999 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45001 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45002 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45003 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45004 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45005 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45006 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45010 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45011 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45012 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45014 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45015 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45016 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45017 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45018 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45020 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45021 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45022 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45023 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45024 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45025 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45027 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45028 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45029 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45030 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45032 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45033 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45034 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45035 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45037 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45038 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45039 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45040 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45041 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45042 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45045 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45046 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45047 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45049 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45050 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45051 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45052 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45053 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45057 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45058 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45059 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45060 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45061 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45062 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45064 * sysdeps/ieee754/s_matherr.c: Likewise.
45065 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45066 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45070 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45072 * crypt/md5.h: Remove __STDC__ conditionals.
45073 * libio/libioP.h: Likewise.
45074 * locale/programs/config.h: Likewise.
45075 * sysdeps/generic/sysdep.h: Likewise.
45076 * sysdeps/i386/asm-syntax.h: Likewise.
45077 * sysdeps/s390/asm-syntax.h: Likewise.
45078 * sysdeps/unix/sysdep.h: Likewise.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45082 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45084 * libio/libio.h: Remove __STDC__ conditionals.
45085 * malloc/obstack.h: Likewise.
45086 * math/complex.h: Likewise.
45087 * math/math.h: Likewise.
45088 * sysdeps/generic/_G_config.h: Likewise.
45089 * sysdeps/gnu/_G_config.h: Likewise.
45090 * sysdeps/mach/hurd/_G_config.h: Likewise.
45091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45092 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45093 * sysdeps/sparc/bits/mathdef.h: Likewise.
45095 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45098 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45099 Clean up HAS_* macros.
45100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45101 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45111 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45113 * elf/tst-unique3.cc (gets): Remove declaration.
45114 * elf/tst-unique3lib.cc (gets): Likewise.
45115 * elf/tst-unique3lib2.cc (gets): Likewise.
45116 * elf/tst-unique4.cc (gets): Likewise.
45118 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45120 * include/stdio.h: Add C++ protection. Add gets declarations and
45122 * debug/tst-chk1.c: Don't declare gets here.
45123 * stdio-common/tst-gets.c: Likewise.
45125 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45127 * posix/glob: Remove directory.
45129 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45131 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45133 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45135 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45136 of the non-standard EPFNOSUPPORT.
45138 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45140 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45141 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45142 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45144 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45146 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45148 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45150 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45152 * nscd/grpcache.c (cache_addgr): Likewise.
45153 * nscd/hstcache.c (cache_addhst): Likewise.
45154 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45155 * nscd/pwdcache.c (cache_addpw): Likewise.
45156 * nscd/servicescache.c (cache_addserv): Likewise.
45158 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45160 * malloc/malloc.c: Various cleanups.
45161 * malloc/hooks.c: Likewise.
45163 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45164 * stdlib/bug-fmtmsg1.c: New file.
45166 * stdlib/fmtmsg.c (init): Add missing unlock.
45167 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45169 2012-01-12 Marek Polacek <polacek@redhat.com>
45171 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45174 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45176 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45177 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45178 macro to ensure uniqueness of label name.
45179 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45180 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45182 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45186 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45187 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45188 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45191 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45193 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45195 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45196 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45197 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45199 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45201 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45202 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45203 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45206 * math/bits/math-finite.h: Add ldexp support.
45208 2012-01-10 Marek Polacek <polacek@redhat.com>
45210 * locale/programs/localedef.h (show_archive_content): Add noreturn
45213 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45215 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45217 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45219 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45221 * io/Makefile (headers): Add bits/poll2.h.
45223 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45226 typo #include statement.
45228 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45230 * include/sys/cdefs.h: Define __attribute_alloc_size.
45231 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45232 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45233 * elf/pldd.c: Likewise.
45234 * iconv/iconv_charmap.c: Likewise.
45235 * iconv/iconvconfig.c: Likewise.
45236 * iconv/strtab.c: Likewise.
45237 * locale/programs/locale.c: Likewise.
45238 * locale/programs/localedef.h: Likewise.
45239 * locale/programs/simple-hash.c: Likewise.
45240 * nscd/nscd.h: Likewise.
45241 * nss/makedb.c: Likewise.
45242 * sysdeps/generic/ldconfig.h: Likewise.
45243 * locale/programs/localedef.c: Remove xmalloc prototype.
45244 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45246 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45251 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45253 * math/Makefile (tests): Add tst-CMPLX.
45254 * math/tst-CMPLX.c: New file.
45256 * math/complex.h (CMPLXL): Fix typo.
45258 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45259 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45261 * debug/tst-chk1.c: Add poll and ppoll tests.
45262 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45263 * include/sys/poll.h: Add hidden proto for ppoll.
45264 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45265 * sysdeps/mach/hurd/ppoll.c: Likewise.
45266 * io/ppoll.c: Likewise.
45267 * debug/poll_chk.c: New file.
45268 * debug/ppoll_chk.c: New file.
45269 * include/bits/poll2.h: New file.
45270 * io/bits/poll2.h: New file.
45273 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45275 * configure.in: static is always set to yes. Remove.
45276 * config.make.in: Don't set build-static.
45277 * Makeconfig: Remove use of build-static.
45278 * dlfcn/Makefile: Likewise.
45279 * elf/Makefile: Likewise.
45280 * math/Makefile: Likewise.
45281 * misc/Makefile: Likewise.
45282 * nptl/Makefile: Likewise.
45283 * sysdeps/mach/hurd/Makefile: Likewise.
45285 * configure.in: PWD_P is not used anymore.
45286 * config.make.in: Remove PWD_P entry.
45288 * configure.in: Remove last remnants of RANLIB.
45289 No need to check for signed size_t anymore.
45290 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45292 Remove __builtin_expect test because we require at least gcc 3.4.
45293 * aclocal.m4: Likewise.
45295 * wcsmbs/mbrtoc16.c: Implement using towc function.
45296 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45297 * wcsmbs/wcsmbsload.c: Likewise.
45298 * iconv/gconv_simple.c: Likewise.
45299 * iconv/gconv_int.h: Likewise.
45300 * iconv/gconv_builtin.h: Likewise.
45301 * iconv/iconv_prog.c: Remove CHAR16 handling.
45303 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45305 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45307 * configure.in: Remove --with-elf and --enable-bounded options.
45308 Dont set base_machine for ia64. More non-ELF conditions removed.
45309 Remove testing and setting of leading underscore information.
45310 * config.make.in (build-bounded): Set to no.
45311 * config.h.in: Remove NO_UNDERSCORES entry.
45312 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45314 * csu/start.c: Remove !NO_UNDERSCORE code.
45315 * locale/localeinfo.h: Likewise.
45316 * sysdeps/generic/machine-gmon.h: Likewise.
45317 * sysdeps/generic/sysdep.h: Likewise.
45318 * sysdeps/i386/sysdep.h: Likewise.
45319 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45320 * sysdeps/mach/sysdep.h: Likewise.
45321 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45323 * sysdeps/sh/sysdep.h: Likewise.
45324 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45325 * sysdeps/unix/i386/sysdep.S: Likewise.
45326 * sysdeps/unix/sparc/start.c: Likewise.
45327 * sysdeps/unix/sparc/sysdep.S: Likewise.
45328 * sysdeps/unix/sparc/sysdep.h: Likewise.
45329 * sysdeps/unix/start.c: Likewise.
45330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45331 * sysdeps/x86_64/sysdep.h: Likewise.
45333 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45336 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45338 * argp/argp-fmtstream.h: Use const instead __const.
45339 * argp/argp.h: Likewise.
45340 * assert/assert.h: Likewise.
45341 * bits/fenv.h: Likewise.
45342 * bits/sched.h: Likewise.
45343 * bits/sigset.h: Likewise.
45344 * bits/sigthread.h: Likewise.
45345 * catgets/nl_types.h: Likewise.
45346 * conform/data/pthread.h-data: Likewise.
45347 * crypt/crypt-private.h: Likewise.
45348 * crypt/crypt.h: Likewise.
45349 * crypt/crypt_util.c: Likewise.
45350 * ctype/ctype.h: Likewise.
45351 * debug/execinfo.h: Likewise.
45352 * debug/mbsnrtowcs_chk.c: Likewise.
45353 * debug/mbsrtowcs_chk.c: Likewise.
45354 * debug/wcsnrtombs_chk.c: Likewise.
45355 * debug/wcsrtombs_chk.c: Likewise.
45356 * debug/wcstombs_chk.c: Likewise.
45357 * dirent/dirent.h: Likewise.
45358 * dlfcn/dlfcn.h: Likewise.
45359 * elf/neededtest4.c: Likewise.
45360 * grp/grp.h: Likewise.
45361 * gshadow/gshadow.h: Likewise.
45362 * iconv/gconv.h: Likewise.
45363 * iconv/gconv_int.h: Likewise.
45364 * iconv/gconv_simple.c: Likewise.
45365 * iconv/iconv.h: Likewise.
45366 * iconv/loop.c: Likewise.
45367 * iconv/skeleton.c: Likewise.
45368 * include/aio.h: Likewise.
45369 * include/aliases.h: Likewise.
45370 * include/argz.h: Likewise.
45371 * include/arpa/inet.h: Likewise.
45372 * include/assert.h: Likewise.
45373 * include/dirent.h: Likewise.
45374 * include/dlfcn.h: Likewise.
45375 * include/execinfo.h: Likewise.
45376 * include/fcntl.h: Likewise.
45377 * include/fenv.h: Likewise.
45378 * include/glob.h: Likewise.
45379 * include/grp.h: Likewise.
45380 * include/libintl.h: Likewise.
45381 * include/mntent.h: Likewise.
45382 * include/netdb.h: Likewise.
45383 * include/pwd.h: Likewise.
45384 * include/rpc/netdb.h: Likewise.
45385 * include/sched.h: Likewise.
45386 * include/search.h: Likewise.
45387 * include/shadow.h: Likewise.
45388 * include/signal.h: Likewise.
45389 * include/stdio.h: Likewise.
45390 * include/stdlib.h: Likewise.
45391 * include/string.h: Likewise.
45392 * include/sys/socket.h: Likewise.
45393 * include/sys/stat.h: Likewise.
45394 * include/sys/statfs.h: Likewise.
45395 * include/sys/statvfs.h: Likewise.
45396 * include/sys/syslog.h: Likewise.
45397 * include/sys/time.h: Likewise.
45398 * include/sys/uio.h: Likewise.
45399 * include/time.h: Likewise.
45400 * include/unistd.h: Likewise.
45401 * include/utmp.h: Likewise.
45402 * include/wchar.h: Likewise.
45403 * include/wctype.h: Likewise.
45404 * inet/aliases.h: Likewise.
45405 * inet/arpa/inet.h: Likewise.
45406 * inet/netinet/ether.h: Likewise.
45407 * inet/netinet/in.h: Likewise.
45408 * intl/libintl.h: Likewise.
45409 * io/bits/fcntl2.h: Likewise.
45410 * io/fcntl.h: Likewise.
45411 * io/ftw.h: Likewise.
45412 * io/sys/poll.h: Likewise.
45413 * io/sys/stat.h: Likewise.
45414 * io/sys/statfs.h: Likewise.
45415 * io/sys/statvfs.h: Likewise.
45416 * io/utime.h: Likewise.
45417 * libio/bits/stdio.h: Likewise.
45418 * libio/bits/stdio2.h: Likewise.
45419 * libio/libio.h: Likewise.
45420 * libio/libioP.h: Likewise.
45421 * libio/stdio.h: Likewise.
45422 * locale/lc-ctype.c: Likewise.
45423 * locale/locale.h: Likewise.
45424 * login/utmp.h: Likewise.
45425 * malloc/arena.c: Likewise.
45426 * malloc/malloc.c: Likewise.
45427 * malloc/malloc.h: Likewise.
45428 * malloc/mcheck.c: Likewise.
45429 * malloc/mtrace.c: Likewise.
45430 * math/bits/mathcalls.h: Likewise.
45431 * math/fenv.h: Likewise.
45432 * math/math_private.h: Likewise.
45433 * misc/bits/error.h: Likewise.
45434 * misc/bits/syslog.h: Likewise.
45435 * misc/err.h: Likewise.
45436 * misc/error.h: Likewise.
45437 * misc/fstab.h: Likewise.
45438 * misc/mntent.h: Likewise.
45439 * misc/regexp.h: Likewise.
45440 * misc/search.h: Likewise.
45441 * misc/sgtty.h: Likewise.
45442 * misc/sys/mman.h: Likewise.
45443 * misc/sys/syslog.h: Likewise.
45444 * misc/sys/uio.h: Likewise.
45445 * misc/sys/xattr.h: Likewise.
45446 * misc/ttyent.h: Likewise.
45447 * nis/rpcsvc/ypclnt.h: Likewise.
45448 * nss/nss.h: Likewise.
45449 * posix/bits/unistd.h: Likewise.
45450 * posix/fnmatch.h: Likewise.
45451 * posix/glob.h: Likewise.
45452 * posix/sched.h: Likewise.
45453 * posix/spawn.h: Likewise.
45454 * posix/sys/wait.h: Likewise.
45455 * posix/unistd.h: Likewise.
45456 * posix/wordexp.h: Likewise.
45457 * pwd/pwd.h: Likewise.
45458 * resolv/netdb.h: Likewise.
45459 * resource/sys/resource.h: Likewise.
45460 * rt/aio.h: Likewise.
45461 * rt/bits/mqueue2.h: Likewise.
45462 * rt/mqueue.h: Likewise.
45463 * shadow/shadow.h: Likewise.
45464 * signal/signal.h: Likewise.
45465 * socket/send.c: Likewise.
45466 * socket/sendto.c: Likewise.
45467 * socket/sys/socket.h: Likewise.
45468 * stdio-common/printf.h: Likewise.
45469 * stdlib/bits/stdlib.h: Likewise.
45470 * stdlib/fmtmsg.h: Likewise.
45471 * stdlib/monetary.h: Likewise.
45472 * stdlib/stdlib.h: Likewise.
45473 * stdlib/ucontext.h: Likewise.
45474 * streams/stropts.h: Likewise.
45475 * string/argz.h: Likewise.
45476 * string/bits/string2.h: Likewise.
45477 * string/string.h: Likewise.
45478 * string/strings.h: Likewise.
45479 * sunrpc/rpc/auth.h: Likewise.
45480 * sunrpc/rpc/auth_des.h: Likewise.
45481 * sunrpc/rpc/clnt.h: Likewise.
45482 * sunrpc/rpc/netdb.h: Likewise.
45483 * sunrpc/rpc/pmap_clnt.h: Likewise.
45484 * sunrpc/rpc/xdr.h: Likewise.
45485 * sysdeps/generic/inttypes.h: Likewise.
45486 * sysdeps/generic/net/if.h: Likewise.
45487 * sysdeps/generic/sys/swap.h: Likewise.
45488 * sysdeps/gnu/net/if.h: Likewise.
45489 * sysdeps/gnu/utmpx.h: Likewise.
45490 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45491 * sysdeps/i386/i486/bits/string.h: Likewise.
45492 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45493 * sysdeps/s390/bits/string.h: Likewise.
45494 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45495 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45496 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45497 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45498 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45499 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45500 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45501 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45502 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45503 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45504 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45505 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45506 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45507 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45508 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45509 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45510 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45515 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45516 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45517 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45518 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45519 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45520 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45521 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45522 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45524 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45525 * sysvipc/sys/ipc.h: Likewise.
45526 * sysvipc/sys/msg.h: Likewise.
45527 * sysvipc/sys/sem.h: Likewise.
45528 * sysvipc/sys/shm.h: Likewise.
45529 * termios/termios.h: Likewise.
45530 * time/sys/time.h: Likewise.
45531 * time/time.h: Likewise.
45532 * wcsmbs/bits/wchar2.h: Likewise.
45533 * wcsmbs/uchar.h: Likewise.
45534 * wcsmbs/wchar.h: Likewise.
45535 * wctype/wctype.h: Likewise.
45538 * Makeconfig: Remove all but ELF support including AIX support.
45539 * Makerules: Likewise.
45540 * config.h.in: Likewise.
45541 * config.make.in: Likewise.
45542 * configure: Likewise.
45543 * configure.in: Likewise.
45544 * csu/Makefile: Likewise.
45545 * csu/version.c: Likewise.
45546 * debug/Makefile: Likewise.
45547 * dlfcn/Makefile: Likewise.
45548 * elf/Makefile: Likewise.
45549 * extra-lib.mk: Likewise.
45550 * iconv/Makefile: Likewise.
45551 * include/libc-symbols.h: Likewise.
45552 * include/shlib-compat.h: Likewise.
45553 * resolv/Makefile: Likewise.
45554 * resolv/res_libc.c: Likewise.
45555 * rt/Makefile: Likewise.
45556 * sysdeps/i386/asm-syntax.h: Likewise.
45557 * sysdeps/i386/sysdep.h: Likewise.
45558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45559 * sysdeps/mach/sysdep.h: Likewise.
45560 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45561 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45562 * sysdeps/s390/asm-syntax.h: Likewise.
45563 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45564 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45565 * sysdeps/sh/sysdep.h: Likewise.
45566 * sysdeps/unix/sparc/sysdep.h: Likewise.
45567 * sysdeps/wordsize-32/divdi3.c: Likewise.
45568 * sysdeps/x86_64/sysdep.h: Likewise.
45570 * argp/Versions: Remove _argp_unlock_xxx.
45573 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45574 * abilist/libBrokenLocale.abilist: Likewise.
45575 * abilist/libanl.abilist: Likewise.
45576 * abilist/libc.abilist: Likewise.
45577 * abilist/libcrypt.abilist: Likewise.
45578 * abilist/libdl.abilist: Likewise.
45579 * abilist/libm.abilist: Likewise.
45580 * abilist/libnsl.abilist: Likewise.
45581 * abilist/libpthread.abilist: Likewise.
45582 * abilist/libresolv.abilist: Likewise.
45583 * abilist/librt.abilist: Likewise.
45584 * abilist/libthread_db.abilist: Likewise.
45585 * abilist/libutil.abilist: Likewise.
45586 * abilist/libnss_db.abilist: New file.
45588 * scripts/abilist.awk: Add support for indirect functions.
45590 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45592 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45594 * shlib-versions: Remove entries for ports architectures.
45596 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45598 * elf/stackguard-macros.h: Remove support for IA-64.
45599 * elf/tst-auditmod1.c: Likewise.
45600 * sysdeps/generic/ldsodefs.h: Likewise.
45602 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45603 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45607 * configure.in: Remove --enable-omitfp support.
45609 * config.make.in: Likewise.
45610 * Makeconfig: Likewise.
45611 * manual/install.texi: Likewise.
45613 In case anyone cares, the IA-64 architecture could move to ports.
45614 * sysdeps/ia64/*: Removed.
45615 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45616 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45619 * configure.in: Remove entries for unsupported architectures.
45622 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45623 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45625 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45626 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45627 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45628 fall back to using wcrtomb.
45629 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45630 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45632 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45633 * wcsmbs/tst-c16c32-1.c: New file.
45635 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45638 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45640 * elf/tst-unique3.cc: Add explicit declaration of gets.
45641 * elf/tst-unique3lib.cc: Likewise.
45642 * elf/tst-unique3lib2.cc: Likewise.
45643 * elf/tst-unique4.cc: Likewise.
45645 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45647 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45650 * assert/assert.h (static_assert): Don't define for C++.
45651 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45652 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45654 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45656 * iconv/loop.c (single loop): Fix assertion in storing of
45659 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45661 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45663 * posix/getconf.c: Update copyright year.
45664 * nss/getent.c: Likewise.
45665 * nss/makedb.c: Likewise.
45666 * iconv/iconvconfig.c: Likewise.
45667 * iconv/iconv_prog.c: Likewise.
45668 * elf/ldconfig.c: Likewise.
45669 * elf/pldd.c: Likewise.
45670 * elf/sotruss.ksh: Likewise.
45671 * catgets/gencat.c: Likewise.
45672 * csu/version.c: Likewise.
45673 * elf/ldd.bash.in: Likewise.
45674 * elf/sprof.c (print_version): Likewise.
45675 * locale/programs/locale.c: Likewise.
45676 * locale/programs/localedef.c: Likewise.
45677 * login/programs/pt_chown.c: Likewise.
45678 * nscd/nscd.c (print_version): Likewise.
45679 * debug/xtrace.sh: Likewise.
45680 * malloc/memusage.sh: Likewise.
45681 * malloc/mtrace.pl: Likewise.
45682 * debug/catchsegv.sh: Likewise.
45684 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45686 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45689 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45692 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45693 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45695 * iconv/gconv_int.h: Likewise.
45696 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45697 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45698 from libc for GLIBC_2.16.
45699 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45700 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45701 * wcsmbs/uchar.h: Really define mbstate_t.
45702 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45703 * wcsmbs/c16rtomb.c: New file.
45704 * wcsmbs/mbrtoc16.c: New file.
45705 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45706 for C/POSIX locale.
45707 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45708 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45710 * wcsmbs/wchar.h: Add missing __restrict.
45712 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45715 * time/Makefile (routines): Add timespec_get.
45716 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45717 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45718 timespec for ISO C11.
45719 * time/timespec_get.c: New file.
45720 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45721 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45724 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45725 * stdlib/stdlib.h: Declare aligned_alloc.
45726 * Versions.def: Add GLIBC_2.16 for libc.
45727 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45730 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45733 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45737 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45740 * assert/assert.h (static_assert): Define.
45742 * version.h: Update for 2.16 development version.
45745 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45748 * version.h (RELEASE): Bump for 2.15 release.
45749 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45751 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45752 Patch by Marek Polacek <mpolacek@redhat.com>.
45754 * bits/byteswap.h: Protect long long constants with __extension__.
45755 * sysdeps/i386/bits/byteswap.h: Likewise.
45756 * sysdeps/ia64/bits/byteswap.h: Likewise.
45757 * sysdeps/s390/bits/byteswap.h: Likewise.
45758 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45760 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45763 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45764 destination buffer.
45765 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45767 2011-12-23 Marek Polacek <polacek@redhat.com>
45769 * elf/dl-addr.c (determine_info): Add inline keyword.
45770 * elf/tst-auditmod4b.c (check_avx): Likewise.
45771 * elf/tst-auditmod6b.c (check_avx): Likewise.
45772 * elf/tst-auditmod6c.c (check_avx): Likewise.
45773 * elf/tst-auditmod7b.c (check_avx): Likewise.
45775 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45777 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45780 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45783 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45784 processing for last bytes.
45786 2011-08-06 Bruno Haible <bruno@clisp.org>
45789 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45790 U+0385, not to U+1FEE.
45793 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45794 entry for U+00A5 U+0301.
45796 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45799 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45800 buffer for the output is too small.
45802 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45806 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45807 SSE flags if possible.
45809 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45813 processing for last bytes.
45815 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45817 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45818 (syscall-list-default-options, syscall-list-default-condition)
45819 (syscall-list-includes): Define.
45820 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45821 list of ABIs and options and #if conditions for each ABI. Do not
45822 handle common syscalls between ABIs specially.
45823 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45825 (syscall-list-variants, syscall-list-32bit-options)
45826 (syscall-list-32bit-condition, syscall-list-64bit-options)
45827 (syscall-list-64bit-condition): Define.
45828 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45829 (syscall-list-variants, syscall-list-32bit-options)
45830 (syscall-list-32bit-condition, syscall-list-64bit-options)
45831 (syscall-list-64bit-condition): Define.
45832 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45834 (syscall-list-variants, syscall-list-32bit-options)
45835 (syscall-list-32bit-condition, syscall-list-64bit-options)
45836 (syscall-list-64bit-condition): Define.
45837 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45839 (syscall-list-variants, syscall-list-32bit-options)
45840 (syscall-list-32bit-condition, syscall-list-64bit-options)
45841 (syscall-list-64bit-condition): Define.
45843 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45845 * locale/iso-639.def: Add brx entry.
45848 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45849 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45851 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45852 __feraiseexcept_renamed.
45854 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45857 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45858 EPOLLET with unsigned values.
45859 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45862 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45863 to large cancellation.
45864 * math/s_cacoshf.c: Likewise.
45865 * math/s_cacoshl.c: Likewise.
45867 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45871 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45872 * math/s_cacoshf.c: Likewise.
45873 * math/s_cacoshl.c: Likewise.
45875 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45878 * iconv/gconv.h: Define __GCONV_SWAP.
45879 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45880 * iconvdata/utf-16.c: Likewise.
45881 * iconvdata/utf-32.c: Likewise.
45883 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45887 numerator after shifting it by one limb.
45889 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45891 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45892 under [__USE_EXTERN_INLINES].
45894 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45897 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45899 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45901 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45902 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45904 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45906 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45907 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45908 for strncasecmp/strncasecmp_l compilation.
45909 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45910 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45912 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45915 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45918 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45921 * time/tzfile.c (__tzfile_read): Check values from file header.
45923 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45925 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45926 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45927 * powerpc/powerpc32/dl-start.S: Likewise.
45928 * powerpc/powerpc32/elf/start.S: Likewise.
45929 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45930 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45931 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45932 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45933 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45934 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45935 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45936 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45937 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45938 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45939 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45940 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45941 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45942 * powerpc/powerpc32/memset.S: Likewise.
45943 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45944 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45945 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45946 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45947 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45948 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45949 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45950 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45951 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45952 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45953 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45954 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45955 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45957 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45959 * math/libm-test.inc: Added more nearbyint tests.
45960 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45965 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45967 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45970 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45972 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45973 Add wcscpy-ssse3 wcscpy-c.
45974 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45975 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45976 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45977 * sysdeps/x86_64/wcschr.S: New file.
45978 * sysdeps/x86_64/wcsrchr.S: New file.
45979 * string/test-strcmp.c: Remove checking of wcscmp function for
45981 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45982 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45983 wcsrchr-sse2 wcsrchr-c.
45984 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45985 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45986 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45987 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45988 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45989 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45990 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45991 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45992 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45993 * wcsmbc/wcschr.c (WCSCHR): New macro.
45995 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45997 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45998 * wcsmbs/test-wcsrchr.c: New file.
45999 * string/test-strrchr.c: Add wcsrchr support.
46001 * wcsmbs/test-wcscpy.c: New file.
46002 * string/test-strcpy.c: Add wcscpy support.
46005 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46007 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46010 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46013 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46015 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46018 Minor optimizations.
46020 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46021 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46022 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46024 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46026 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46027 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46028 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46029 for gcc to avoid warnings.
46030 * inet/Makefile (tests): Add tst-checks.
46031 * inet/tst-checks.c: New file.
46033 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46036 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46039 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46040 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46042 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46044 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46046 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46049 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46051 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46053 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46054 conditional on GCC version.
46055 (__arch_compare_and_exchange_val_8_acq)
46056 (__arch_compare_and_exchange_val_16_acq)
46057 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46058 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46059 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46061 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46063 * sysdeps/sh/backtrace.c: New file.
46065 2011-12-02 Andreas Schwab <schwab@redhat.com>
46067 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46070 2011-12-01 Andreas Schwab <schwab@redhat.com>
46072 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46073 falling back to utime.
46075 2011-11-30 Andreas Schwab <schwab@redhat.com>
46077 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46078 expectations for float.
46080 2011-11-29 Andreas Schwab <schwab@redhat.com>
46082 * locale/weight.h (findidx): Add parameter len.
46083 * locale/weightwc.h (findidx): Likewise.
46084 * posix/fnmatch_loop.c (FCT): Adjust caller.
46085 * posix/regcomp.c (build_equiv_class): Likewise.
46086 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46087 * posix/regexec.c (check_node_accept_bytes): Likewise.
46088 * string/strcoll_l.c (STRCOLL): Likewise.
46089 * string/strxfrm_l.c (STRXFRM): Likewise.
46091 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46093 * Makefile.in: Remove CVSOPT handling.
46094 * configure.in: Remove use of AC_REVISION.
46095 * iconvdata/Makefile (distribute): No need to filter out CVS.
46096 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46099 2011-11-16 Andreas Schwab <schwab@redhat.com>
46101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46102 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46103 [USE_AS_STRNCASECMP_L]: Likewise.
46104 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46105 NO_TLS_DIRECT_SEG_REFS.
46106 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46107 Fix argument offsets for non-PIC.
46108 [USE_AS_STRNCASECMP_L]: Likewise.
46109 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46110 NO_TLS_DIRECT_SEG_REFS.
46112 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46114 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46116 * locale/loadlocale.c (_nl_load_locale): Likewise.
46118 2011-11-15 Andreas Schwab <schwab@redhat.com>
46120 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46121 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46122 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46123 (SYSCALL_GETTIME): Set errno on error.
46125 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46126 count references to noai6ai_cached.
46128 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46130 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46132 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46133 FD_CLOEXEC for /proc/self/maps.
46135 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46136 FD_CLOEXEC for /proc/meminfo.
46138 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46141 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46142 FD_CLOEXEC for given file.
46144 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46146 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46147 FD_CLOEXEC for /etc/hosts.
46148 (_gethtent): Likewise.
46150 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46152 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46153 cancellation and set FD_CLOEXEC for /etc/netgroup.
46155 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46156 reading /etc/publickey.
46158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46159 allow cancellation when reading /etc/group.
46161 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46163 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46165 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46166 when using data file.
46168 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46170 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46171 (write_nis_obj): Use "c" and "e" in fopen.
46173 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46175 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46177 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46179 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46181 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46184 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46186 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46188 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46190 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46191 file parsing and set FD_CLOEXEC.
46193 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46195 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46197 2011-11-14 Andreas Schwab <schwab@redhat.com>
46199 * malloc/arena.c (arena_get2): Don't call reused_arena when
46200 _int_new_arena failed.
46202 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46204 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46205 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46207 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46208 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46210 to compile strcasecmp and strncasecmp.
46211 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46212 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46216 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46218 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46219 locale-defines.sym to gen-as-const-headers.
46220 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46221 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46223 to compile strcasecmp and strncasecmp.
46224 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46225 strcasecmp_l and strncasecmp_l.
46226 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46227 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46228 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46229 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46230 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46231 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46232 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46233 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46234 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46235 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46236 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46238 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46240 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46241 result of SYSDEP_GETTIME_CPU to retval.
46242 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46243 parameter list to macro. Remove trailing semicolon. Adjust users.
46245 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46248 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46250 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46252 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46253 from unused variable.
46255 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46257 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46260 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46263 * sunrpc/rpc_prot.c (rejected): Fix case value.
46265 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46266 unsigned long long int to avoid warnings in shift.
46268 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46270 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46273 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46274 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46275 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46277 * nis/nis_table.c (nis_list): Use variable of correct type for
46278 result of __follow_path call.
46280 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46282 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46283 of math functions ceil, trunc, floor, round, and sqrt, when
46284 avaliable on the platform.
46285 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46287 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46288 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46289 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46291 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46293 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46294 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46296 2011-11-11 Roland McGrath <roland@hack.frob.com>
46298 * include/unistd.h: Fix __readlink return type.
46299 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46301 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46303 * stdlib/ucontext.h: Undo last change for makecontext.
46305 2011-11-11 Andreas Schwab <schwab@redhat.com>
46307 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46309 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46310 * setjmp/setjmp.h: Mark functions as non-leaf.
46311 * setjmp/bits/setjmp2.h: Likewise.
46312 * stdlib/ucontext.h: Likewise.
46314 2011-11-10 Andreas Schwab <schwab@redhat.com>
46316 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46317 (reused_arena): Don't check arena limit.
46318 (arena_get2): Atomically check arena limit.
46320 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46322 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46323 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46328 2011-11-07 Andreas Schwab <schwab@redhat.com>
46330 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46331 handler when locking.
46333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46334 Fix size of allocated buffer.
46336 2011-11-04 Andreas Schwab <schwab@redhat.com>
46339 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46340 declarations for long double functions.
46341 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46343 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46345 2011-11-03 Andreas Schwab <schwab@redhat.com>
46347 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46350 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46353 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46355 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46357 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46359 * include/alloca.h (stackinfo_alloca_round): Define.
46360 (extend_alloca): Use it.
46361 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46362 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46365 * scripts/check-local-headers.sh: Ignore libaudit.h.
46367 * nscd/Makefile (extra-objs): Make recursively expanded.
46369 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46371 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46372 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46374 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46375 * posix/tst-rfc3484-2.c: Likewise.
46376 * posix/tst-rfc3484-3.c: Likewise.
46378 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46380 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46382 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46383 process_vm_writev from libc using GLIBC_2.15 version.
46385 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46387 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46389 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46392 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46395 * nss/getent.c (initgroups_keys): Show error message in case no group
46398 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46399 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46400 __bump_nl_timestamp.
46401 * nscd/connections (nscd_init): When host database is served open
46402 netlink socket and request notification about configuration changes.
46403 (main_loop_poll): Track netlink file descriptor and bump timestamp
46404 in case data becomes available.
46405 (main_loop_epoll): Likewise.
46406 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46407 (database_pers_head): Add extra_data fileds.
46408 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46409 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46410 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46413 in6ai data, call __free_in6ai.
46414 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46415 Add -DHAVE_NETLINK.
46416 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46417 interface information. Reuse previous data if netlink timestamp
46419 (__bump_nl_timestamp): New function.
46420 (__free_in6ai): New function.
46422 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46424 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46425 close_not_cancel_no_status here.
46426 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46428 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46431 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46434 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46435 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46436 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46438 2011-07-03 Andreas Jaeger <aj@suse.de>
46441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46442 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46443 * math/libm-test.inc (sin_test): Add test case.
46445 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46448 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46449 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46451 * elf/chroot_canon.c (chroot_canon): Cleanups.
46453 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46456 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46457 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46459 * string/test-strchr.c: Make usable for strchrnul testing.
46460 * string/test-strchrnul.c: New file.
46461 * string/Makefile (strop-tests): Add strchrnul.
46463 * po/it.po: Update from translation team.
46464 * po/es.po: Likewise.
46466 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46468 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46469 the three constants needed as parameters. Drop the others.
46470 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46471 __m128i_strloadu_tolower.
46472 Create and initialize variable zero and use it in all the places
46473 where _mm_setzero_si128 was used.
46475 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46476 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46477 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46478 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46480 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46481 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46482 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46483 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46485 __mpranred, __mptan.
46486 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46487 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46488 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46489 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46490 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46491 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46492 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46493 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46494 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46496 2011-10-28 Andreas Schwab <schwab@redhat.com>
46498 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46499 redefine if SHARED.
46500 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46503 wide char related routines to wcsmbs subdir.
46505 2011-10-27 Andreas Schwab <schwab@redhat.com>
46508 * misc/sys/cdefs.h (__THROWNL): Define.
46509 * posix/unistd.h: Use __THREADNL instead of __THREAD
46510 for memory synchronization functions.
46512 2011-10-26 Roland McGrath <roland@hack.frob.com>
46515 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46517 * manual/stdio.texi (Obstack Streams): Node removed.
46519 2011-10-26 Andreas Schwab <schwab@redhat.com>
46521 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46522 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46523 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46525 * math/math_private.h (math_force_eval): Allow non-addressable
46527 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46529 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46531 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46532 file is not needed.
46534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46536 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46537 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46538 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46539 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46540 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46541 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46543 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46544 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46545 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46546 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46547 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46548 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46549 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46550 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46551 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46552 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46553 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46554 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46556 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46557 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46558 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46559 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46560 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46561 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46563 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46564 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46566 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46567 place. Use VEX encoding when compiling for AVX.
46569 2011-10-25 Andreas Schwab <schwab@redhat.com>
46571 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46572 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46574 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46576 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46578 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46579 useless if() expression.
46580 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46585 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46592 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46593 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46594 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46595 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46600 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46602 2011-10-25 Andreas Schwab <schwab@redhat.com>
46604 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46606 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46608 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46610 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46611 .text section. Avoid duplicate constants.
46612 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46622 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46623 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46624 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46625 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46626 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46627 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46628 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46629 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46633 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46635 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46636 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46637 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46638 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46639 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46640 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46641 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46642 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46643 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46644 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46645 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46646 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46647 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46648 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46650 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46651 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46652 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46653 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46654 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46655 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46656 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46658 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46660 * sysdeps/x86_64/dla.h: Move to ...
46661 * sysdeps/x86_64/fpu/dla.h: ...here.
46662 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46663 situations. Use __builtin_fma only for gcc 4.6 and up.
46665 * config.make.in: Add have-mfma4 entry.
46666 * configure.in: Substitute libc_cv_cc_fma4.
46667 * math/Makefile (dbl-only-routines): Add sincostab.
46668 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46669 Use __sincostab not sincos.
46670 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46672 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46677 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46678 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46679 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46680 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46682 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46683 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46685 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46686 define aliases when function name is a macro.
46687 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46688 sysdeps/ieee754/dbl-64/sincos.tbl.
46689 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46690 fma4-enabled routines.
46691 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46692 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46693 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46694 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46695 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46696 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46698 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46699 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46700 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46701 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46702 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46703 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46706 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46707 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46708 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46709 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46711 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46712 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46714 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46717 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46718 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46719 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46720 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46722 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46733 2011-10-24 Andreas Schwab <schwab@redhat.com>
46735 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46737 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46741 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46743 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46745 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46746 Remove unused variable magic_bits.
46747 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46749 * string/strnlen.c: Define and use STRNLEN macro.
46750 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46751 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46752 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46753 * wcsmbs/wcslen.c: Define and use WCSLEN.
46754 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46755 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46756 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46757 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46758 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46759 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46760 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46762 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46765 strnlen-sse2-no-bsf.
46766 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46768 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46769 Add strnlen support.
46770 (USE_AS_STRNLEN): New macro.
46771 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46772 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46773 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46774 * sysdeps/x86_64/wcslen.S: New file.
46776 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46779 XMM-moves are used for copying on small sizes.
46781 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46783 * wcsmbs/Makefile (strop-tests): Add wcschr.
46784 * wcsmbs/test-wcschr.c: New file.
46785 * string/test-strchr.c: Update.
46786 Add wcschr support.
46789 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46791 * wcsmbs/Makefile (strop-tests): Add wcslen.
46792 * wcsmbs/test-wcslen.c: New file.
46793 * string/test-strlen.c: Update.
46794 Add wcslen support.
46797 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46799 * po/it.po: Update from translation team.
46801 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46803 * sysdeps/x86_64/wcscmp.S: Update.
46804 Fix wrong comparison semantics.
46805 wcscmp shall use signed comparison not unsigned.
46806 Don't use substraction to avoid overflow bug.
46807 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46808 * wcsmbc/wcscmp.c: Likewise.
46809 * string/test-strcmp.c: Likewise.
46810 Add new tests to check cases with negative values.
46812 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46814 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46815 * sysdeps/x86_64/dla.h: ...here. New file.
46816 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46826 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46829 __ynl_finite aliases.
46831 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46835 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46837 [DLA_FMA] (EMULV): Use DLA_FMA.
46838 [DLA_FMA] (MUL12): Use EMULV.
46839 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46840 that are not needed.
46841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46849 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46851 * math/s_nan.c: Undef __nan.
46852 * math/s_nanf.c: Undef __nanf.
46853 * math/s_nanl.c: Undef __nanl.
46854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46857 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46859 * math/s_catan.c: Add branch predictions.
46860 * math/s_catanf.c: Likewise.
46861 * math/s_catanh.c: Likewise.
46862 * math/s_catanhf.c: Likewise.
46863 * math/s_catanhl.c: Likewise.
46864 * math/s_catanl.c: Likewise.
46865 * math/s_cexp.c: Likewise.
46866 * math/s_cexpf.c: Likewise.
46867 * math/s_cexpl.c: Likewise.
46868 * math/s_clog.c: Likewise.
46869 * math/s_clog10.c: Likewise.
46870 * math/s_clog10f.c: Likewise.
46871 * math/s_clog10l.c: Likewise.
46872 * math/s_clogf.c: Likewise.
46873 * math/s_clogl.c: Likewise.
46874 * math/s_csqrt.c: Likewise.
46875 * math/s_csqrtf.c: Likewise.
46876 * math/s_csqrtl.c: Likewise.
46877 * math/s_ctanf.c: Likewise.
46878 * math/s_ctanh.c: Likewise.
46879 * math/s_ctanhf.c: Likewise.
46880 * math/s_ctanhl.c: Likewise.
46881 * math/s_ctanl.c: Likewise.
46883 * math/math_private.h: Define __nan, __nanf, __nanl.
46884 * math/s_cacosh.c: Include <math_private.h>.
46885 * math/s_cacoshl.c: Likewise.
46886 * math/s_casinh.c: Likewise.
46887 * math/s_casinhf.c: Likewise.
46888 * math/s_casinhl.c: Likewise.
46889 * math/s_ccos.c: Rely entire on ccosh.
46890 * math/s_ccosf.c: Rely entire on ccoshf.
46891 * math/s_ccosl.c: Rely entirely on ccoshl.
46892 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46893 Remove tests for FE_INVALID.
46894 * math/s_ccoshf.c: Likewise.
46895 * math/s_ccoshl.c: Likewise.
46896 * math/s_csin.c: Likewise.
46897 * math/s_csinf.c: Likewise.
46898 * math/s_csinh.c Likewise.
46899 * math/s_csinhf.c: Likewise.
46900 * math/s_csinhl.c: Likewise.
46901 * math/s_csinl.c: Likewise.
46902 * math/s_ctan.c: Likewise.
46903 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46904 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46905 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46907 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46910 compilation problems.
46912 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46915 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46917 * sysdeps/i386/configure.in: Test for -mfma4 option.
46918 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46919 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46920 COMMON_CPUID_INDEX_80000001.
46921 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46922 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46923 use it if FMA3 is not supported.
46924 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46926 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46927 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46929 2011-10-20 Andreas Schwab <schwab@redhat.com>
46932 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46933 it would create a cycle with a link time dependency.
46935 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46937 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46939 * string/Makefile (strop-tests): Add rawmemchr.
46940 * string/test-rawmemchr.c: New file.
46942 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46943 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46944 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46945 when compiling str{,n}casecmp and when AVX is available. Hook up
46946 new optimized code in initializers.
46948 2011-10-19 Andreas Schwab <schwab@redhat.com>
46950 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46951 __feraiseexcept instead of feraiseexcept.
46953 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46955 * math/math_private.h: Define defaults for libc_fetestexcept and
46957 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46958 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46959 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46961 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46962 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46963 libc_fetestexcept and libc_feupdateenv.
46965 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46966 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46967 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46968 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46969 libc_feholdexcept_setround.
46971 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46972 Add s_nearbyint-c and s_nearbyintf-c.
46973 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46974 nearbyintf inlines.
46975 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46976 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46977 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46978 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46980 * math/math_private.h: Define defaults for libc_fegetround,
46981 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46982 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46983 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46985 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46986 standard functions.
46987 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46988 Remove comments and hacks for old compiler versions.
46989 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46990 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46991 libc_feholdexceptl.
46993 2011-10-18 Andreas Schwab <schwab@redhat.com>
46995 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46996 (__feraiseexcept_renamed): Add __NTH.
46997 (feraiseexcept): Add __NTH. Rename local variables to fix
46998 namespace violations.
47000 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47002 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47004 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47006 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47007 recently added interfaces.
47008 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47010 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47011 about macro parameter expansion.
47013 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47014 __NO_MATH_INLINES is defined. Cleanups.
47016 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47017 and __floorf is target has SSE4.1.
47018 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47019 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47020 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47021 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47023 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47025 (floorf): Likewise.
47027 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47029 2011-10-17 Andreas Schwab <schwab@redhat.com>
47031 * misc/sys/cdefs.h: Fix last change.
47033 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47036 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47038 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47040 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47047 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47048 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47049 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47050 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47051 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47052 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47053 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47054 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47055 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47056 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47057 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47058 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47059 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47060 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47061 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47063 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47064 ceil, ceilf, floor, floorf.
47066 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47067 Perform IRELATIVE relocations last.
47069 * elf/do-rel.h: Add another parameter nrelative, replacing the
47070 local variable with the same name. Change name of the function
47071 to end in Rel or Rela (uppercase).
47072 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47073 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47074 elf_dynamic_do_##reloc function.
47076 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47078 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47079 is sufficient, at least on modern CPUs.
47081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47083 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47086 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47088 * math/bits/math-finite.h: Add entries for exp.
47089 * math/e_expl.c: Add __*_finite alias.
47090 * sysdeps/i386/fpu/e_exp.S: Likewise.
47091 * sysdeps/i386/fpu/e_expf.S: Likewise.
47092 * sysdeps/i386/fpu/e_expl.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47094 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47098 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47099 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47101 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47102 is sufficient, at least on modern CPUs.
47104 * ctype/ctype-info.c (__ctype_init): Define.
47105 * include/ctype.h (__ctype_init): Declare.
47106 (__ctype_b_loc): The variable is always initialized.
47107 (__ctype_toupper_loc): Likewise.
47108 (__ctype_tolower_loc): Likewise.
47109 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47110 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47112 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47114 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47116 * configure.in: Also look in $cxxmachine/include for C++ system
47119 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47121 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47122 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47123 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47124 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47126 (USE_AS_WMEMCMP): New macro.
47128 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47129 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47130 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47131 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47133 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47134 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47135 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47136 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47137 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47138 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47139 (USE_AS_WMEMCMP): New macro.
47140 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47141 * sysdeps/string/test-memcmp.c: Update.
47142 Fix simple_wmemcmp.
47144 * wcsmbs/wmemcmp.c: Update.
47145 (WMEMCMP): New macro.
47148 2011-10-12 Andreas Jaeger <aj@suse.de>
47151 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47153 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47155 * libio/iofwide.c (do_length): Avoid warning.
47157 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47159 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47161 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47163 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47164 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47165 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47166 * sysdeps/i386/i686/fpu/e_log.S: New file.
47167 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47168 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47170 * ctype/ctype.h: Add support for inlined isXXX functions when
47171 compiling C++ code.
47173 2011-10-14 Andreas Schwab <schwab@redhat.com>
47175 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47177 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47179 2011-10-13 Roland McGrath <roland@hack.frob.com>
47182 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47184 2011-10-13 Andreas Schwab <schwab@redhat.com>
47186 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47187 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47190 * sysdeps/x86_64/memrchr.S: Check for zero size.
47192 * string/stratcliff.c: Add memrchr tests.
47194 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47197 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47198 rawmemchr-sse2 rawmemchr-sse2-bsf.
47199 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47200 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47201 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47202 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47203 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47204 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47205 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47206 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47207 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47208 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47209 * string/memrchr.c (MEMRCHR): New macro.
47211 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47213 Add integration with gcc's -ffinite-math-only and optimize wrapper
47215 * Versions.def: Define GLIBC_2.15 version for libm.
47216 * math/Makefile (headers): Add bits/math-finite.h.
47217 * math/bits/math-finite.h: New file.
47218 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47219 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47220 * math/e_acoshl.c: Add __*_finite alias.
47221 * math/e_acosl.c: Likewise.
47222 * math/e_asinl.c: Likewise.
47223 * math/e_atan2l.c: Likewise.
47224 * math/e_atanhl.c: Likewise.
47225 * math/e_coshl.c: Likewise.
47226 * math/e_exp10.c: Likewise.
47227 * math/e_exp10f.c: Likewise.
47228 * math/e_exp10l.c: Likewise.
47229 * math/e_exp2l.c: Likewise.
47230 * math/e_fmodl.c: Likewise.
47231 * math/e_gammal_r.c: Likewise.
47232 * math/e_hypotl.c: Likewise.
47233 * math/e_j0l.c: Likewise.
47234 * math/e_j1l.c: Likewise.
47235 * math/e_jnl.c: Likewise.
47236 * math/e_lgammal_r.c: Likewise.
47237 * math/e_log10l.c: Likewise.
47238 * math/e_log2l.c: Likewise.
47239 * math/e_logl.c: Likewise.
47240 * math/e_powl.c: Likewise.
47241 * math/e_sinhl.c: Likewise.
47242 * math/e_sqrtl.c: Likewise.
47243 * math/e_scalb.c: Completely rewritten and optimized.
47244 * math/e_scalbf.c: Likewise.
47245 * math/e_scalbl.c: Likewise.
47246 * math/w_acos.c: Likewise.
47247 * math/w_acosf.c: Likewise.
47248 * math/w_acosl.c: Likewise.
47249 * math/w_acosh.c: Likewise.
47250 * math/w_acoshf.c: Likewise.
47251 * math/w_acoshl.c: Likewise.
47252 * math/w_asin.c: Likewise.
47253 * math/w_asinf.c: Likewise.
47254 * math/w_asinl.c: Likewise.
47255 * math/w_atan2.c: Likewise.
47256 * math/w_atan2f.c: Likewise.
47257 * math/w_atan2l.c: Likewise.
47258 * math/w_atanh.c: Likewise.
47259 * math/w_atanhf.c: Likewise.
47260 * math/w_atanhl.c: Likewise.
47261 * math/w_exp10.c: Likewise.
47262 * math/w_exp10f.c: Likewise.
47263 * math/w_exp10l.c: Likewise.
47264 * math/w_fmod.c: Likewise.
47265 * math/w_fmodf.c: Likewise.
47266 * math/w_fmodl.c: Likewise.
47267 * math/w_j0.c: Likewise.
47268 * math/w_j0f.c: Likewise.
47269 * math/w_j0l.c: Likewise.
47270 * math/w_j1.c: Likewise.
47271 * math/w_j1f.c: Likewise.
47272 * math/w_j1l.c: Likewise.
47273 * math/w_jn.c: Likewise.
47274 * math/w_jnf.c: Likewise.
47275 * math/w_log.c: Likewise.
47276 * math/w_logf.c: Likewise.
47277 * math/w_logl.c: Likewise.
47278 * math/w_log10.c: Likewise.
47279 * math/w_log10f.c: Likewise.
47280 * math/w_log10l.c: Likewise.
47281 * math/w_log2.c: Likewise.
47282 * math/w_log2f.c: Likewise.
47283 * math/w_log2l.c: Likewise.
47284 * math/w_pow.c: Likewise.
47285 * math/w_powf.c: Likewise.
47286 * math/w_powl.c: Likewise.
47287 * math/w_remainder.c: Likewise.
47288 * math/w_remainderf.c: Likewise.
47289 * math/w_remainderl.c: Likewise.
47290 * math/w_scalb.c: Likewise.
47291 * math/w_scalbf.c: Likewise.
47292 * math/w_scalbl.c: Likewise.
47293 * math/w_sqrt.c: Likewise.
47294 * math/w_sqrtf.c: Likewise.
47295 * math/w_sqrtl.c: Likewise.
47296 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47297 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47299 * math/math_private.h: Declare __kernel_standard_f.
47300 * math/w_cosh.c: Remove cruft and optimize a bit.
47301 * math/w_coshf.c: Likewise.
47302 * math/w_coshl.c: Likewise.
47303 * math/w_exp2.c: Likewise.
47304 * math/w_exp2f.c: Likewise.
47305 * math/w_exp2l.c: Likewise.
47306 * math/w_hypot.c: Likewise.
47307 * math/w_hypotf.c: Likewise.
47308 * math/w_hypotl.c: Likewise.
47309 * math/w_lgamma.c: Likewise.
47310 * math/w_lgamma_r.c: Likewise.
47311 * math/w_lgammaf.c: Likewise.
47312 * math/w_lgammaf_r.c: Likewise.
47313 * math/w_lgammal.c: Likewise.
47314 * math/w_lgammal_r.c: Likewise.
47315 * math/w_sinh.c: Likewise.
47316 * math/w_sinhf.c: Likewise.
47317 * math/w_sinhl.c: Likewise.
47318 * math/w_tgamma.c: Likewise.
47319 * math/w_tgammaf.c: Likewise.
47320 * math/w_tgammal.c: Likewise.
47321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47322 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47323 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47324 Minor optimizations. Pretty printing. Remove cruft.
47325 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47327 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47328 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47329 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47330 * sysdeps/i386/fpu/e_asin.S: Likewise.
47331 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47332 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47333 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47334 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47335 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47336 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47338 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47339 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47340 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47341 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47342 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47343 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47344 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47345 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47346 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47347 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47348 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47349 * sysdeps/i386/fpu/e_log.S: Likewise.
47350 * sysdeps/i386/fpu/e_log10.S: Likewise.
47351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47353 * sysdeps/i386/fpu/e_log2.S: Likewise.
47354 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47355 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47356 * sysdeps/i386/fpu/e_logf.S: Likewise.
47357 * sysdeps/i386/fpu/e_logl.S: Likewise.
47358 * sysdeps/i386/fpu/e_pow.S: Likewise.
47359 * sysdeps/i386/fpu/e_powf.S: Likewise.
47360 * sysdeps/i386/fpu/e_powl.S: Likewise.
47361 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47362 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47363 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47366 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47367 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47368 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47369 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47370 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47371 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47373 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47374 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47375 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47376 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47377 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47379 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47380 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47381 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47383 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47384 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47386 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47387 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47388 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47390 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47391 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47392 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47393 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47394 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47395 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47396 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47397 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47398 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47399 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47400 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47401 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47403 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47404 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47405 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47406 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47407 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47408 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47409 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47410 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47411 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47412 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47414 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47416 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47417 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47418 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47420 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47421 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47422 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47424 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47425 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47426 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47427 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47428 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47429 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47430 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47431 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47434 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47435 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47436 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47437 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47442 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47445 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47447 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47448 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47450 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47451 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47453 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47455 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47456 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47457 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47458 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47459 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47461 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47462 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47463 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47464 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47465 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47466 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47467 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47468 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47469 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47470 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47471 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47472 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47473 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47474 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47476 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47478 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47479 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47480 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47481 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47482 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47483 (__isnanf): Likewise.
47484 (__isinf_ns): Likewise.
47485 (__isinf_nsf): Likewise.
47486 (__finite): Likewise.
47487 (__finitef): Likewise.
47488 (__ieee754_sqrt): Define as macro.
47489 (__ieee754_sqrtf): Define as macro.
47490 (__ieee754_sqrtl): Define as macro.
47491 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47493 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47494 __FINITE_MATH_ONLY__ consistent.
47495 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47497 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47499 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47502 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47504 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47506 * po/ja.po: Update from translation team.
47508 2011-10-08 Roland McGrath <roland@hack.frob.com>
47510 * locale/programs/locarchive.c (prepare_address_space): New function.
47511 (create_archive, enlarge_archive, open_archive): Use it.
47513 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47514 inside [SHARED], where it is used.
47516 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47518 * nss/getent.c (netgroup_keys): Remove unused variable.
47519 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47521 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47523 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47524 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47526 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47527 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47528 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47529 * math/Makefile (libm-calls): Add s_isinf_ns.
47530 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47531 * math/multc3.c: Likewise.
47532 * math/s_casin.c: Likewise.
47533 * math/s_casinf.c: Likewise.
47534 * math/s_casinl.c: Likewise.
47535 * math/s_ccos.c: Likewise.
47536 * math/s_ccosf.c: Likewise.
47537 * math/s_ccosl.c: Likewise.
47538 * math/s_ctan.c: Likewise.
47539 * math/s_ctanf.c: Likewise.
47540 * math/s_ctanh.c: Likewise.
47541 * math/s_ctanhf.c: Likewise.
47542 * math/s_ctanhl.c: Likewise.
47543 * math/s_ctanl.c: Likewise.
47544 * math/w_fmod.c: Likewise.
47545 * math/w_fmodf.c: Likewise.
47546 * math/w_fmodl.c: Likewise.
47547 * math/w_remainder.c: Likewise.
47548 * math/w_remainderf.c: Likewise.
47549 * math/w_remainderl.c: Likewise.
47550 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47551 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47552 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47554 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47555 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47556 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47557 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47559 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47561 * stdio-common/printf_fphex.c: Likewise.
47562 * stdio-common/printf_size.c: Likewise.
47564 * math/e_exp10.c: Include math_private.h using <...> not "...".
47565 * math/e_exp10f.c: Likewise.
47566 * math/e_exp10l.c: Likewise.
47567 * math/e_exp2l.c: Likewise.
47568 * math/e_j0l.c: Likewise.
47569 * math/e_j1l.c: Likewise.
47570 * math/e_jnl.c: Likewise.
47571 * math/e_lgammal_r.c: Likewise.
47572 * math/e_rem_pio2l.c: Likewise.
47573 * math/e_scalb.c: Likewise.
47574 * math/e_scalbf.c: Likewise.
47575 * math/e_scalbl.c: Likewise.
47576 * math/k_cosl.c: Likewise.
47577 * math/k_sinl.c: Likewise.
47578 * math/k_tanl.c: Likewise.
47579 * math/s_cacoshf.c: Likewise.
47580 * math/s_catan.c: Likewise.
47581 * math/s_catanf.c: Likewise.
47582 * math/s_catanh.c: Likewise.
47583 * math/s_catanhf.c: Likewise.
47584 * math/s_catanhl.c: Likewise.
47585 * math/s_catanl.c: Likewise.
47586 * math/s_ccosh.c: Likewise.
47587 * math/s_ccoshf.c: Likewise.
47588 * math/s_ccoshl.c: Likewise.
47589 * math/s_cexp.c: Likewise.
47590 * math/s_cexpf.c: Likewise.
47591 * math/s_cexpl.c: Likewise.
47592 * math/s_clog.c: Likewise.
47593 * math/s_clog10.c: Likewise.
47594 * math/s_clog10f.c: Likewise.
47595 * math/s_clog10l.c: Likewise.
47596 * math/s_clogf.c: Likewise.
47597 * math/s_clogl.c: Likewise.
47598 * math/s_csin.c: Likewise.
47599 * math/s_csinf.c: Likewise.
47600 * math/s_csinh.c: Likewise.
47601 * math/s_csinhf.c: Likewise.
47602 * math/s_csinhl.c: Likewise.
47603 * math/s_csinl.c: Likewise.
47604 * math/s_csqrt.c: Likewise.
47605 * math/s_csqrtf.c: Likewise.
47606 * math/s_csqrtl.c: Likewise.
47607 * math/s_ctan.c: Likewise.
47608 * math/s_ctanf.c: Likewise.
47609 * math/s_ctanh.c: Likewise.
47610 * math/s_ctanhf.c: Likewise.
47611 * math/s_ctanhl.c: Likewise.
47612 * math/s_ctanl.c: Likewise.
47613 * math/s_ldexp.c: Likewise.
47614 * math/s_ldexpf.c: Likewise.
47615 * math/s_ldexpl.c: Likewise.
47616 * math/s_significand.c: Likewise.
47617 * math/s_significandf.c: Likewise.
47618 * math/s_significandl.c: Likewise.
47619 * math/w_acos.c: Likewise.
47620 * math/w_acosf.c: Likewise.
47621 * math/w_acosh.c: Likewise.
47622 * math/w_acoshf.c: Likewise.
47623 * math/w_acoshl.c: Likewise.
47624 * math/w_acosl.c: Likewise.
47625 * math/w_asin.c: Likewise.
47626 * math/w_asinf.c: Likewise.
47627 * math/w_asinl.c: Likewise.
47628 * math/w_atan2.c: Likewise.
47629 * math/w_atan2f.c: Likewise.
47630 * math/w_atan2l.c: Likewise.
47631 * math/w_atanh.c: Likewise.
47632 * math/w_atanhf.c: Likewise.
47633 * math/w_atanhl.c: Likewise.
47634 * math/w_cosh.c: Likewise.
47635 * math/w_coshf.c: Likewise.
47636 * math/w_coshl.c: Likewise.
47637 * math/w_dremf.c: Likewise.
47638 * math/w_exp10.c: Likewise.
47639 * math/w_exp10f.c: Likewise.
47640 * math/w_exp10l.c: Likewise.
47641 * math/w_exp2.c: Likewise.
47642 * math/w_exp2f.c: Likewise.
47643 * math/w_fmod.c: Likewise.
47644 * math/w_fmodf.c: Likewise.
47645 * math/w_fmodl.c: Likewise.
47646 * math/w_hypot.c: Likewise.
47647 * math/w_hypotf.c: Likewise.
47648 * math/w_hypotl.c: Likewise.
47649 * math/w_j0.c: Likewise.
47650 * math/w_j0f.c: Likewise.
47651 * math/w_j0l.c: Likewise.
47652 * math/w_j1.c: Likewise.
47653 * math/w_j1f.c: Likewise.
47654 * math/w_j1l.c: Likewise.
47655 * math/w_jn.c: Likewise.
47656 * math/w_jnf.c: Likewise.
47657 * math/w_jnl.c: Likewise.
47658 * math/w_lgamma.c: Likewise.
47659 * math/w_lgamma_r.c: Likewise.
47660 * math/w_lgammaf.c: Likewise.
47661 * math/w_lgammaf_r.c: Likewise.
47662 * math/w_lgammal.c: Likewise.
47663 * math/w_lgammal_r.c: Likewise.
47664 * math/w_log.c: Likewise.
47665 * math/w_log10.c: Likewise.
47666 * math/w_log10f.c: Likewise.
47667 * math/w_log10l.c: Likewise.
47668 * math/w_log2.c: Likewise.
47669 * math/w_log2f.c: Likewise.
47670 * math/w_log2l.c: Likewise.
47671 * math/w_logf.c: Likewise.
47672 * math/w_logl.c: Likewise.
47673 * math/w_pow.c: Likewise.
47674 * math/w_powf.c: Likewise.
47675 * math/w_powl.c: Likewise.
47676 * math/w_remainder.c: Likewise.
47677 * math/w_remainderf.c: Likewise.
47678 * math/w_remainderl.c: Likewise.
47679 * math/w_scalb.c: Likewise.
47680 * math/w_scalbf.c: Likewise.
47681 * math/w_scalbl.c: Likewise.
47682 * math/w_sinh.c: Likewise.
47683 * math/w_sinhf.c: Likewise.
47684 * math/w_sinhl.c: Likewise.
47685 * math/w_sqrt.c: Likewise.
47686 * math/w_sqrtf.c: Likewise.
47687 * math/w_sqrtl.c: Likewise.
47688 * math/w_tgamma.c: Likewise.
47689 * math/w_tgammaf.c: Likewise.
47690 * math/w_tgammal.c: Likewise.
47692 * po/ja.po: Update from translation team.
47694 2011-09-29 Andreas Jaeger <aj@suse.de>
47697 * sunrpc/netname.c (netname2host): Fix logic.
47701 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47703 * math/w_remainder.c (__remainder): Likewise.
47704 * math/w_remainderf.c (__remainderf): Likewise.
47705 * math/libm-test.inc (remainder_test): Add test cases.
47707 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47709 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47712 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47714 * string/test-memcmp.c: Avoid unncessary #defines.
47715 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47717 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47719 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47720 Use new sse2 version for core i3 - i7 as it's faster
47721 than sse42 version.
47722 (bit_Prefer_PMINUB_for_stringop): New.
47723 * sysdeps/x86_64/rawmemchr.S: Update.
47724 Replace with faster SSE2 version.
47725 * sysdeps/x86_64/memrchr.S: New file.
47726 * sysdeps/x86_64/memchr.S: Update.
47727 Replace with faster SSE2 version.
47729 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47731 * elf/dl-load.c (lose): Add cast to avoid warning.
47733 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47735 * po/ca.po: Update from translation team.
47737 * inet/getnetgrent_r.c: Hook up nscd.
47738 * nscd/Makefile (routines): Add nscd_netgroup.
47739 (nscd-modules): Add netgroupcache.
47740 (CFLAGS-netgroupcache.c): Define.
47741 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47742 (cache_search): Add const to second parameter.
47743 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47745 (dbs): Add netgrdb entry.
47746 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47747 (verify_persistent_db): Handle netgrdb.
47748 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47749 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47751 (netgroup_response_header): Define.
47752 (innetgroup_response_header): Define.
47753 (datahead): Add netgroup_response_header and innetgroup_response_header
47755 * nscd/nscd.conf: Add entries for netgroup cache.
47756 * nscd/nscd.h (dbtype): Add netgrdb.
47757 (_PATH_NSCD_NETGROUP_DB): Define.
47758 (netgroup_iov_disabled): Declare.
47759 (xmalloc, xcalloc, xrealloc): Move declarations here.
47760 (cache_search): Adjust prototype.
47761 Add netgroup-related prototypes.
47762 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47763 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47764 (__nscd_innetgr): Declare.
47765 * nscd/selinux.c (perms): Use access_vector_t as element type and
47766 add netgroup-related initializers.
47767 * nscd/netgroupcache.c: New file.
47768 * nscd/nscd_netgroup.c: New file.
47769 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47770 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47771 For four parameters use innetgr.
47772 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47773 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47774 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47775 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47777 * nscd/connections.c (register_traced_file): Don't register file
47778 for disabled databases.
47780 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47782 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47784 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47785 from tree and freeing node.
47787 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47789 * nss/nsswitch.c (__nss_database_lookup): Handle
47790 nss_parse_service_list out of memory case.
47792 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47794 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47795 out of memory case.
47797 2011-10-04 Andreas Schwab <schwab@redhat.com>
47799 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47800 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47802 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47803 elf_machine_rela, elf_machine_lazy_rel.
47804 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47805 (ELF_DYNAMIC_DO_REL): Likewise.
47806 (ELF_DYNAMIC_DO_RELA): Likewise.
47807 (ELF_DYNAMIC_RELOCATE): Likewise.
47808 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47809 to ELF_DYNAMIC_DO_REL.
47810 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47811 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47812 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47814 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47815 skip_ifunc, don't call ifunc function if non-zero.
47816 (elf_machine_rela): Likewise.
47817 (elf_machine_lazy_rel): Likewise.
47818 (elf_machine_lazy_rela): Likewise.
47819 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47820 (elf_machine_lazy_rel): Likewise.
47821 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47823 (elf_machine_lazy_rel): Likewise.
47824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47826 (elf_machine_lazy_rel): Likewise.
47827 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47828 (elf_machine_lazy_rel): Likewise.
47829 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47830 (elf_machine_lazy_rel): Likewise.
47831 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47832 (elf_machine_lazy_rel): Likewise.
47833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47834 (elf_machine_lazy_rel): Likewise.
47835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47836 (elf_machine_lazy_rel): Likewise.
47837 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47838 (elf_machine_lazy_rel): Likewise.
47840 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47842 * nss/nss_files/files-init.c (_nss_files_init): Use static
47843 initialization for all the *_traced_file variables.
47845 2011-09-28 Andreas Schwab <schwab@redhat.com>
47847 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47849 2011-09-27 Roland McGrath <roland@hack.frob.com>
47852 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47854 2011-09-27 Andreas Schwab <schwab@redhat.com>
47856 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47857 Reread the line before reparsing it.
47859 2011-09-26 Andreas Schwab <schwab@redhat.com>
47861 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47863 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47864 Maxim Kuvyrkov <maxim@codesourcery.com>
47865 Joseph Myers <joseph@codesourcery.com>
47867 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47868 if needed for __stack_chk_guard.
47870 2011-09-19 Roland McGrath <roland@hack.frob.com>
47872 * sysdeps/posix/spawni.c (script_execute): Always define it.
47873 It will be optimized away if unused.
47874 (maybe_script_execute): New function.
47875 (__spawni): Call it.
47877 * Makerules: Don't include tls.make.
47878 (config-tls): Always set to thread.
47879 * tls.make.c: File removed.
47881 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47883 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47884 * config.make.in (CPPFLAGS-config): New substituted variable.
47886 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47891 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47892 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47894 2011-09-15 Roland McGrath <roland@hack.frob.com>
47896 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47897 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47899 (CALL_FAIL): Likewise.
47900 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47901 (CALL_FAIL): Macro removed.
47902 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47904 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47906 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47907 for __FINITE_MATH_ONLY__ == 1.
47909 2011-09-15 Andreas Schwab <schwab@redhat.com>
47911 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47912 __ieee754_sqrt instead of sqrt.
47913 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47914 __ieee754_sqrtf instead of sqrtf.
47915 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47916 __floorf instead of floorf.
47917 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47918 __floorf, __truncf instead of floorf, truncf.
47920 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47922 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47924 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47925 __extern_always_inline.
47926 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47929 2011-09-14 Andreas Schwab <schwab@redhat.com>
47931 * elf/rtld.c (dl_main): Also relocate in dependency order when
47932 doing symbol dependency testing.
47934 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47937 Always define `refsym'.
47939 2011-09-13 Andreas Schwab <schwab@redhat.com>
47941 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47942 (__FD_ELT): Renamed from __FDELT.
47943 * misc/bits/select2.h (__FD_ELT): Likewise.
47944 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47945 __FD_MASK instead of __FDELT, __FDMASK.
47946 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47948 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47951 * elf/Makefile (gen-ldd): Fix pattern.
47953 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47954 (init_tls): Likewise.
47956 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47960 2011-09-12 Andreas Schwab <schwab@redhat.com>
47962 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47963 `struct cmsghdr *' instead of `void *'.
47964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47967 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47969 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47971 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47972 ldd_rewrite_script.
47974 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47976 * configure.in: Remove --with-tls option.
47977 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47978 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47979 out in case it is missing.
47980 * sysdeps/ia64/elf/configure.in: Likewise.
47981 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47982 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47983 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47984 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47985 * sysdeps/sh/elf/configure.in: Likewise.
47986 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47987 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47988 * sysdeps/x86_64/elf/configure.in: Likewise.
47989 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47990 * sysdeps/mach/hurd/tls.h: Likewise.
47993 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47996 * configure.in: Fix use of AC_INIT.
47998 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48000 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48002 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48004 * malloc/hooks.c: Likewise.
48007 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48008 variables statically.
48009 (narenas): Initialize.
48010 (list_lock): Initialize.
48011 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48012 initializtion of main_arena and list_lock. Small cleanups.
48013 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48014 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48015 Add initializers to main_arena and mp_.
48016 (malloc_state): Remove pagesize member. Change all users to use
48019 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48020 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48021 is always initialized.
48023 * malloc/malloc.c: Removed unused configurations and dead code.
48024 * malloc/arena.c: Likewise.
48025 * malloc/hooks.c: Likewise.
48026 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48028 * include/tls.h: Removed. USE___THREAD must always be defined.
48029 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48030 * elf/dl-libc.c: Likewise.
48031 * elf/dl-tsd.c: Likewise.
48032 * include/errno.h: Likewise.
48033 * include/netdb.h: Likewise.
48034 * include/resolv.h: Likewise.
48035 * inet/herrno-loc.c: Likewise.
48036 * inet/herrno.c: Likewise.
48037 * malloc/arena.c: Likewise.
48038 * malloc/hooks.c: Likewise.
48039 * malloc/malloc.c: Likewise.
48040 * resolv/res-state.c: Likewise.
48041 * resolv/res_libc.c: Likewise.
48042 * sysdeps/i386/dl-machine.h: Likewise.
48043 * sysdeps/ia64/dl-machine.h: Likewise.
48044 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48045 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48046 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48047 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48048 * sysdeps/sh/dl-machine.h: Likewise.
48049 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48050 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48051 * sysdeps/unix/i386/sysdep.S: Likewise.
48052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48053 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48058 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48062 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48063 * sysdeps/x86_64/dl-machine.h: Likewise.
48064 * tls.make.c: Likewise.
48066 * configure.in: Remove --with-__thread option. Make tests for
48067 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48068 tls_model attribute fail if no support is available. Remove
48070 * Makeconfig: Adjust for dropped configure option. All features are
48072 * Makerules: Likewise.
48073 * Versions.def: Likewise.
48074 * argp/argp-fmtstream.c: Likewise.
48075 * argp/argp-fmtstream.h: Likewise.
48076 * argp/argp-help.c: Likewise.
48077 * assert/assert.c: Likewise.
48078 * config.h.in: Likewise.
48079 * config.make.in: Likewise.
48080 * configure: Likewise.
48081 * configure.in: Likewise.
48082 * csu/Versions: Likewise.
48083 * csu/init.c: Likewise.
48084 * elf/tst-audit2.c: Likewise.
48085 * elf/tst-tls10.c: Likewise.
48086 * elf/tst-tls10.h: Likewise.
48087 * elf/tst-tls11.c: Likewise.
48088 * elf/tst-tls12.c: Likewise.
48089 * elf/tst-tls14.c: Likewise.
48090 * elf/tst-tlsmod11.c: Likewise.
48091 * elf/tst-tlsmod12.c: Likewise.
48092 * elf/tst-tlsmod13.c: Likewise.
48093 * elf/tst-tlsmod13a.c: Likewise.
48094 * elf/tst-tlsmod14a.c: Likewise.
48095 * elf/tst-tlsmod15b.c: Likewise.
48096 * elf/tst-tlsmod16a.c: Likewise.
48097 * elf/tst-tlsmod16b.c: Likewise.
48098 * elf/tst-tlsmod7.c: Likewise.
48099 * elf/tst-tlsmod8.c: Likewise.
48100 * elf/tst-tlsmod9.c: Likewise.
48101 * gmon/gmon.c: Likewise.
48102 * grp/fgetgrent_r.c: Likewise.
48103 * grp/putgrent.c: Likewise.
48104 * hurd/fopenport.c: Likewise.
48105 * include/libc-symbols.h: Likewise.
48106 * include/tls.h: Likewise.
48107 * intl/gettextP.h: Likewise.
48108 * intl/loadinfo.h: Likewise.
48109 * locale/global-locale.c: Likewise.
48110 * locale/localeinfo.h: Likewise.
48111 * mach/devstream.c: Likewise.
48112 * malloc/arena.c: Likewise.
48113 * malloc/set-freeres.c: Likewise.
48114 * misc/err.c: Likewise.
48115 * misc/getttyent.c: Likewise.
48116 * misc/mntent_r.c: Likewise.
48117 * posix/getopt.c: Likewise.
48118 * posix/wordexp.c: Likewise.
48119 * pwd/fgetpwent_r.c: Likewise.
48120 * resolv/Versions: Likewise.
48121 * resolv/res_hconf.c: Likewise.
48122 * shadow/fgetspent_r.c: Likewise.
48123 * shadow/putspent.c: Likewise.
48124 * stdio-common/printf_fphex.c: Likewise.
48125 * stdio-common/tmpfile.c: Likewise.
48126 * stdlib/abort.c: Likewise.
48127 * stdlib/fmtmsg.c: Likewise.
48128 * sunrpc/auth_unix.c: Likewise.
48129 * sunrpc/clnt_perr.c: Likewise.
48130 * sunrpc/clnt_tcp.c: Likewise.
48131 * sunrpc/clnt_udp.c: Likewise.
48132 * sunrpc/clnt_unix.c: Likewise.
48133 * sunrpc/openchild.c: Likewise.
48134 * sunrpc/svc_simple.c: Likewise.
48135 * sunrpc/svc_tcp.c: Likewise.
48136 * sunrpc/svc_udp.c: Likewise.
48137 * sunrpc/svc_unix.c: Likewise.
48138 * sunrpc/xdr.c: Likewise.
48139 * sunrpc/xdr_array.c: Likewise.
48140 * sunrpc/xdr_rec.c: Likewise.
48141 * sunrpc/xdr_ref.c: Likewise.
48142 * sunrpc/xdr_stdio.c: Likewise.
48144 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48146 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48148 2011-07-03 Andreas Jaeger <aj@suse.de>
48150 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48151 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48152 regenerate with gen-libm-tests.pl.
48154 2010-05-12 Petr Baudis <pasky@suse.cz>
48157 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48158 around j0() zero points by switching to j1().
48159 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48164 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48166 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48168 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48171 Patch in part by Pavel Roskin <proski@gnu.org>.
48174 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48176 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48177 Free memory block if necessary.
48180 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48181 be NULL. Don't lock in this case.
48183 2011-09-09 Roland McGrath <roland@hack.frob.com>
48185 * elf/elf.h (ELFOSABI_GNU): New macro.
48186 (ELFOSABI_LINUX): Define to that.
48188 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48190 * string/strncat.c (strncat): Undef the symbol in case it has been
48191 defined in bits/string.h.
48193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48195 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48197 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48200 2011-08-17 Andreas Jaeger <aj@suse.de>
48202 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48204 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48205 Ian Lance Taylor <iant@google.com>
48207 * math/libm-test.inc (lround_test): New testcase.
48208 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48210 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48212 * Makefile: Remove support for automatic cvs check-ins.
48213 * Makerules: Likewise.
48214 * config.make.in: Likewise.
48215 * configure.in: Likewise.
48216 * intl/Makefile: Likewise.
48217 * locale/Makefile: Likewise.
48218 * po/Makefile: Likewise.
48219 * posix/Makefile: Likewise.
48220 * sysdeps/gnu/Makefile: Likewise.
48221 * sysdeps/mach/hurd/Makefile: Likewise.
48222 * sysdeps/sparc/sparc32/Makefile: Likewise.
48225 * posix/Makefile (bug-regex32-ENV): Define.
48226 Patch by John Stanley <jpsinthemix@verizon.net>.
48228 * misc/Makefile (headers): Add bits/select2.h.
48229 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48230 * misc/bits/select2.h: New file.
48231 * include/bits/select2.h: New file.
48232 * debug/Makefile (routines): Add fdelt_chk.
48233 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48234 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48236 * debug/fdelt_chk.c: New file.
48238 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48239 * wcsmbs/test-wmemcmp.c: Likewise.
48240 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48241 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48243 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48245 * string/Makefile (strop-tests): Add memcmp.
48246 * string/test-wmemcmp.c: New file.
48247 * string/test-memcmp.c: Add wmemcmp support.
48249 2011-09-08 Roland McGrath <roland@hack.frob.com>
48252 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48255 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48256 garbage value in a __mach_port_mod_refs call in the cases of the
48257 task-self and thread-self ports.
48259 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48261 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48263 2011-09-08 Andreas Schwab <schwab@redhat.com>
48265 * elf/dl-load.c (lose): Check for non-null L.
48267 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48269 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48271 * elf/dl-libc.c (dlerror_run): Pass back error code from
48275 * elf/dl-load.c (lose): Free l_origin if it is valid.
48277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48279 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48280 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48281 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48283 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48284 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48286 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48288 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48289 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48291 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48292 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48293 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48294 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48295 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48296 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48297 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48299 2011-08-15 Alan Modra <amodra@gmail.com>
48302 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48303 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48304 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48305 ppc_mcount to static-only-routines.
48306 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48308 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48309 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48311 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48313 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48314 for finite and infinity parameters.
48316 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48318 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48319 and add nop instructions for throughput optimization.
48320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48322 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48324 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48325 aligned copy for power7 with vector-scalar instructions.
48326 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48328 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48333 2011-09-07 Andreas Schwab <schwab@redhat.com>
48336 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48339 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48341 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48342 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48343 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48344 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48347 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48349 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48350 Forgot to demangle the pointer.
48352 * sysdeps/i386/sysdep.h: Define atom_text_section.
48353 * sysdeps/x86_64/sysdep.h: Likewise.
48354 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48355 section with atom_text_section.
48356 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48357 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48358 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48359 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48360 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48362 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48363 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48364 already be defined. Change to take two parameters and don't assign
48365 result to variable. Adjust all users.
48366 Define INTERNAL_GETTIME if not already defined.
48367 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48370 HAVE_CLOCK_GETTIME_VSYSCALL.
48371 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48373 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48374 gettimeofday vsyscall, just use time.
48376 2011-09-06 Andreas Schwab <schwab@redhat.com>
48378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48381 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48383 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48387 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48389 syscall if possible.
48391 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48393 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48394 e_ident. Don't pass to find_mapsXX.
48395 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48397 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48400 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48401 * sysdeps/x86_64/multiarch/strchr.S: Update.
48402 Check bit_slow_BSF bit.
48403 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48404 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48405 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48407 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48410 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48412 (tryshell): Define.
48413 (__spawni): Change last parameter to be flag. Test
48414 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48415 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48416 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48417 * posix/spawni.c: Likewise.
48418 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48419 * posix/spawnp.c: Likewise. Change normal version to use
48420 SPAWN_XFLAGS_USE_PATH.
48421 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48422 SPAWN_XFLAGS_TRY_SHELL.
48425 * posix/glob.h: Remove gcc 1.x support.
48428 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48430 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48433 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48435 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48436 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48437 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48438 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48439 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48442 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48444 * sysdeps/x86_64/wcscmp.S: New file.
48446 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48447 wcscmp-c wcscmp-sse2
48448 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48449 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48450 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48451 * wcsmbs/wcscmp.c: Allow renaming.
48453 2011-09-05 David S. Miller <davem@davemloft.net>
48455 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48456 stack slot, rather than the struct return pointer slot.
48457 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48458 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48460 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48462 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48464 * po/ja.po: Update from translation team.
48467 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48468 kernel in 64-bit binaries.
48470 2011-09-01 David S. Miller <davem@davemloft.net>
48472 * elf/elf.h (HWCAP_SPARC_*): Move to..
48473 * sysdeps/sparc/sysdep.h: this new file and add new values.
48474 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48475 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48476 _DL_HWCAP_COUNT to 24.
48477 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48479 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48480 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48481 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48483 instead of magic constants.
48484 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48486 2011-08-31 David S. Miller <davem@davemloft.net>
48488 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48490 Reimplement to do errno handling inline.
48491 (SYSCALL_ERROR_HANDLER): New macro.
48492 (__SYSCALL_STRING): Do not do errno handling in asm.
48493 (__CLONE_SYSCALL_STRING): Delete.
48494 (__INTERNAL_SYSCALL_STRING): Delete.
48495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48496 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48497 (PSEUDO): Reimplement to do errno handling inline.
48498 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48499 (SYSCALL_ERROR_HANDLER): New macro.
48500 (__SYSCALL_STRING): Do not do errno handling in asm.
48501 (__CLONE_SYSCALL_STRING): Delete.
48502 (__INTERNAL_SYSCALL_STRING): Delete.
48503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48504 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48506 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48507 (inline_syscall*): Add 'err' argument.
48508 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48509 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48510 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48511 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48513 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48514 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48516 2011-08-30 Andreas Schwab <schwab@redhat.com>
48518 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48520 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48522 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48525 2011-08-24 David S. Miller <davem@davemloft.net>
48527 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48529 2011-08-24 Andreas Schwab <schwab@redhat.com>
48531 * elf/Makefile: Add rules to build and run unload8 test.
48532 * elf/unload8.c: New file.
48533 * elf/unload8mod1.c: New file.
48534 * elf/unload8mod1x.c: New file.
48535 * elf/unload8mod2.c: New file.
48536 * elf/unload8mod3.c: New file.
48538 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48541 2011-08-23 David S. Miller <davem@davemloft.net>
48543 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48544 subtract stack bias.
48545 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48546 %sp not %fp in calculations.
48547 (_JMPBUF_UNWINDS_ADJ): Likewise.
48549 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48550 (aio_suspend): Call it to force an exception region around the
48551 AIO_MISC_WAIT() invocation.
48553 2011-08-23 Andreas Schwab <schwab@redhat.com>
48555 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48558 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48560 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48562 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48563 and <dl-machine.h>.
48564 (Elf64_FuncDesc): Remove.
48566 2011-08-22 David S. Miller <davem@davemloft.net>
48568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48569 sigaltstack check, add missing cfi directives.
48570 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48571 missing cfi directives, and sigaltstack handling.
48573 2011-08-16 Andreas Schwab <schwab@redhat.com>
48576 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48577 object is seen twice.
48578 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48580 * elf/Makefile (distribute): Add tst-initorder2.c.
48581 (tests): Add tst-initorder2.
48582 (modules-names): Add tst-initorder2a tst-initorder2b
48583 tst-initorder2c tst-initorder2d. Add rules to build them.
48584 ($(objpfx)tst-initorder2.out): New rule.
48585 * elf/tst-initorder2.c: New file.
48586 * elf/tst-initorder2.exp: New file.
48588 2011-08-22 Andreas Schwab <schwab@redhat.com>
48590 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48592 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48593 dependencies back to end of function.
48595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48596 $(elfobjdir)/ld.so.
48598 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48601 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48603 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48604 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48605 of __vdso_gettimeofday.
48606 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48607 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48609 (_libc_vdso_platform_setup): Remove initialization of
48610 __vdso_gettimeofday and __vdso_time.
48612 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48614 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48615 and fgetc_unlocked.
48616 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48619 * elf/dl-open.c (add_to_global): Report additions to the global scope
48620 for LD_DEBUG=scopes.
48621 (dl_open_worker): Also print scope of newly loaded dependencies.
48622 (_dl_show_scope): Indicate if there is no scope.
48625 * stdio-common/Makefile (tests): Add bug24.
48626 * stdio-common/bug24.c: New file.
48628 2011-08-19 Andreas Jaeger <aj@suse.de>
48631 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48632 non-existant file when using close-on-exec mode.
48634 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48637 the very first instruction.
48639 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48640 the CFI state in the end.
48641 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48642 inclusion of dl-trampoline.h.
48643 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48645 2011-08-19 Andreas Schwab <schwab@redhat.com>
48647 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48648 expectations for long double.
48650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48651 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48653 2011-08-14 David S. Miller <davem@davemloft.net>
48655 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48656 artificual limit depends upon the system page size.
48658 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48660 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48661 * resolv/Makefile: Define CFLAGS-libresolv.
48663 2011-08-17 Andreas Schwab <schwab@redhat.com>
48665 * nss/makedb.c (compute_tables): Make variables used in nested
48668 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48670 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48671 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48672 if buffer was too small.
48674 * elf/pldd.c (main): Attach to all threads in the process.
48675 Rewrite /proc handling to use *at functions.
48677 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48679 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48680 specifies first scope to show.
48681 (dl_open_worker): Update callers. Move printing scope of new
48682 object to before the relocation.
48683 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48684 * sysdeps/generic/ldsodefs.h: Update declaration.
48686 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48687 string for the scope number.
48689 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48691 * nscd/servicescache.c (cache_addserv): Make sure written is always
48694 2011-08-14 Roland McGrath <roland@hack.frob.com>
48696 * sysdeps/i386/i486/bits/atomic.h
48697 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48698 statement expression, so as to suppress "set but not used" warning.
48699 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48701 * string/strncat.c (STRNCAT): Use prototype definition.
48703 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48704 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48706 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48707 (localedef-modules): Add localedef.
48708 (locale-modules): Add locale.
48710 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48711 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48712 to avoid a warning.
48714 2011-08-14 David S. Miller <davem@davemloft.net>
48716 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48717 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48719 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48721 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48722 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48723 * elf/rtld.c (dl_main): Set l_name of vDSO.
48724 Call _dl_show_scope when DL_DEBUG_SCOPES.
48725 (process_dl_debug): Recognize scopes flag and also set it for all.
48726 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48727 Declare _dl_show_scope.
48729 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48730 (do_dlopen): Pass caller_dlopen to dl_open.
48731 (__libc_dlopen_mode): Initialize caller_dlopen.
48733 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48734 of libc. Make tolower call locale-independent. Optimize a bit by
48735 using isdigit instead of isalnum.
48736 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48738 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48740 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48741 was a dependency or dynamically loaded.
48743 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48745 * intl/l10nflist.c: Allow architecture-specific pop function.
48746 * sysdeps/x86_64/l10nflist.c: New file.
48748 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48751 2011-08-10 Andreas Schwab <schwab@redhat.com>
48753 * include/dirent.h: Add libc_hidden_proto for scandirat and
48754 scandirat64. Don't declare __scandirat64.
48755 * dirent/scandirat.c: Add libc_hidden_def.
48756 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48757 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48759 2011-08-10 David S. Miller <davem@davemloft.net>
48761 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48763 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48767 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48769 * Versions.def [libc]: Add GLIBC_2.15.
48770 * dirent/Makefile (routines): Add scandirat and scandirat64.
48771 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48773 * dirent/dirent.h: Declare scandirat and scandirat64.
48774 * dirent/scandirat.c: New file.
48775 * dirent/scandirat64.c: New file.
48776 * sysdeps/wordsize-64/scandirat.c: New file.
48777 * sysdeps/wordsize-64/scandirat64.c: New file.
48778 * dirent/opendir.c: Define opendirat.
48779 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48781 * dirent/scandir64.c: Adjust for scandir.c change.
48782 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48783 __scandirat64, and __scandir_cancel_handler.
48784 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48785 additional parameter and use openat instead of open (outside of ld.so).
48786 Add new __opendir as wrapper around __opendirat.
48787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48788 here without requiring old scandirat implementation.
48790 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48792 * dirent/scandir.c (cancel_handler): Renamed to
48793 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48794 defined. Adjust users.
48795 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48796 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48798 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48800 * string/test-string.h (IMPL): Use __STRING to expand name and then
48803 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48806 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48808 * string/Makefile: Update.
48809 (strop-tests): Append strncat.
48810 * string/test-wcscmp.c: New file.
48811 New comprehensive test for wcscmp.
48812 * string/test-strcmp.c: Update.
48813 (WIDE): New define.
48815 2011-07-22 Andreas Schwab <schwab@redhat.com>
48817 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48820 2011-07-26 Andreas Schwab <schwab@redhat.com>
48822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48823 encoding to ACE if AI_IDN.
48825 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48828 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48830 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48832 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48833 Fix overflow bug in strncat.
48834 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48836 * string/test-strncat.c: Update.
48837 Add new tests for checking overflow bugs.
48839 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48842 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48843 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48844 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48846 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48847 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48848 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48849 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48851 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48852 (USE_AS_STRCAT): Define.
48853 Add strcat and strncat support.
48854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48856 2011-07-25 Andreas Schwab <schwab@redhat.com>
48858 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48859 __n bigger than INT_MAX+1.
48860 (__strncmp_g): Likewise.
48862 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48864 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48865 * libio/stido.h: Likewise.
48867 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48872 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48874 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48875 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48879 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48884 (_dl_x86_64_save_sse): Likewise.
48886 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48890 (_dl_x86_64_save_sse): Likewise.
48892 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48894 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48896 2011-07-21 Andreas Schwab <schwab@redhat.com>
48898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48900 (_dl_x86_64_save_sse): Use correct AVX check.
48902 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48905 bug in strncpy/strncat.
48906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48908 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48910 * string/tester.c (test_strcat): Add tests for different alignments
48911 of source and destination.
48912 (test_strncat): Likewise.
48914 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48917 * posix/glob.c (glob): Check passed in values before using them in
48918 expressions to avoid some overflows.
48919 (glob_in_dir): Likewise.
48922 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48923 check for AVX enablement so that we don't crash with old kernels and
48925 * elf/tst-audit4.c: Add same checks here.
48926 * elf/tst-audit6.c: Likewise.
48928 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48930 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48932 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48934 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48936 * po/cs.po: Update from translation team.
48937 * po/bg.po: Likewise.
48939 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48941 * misc/sys/cdefs.h: Add support for const attribute.
48942 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48943 to gnu_dev_{major,minor,makedev} functions.
48945 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48947 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48949 2011-07-20 Andreas Schwab <schwab@redhat.com>
48951 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48954 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48957 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48958 register in order to avoid conflicts with the soft frame pointer
48959 being held in r11 when necessary.
48960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48961 (INTERNAL_VSYSCALL_NCS): Likewise.
48963 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48965 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48966 * elf/dl-fini.c (_dl_fini): Adjust caller.
48967 * elf/dl-close.c (_dl_close_worker): Likewise.
48968 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48970 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48972 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48973 "aux_cache->nlibs < 0".
48975 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48976 in the reload-count case.
48978 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48981 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48982 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48983 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48984 * sysdeps/x86_64/multiarch/strcat.S: New file.
48985 * sysdeps/x86_64/multiarch/strncat.S: New file.
48986 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48987 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48988 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48989 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48990 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48991 (USE_AS_STRCAT): Define.
48992 Add strcat and strncat support.
48993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48994 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48995 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48996 * string/strncat.c: Update.
48997 (USE_AS_STRNCAT): Define.
48998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48999 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49001 * sysdeps/x86_64/multiarch/init-arch.h
49002 (bit_Prefer_PMINUB_for_stringop): New.
49003 (index_Prefer_PMINUB_for_stringop): Likewise.
49004 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49005 bit_Prefer_PMINUB_for_stringop.
49007 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49009 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49011 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49012 of casting of buffer.
49013 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49014 buffer32 and buffer64.
49015 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49016 writes instead of casting of buffer.
49017 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49019 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49022 2011-07-19 Andreas Schwab <schwab@redhat.com>
49024 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49026 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49028 * nscd/nscd.c (termination_handler): Don't do anything for a database
49029 if it has not yet been initialized.
49031 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49033 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49035 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49037 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49039 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49041 * po/nl.po: Update from translation team.
49042 * po/sv.po: Likewise.
49044 2011-07-16 Roland McGrath <roland@hack.frob.com>
49046 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49047 now disallowed by GCC.
49049 * configure.in (use-default-link): Default to yes if a test -shared
49050 link meets our qualifications.
49051 * configure: Regenerated.
49053 * config.make.in (output-format): New variable.
49054 * configure.in: Check for ld --print-output-format support.
49055 * configure: Regenerated.
49056 * Makerules ($(common-objpfx)format.lds)
49057 [$(output-format) != unknown]: Just use $(output-format),
49058 instead of the linker-script munging.
49060 2011-07-14 Roland McGrath <roland@hack.frob.com>
49062 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49063 of $(common-objpfx)shlib.lds.
49064 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49066 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49067 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49069 * configure.in (-z relro check): Adjust test code to add a large
49070 writable data section after it.
49071 * configure: Regenerated.
49073 2011-07-11 Roland McGrath <roland@hack.frob.com>
49075 * configure.in (-z relro check): Fix test code to make the variable
49077 * configure: Regenerated.
49079 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49081 * nscd/nscd.h (struct traced_file): Define.
49082 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49083 elements. Add traced_files.
49084 (inotify_fd): Declare.
49085 (register_traced_file): Declare.
49086 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49087 (inotify_fd): Export.
49088 (resolv_conf_descr): Remove.
49089 (nscd_init): Move inotify descriptor creation to main.
49090 Don't register files for notification here.
49091 (register_traced_file): New function.
49092 (invalidate_cache): Don't use reset_res to determine whether to call
49093 res_init, go through the list of registered files.
49094 (main_loop_poll): The inotify descriptors are now stored in the
49095 structures for the traced files.
49096 (main_loop_epoll): Likewise
49097 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49098 to __nss_disable_nscd.
49099 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49100 for a database anymore. Check the records for all the registered
49102 * nss/Makefile (libnss_files-routines): Add files-init.
49103 (libnss_db-routines): Add db-init.
49104 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49105 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49106 * nss/nss_db/db-init.c: New file.
49107 * nss/nss_files/files-init.c: New file.
49108 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49109 __nss_lookup_function.
49110 (__nss_lookup_function): Call nss_load_library.
49111 (nss_load_all_libraries): New function.
49112 (__nss_disable_nscd): Take parameter with callback function for files
49113 to register. Set is_nscd. Load all the DSOs for the NSS modules
49114 used for the cached services.
49115 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49116 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49117 options for features to all the files in nscd.
49119 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49121 2011-07-10 Roland McGrath <roland@hack.frob.com>
49123 * csu/elf-init.c (__libc_csu_init): Comment typo.
49125 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49127 * po/pl.po: Update from translation team.
49128 * po/ja.po: Likewise.
49129 * po/ru.po: Likewise.
49130 * po/ko.po: Likewise.
49131 * po/fr.po: Likewise.
49133 2011-07-09 Roland McGrath <roland@hack.frob.com>
49135 * configure.in (.ctors/.dtors header and trailer check):
49136 Use an empirical test on a built program.
49137 * configure: Regenerated.
49139 * configure.in (-z relro check): Use an empirical test on a built DSO.
49140 Detect, but do not require, on ia64.
49141 * configure: Regenerated.
49143 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49144 Update tests that use readelf to use $READELF instead.
49145 * configure: Regenerated.
49147 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49149 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49150 if the result is not used.
49152 2011-07-05 Andreas Jaeger <aj@suse.de>
49155 * stdlib/tst-strtod.c: Add testcase.
49157 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49159 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49160 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49161 The latter has a higher limit. Take additional parameter to pass to
49163 (__pathconf): Pass file to __statfs_link_max.
49164 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49166 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49170 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49171 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49174 (__statfs_filesize_max): Likewise.
49175 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49177 2011-07-05 Andreas Jaeger <aj@suse.de>
49179 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49181 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49183 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49185 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49188 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49190 * Makefile (strop-tests): Add strncat.
49191 * string/test-strncat.c: New file.
49193 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49195 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49197 2011-06-21 Andreas Jaeger <aj@suse.de>
49199 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49200 Copy rule from iconvdata/Makefile.
49202 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49205 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49206 but no long options are defined, just return 'W'.
49208 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49211 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49213 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49215 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49217 (innetgr): Likewise.
49219 2011-07-05 Roland McGrath <roland@hack.frob.com>
49221 * config.make.in (install_root): Default to $(DESTDIR).
49223 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49225 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49227 2011-07-02 Roland McGrath <roland@hack.frob.com>
49229 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49231 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49232 containing directory rather than embedding absolute directory names.
49234 * scripts/check-local-headers.sh: Rewritten using awk.
49235 Match by word, not by line. Print error messages for matches.
49236 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49238 * Makerules [shlib-lds-flags empty]:
49239 ($(common-objpfx)libc_pic.opts): New target.
49240 ($(common-objpfx)libc_pic.os.clean): New target.
49241 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49243 * config.make.in (OBJCOPY): New variable.
49244 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49245 * configure: Regenerated.
49247 * config.make.in (use-default-link): New variable.
49248 * configure.in (use_default_link): Grok --with-default-link to set it.
49249 * configure: Regenerated.
49250 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49251 (shlib-lds, shlib-lds-flags): Define to empty.
49253 * Makerules (shlib-lds): New variable.
49254 (shlib-lds-flags): New variable.
49255 (build-shlib, build-moduile, build-module-asneeded): Use it.
49256 ($(common-objpfx)libc.so): Use $(shlib-lds).
49257 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49258 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49260 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49261 DT_FLAGS/DT_FLAGS_1 with zero flags.
49263 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49264 linker script munging.
49266 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49268 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49270 * crypt/sha512.c (sha512_process_block): Perform total addition using
49271 128-bit if possible.
49272 (__sha512_finish_ctx): Likewise.
49273 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49275 * crypt/sha256.c (SWAP64): Define.
49276 (sha256_process_block): Perform total addition using 64-bit if
49278 (__sha256_finish_ctx): Likewise.
49280 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49282 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49284 * nscd/hstcache.c (cache_addhst): Likewise.
49285 * nscd/grpcache.c (cache_addgr): Likewise.
49286 * nscd/aicache.c (addhstaiX): Likewise
49287 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49289 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49291 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49293 * nscd/hstcache.c (cache_addhst): Likewise.
49294 * nscd/grpcache.c (cache_addgr): Likewise.
49295 * nscd/aicache.c (addhstaiX): Likewise
49297 2011-07-01 Andreas Schwab <schwab@redhat.com>
49299 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49300 domain only when needed.
49302 2011-06-30 Andreas Schwab <schwab@redhat.com>
49304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49305 is always restored.
49307 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49309 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49310 are re-adding the entry.
49311 * nscd/servicescache.c (cache_addserv): Likewise.
49313 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49315 * sysdeps/generic/dl-irel.h: fix protection against multiple
49317 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49319 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49322 * malloc/memusage.sh: Fix quoting in message.
49323 * debug/xtrace.sh: Likewise.
49325 * configure.in: Remove support for --experimental-malloc option, make
49327 * config.make.in: Likewise.
49328 * malloc/Makefile: Likewise.
49330 2011-06-27 Andreas Schwab <schwab@redhat.com>
49332 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49333 two-byte characters.
49335 2011-06-27 Roland McGrath <roland@hack.frob.com>
49337 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49338 AC_CACHE_CHECK invocation.
49339 * configure: Regenerated.
49341 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49343 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49346 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49347 bit from old_res_options.
49349 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49351 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49352 value type for setfct.
49354 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49356 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49357 __gettimeofday instead of gettimeofday.
49359 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49361 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49363 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49370 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49373 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49374 strcpy-sse2-unaligned strncpy-sse2-unaligned
49375 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49376 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49377 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49378 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49379 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49380 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49381 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49382 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49383 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49384 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49385 (STRCPY): Support SSE2 and SSSE3 versions.
49387 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49391 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49392 kernels which artificially limit size of requests.
49394 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49397 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49398 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49399 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49400 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49401 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49402 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49403 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49406 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49407 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49408 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49409 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49410 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49412 Enable unaligned load optimization for Intel Core i3, i5 and i7
49414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49416 (index_Fast_Unaligned_Load): Define.
49417 (HAS_FAST_UNALIGNED_LOAD): Define.
49419 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49421 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49423 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49426 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49427 until it is clear that the information is realy needed.
49428 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49430 2011-06-22 Andreas Schwab <schwab@redhat.com>
49432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49434 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49437 /sys/devices/system/cpu/online if it is usable.
49439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49440 reading the information from the /proc filesystem to once a second.
49442 2011-06-21 Andreas Jaeger <aj@suse.de>
49444 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49445 NULL after inclusion of kernel headers.
49447 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49449 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49450 calls to internal_setent.
49453 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49454 addresses using gethostbyname4_r ignore IPv4 addresses.
49456 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49457 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49459 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49461 2011-06-20 David S. Miller <davem@davemloft.net>
49463 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49465 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49467 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49468 (elf_irel): Use it.
49469 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49470 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49471 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49472 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49473 * sysdeps/x86_64/dl-irel.h: Likewise.
49475 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49476 * elf/dl-sym.c: Likewise.
49478 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49480 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49481 need to dereference resplen2.
49483 2011-06-14 Andreas Schwab <schwab@redhat.com>
49485 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49487 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49489 * Makeconfig: Define vardbdir and inst_vardbdir.
49490 * nss/Makefile: Add rules to install db-Makefile.
49492 * nss/nss_db/db-XXX.c: Cleanup.
49494 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49495 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49497 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49498 * nss/makedb.c: Implement -g option to specify that value strings
49499 are generated and should not be added to table iterated over for
49501 * nss/nss_db/db-initgroups.c: New file.
49503 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49506 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49507 (internal_getgrouplist): Adjust to name change.
49508 Update use_initgroups_entry if this is not the first call.
49509 * nss/databases.def: Add initgroups entry.
49511 * nss/makedb.c (compute_tables): Check result of multiple hash table
49512 sizes to minimize maximum chain length.
49514 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49516 * Versions.def: Add entry for libnss_db.
49517 * shlib-versions: Likewise.
49518 * nss/Makefile: Add rules to build libnss_db.
49519 * nss/Versions: Add libnss_db information. Organize libnss_files
49521 * nss/db-Makefile: Add gshadow support. Change rules for the new
49522 makedb progra. Some minor improvements to generate smaller files.
49523 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49525 * nss/makedb.c: ...here.
49526 Improve database format to be smaller and require less memory at
49528 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49530 * nss/nss_db/db-netgrp.c: Likewise.
49531 * nss/nss_db/db-open.c: Likewise.
49532 * nss/nss_files/flies-XXX.x: Adjust comments.
49533 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49534 * nss/nss_files/files-grp.c: Likewise.
49535 * nss/nss_files/files-hosts.c: Likewise.
49536 * nss/nss_files/files-network.c: Likewise.
49537 * nss/nss_files/files-proto.c: Likewise.
49538 * nss/nss_files/files-pwd.c: Likewise.
49539 * nss/nss_files/files-rpc.c: Likewise.
49540 * nss/nss_files/files-service.c: Likewise.
49541 * nss/nss_files/files-sgrp.c: Likewise.
49542 * nss/nss_files/files-spwd.c: Likewise.
49543 * nss/nss_db/db-alias.c: Removed.
49544 * nss/nss_db/dummy-db.h: Removed.
49546 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49548 * nss/makedb.c: Rewritten to not use database library.
49549 * nss/Makefile: Update to build new makedb program.
49551 2011-06-14 Andreas Jaeger <aj@suse.de>
49553 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49554 memset declaration.
49556 2011-06-10 Andreas Schwab <schwab@redhat.com>
49558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49561 2011-06-10 Roland McGrath <roland@hack.frob.com>
49563 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49564 * elf/Makefile ($(objpfx)ld.so): Likewise.
49566 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49567 Don't list ld.so twice in dependencies.
49569 * posix/bug-regex31.c: Include <stdlib.h>.
49571 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49573 * nis/nss_compat/compat-spwd.c
49574 (getspent_next_nss_netgr): Remove unused variable.
49575 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49577 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49578 nonmembers" output to use the right array.
49580 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49582 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49584 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49585 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49586 * catgets/gencat.c (read_input_file): Likewise.
49587 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49589 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49590 variable definition inside #if's controlling its use.
49592 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49594 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49596 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49598 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49601 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49603 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49604 * configure: Regenerated.
49606 * Makerules: Revert last change.
49607 * elf/Makefile: Likewise.
49609 2011-06-09 Roland McGrath <roland@hack.frob.com>
49611 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49612 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49613 (reloc-link): Likewise.
49615 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49617 * elf/Makefile: Add rules to build pldd.
49618 * elf/pldd.c: New file.
49619 * elf/pldd-xx.c: New file.
49621 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49623 * version.h: Update for 2.15 development version.
49625 2011-06-07 David S. Miller <davem@davemloft.net>
49627 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49629 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49630 elf_machine_lazy_rel): Likewise.
49631 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49633 elf_machine_lazy_rel): Likewise.
49634 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49635 dl_hwcap via passed in argument.
49636 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49639 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49641 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49643 2011-06-06 Roland McGrath <roland@hack.frob.com>
49646 * manual/fdl-1.1.texi: New file, verbatim from:
49647 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49648 * manual/lgpl-2.1.texi: New file, verbatim from:
49649 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49650 * manual/Makefile (licenses): New variable, list those new file names.
49652 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49654 * manual/fdl.texi: File removed.
49655 * manual/lesser.texi: File removed.
49656 * manual/libc.texinfo (Copying, Documentation License):
49657 Use new @include file names, put @appendix directive before @include.
49659 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49662 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49663 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49664 (mq_open): Add __NTH.
49666 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49669 Assume Intel Core i3/i5/i7 processor if AVX is available.
49671 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49676 2011-05-31 Andreas Schwab <schwab@redhat.com>
49678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49679 memory. Use alloca_account. Fix memory leak when retrying.
49681 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49683 * version.h (RELEASE): Bump for 2.14 release.
49684 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49686 * config.make.in (RANLIB): Remove entry.
49688 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49690 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49691 (libc.pot): Work around missing support for .ksh extension in xgettext.
49694 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49695 if both request failed.
49696 (send_dg): In case of server errors clear resplen or *resplen2.
49699 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49700 when there are multiple maps.
49701 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49702 (_dl_fini): Remove test here.
49704 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49706 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49709 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49710 bit from old_res_options.
49711 (gaih_inet): Likewise.
49714 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49717 * resolv/res_init.c (res_setoptions): Make the code more compact.
49720 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49724 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49726 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49729 * malloc/malloc.h: Declare malloc hook variables as volatile.
49731 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49735 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49736 raise in the comment.
49737 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49739 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49741 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49744 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49745 grow the buffers more if it already has to be sufficient.
49746 (build_wcs_upper_buffer): Likewise.
49747 * posix/regexec.c (check_matching): Likewise.
49748 (clean_state_log_if_needed): Likewise.
49749 (extend_buffers): Don't enlarge buffers beyond size of the input
49751 Patches mostly by Emil Wojak <emil@wojak.eu>.
49752 * posix/bug-regex32.c: New file.
49753 * posix/Makefile (tests): Add bug-regex32.
49755 * locale/findlocale.c (_nl_find_locale): Return right away if
49756 _nl_explode_name failed.
49757 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49759 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49761 * debug/xtrace.sh: Unify messages.
49762 * malloc/memusage.sh: Likewise.
49765 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49766 time symbol from vDSO. Substitute with vsyscall if not available.
49767 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49770 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49771 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49772 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49773 Add sendmmsg and internal_sendmmsg.
49774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49775 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49776 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49778 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49779 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49782 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49785 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49786 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49788 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49792 * iconvdata/Makefile (tests): Add bug-iconv9.
49793 * iconvdata/bug-iconv9.c: New file.
49795 2011-05-27 Andreas Schwab <schwab@redhat.com>
49798 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49800 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49803 (struct user_regs_struct): Change intcs field back to cs.
49805 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49807 * po/ja.po: Update from translation team.
49809 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49812 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49813 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49815 2011-05-20 Andreas Schwab <schwab@redhat.com>
49817 * stdlib/longlong.h: Update from GCC.
49819 2011-05-23 Andreas Schwab <schwab@redhat.com>
49821 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49823 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49824 Add parameter name.
49825 (__sysconf): Pass it down.
49827 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49830 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49833 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49834 add in in __libc_use_alloca calls. Adjust callers.
49835 (glob): Use malloc in some situations.
49837 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49838 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49841 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49843 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49844 and CLOCK_BOOTTIME_ALARM.
49847 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49850 * string/_strerror.c (__strerror_r): Print negative errors as signed
49854 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49855 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49856 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49858 * configure.in: Fix typo in redirection and correct removal of test
49859 files in two cases.
49862 * locale/setlocale.c (new_composite_name): Fix test to check for
49863 identical name of all categories.
49866 * libio/filedoalloc.c (local_isatty): New function.
49867 (_IO_file_doallocate): Use local_isatty.
49868 * stdio-common/perror.c (perror): In case a new stream is used
49869 forward the stream error.
49870 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49873 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49878 * include/alloca.h (extend_alloca_account): Define.
49881 * posix/regex.h: Fix comments with documentation of user-accessible
49882 fields after compilation and describe correct free'ing of pattern
49883 after re_compile_pattern.
49884 Patch by Reuben Thomas <rrt@sc3d.org>.
49886 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49888 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49889 and -mno-altivec to prevent the compiler from using Altivec and/or
49890 VSX instructions when the corresponding registers are not available.
49892 2011-05-19 Andreas Schwab <schwab@redhat.com>
49894 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49896 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49898 * libio/freopen.c (freopen): Use __dup2, not dup2.
49899 * libio/freopen64.c (freopen64): Likewise.
49901 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49904 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49905 * math/Makefile (tests): Add test-powl.
49906 (CFLAGS-test-powl.c): Define.
49907 * math/test-powl.c: New file.
49909 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49911 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49913 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49916 * iconvdata/gb18030.c: Update to GB18020-2005.
49918 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49920 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49921 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49922 Patch by Aharon Robbins <arnold@skeeve.com>.
49925 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49929 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49930 through underflows.
49933 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49934 point to strings before performing equality test for error_one_per_line
49938 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49942 (struct user_fpregs_struct): Avoid __uint*_t types.
49945 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49946 symbol info. Use it instead of calling _dl_addr locally.
49947 (lock_and_info): New function.
49948 (tr_freehook): Call lock_and_info and pass symbol info as additional
49949 parameter to tr_where.
49950 (tr_mallochook): Likewise.
49951 (tr_reallochook): Likewise.
49952 (tr_memalignhook): Likewise.
49954 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49955 used and couldn't be at all thread-safe.
49957 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49959 * libio/freopen.c (freopen): Don't close old file descriptor
49960 before the new one is opened. Instead dup the new file descriptor
49961 to the old one after the new stream is created.
49962 * libio/freopen64.c (freopen64): Likewise.
49963 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49964 * libio/fileops.c (_IO_new_file_close_it): Handle new
49965 _IO_FLAGS2_NOCLOSE flag.
49966 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49967 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49968 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49969 _IO_FLAGS2_NOCLOSE flag.
49970 * include/unistd.h: Add hidden_proto for dup3.
49971 Define __have_dup3.
49972 * io/dup3.c: Define hidden symbol.
49973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49976 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49977 when an incomplete long option is used.
49978 * posix/tst-getopt_long1.c: New file.
49979 * posix/Makefile (tests): Add tst-getopt_long1.
49982 * scripts/config.guess: Update from autoconf-2.68.
49983 * scripts/config.sub: Likewise.
49986 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49988 (has_cpuclock): ...this. New function.
49989 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49990 macro here based on has_cpuclock code.
49993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49994 First byte (not low byte) is now always NUL.
49995 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49998 Use non-cancelable interfaces.
50001 * locale/iso-639.def: Add entry for Sorani.
50004 * include/stdlib.h: Move include protection to the right place.
50005 Define abort_msg_s. Declare __abort_msg with it.
50006 * stdlib/abort.c (__abort_msg): Adjust type.
50007 * assert/assert.c (__assert_fail_base): New function. Majority
50008 of code from __assert_fail. Allocate memory for __abort_msg with
50010 (__assert_fail): Now call __assert_fail_base.
50011 * assert/assert-perr.c: Remove bulk of implementation. Use
50012 __assert_fail_base.
50013 * include/assert.hL Declare __assert_fail_base.
50014 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50016 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50018 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50022 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50023 until all modules are registered in the DTV.
50024 * elf/Makefile: Add rules to build and run tst-tls19.
50025 * elf/tst-tls19.c: New file.
50026 * elf/tst-tls19mod1.c: New file.
50027 * elf/tst-tls19mod2.c: New file.
50028 * elf/tst-tls19mod3.c: New file.
50029 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50032 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50036 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50037 two-byte sequence errors.
50038 * iconvdata/Makefile (tests): Add bug-iconv8.
50039 * iconvdata/bug-iconv8.c: New file.
50042 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50045 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50048 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50049 (dummy_getcfa): New function.
50050 (init): Get _Unwind_GetCFA address, use dummy if not found.
50051 (backtrace_helper): In recursion check, also check whether CFA changes.
50052 (__backtrace): Completely initialize arg.
50054 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50055 storing incomplete byte sequence in state object. Avoid testing for
50056 guaranteed too small input if we know there is enough data available.
50058 2011-05-11 Andreas Schwab <schwab@redhat.com>
50060 * Makeconfig (+link-pie): Indent.
50061 * Rules (binaries-pie): Define if $(have-fpie) and
50063 (binaries-shared): Also filter out $(binaries-pie).
50064 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50065 * nscd/Makefile (others-pie): Add nscd.
50066 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50067 ($(objpfx)nscd): Remove command override.
50068 * login/Makefile (others-pie): Add pt_chown.
50069 ($(objpfx)pt_chown): Remove command override.
50070 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50071 remove command overrides.
50073 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50075 * libio/tst_putwc.c: Fix error messages.
50078 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50079 currently writing and seek to current position when not.
50080 * libio/Makefile (tests): Add bug-fclose1.
50081 * libio/bug-fclose1.c: New file.
50083 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50086 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50087 don't set DF_1_NODELETE here.
50088 (do_lookup_x): When entering new entry test for copy relocation
50089 and if necessary set DF_1_NODELETE flag.
50090 * elf/tst-unique4.cc: New file.
50091 * elf/tst-unique4.h: New file.
50092 * elf/tst-unique4lib.cc: New file.
50093 * elf/Makefile: Add rules to build and run tst-unique4.
50094 Patch by Piotr Bury <pbury@goahead.com>.
50096 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50099 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50102 * misc/mntent_r.c (addmntent): Flush the stream after the output
50105 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50106 (is_trusted_path_normalize): Skip initial colon. Append slash
50107 to empty buffer. Duplicate is_trusted_path code but allow
50108 constructed patch to be prefix.
50109 (is_dst): Allow $ORIGIN followed by /.
50110 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50111 Correct testing of result of is_trusted_path_normalize
50112 (decompose_rpath): Fix warning.
50114 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50117 * grp/initgroups.c (internal_getgrouplist): When we found the service
50118 list through the initgroups entry in nsswitch.conf do not always
50119 continue on a successful lookup. Don't always use the
50120 __nss_group_database value if it is set.
50121 * nss/nsswitch.conf (initgroups): Change action for successful db
50122 lookup to continue for compatibility.
50124 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50127 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50129 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50131 * iconvdata/tst-tables.sh: Likewise.
50132 * iconvdata/cp770.c: New file.
50133 * iconvdata/cp771.c: New file.
50134 * iconvdata/cp772.c: New file.
50135 * iconvdata/cp773.c: New file.
50136 * iconvdata/cp774.c: New file.
50137 * iconvdata/testdata/CP770: New file.
50138 * iconvdata/testdata/CP770..UTF8: New file.
50139 * iconvdata/testdata/CP771: New file.
50140 * iconvdata/testdata/CP771..UTF8: New file.
50141 * iconvdata/testdata/CP772: New file.
50142 * iconvdata/testdata/CP772..UTF8: New file.
50143 * iconvdata/testdata/CP773: New file.
50144 * iconvdata/testdata/CP773..UTF8: New file.
50145 * iconvdata/testdata/CP774: New file.
50146 * iconvdata/testdata/CP774..UTF8: New file.
50148 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50150 * iconvdata/gen-8bit-gap.sh: Likewise.
50151 * iconvdata/gen-8bit.sh: Likewise.
50153 * locale/iso-639.def: Add ary entry.
50156 * locale/C-translit.h.in: Add U20A1 transliteration.
50159 * locale/iso-639.def: Add wae entry.
50160 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50163 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50167 * locale/C-translit.h.in: Add entry for U20B9.
50168 Patch by pravin.d.s@gmail.com.
50170 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50173 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50174 ENAMETOOLONG use generic getcwd.
50175 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50176 in rtld. Use *stat64.
50177 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50178 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50179 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50180 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50181 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50182 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50183 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50184 __fstatat64 macros.
50185 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50186 * dirent/rewinddir.c: Add libc_hidden_def.
50187 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50188 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50190 * include/dirent.h (__alloc_dir): Add flags parameter.
50191 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50192 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50194 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50195 from fdopendir if O_CLOEXEC is already set.
50197 2011-03-15 Alan Modra <amodra@gmail.com>
50199 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50200 l_tls_firstbyte_offset non-zero. Save padding offset in
50201 l_tls_firstbyte_offset for later use.
50202 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50203 freeing static tls block.
50205 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50207 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50208 where #ifdef was intended. The intent is to prevent ARG_MAX from
50209 being defined by the kernel headers.
50211 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50214 * resolv/resolv.h: Define RES_NOTLDQUERY.
50215 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50216 no-tld-query and set RES_NOTLDQUERY.
50217 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50218 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50219 modern BIND to search name as TLD unless forbidden.
50221 2011-05-07 Petr Baudis <pasky@suse.cz>
50222 Ulrich Drepper <drepper@gmail.com>
50225 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50226 (is_trusted_path): ...to here.
50227 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50228 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50229 using is_trusted_path_normalize() in setuid scripts.
50231 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50233 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50234 __BEGIN/__END_DECLS.
50236 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50239 NSS_STATUS_NOTFOUND if no record was found.
50241 2011-05-05 Andreas Schwab <schwab@redhat.com>
50243 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50244 (headers-not-in-tirpc): Remove rpc/netdb.h
50245 * resolv/netdb.h: Revert last change.
50247 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50249 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50250 circular dependency between libgcc.a and libc.a.
50252 2011-05-05 Andreas Schwab <schwab@redhat.com>
50254 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50255 * nis/Makefile: Don't install rpcsvc/*.
50256 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50257 instead of <rpc/types.h>.
50258 (MAXHOSTNAMELEN): Define.
50260 2011-05-03 Andreas Schwab <schwab@redhat.com>
50262 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50264 2011-04-28 Maciej Babinski <mbabinski@google.com>
50267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50268 gethostbyname4_r when IPv6 results are possible.
50270 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50273 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50274 _PC_PIPE_BUF handling.
50276 2011-04-30 Bruno Haible <bruno@clisp.org>
50279 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50280 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50282 * inet/getnameinfo.c (getnameinfo): Likewise.
50284 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50286 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50287 to groups setting in database lookup.
50288 * nss/nsswitch.conf: Add initgroups entry.
50290 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50293 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50295 Patch by Eric Blake <eblake@redhat.com>.
50297 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50299 * sunrpc/Makefile (need-export-routines): Add svc_run.
50300 (routines): Remove svc_run.
50301 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50302 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50303 * sunrpc/svc_run.c (svc_run): Likewise.
50304 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50306 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50309 problem in reallocation in last patch.
50311 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50313 * sunrpc/Makefile: Move inclusion of Rules.
50315 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50317 * nss/nss_files/files-initgroups.c: New file.
50318 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50319 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50320 _nss_files_initgroups_dyn.
50322 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50324 * elf/elf.h (R_ARM_IRELATIVE): Define.
50326 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50328 * po/ru.po: Update from translation team.
50330 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50332 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50335 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50338 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50339 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50340 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50342 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50344 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50346 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50348 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50350 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50352 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50355 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50357 * stdlib/bug-getcontext.c: New file.
50358 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50360 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50362 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50363 instructions into .machine "z9-109".
50364 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50365 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50367 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50369 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50370 between environment variables and auxiliary vector.
50372 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50374 * Makefile: Add rules to build linkobj/libc.so.
50375 * include/libc-symbols.h: Define libc_hidden_nolink.
50376 * include/rpc/auth.h: Mark functions which are to be hidden.
50377 * include/rpc/auth_des.h: Likewise.
50378 * include/rpc/auth_unix.h: Likewise.
50379 * include/rpc/clnt.h: Likewise.
50380 * include/rpc/des_crypt.h: Likewise.
50381 * include/rpc/key_prot.h: Likewise.
50382 * include/rpc/pmap_clnt.h: Likewise.
50383 * include/rpc/pmap_prot.h: Likewise.
50384 * include/rpc/pmap_rmt.h: Likewise.
50385 * include/rpc/rpc_msg.h: Likewise.
50386 * include/rpc/svc.h: Likewise.
50387 * include/rpc/svc_auth.h: Likewise.
50388 * include/rpc/xdr.h: Likewise.
50389 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50390 * nss/Makefile: Likewise.
50391 * sunrpc/Makefile: Don't install headers. Build library with normal
50392 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50393 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50394 for the compat linking library. Remove use of INTDEF/INTUSE.
50395 * sunrpc/auth_none.c: Likewise.
50396 * sunrpc/auth_unix.c: Likewise.
50397 * sunrpc/authdes_prot.c: Likewise.
50398 * sunrpc/authuxprot.c: Likewise.
50399 * sunrpc/clnt_gen.c: Likewise.
50400 * sunrpc/clnt_perr.c: Likewise.
50401 * sunrpc/clnt_raw.c: Likewise.
50402 * sunrpc/clnt_simp.c: Likewise.
50403 * sunrpc/clnt_tcp.c: Likewise.
50404 * sunrpc/clnt_udp.c: Likewise.
50405 * sunrpc/clnt_unix.c: Likewise.
50406 * sunrpc/des_crypt.c: Likewise.
50407 * sunrpc/des_soft.c: Likewise.
50408 * sunrpc/get_myaddr.c: Likewise.
50409 * sunrpc/key_call.c: Likewise.
50410 * sunrpc/key_prot.c: Likewise.
50411 * sunrpc/netname.c: Likewise.
50412 * sunrpc/pm_getmaps.c: Likewise.
50413 * sunrpc/pm_getport.c: Likewise.
50414 * sunrpc/pmap_clnt.c: Likewise.
50415 * sunrpc/pmap_prot.c: Likewise.
50416 * sunrpc/pmap_prot2.c: Likewise.
50417 * sunrpc/pmap_rmt.c: Likewise.
50418 * sunrpc/publickey.c: Likewise.
50419 * sunrpc/rpc_cmsg.c: Likewise.
50420 * sunrpc/rpc_common.c: Likewise.
50421 * sunrpc/rpc_dtable.c: Likewise.
50422 * sunrpc/rpc_prot.c: Likewise.
50423 * sunrpc/rpc_thread.c: Likewise.
50424 * sunrpc/rtime.c: Likewise.
50425 * sunrpc/svc.c: Likewise.
50426 * sunrpc/svc_auth.c: Likewise.
50427 * sunrpc/svc_authux.c: Likewise.
50428 * sunrpc/svc_raw.c: Likewise.
50429 * sunrpc/svc_run.c: Likewise.
50430 * sunrpc/svc_simple.c: Likewise.
50431 * sunrpc/svc_tcp.c: Likewise.
50432 * sunrpc/svc_udp.c: Likewise.
50433 * sunrpc/svc_unix.c: Likewise.
50434 * sunrpc/svcauth_des.c: Likewise.
50435 * sunrpc/xcrypt.c: Likewise.
50436 * sunrpc/xdr.c: Likewise.
50437 * sunrpc/xdr_array.c: Likewise.
50438 * sunrpc/xdr_float.c: Likewise.
50439 * sunrpc/xdr_intXX_t.c: Likewise.
50440 * sunrpc/xdr_mem.c: Likewise.
50441 * sunrpc/xdr_rec.c: Likewise.
50442 * sunrpc/xdr_ref.c: Likewise.
50443 * sunrpc/xdr_sizeof.c: Likewise.
50444 * sunrpc/xdr_stdio.c: Likewise.
50446 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50449 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50450 * sysdeps/ia64/dl-tls.h: Likewise.
50451 * sysdeps/powerpc/dl-tls.h: Likewise.
50452 * sysdeps/s390/dl-tls.h: Likewise.
50453 * sysdeps/sh/dl-tls.h: Likewise.
50454 * sysdeps/sparc/dl-tls.h: Likewise.
50455 * sysdeps/x86_64/dl-tls.h: Likewise.
50456 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50458 2011-03-14 Andreas Schwab <schwab@redhat.com>
50460 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50461 rpath element also skip the following colon.
50462 (expand_dynamic_string_token): Add is_path parameter and pass
50463 down to DL_DST_REQUIRED and _dl_dst_substitute.
50464 (decompose_rpath): Call expand_dynamic_string_token with
50465 non-zero is_path. Ignore empty rpaths.
50466 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50469 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50474 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50477 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50478 Patch by Filipe David Manana <fdmanana@apache.org>.
50480 2011-04-07 Andreas Schwab <schwab@redhat.com>
50482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50483 Maintain aligned stack.
50484 (CHECK_RSP): Remove unused macro.
50486 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50488 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50489 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50491 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50493 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50495 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50497 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50500 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50501 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50502 * sysdeps/x86_64/memmove.c: New file.
50503 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50504 (memcpy): Renamed to ...
50505 (__new_memcpy): This.
50506 (memcpy): Provide GLIBC_2_14 memcpy.
50507 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50508 (memcpy): Provide GLIBC_2_2_5 memcpy.
50510 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50513 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50515 2011-03-30 Andreas Schwab <schwab@redhat.com>
50517 * misc/syncfs.c: New file.
50518 * misc/Makefile (routines): Add syncfs.
50519 * posix/unistd.h: Declare syncfs.
50520 * sysdeps/unix/syscalls.list: Add syncfs.
50522 2011-04-01 Andreas Schwab <schwab@redhat.com>
50524 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50529 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50531 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50534 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50538 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50540 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50544 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50545 sync_file_range.c with -fexceptions.
50546 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50547 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50548 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50549 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50550 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50551 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50553 sync_file_range as cancellation point
50554 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50555 now a wrapper around __call_sync_file_range with cancellation handling.
50556 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50557 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50558 function name to __call_sync_file_range.
50559 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50560 Add call_sync_file_range.
50562 2011-04-01 Andreas Schwab <schwab@redhat.com>
50564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50567 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50569 * iconv/iconv.h: Fix typo in comment.
50570 * io/fcntl.h: Likewise.
50571 * libio/stdio.h: Likewise.
50572 * posix/spawn.h: Likewise.
50573 * posix/unistd.h: Likewise.
50574 * stdlib/stdlib.h: Likewise.
50575 * time/time.h: Likewise.
50576 * wcsmbs/wchar.h: Likewise.
50578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50579 open_by_handle): Add.
50580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50581 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50582 Augment a few comments.
50583 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50588 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50591 * io/fcntl.h (AT_EMPTY_PATH): Define.
50593 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50595 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50596 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50597 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50599 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50600 * Versions.def: Add GLIBC_2.14.
50601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50604 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50606 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50608 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50610 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50613 * string/test-strncmp.c (do_page_test): New function.
50614 (check2): Likewise.
50615 (test_main): Call check2.
50616 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50618 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50621 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50622 Handle cache information in CPU leaf 4.
50623 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50625 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50628 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50629 character representation.
50630 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50632 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50634 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50635 END(__isnan) to END(__isnanf) to match function entry point/label
50636 EALIGN(__isnanf,...).
50638 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50640 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50642 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50645 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50646 copy from the symbol referenced in the relocation to initialize the
50648 Patch by Piotr Bury <pbury@goahead.com>.
50649 * elf/Makefile: Add rules to build and tst-unique3.
50650 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50651 * elf/tst-unique3.cc: New file.
50652 * elf/tst-unique3.h: New file.
50653 * elf/tst-unique3lib.cc: New file.
50654 * elf/tst-unique3lib2.cc: New file.
50656 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50658 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50660 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50661 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50664 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50666 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50667 to-be-loaded object along a path to loader is ld.so.
50669 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50670 Ulrich Drepper <drepper@gmail.com>
50672 * sysdeps/x86_64/memset.S: After aligning destination, code
50673 branches to different locations depending on the value of
50674 misalignment, when multiarch is enabled. Fix this.
50676 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50678 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50679 Set _x86_64_preferred_memory_instruction for AMD processsors.
50680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50681 Set bit_Prefer_SSE_for_memop for AMD processors.
50683 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50685 * libio/fmemopen.c (fmemopen): Optimize a bit.
50687 2011-03-03 Andreas Schwab <schwab@redhat.com>
50689 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50691 2011-03-03 Roland McGrath <roland@redhat.com>
50693 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50695 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50697 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50698 __bzero_ultra1 instead of __memset_ultra1.
50700 2011-02-23 Andreas Schwab <schwab@redhat.com>
50701 Ulrich Drepper <drepper@gmail.com>
50704 * include/link.h (struct link_map): Add l_orig_initfini.
50705 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50706 returning unsuccessfully.
50707 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50708 close of a file loaded at startup, restore the original l_initfini
50710 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50711 list, store the pointer.
50712 * elf/Makefile ($(objpfx)noload-mem): New rule.
50713 (noload-ENV): Define.
50714 (tests): Add $(objpfx)noload-mem.
50715 * elf/noload.c: Include <memcheck.h>.
50716 (main): Call mtrace. Close all opened handles.
50718 2011-02-17 Andreas Schwab <schwab@redhat.com>
50721 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50722 dependencies are missing.
50724 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50726 Fix __if_freereq crash: Unlike the generic version which uses free,
50728 * sysdeps/mach/hurd/ifreq.h: New file.
50730 2011-01-27 Petr Baudis <pasky@suse.cz>
50731 Ulrich Drepper <drepper@gmail.com>
50734 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50735 to extend_alloca().
50736 * stdio-common/bug23.c: New file.
50737 * stdio-common/Makefile (tests): Add bug23.
50739 2010-09-28 Andreas Schwab <schwab@redhat.com>
50740 Ulrich Drepper <drepper@gmail.com>
50743 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50744 before performing relro protection. At old place add assertion
50745 to make sure nothing changed.
50747 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50748 Glauber de Oliveira Costa <glommer@gmail.com>
50750 * elf/elf.h: Add new ARM TLS relocs.
50752 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50755 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50757 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50759 * sysdeps/wordsize-64/tst-writev.c: New file.
50761 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50763 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50764 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50765 insns in _dl_start to prevent a TOC reference before relocs are
50768 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50771 * Makeconfig: Remove RANLIB definition.
50772 * Makerules: Don't use RANLIB.
50773 * aclocal.m4: Remove ranlib test.
50774 * configure.in: No need to check for ranlib.
50775 * elf/rtld-Rules: Don't use RANLIB.
50777 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50779 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50781 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50782 inclusion protection macro.
50784 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50785 SIGRTMIN and SIGRTMAX and print information in that case only when
50786 SIGRTMIN is defined.
50788 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50790 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50791 arginfo fn returning -1.
50793 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50794 and thousands string is zero terminated.
50796 2011-02-03 Andreas Schwab <schwab@redhat.com>
50798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50799 sysdeps/unix/sysv/linux/bits/socket.h.
50801 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50803 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50804 (__CPU_COUNT): Remove old macros.
50805 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50806 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50807 (__CPU_ALLOC, __CPU_FREE): Add macros.
50808 (__sched_cpualloc, __sched_cpufree): Add declarations.
50810 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50812 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50813 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50814 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50815 (readdhstai): Return value of addhstaiX call.
50816 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50817 (addgrbyX): Return value returned by cache_addgr.
50818 (readdgrbyname): Return value returned by addgrbyX.
50819 (readdgrbygid): Likewise.
50820 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50821 (addpwbyX): Return value returned by cache_addpw.
50822 (readdpwbyname): Return value returned by addhstbyX.
50823 (readdpwbyuid): Likewise.
50824 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50825 (addservbyX): Return value returned by cache_addserv.
50826 (readdservbyname): Return value returned by addservbyX:
50827 (readdservbyport): Likewise.
50828 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50829 (addhstbyX): Return value returned by cache_addhst.
50830 (readdhstbyname): Return value returned by addhstbyX.
50831 (readdhstbyaddr): Likewise.
50832 (readdhstbynamev6): Likewise.
50833 (readdhstbyaddrv6): Likewise.
50834 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50835 (readdinitgroups): Return value returned by addinitgroupsX.
50836 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50837 (prune_cache): Keep track of timeout value of re-added entries.
50838 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50839 * nscd/nscd.h: Adjust prototypes of readd* functions.
50841 2011-02-04 Roland McGrath <roland@redhat.com>
50843 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50844 (nis_stats): Likewise.
50845 * nis/nis_modify.c (nis_modify): Likewise.
50846 * nis/nis_remove.c (nis_remove): Likewise.
50847 * nis/nis_add.c (nis_add): Likewise.
50849 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50851 * posix/fnmatch_loop.c: Add some consts.
50853 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50855 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50858 * config.make.in (config-cflags-novzeroupper): Define.
50859 * configure.in: Substitute libc_cv_cc_novzeroupper.
50860 * elf/Makefile (AVX-CFLAGS): Define.
50861 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50862 (CFLAGS-tst-auditmod4a.c): Likewise.
50863 (CFLAGS-tst-auditmod4b.c): Likewise.
50864 (CFLAGS-tst-auditmod6b.c): Likewise.
50865 (CFLAGS-tst-auditmod6c.c): Likewise.
50866 (CFLAGS-tst-auditmod7b.c): Likewise.
50867 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50869 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50871 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50872 function to the callback.
50873 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50875 2011-02-02 Andreas Schwab <schwab@redhat.com>
50877 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50880 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50883 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50885 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50887 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50890 * elf/Makefile: Add rules to build and run new test.
50891 * elf/tst-initorder.c: New file.
50892 * elf/tst-initorder.exp: New file.
50893 * elf/tst-initordera1.c: New file.
50894 * elf/tst-initordera2.c: New file.
50895 * elf/tst-initordera3.c: New file.
50896 * elf/tst-initordera4.c: New file.
50897 * elf/tst-initorderb1.c: New file.
50898 * elf/tst-initorderb2.c: New file.
50899 * elf/tst-order-a1.c: New file.
50900 * elf/tst-order-a2.c: New file.
50901 * elf/tst-order-a3.c: New file.
50902 * elf/tst-order-a4.c: New file.
50903 * elf/tst-order-b1.c: New file.
50904 * elf/tst-order-b2.c: New file.
50905 * elf/tst-order-main.c: New file.
50906 New test case by George Gensure <werkt0@gmail.com>.
50908 2010-10-01 Andreas Schwab <schwab@redhat.com>
50910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50911 decoding ACE if AI_CANONIDN.
50913 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50915 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50917 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50919 * version.h (RELEASE): Bump for 2.13 release.
50920 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50922 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50926 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50927 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50931 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50933 * posix/getconf.c: Update copyright year.
50934 * catgets/gencat.c: Likewise.
50935 * csu/version.c: Likewise.
50936 * debug/catchsegv.sh: Likewise.
50937 * debug/xtrace.sh: Likewise.
50938 * elf/ldconfig.c: Likewise.
50939 * elf/ldd.bash.in: Likewise.
50940 * elf/sprof.c (print_version): Likewise.
50941 * iconv/iconv_prog.c: Likewise.
50942 * iconv/iconvconfig.c: Likewise.
50943 * locale/programs/locale.c: Likewise.
50944 * locale/programs/localedef.c: Likewise.
50945 * malloc/memusage.sh: Likewise.
50946 * malloc/mtrace.pl: Likewise.
50947 * nscd/nscd.c (print_version): Likewise.
50948 * nss/getent.c: Likewise.
50950 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50951 PF_CAIF, and PF_ALG.
50952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50954 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50956 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50957 (modules-names): Use them.
50958 (ifunc-test-modules, ifunc-pie-tests): Define.
50959 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50960 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50961 (test-extras): Likewise.
50962 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50963 $(compile-command.c).
50964 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50965 (all-built-dso): Define.
50966 (check-textrel.out, check-execstack.out): Depend on it.
50968 * configure.in: Don't override --enable-multi-arch.
50970 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50973 * nscd/hstcache.c (tryagain): Define.
50974 (cache_addhst): Return tryagain not notfound for temporary errors.
50975 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50978 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50981 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50982 to make the syscall.
50983 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50986 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50987 and fall back to matching as normal character if the string ends before
50988 the matching ']' is found. This is what POSIX requires.
50989 * posix/testfnm.c: Adjust test result.
50990 * posix/globtest.sh: Adjust test result. Add new test.
50991 * posix/tst-fnmatch.input: Likewise.
50992 * posix/tst-fnmatch2.c: Add new test.
50994 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50996 * elf/Makefile (check-execstack): Revert last change. Depend on
50998 (check-execstack.h): New target.
50999 (generated): Add check-execstack.h.
51000 * elf/check-execstack.c: Include "check-execstack.h".
51001 (main): Revert last change.
51002 (handle_file): Return zero if GNU_STACK is absent and
51003 DEFAULT_STACK_PERMS doesn't include PF_X.
51005 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51007 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51008 in child fails because the descriptor is already closed.
51009 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51010 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51011 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51014 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51018 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51019 temporary buffer used to handle multi lookups locally.
51020 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51022 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51024 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51027 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51029 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51030 alignment for SSE2.
51032 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51035 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51036 characters. When rounding increased number of integer digits recompute
51038 * stdio-common/tst-grouping.c: New file.
51039 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51041 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51043 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51044 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51046 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51048 * bits/select.h: Likewise.
51050 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51052 * po/ja.po: Update from translation team.
51054 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51057 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51058 implementation just like for lxstat, fxstatat, et al.
51060 2010-12-27 Jim Meyering <meyering@redhat.com>
51063 * posix/regexec.c (build_trtable): Return failure indication upon
51064 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51066 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51069 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51070 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51071 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51075 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51078 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51079 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51081 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51083 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51084 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51085 script has SORT_BY_INIT_PRIORITY.
51086 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51087 NO_CTORS_DTORS_SECTIONS is defined.
51088 * elf/soinit.c: Likewise.
51089 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51090 NO_CTORS_DTORS_SECTIONS is defined.
51091 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51092 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51093 * sysdeps/sh/init-first.c: Likewise.
51094 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51096 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51098 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51099 always use the slow path.
51101 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51103 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51104 similar rule which adds the sysdep directories to the header search in
51105 order to pick up the correct platform stackinfo.h.
51106 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51107 perform test if it is, otherwise return successfully without testing.
51108 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51109 DEFAULT_STACK_PERMS define in stackinfo.h.
51110 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51111 defined in stackinfo.h.
51112 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51113 DEFAULT_STACK_PERMS defined in stackinfo.h.
51114 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51115 * sysdeps/ia64/stackinfo.h: Likewise.
51116 * sysdeps/s390/stackinfo.h: Likewise.
51117 * sysdeps/sh/stackinfo.h: Likewise.
51118 * sysdeps/sparc/stackinfo.h: Likewise.
51119 * sysdeps/x86_64/stackinfo.h: Likewise.
51120 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51121 PF_X for powerpc64. Retain PF_X for powerpc32.
51123 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51125 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51127 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51128 GETDENTS_64BIT_ALIGNED.
51130 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51132 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51134 2010-12-10 Andreas Schwab <schwab@redhat.com>
51136 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51139 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51140 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51142 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51143 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51145 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51148 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51151 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51153 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51155 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51157 * po/it.po: Update from translation team.
51159 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51164 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51166 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51168 2010-11-24 Andreas Schwab <schwab@redhat.com>
51170 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51172 (gaih_getanswer_slice): Likewise.
51174 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51178 2010-05-31 Petr Baudis <pasky@suse.cz>
51181 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51182 silently even in the chroot mode.
51184 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51186 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51187 last patch a bit. Pretty printing
51189 2010-05-31 Petr Baudis <pasky@suse.cz>
51192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51193 initialization of skip_initgroups_dyn.
51195 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51197 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51198 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51200 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51202 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51204 2010-11-11 Andreas Schwab <schwab@redhat.com>
51206 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51207 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51208 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51209 ($(objpfx)tst-fnmatch-mem): New rule.
51210 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51211 * posix/tst-fnmatch.c (main): Call mtrace.
51213 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51216 Support Intel processor model 6 and model 0x2c.
51218 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51220 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51223 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51226 * string/test-strncasecmp.c (check_result): New function.
51227 (do_one_test): Use it.
51228 (check1): New function.
51229 (test_main): Use it.
51230 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51231 Support strcasecmp and strncasecmp.
51233 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51236 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51237 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51239 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51241 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51245 * sysdeps/x86_64/multiarch/bzero.S: New file.
51246 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51247 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51248 * sysdeps/x86_64/multiarch/memset.S: New file.
51249 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51251 Set bit_Prefer_SSE_for_memop for Intel processors.
51252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51254 (index_Prefer_SSE_for_memop): Define.
51255 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51257 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51259 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51260 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51262 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51265 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51266 (__x86_64_raw_data_cache_size_half): Likewise.
51267 (__x86_64_raw_shared_cache_size): Likewise.
51268 (__x86_64_raw_shared_cache_size_half): Likewise.
51270 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51271 (__x86_64_raw_data_cache_size_half): Likewise.
51272 (__x86_64_raw_shared_cache_size): Likewise.
51273 (__x86_64_raw_shared_cache_size_half): Likewise.
51274 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51275 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51276 and __x86_64_raw_shared_cache_size_half. Round
51277 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51278 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51279 to multiple of 256 bytes.
51281 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51285 of inacessible symlinks. Verify result of symlink before returning it.
51286 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51287 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51289 2010-10-28 Erich Ritz <erichritz@gmail.com>
51291 * math/math.h (isinf): Fix typo in comment.
51293 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51295 * po/da.po: Update from translation team.
51297 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51299 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51300 is added to the list.
51302 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51303 Ulrich Drepper <drepper@gmail.com>
51305 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51306 the global list here. Move code to...
51307 (_dl_add_to_namespace_list): ...here. New function.
51308 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51309 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51310 * elf/dl-load.c (lose): Don't remove the element from the list.
51311 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51312 (_dl_map_object): Likewise.
51314 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51317 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51318 into all bytes of SSE register.
51319 Patch by Richard Li <richardpku@gmail.com>.
51321 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51324 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51327 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51329 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51330 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51331 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51332 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51337 2010-10-22 Andreas Schwab <schwab@redhat.com>
51339 * include/dlfcn.h (__RTLD_SECURE): Define.
51340 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51341 mode & __RTLD_SECURE instead.
51342 (open_path): Rename preloaded parameter to secure.
51343 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51344 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51345 * elf/dl-deps.c (openaux): Likewise.
51346 * elf/rtld.c (struct map_args): Remove is_preloaded.
51347 (map_doit): Don't use it.
51348 (dl_main): Likewise.
51349 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51350 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51352 2010-09-09 Andreas Schwab <schwab@redhat.com>
51354 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51355 (sysd-rules-targets): Remove duplicates.
51356 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51357 rtld-%.$o dependency.
51359 2010-10-18 Andreas Schwab <schwab@redhat.com>
51361 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51362 _dl_map_object do it.
51364 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51366 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51367 fast fma builtins, define the macros in the C99 standard.
51368 (FP_FAST_FMAF): Likewise.
51369 (FP_FAST_FMAL): Likewise.
51370 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51372 * bits/mathdef.h: Update copyright year.
51373 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51375 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51377 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51378 builtins, define the macros in the C99 standard.
51379 (FP_FAST_FMAF): Likewise.
51380 (FP_FAST_FMAL): Likewise.
51381 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51383 (FP_FAST_FMAF): Likewise.
51385 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51388 * math/libm-test.inc (fma_test): Some new testcases.
51389 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51390 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51391 y and infinite z. Do multiplication by C already in long double.
51392 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51393 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51394 y and infinite z. Do bitwise or of inexact bit into u.d.
51395 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51396 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51397 * sysdeps/i386/fpu/s_fma.S: Removed.
51398 * sysdeps/i386/fpu/s_fmal.S: Removed.
51400 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51403 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51405 computation is not scheduled after fetestexcept. Fix value
51406 of minimum denormal long double.
51408 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51411 * math/libm-test.inc (fma_test): Add some more tests.
51412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51415 2010-10-15 Andreas Schwab <schwab@redhat.com>
51417 * scripts/data/localplt-s390-linux-gnu.data: New file.
51418 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51420 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51423 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51424 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51426 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51428 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51430 if one of x and y is very large and the other is subnormal.
51431 * sysdeps/s390/fpu/s_fmaf.c: New file.
51432 * sysdeps/s390/fpu/s_fma.c: New file.
51433 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51434 * sysdeps/powerpc/fpu/s_fma.S: New file.
51435 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51436 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51437 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51439 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51442 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51444 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51445 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51446 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51447 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51448 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51449 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51450 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51452 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51455 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51456 * posix/bug-regex31.input: Add test case.
51458 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51460 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51461 * posix/bug-regex31.input: New file.
51464 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51465 (parse_sub_exp): Fix last change, use postorder.
51467 * posix/bug-regex31.c: New file.
51468 * posix/Makefile: Add rules to build and run bug-regex31.
51470 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51473 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51476 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51477 to have entries in sys_siglist.
51480 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51483 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51486 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51487 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51488 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51489 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51490 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51491 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51492 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51493 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51494 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51495 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51496 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51497 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51498 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51499 * math/ftestexcept.c (fetestexcept): Likewise.
51500 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51501 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51502 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51503 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51504 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51505 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51506 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51508 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51511 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51514 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51516 * string/bug-strstr1.c: New file.
51517 * string/Makefile: Add rules to build and run bug-strstr1.
51519 2010-10-05 Eric Blake <eblake@redhat.com>
51522 * string/str-two-way.h (two_way_long_needle): Always clear memory
51523 when skipping input due to the shift table.
51525 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51528 * malloc/mcheck.c: Handle large requests.
51531 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51532 for strncmp and strncasecmp.
51533 * string/stratcliff.c: Add tests for strcmp and strncmp.
51534 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51536 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51538 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51541 2010-09-30 Andreas Jaeger <aj@suse.de>
51543 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51544 (CGROUP_SUPER_MAGIC): Define.
51545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51546 Handle btrfs and cgroup file systems.
51547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51550 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51552 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51553 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51555 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51558 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51559 trying to locate the ELF header.
51561 2010-09-27 Andreas Schwab <schwab@redhat.com>
51564 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51565 Mask out sign-bit copies when constructing f_fsid.
51567 2010-09-24 Petr Baudis <pasky@suse.cz>
51569 * debug/stack_chk_fail_local.c: Add missing licence exception.
51570 * debug/warning-nop.c: Likewise.
51572 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51574 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51575 implementing getdents64 using getdents syscall, set d_type if
51576 __ASSUME_GETDENTS32_D_TYPE.
51578 2010-09-16 Andreas Schwab <schwab@redhat.com>
51580 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51581 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51583 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51586 * posix/unistd.h: Undo change of feature selection for ftruncate from
51589 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51591 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51594 2010-09-20 Andreas Schwab <schwab@redhat.com>
51596 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51600 2010-09-14 Andreas Schwab <schwab@redhat.com>
51602 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51603 variables after CHECK_SP call.
51604 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51606 2010-09-13 Andreas Schwab <schwab@redhat.com>
51607 Ulrich Drepper <drepper@redhat.com>
51609 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51610 re-relocationg ld.so.
51611 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51612 _dl_init_paths call.
51613 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51616 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51618 * resolv/res_init.c (__res_vinit): Count the default server we added.
51620 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51621 Ulrich Drepper <drepper@redhat.com>
51624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51625 (____longjmp_chk): Use %ebx for saving value across system call.
51628 2010-09-06 Andreas Schwab <schwab@redhat.com>
51630 * manual/Makefile: Don't mix pattern rules with normal rules.
51632 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51634 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51636 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51637 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51638 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51639 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51643 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51646 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51647 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51649 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51651 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51652 * sysdeps/x86_64/addmul_1.S: Likewise.
51653 * sysdeps/x86_64/lshift.S: Likewise.
51654 * sysdeps/x86_64/mul_1.S: Likewise.
51655 * sysdeps/x86_64/rshift.S: Likewise.
51656 * sysdeps/x86_64/sub_n.S: Likewise.
51657 * sysdeps/x86_64/submul_1.S: Likewise.
51659 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51661 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51662 Define __sched_param instead of SCHED_* and sched_param when
51663 <bits/sched.h> is included with __need_schedparam defined.
51664 * bits/sched.h [__need_schedparam]
51665 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51666 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51667 (__defined_schedparam): Define to 1.
51668 (__sched_param): New structure, identical to sched_param.
51669 (__need_schedparam): Undefine.
51671 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51673 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51674 (epoll_create1): Declare.
51676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51678 2010-08-31 Andreas Schwab <schwab@redhat.com>
51681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51682 shifting retval into place.
51684 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51686 * nis/rpcsvc/nis.h: Update copyright notice.
51687 * nis/rpcsvc/nis.x: Likewise.
51688 * nis/rpcsvc/nis_callback.h: Likewise.
51689 * nis/rpcsvc/nis_callback.x: Likewise.
51690 * nis/rpcsvc/nis_object.x: Likewise.
51691 * nis/rpcsvc/nis_tags.h: Likewise.
51692 * nis/rpcsvc/yp.h: Likewise.
51693 * nis/rpcsvc/yp.x: Likewise.
51694 * nis/rpcsvc/ypupd.h: Likewise.
51695 * nis/yp_xdr.c: Likewise.
51696 * nis/ypupdate_xdr.c: Likewise.
51698 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51699 mainly the body of pmap_getport. Add parameters to specify timeouts.
51700 (pmap_getport): Use __libc_rpc_getport.
51701 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51702 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51703 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51705 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51710 2010-08-27 Roland McGrath <roland@redhat.com>
51712 * sysdeps/i386/i686/multiarch/Makefile
51713 (CFLAGS-varshift.c): New variable.
51715 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51717 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51718 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51722 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51724 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51726 * sysdeps/x86_64/strlen.S: Unroll the loop.
51727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51728 strlen-sse2 strlen-sse2-bsf.
51729 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51730 __strlen_no_bsf if bit_Slow_BSF is set.
51731 (__strlen_sse42): Removed.
51732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51733 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51735 2010-08-25 Roland McGrath <roland@redhat.com>
51737 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51738 * sysdeps/x86_64/multiarch/varshift.c: New file.
51739 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51740 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51741 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51742 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51744 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51747 strlen-sse2 strlen-sse2-bsf.
51748 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51749 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51750 (__strlen_sse2): Removed.
51751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51752 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51754 bit_Slow_BSF for Atom.
51755 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51756 (index_Slow_BSF): Define.
51757 (HAS_SLOW_BSF): Define.
51759 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51762 * resolv/res_init.c (__res_vinit): When no server address at all
51763 is given default to loopback.
51765 2010-08-24 Roland McGrath <roland@redhat.com>
51767 * configure.in: Remove config-name.h generation.
51768 * configure: Regenerated.
51769 * config-name.in: File removed.
51770 * scripts/config-uname.sh: New file.
51771 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51772 ($(objdir)config-name.h): New target.
51774 * sunrpc/rpc_parse.h: Avoid nested comment.
51776 2010-08-24 Richard Henderson <rth@redhat.com>
51777 Ulrich Drepper <drepper@redhat.com>
51778 H.J. Lu <hongjiu.lu@intel.com>
51780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51782 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51783 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51784 _mm_alignr_epi8 with _mm_loadu_si128.
51785 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51786 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51787 (__m128i_shift_right): Removed.
51788 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51789 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51790 * sysdeps/x86_64/multiarch/varshift.h: New file.
51791 * sysdeps/x86_64/multiarch/varshift.S: New file.
51793 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51795 * configure.in: Move assembler checks to before sysdep dir checking.
51797 2010-08-20 Petr Baudis <pasky@suse.cz>
51799 * LICENSES: Sync the sunrpc license.
51801 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51803 * sunrpc/auth_des.c: Update copyright notice once again.
51804 * sunrpc/auth_none.c: Likewise.
51805 * sunrpc/auth_unix.c: Likewise.
51806 * sunrpc/authdes_prot.c: Likewise.
51807 * sunrpc/authuxprot.c: Likewise.
51808 * sunrpc/bindrsvprt.c: Likewise.
51809 * sunrpc/clnt_gen.c: Likewise.
51810 * sunrpc/clnt_perr.c: Likewise.
51811 * sunrpc/clnt_raw.c: Likewise.
51812 * sunrpc/clnt_simp.c: Likewise.
51813 * sunrpc/clnt_tcp.c: Likewise.
51814 * sunrpc/clnt_udp.c: Likewise.
51815 * sunrpc/clnt_unix.c: Likewise.
51816 * sunrpc/des_crypt.c: Likewise.
51817 * sunrpc/des_soft.c: Likewise.
51818 * sunrpc/get_myaddr.c: Likewise.
51819 * sunrpc/getrpcport.c: Likewise.
51820 * sunrpc/key_call.c: Likewise.
51821 * sunrpc/key_prot.c: Likewise.
51822 * sunrpc/openchild.c: Likewise.
51823 * sunrpc/pm_getmaps.c: Likewise.
51824 * sunrpc/pm_getport.c: Likewise.
51825 * sunrpc/pmap_clnt.c: Likewise.
51826 * sunrpc/pmap_prot.c: Likewise.
51827 * sunrpc/pmap_prot2.c: Likewise.
51828 * sunrpc/pmap_rmt.c: Likewise.
51829 * sunrpc/rpc/auth.h: Likewise.
51830 * sunrpc/rpc/auth_unix.h: Likewise.
51831 * sunrpc/rpc/clnt.h: Likewise.
51832 * sunrpc/rpc/des_crypt.h: Likewise.
51833 * sunrpc/rpc/key_prot.h: Likewise.
51834 * sunrpc/rpc/netdb.h: Likewise.
51835 * sunrpc/rpc/pmap_clnt.h: Likewise.
51836 * sunrpc/rpc/pmap_prot.h: Likewise.
51837 * sunrpc/rpc/pmap_rmt.h: Likewise.
51838 * sunrpc/rpc/rpc.h: Likewise.
51839 * sunrpc/rpc/rpc_des.h: Likewise.
51840 * sunrpc/rpc/rpc_msg.h: Likewise.
51841 * sunrpc/rpc/svc.h: Likewise.
51842 * sunrpc/rpc/svc_auth.h: Likewise.
51843 * sunrpc/rpc/types.h: Likewise.
51844 * sunrpc/rpc/xdr.h: Likewise.
51845 * sunrpc/rpc_clntout.c: Likewise.
51846 * sunrpc/rpc_cmsg.c: Likewise.
51847 * sunrpc/rpc_common.c: Likewise.
51848 * sunrpc/rpc_cout.c: Likewise.
51849 * sunrpc/rpc_dtable.c: Likewise.
51850 * sunrpc/rpc_hout.c: Likewise.
51851 * sunrpc/rpc_main.c: Likewise.
51852 * sunrpc/rpc_parse.c: Likewise.
51853 * sunrpc/rpc_parse.h: Likewise.
51854 * sunrpc/rpc_prot.c: Likewise.
51855 * sunrpc/rpc_sample.c: Likewise.
51856 * sunrpc/rpc_scan.c: Likewise.
51857 * sunrpc/rpc_scan.h: Likewise.
51858 * sunrpc/rpc_svcout.c: Likewise.
51859 * sunrpc/rpc_tblout.c: Likewise.
51860 * sunrpc/rpc_util.c: Likewise.
51861 * sunrpc/rpc_util.h: Likewise.
51862 * sunrpc/rpcinfo.c: Likewise.
51863 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51864 * sunrpc/rpcsvc/key_prot.x: Likewise.
51865 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51866 * sunrpc/rpcsvc/mount.x: Likewise.
51867 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51868 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51869 * sunrpc/rpcsvc/rex.x: Likewise.
51870 * sunrpc/rpcsvc/rstat.x: Likewise.
51871 * sunrpc/rpcsvc/rusers.x: Likewise.
51872 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51873 * sunrpc/rpcsvc/spray.x: Likewise.
51874 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51875 * sunrpc/rtime.c: Likewise.
51876 * sunrpc/svc.c: Likewise.
51877 * sunrpc/svc_auth.c: Likewise.
51878 * sunrpc/svc_authux.c: Likewise.
51879 * sunrpc/svc_raw.c: Likewise.
51880 * sunrpc/svc_run.c: Likewise.
51881 * sunrpc/svc_simple.c: Likewise.
51882 * sunrpc/svc_tcp.c: Likewise.
51883 * sunrpc/svc_udp.c: Likewise.
51884 * sunrpc/svc_unix.c: Likewise.
51885 * sunrpc/svcauth_des.c: Likewise.
51886 * sunrpc/xcrypt.c: Likewise.
51887 * sunrpc/xdr.c: Likewise.
51888 * sunrpc/xdr_array.c: Likewise.
51889 * sunrpc/xdr_float.c: Likewise.
51890 * sunrpc/xdr_mem.c: Likewise.
51891 * sunrpc/xdr_rec.c: Likewise.
51892 * sunrpc/xdr_ref.c: Likewise.
51893 * sunrpc/xdr_sizeof.c: Likewise.
51894 * sunrpc/xdr_stdio.c: Likewise.
51896 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51899 2010-08-19 Andreas Schwab <schwab@redhat.com>
51901 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51903 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51905 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51906 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51907 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51908 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51909 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51910 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51911 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51912 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51913 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51914 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51915 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51916 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51917 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51918 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51920 2010-07-26 Anton Blanchard <anton@samba.org>
51922 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51923 * malloc/arena.c (heap_trim): Likewise.
51925 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51927 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51930 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51932 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51934 * sysdeps/i386/elf/Makefile: New file.
51936 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51938 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51939 from fanotify_init.
51940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51941 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51943 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51945 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51947 * sysdeps/multiarch/strcmp.S: Likewise.
51949 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51951 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51952 strncase_l-nonascii.
51953 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51954 Add strncase_l-ssse3.
51955 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51956 * sysdeps/x86_64/strcmp.S: Likewise.
51957 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51958 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51959 * sysdeps/x86_64/strncase.S: New file.
51960 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51961 * sysdeps/x86_64/strncase_l.S: New file.
51962 * string/Makefile (strop-tests): Add strncasecmp.
51963 * string/test-strncasecmp.c: New file.
51965 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51968 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51969 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51971 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51973 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51975 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51977 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51981 2010-05-01 Alan Modra <amodra@gmail.com>
51983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51984 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51985 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51986 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51987 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51988 tidying. Don't tail-call __sigjmp_save for static lib.
51989 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51991 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51992 (CALL_MCOUNT): Add eh info, and nop after bl.
51993 (TAIL_CALL_SYSCALL_ERROR): New macro.
51994 (PSEUDO_RET): Use it.
51995 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51996 Correct save location of integer regs and cr.
51997 (_dl_profile_resolve): Correct cr save location. Delete nops
51998 after bl when SHARED. Reduce cfi size a little by better
51999 placement of cfi directives.
52000 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52001 make a stack frame. Instead use parm save area as a temp.
52002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52003 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52005 Don't make a stack frame for parent, use parm save area.
52006 Increase child stack frame to 112 bytes. Don't save unused reg,
52007 and adjust reg usage. Set up cfi on error recovery and
52008 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52010 (__makecontext): Add dummy nop after jump to exit.
52011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52012 Use correct parm save area and cr save, reduce stack frame.
52013 Correct cfi for possible PSEUDO_RET frame setup.
52014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52015 Branch to local label emitted by PSEUDO_RET rather than
52018 2010-08-12 Andreas Schwab <schwab@redhat.com>
52021 * locale/programs/locale.c (print_assignment): New function.
52022 (show_locale_vars): Use it.
52024 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52026 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52028 (struct statfs64): Likewise.
52029 (_STATFS_F_FLAGS): Define.
52030 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52031 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52032 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52033 (ST_VALID): Define locally.
52034 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52035 __statvfs_getflags, use the provided value.
52036 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52037 __ASSUME_STATFS_F_FLAGS.
52039 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52041 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52042 Add sys/fanotify.h.
52043 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52044 fanotify_mask for GLIBC_2.13.
52045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52046 fanotify_init and fanotify_mark.
52047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52048 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52050 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52052 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52053 prlimit64 for GLIBC_2.13.
52054 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52056 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52060 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52064 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52067 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52068 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52070 * nss/Makefile: Add rules to build and run tst-nss-test1.
52071 * shlib-versions: Add entry for libnss_test1.
52072 * nss/nss_test1.c: New file.
52073 * nss/tst-nss-test1.c: New file.
52075 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52076 (__nss_configure_lookup): Set appropriate entry in
52077 __nss_configure_lookup to true.
52078 * nss/nsswitch.h: Define enum with indeces of databases in
52079 databases and __nss_database_custom arrays. Declare
52080 __nss_database_custom.
52081 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52082 to avoid using nscd when custom rules are installed.
52083 * nss/getXXbyYY_r.c: Likewise.
52084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52086 * nss/nss_files/files-parse.c: Whitespace fixes.
52088 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52091 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52092 * posix/fnmatch_loop.c: Likewise.
52094 2010-07-17 Andi Kleen <ak@linux.intel.com>
52096 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52097 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52098 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52099 * Versions.def [GLIBC_2.13]: Add.
52101 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52104 Also fail if tpwd after pwuid call is NULL.
52106 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52108 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52109 when converting to ms.
52111 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52113 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52114 EOPNOTSUPP errors with ENOTTY.
52115 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52116 EOPNOTSUPP errors with ENOTTY.
52118 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52120 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52121 Add strcasecmp_l-ssse3.
52122 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52124 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52125 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52126 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52128 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52130 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52132 * string/Makefile (strop-tests): Add strcasecmp.
52133 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52134 strcasecmp_l-nonascii.
52135 (gen-as-const-headers): Add locale-defines.sym.
52136 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52137 * sysdeps/x86_64/strcasecmp.S: New file.
52138 * sysdeps/x86_64/strcasecmp_l.S: New file.
52139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52140 * sysdeps/x86_64/locale-defines.sym: New file.
52141 * string/test-strcasecmp.c: New file.
52143 * string/test-strcasestr.c: Test both ends of the range of characters.
52144 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52146 2010-07-29 Roland McGrath <roland@redhat.com>
52149 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52151 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52153 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52156 2010-07-27 Andreas Schwab <schwab@redhat.com>
52158 * manual/memory.texi (Malloc Tunable Parameters): Document
52161 2010-07-26 Roland McGrath <roland@redhat.com>
52164 * configure.in (-fgnu89-inline check): Set and substitute
52165 gnu89_inline, not libc_cv_gnu89_inline.
52166 * configure: Regenerated.
52167 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52169 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52171 * string/test-strnlen.c: New file.
52172 * string/Makefile (strop-tests): Add strnlen.
52173 * string/tester.c (test_strnlen): Add a few more test cases.
52174 * string/tst-strlen.c: Better error reporting.
52176 * sysdeps/x86_64/strnlen.S: New file.
52178 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52181 lower-latency instructions.
52183 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52185 * string/test-strcasestr.c: New file.
52186 * string/test-strstr.c: New file.
52187 * string/Makefile (strop-tests): Add strstr and strcasestr.
52188 * string/str-two-way.h: Don't undefine MAX.
52189 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52191 2010-07-21 Andreas Schwab <schwab@redhat.com>
52193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52194 strcasestr-nonascii.
52195 (CFLAGS-strcasestr-nonascii.c): Define.
52196 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52197 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52198 Remove unused attribute.
52200 2010-07-20 Roland McGrath <roland@redhat.com>
52202 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52203 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52204 ld.so.cache was broken. With it, there is no way to disable dsocaps
52205 like LD_HWCAP_MASK can disable hwcaps.
52207 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52209 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52211 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52213 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52214 call in strcasestr.
52215 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52216 __strcasestr_sse42_nonascii.
52217 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52218 strcasestr-nonascii.c.
52219 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52221 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52223 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52224 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52225 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52228 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52233 2010-07-06 Andreas Schwab <schwab@redhat.com>
52236 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52239 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52241 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52242 _PC_PIPE_BUF using F_GETPIPE_SZ.
52244 2010-07-05 Roland McGrath <roland@redhat.com>
52246 * manual/arith.texi (Rounding Functions): Fix rint description
52247 implicit in round description.
52249 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52251 * elf/Makefile: Fix linking for a few tests to make recent linker
52254 2010-06-30 Andreas Schwab <schwab@redhat.com>
52256 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52257 $(common-objpfx)libc_nonshared.a.
52259 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52261 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52262 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52263 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52264 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52265 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52266 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52267 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52268 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52283 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52284 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52285 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52286 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52287 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52288 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52289 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52290 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52291 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52292 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52293 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52294 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52310 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52312 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52313 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52314 * string/memmove.c (memmove): Renamed to ...
52315 (MEMMOVE): ...this. Default to memmove.
52316 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52317 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52320 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52321 mempcpy-ssse3-back memmove-ssse3-back.
52322 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52325 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52326 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52327 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52328 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52329 * sysdeps/x86_64/multiarch/memmove.c: New file.
52330 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52331 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52332 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52333 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52334 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52337 (index_Fast_Copy_Backward): Define.
52338 (HAS_ARCH_FEATURE): Define.
52339 (HAS_FAST_REP_STRING): Define.
52340 (HAS_FAST_COPY_BACKWARD): Define.
52342 2010-06-21 Andreas Schwab <schwab@redhat.com>
52344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52345 Restore proper fallback handling.
52347 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52350 * posix/group_member.c (__group_member): Correct checking loop.
52352 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52353 OOM in getpwuid_r correctly. Return error number when the caller
52354 should return, otherwise -1.
52355 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52356 call returning > 0 value.
52357 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52359 2010-06-07 Andreas Schwab <schwab@redhat.com>
52361 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52362 libc_nonshared.a from targets in modules-names.
52364 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52366 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52369 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52373 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52374 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52376 2010-06-02 Andreas Schwab <schwab@redhat.com>
52378 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52380 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52382 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52388 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52391 2010-06-14 Roland McGrath <roland@redhat.com>
52393 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52395 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52397 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52398 __REDIRECT followed by __THROW.
52399 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52400 * posix/getopt.h (getopt): Likewise.
52402 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52404 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52405 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52406 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52408 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52409 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52411 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52413 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52415 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52419 Properly check family and model.
52421 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52423 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52425 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52427 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52429 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52431 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52434 2010-05-19 Andreas Schwab <schwab@redhat.com>
52436 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52439 2010-05-21 Andreas Schwab <schwab@redhat.com>
52441 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52442 and internal_recvmmsg.
52443 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52444 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52445 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52446 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52448 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52449 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52450 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52452 2010-05-20 Andreas Schwab <schwab@redhat.com>
52454 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52456 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52458 POWER7 optimizations.
52459 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52460 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52462 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52464 * version.h: Update for 2.13 development version.
52466 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52468 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52469 exceptions. Return 0.
52471 2010-05-07 Roland McGrath <roland@redhat.com>
52473 * elf/ldconfig.c (main): Add a const.
52475 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52477 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52478 (args_options): Add no-idn option.
52479 (ahosts_keys_int): Add idn_flags to ai_flags.
52480 (parse_option): Handle 'i' option to clear idn_flags.
52482 * malloc/malloc.c (_int_free): Possible race in the most recently
52483 added check. Only act on the data if no current modification
52486 See ChangeLog.17 for earlier changes.