1 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5 * Makeconfig (in-module): Get value of libof set for the
7 (CPPFLAGS): Use $(in-module).
8 * Makerules: Don't suffix routine names for nonlib.
9 * include/libc-modules.h: New file.
10 * include/libc-symbols.h: Include libc-modules.h
11 (IS_IN): New macro to replace IS_IN_* macros.
12 * elf/Makefile: Set libof-* for each routine.
13 * elf/rtld-Rules: Likewise.
14 * extra-modules.mk: Likewise.
15 * iconv/Makefile: Likewise.
16 * iconvdata/Makefile: Likewise.
17 * locale/Makefile: Likewise.
18 * malloc/Makefile: Likewise.
19 * nss/Makefile: Likewise.
20 * sysdeps/gnu/Makefile: Likewise.
21 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22 * sysdeps/unix/sysv/linux/Makefile: Likewise.
23 * sysdeps/s390/s390-64/Makefile: Likewise.
24 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
25 CPPFLAGS for nscd instead of nonlib.
27 2014-11-18 Roland McGrath <roland@hack.frob.com>
29 * nptl/createthread.c: New file.
31 * nptl/createthread.c: Moved ...
32 * sysdeps/unix/sysv/linux/createthread.c: ... here.
34 * nptl/createthread.c: Add proper top-line comment.
35 (do_clone): Folded into ...
36 (create_thread): ... here. Take new arguments STOPPED_START and
37 THREAD_RAN. Always set PD->stopped_start to something here. Don't
38 increment __nptl_threads, do event-reporting logic, do
39 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
41 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43 * nptl/pthread_create.c: Forward-declare create_thread before
44 including createthread.c.
45 (start_thread): Use new macro START_THREAD_DEFN to replace defining
46 declaration, and new macro START_THREAD_SELF to replace argument.
47 Remove return statement.
48 (report_thread_creation): New function.
49 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
50 synchronization logic, and __nptl_nthreads increment here, around
51 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
52 PD->parent_cancelhandling here, before create_thread. When
53 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
54 __deallocate_stack, and ENOMEM translation here.
56 2014-11-18 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
60 (mptwo): Rename to __mptwo.
61 (__inv): Use __mptwo instead of mptwo.
62 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
63 (mptwo): Rename to __mptwo.
64 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
65 of mpone and __mptwo instead of mptwo.
66 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
68 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
70 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
71 of mpone and __mptwo instead of mptwo.
72 (__mpranred): Use __mpone instead of mpone.
73 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
75 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
76 (test-xfail-ISO99/math.h/linknamespace): Likewise.
77 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
78 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
79 (test-xfail-ISO11/math.h/linknamespace): Likewise.
80 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
81 (test-xfail-XPG3/math.h/linknamespace): Likewise.
82 (test-xfail-XPG4/math.h/linknamespace): Likewise.
83 (test-xfail-POSIX/math.h/linknamespace): Likewise.
84 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
85 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
86 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
87 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
88 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
89 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
90 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
91 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
92 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
93 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
95 2014-11-18 Tom de Vries <tom@codesoucery.com>
97 * manual/signal.texi (Primitives Interrupted by Signals): In section,
98 replace BSD Handler xref with BSD Signal Handling.
100 2014-11-17 Richard Henderson <rth@redhat.com>
102 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
103 (_FP_PACK_RAW_2): Remove.
104 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
105 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
106 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
107 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
108 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
109 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
110 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
111 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
112 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
113 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
114 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
115 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
116 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
117 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
118 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
119 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
121 2014-11-14 Roland McGrath <roland@hack.frob.com>
123 * signal/signal.h [__USE_MISC]
124 (struct sigvec): Remove type.
125 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
126 (sigvec): Remove declaration.
127 * sysdeps/posix/sigvec.c: Moved ...
128 * signal/sigvec.c: ... here, replacing old file.
129 (struct sigvec): New type, copied from old signal.h definition.
130 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
131 (__sigvec): Convert definition to prototype.
132 (sigvec): Replace weak_alias with compat_symbol.
133 * signal/Versions (libc: GLIBC_2.21): New version set.
134 * include/signal.h: Remove __sigvec declaration.
135 * sysdeps/unix/bsd/sigvec.c: Remove file.
136 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
137 * manual/signal.texi (BSD Handler): Remove subsection.
138 Move siginterrupt up to ...
139 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
140 (Blocking in BSD): Fold subsection into its parent.
141 * NEWS: Mention sigvec removal.
143 2014-11-14 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
146 (DLA_FMS): Make definition conditional only on [__FMA4__].
147 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
150 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
151 Make definition conditional only on [PROF].
152 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
154 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
155 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
157 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
159 * include/signal.h (__sigpause): Move declaration above call to
161 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
163 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
164 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
166 2014-11-14 David S. Miller <davem@davemloft.net>
168 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
169 Define before including <string/memcpy.c> and <string/mempcpy.c>.
171 2014-11-14 Joseph Myers <joseph@codesourcery.com>
173 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
174 * configure: Regenerated.
175 * manual/install.texi (Tools for Compilation): Document a
176 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
177 compiler verified to work.
178 * INSTALL: Regenerated.
180 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
181 redeclare with asm name.
182 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
183 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
184 including <string.h>.
185 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
186 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
187 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
189 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
190 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
191 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
193 2014-11-13 Joseph Myers <joseph@codesourcery.com>
195 * stdlib/strtol.c (__strtol): Use prototype definition.
198 * stdlib/strtol.c (SYM__): New macro.
200 (__strtol): Likewise.
201 (strtol): Rename to __strtol and define as weak alias of
202 __strtol. Use libc_hidden_weak.
204 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
206 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
207 Use numbered labels in inline assembly.
209 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
211 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
212 Add setjmp LIBC_PROBE.
213 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
215 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
216 Add longjmp, longjmp_target LIBC_PROBE.
217 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
220 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
223 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
224 to get rid of unused variable warning.
226 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
228 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
229 Check for unwind_backtrace == NULL only in SHARED case.
230 (__backchain_backtrace): Compile only in SHARED case.
231 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
233 (__backchain_backtrace): Declare as static.
235 2014-11-12 Roland McGrath <roland@hack.frob.com>
237 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
238 (__libc_multiple_threads_ptr): Variable moved ...
239 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
241 2014-11-12 Joseph Myers <joseph@codesourcery.com>
243 * conform/GlibcConform.pm: New file.
244 * conform/conformtest.pl: Use GlibcConform module.
245 * conform/linknamespace.pl: New file.
246 * conform/list-header-symbols.pl: Likewise.
247 * conform/Makefile (linknamespace-symlists-base): New variable.
248 (linknamespace-symlists-tests): Likewise.
249 (linknamespace-header-base): Likewise.
250 (linknamespace-header-tests): Likewise.
251 (tests-special): Add new tests.
252 ($(linknamespace-symlists-tests)): New rule.
253 (linknamespace-libs): New variable.
254 ($(objpfx)symlist-stdlibs): New rule.
255 ($(linknamespace-header-tests)): Likewise.
256 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
257 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
258 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
259 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
260 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
261 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
262 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
263 (test-xfail-ISO/math.h/linknamespace): Likewise.
264 (test-xfail-ISO/signal.h/linknamespace): Likewise.
265 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
266 (test-xfail-ISO/time.h/linknamespace): Likewise.
267 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
268 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
269 (test-xfail-ISO99/math.h/linknamespace): Likewise.
270 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
271 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
272 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
273 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
274 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
275 (test-xfail-ISO11/math.h/linknamespace): Likewise.
276 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
277 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
278 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
279 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
280 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
281 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
282 (test-xfail-XPG3/math.h/linknamespace): Likewise.
283 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
284 (test-xfail-XPG3/search.h/linknamespace): Likewise.
285 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
286 (test-xfail-XPG3/time.h/linknamespace): Likewise.
287 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
288 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
289 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
290 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
291 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
292 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
293 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
294 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
295 (test-xfail-XPG4/math.h/linknamespace): Likewise.
296 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
297 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
298 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
299 (test-xfail-XPG4/search.h/linknamespace): Likewise.
300 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
301 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
302 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
303 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
304 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
305 (test-xfail-XPG4/time.h/linknamespace): Likewise.
306 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
307 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
308 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
309 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
310 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
311 (test-xfail-POSIX/math.h/linknamespace): Likewise.
312 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
313 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
314 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
315 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
316 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
317 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
318 (test-xfail-POSIX/time.h/linknamespace): Likewise.
319 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
320 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
321 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
322 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
323 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
324 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
325 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
326 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
327 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
328 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
329 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
330 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
331 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
332 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
333 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
334 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
335 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
336 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
337 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
338 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
339 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
340 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
341 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
342 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
343 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
344 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
345 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
346 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
347 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
348 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
349 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
350 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
351 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
352 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
353 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
354 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
355 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
356 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
357 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
358 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
359 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
360 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
361 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
362 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
363 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
364 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
365 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
366 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
367 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
368 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
369 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
370 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
371 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
372 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
373 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
374 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
375 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
376 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
377 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
378 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
379 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
380 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
381 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
382 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
383 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
384 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
385 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
386 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
387 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
388 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
389 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
390 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
391 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
392 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
393 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
394 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
395 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
396 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
397 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
398 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
399 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
400 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
401 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
402 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
403 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
404 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
405 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
406 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
407 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
408 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
409 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
410 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
411 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
412 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
413 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
414 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
415 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
416 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
419 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
423 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
424 (memmem): Rename to __memmem and define as weak alias of
425 __memmem. Use libc_hidden_weak.
426 (__memmem): Use libc_hidden_def.
427 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
428 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
432 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
433 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
434 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
435 and define as weak alias of __fgets_unlocked. Use
437 (__fgets_unlocked): Use libc_hidden_def.
438 * include/stdio.h (__fgets_unlocked): Declare. Use
440 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
441 __fgets_unlocked instead of fgets_unlocked.
442 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
443 (GET_NPROCS_CONF_PARSER): Likewise.
444 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
445 (GET_NPROCS_CONF_PARSER): Likewise.
448 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
449 weak alias of __wmemset. Use libc_hidden_weak.
450 (__wmemset): Use libc_hidden_def.
451 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
452 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
456 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
457 with asm name __mempcpy.
458 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
461 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
462 and define as weak alias of __rawmemchr.
463 (__rawmemchr): Do not define as strong alias of rawmemchr.
466 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
468 (qsort): Call __qsort_r instead of qsort_r.
469 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
470 (__qsort_r): Declare. Call libc_hidden_proto.
471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
473 * nscd/gai.c (__qsort_r): Define to qsort_r.
474 * posix/tst-rfc3484.c (__qsort_r): Likewise.
475 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
476 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
479 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
480 define as weak alias of __malloc_info.
483 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
484 as weak alias of __rewinddir. Don't use libc_hidden_def.
485 (__rewinddir): Use libc_hidden_def.
486 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
487 as weak alias of __rewinddir. Don't use libc_hidden_def.
488 (__rewinddir): Use libc_hidden_def.
489 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
490 weak alias of __rewinddir. Don't use libc_hidden_def.
491 (__rewinddir): Use libc_hidden_def.
492 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
493 (__rewinddir): Use libc_hidden_proto.
494 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
496 (__getcwd): Use __rewinddir instead of rewinddir.
499 * libio/fileno.c (fileno): Rename to __fileno and define as weak
500 alias of __fileno. Use libc_hidden_weak.
501 (__fileno): Use libc_hidden_def.
502 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
503 * libio/ftello.c (ftello): Rename to __ftello and define as weak
505 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
507 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
508 (__fread_unlocked): Define as strong alias of _IO_fread. Use
510 (fread_unlocked): Don't use libc_hidden_ver.
511 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
512 and define as weak alias of __fread_unlocked. Don't use
514 (__fread_unlocked): Use libc_hidden_def.
515 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
516 (ftello): Don't use libc_hidden_proto.
517 (__ftello): Declare. Use libc_hidden_proto.
518 (fread_unlocked): Don't use libc_hidden_proto.
519 (__fread_unlocked): Declare. Use libc_hidden_proto.
520 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
521 and __ftello instead of fileno, fread_unlocked and ftello.
523 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
525 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
529 (_dl_start_user): Likewise.
530 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
532 2014-11-12 Carlos O'Donell <carlos@redhat.com>
533 Siddhesh Poyarekar <siddhesh@redhat.com>
535 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
536 Move argv and envp down instead of moving argc up.
537 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
539 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
542 * test-skeleton.c (main): Return successful if one of
543 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
544 * string/tst-strcoll-overflow.c: Define expected status.
546 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
549 * locale/iso-639.def: Define Bhili and Tulu language codes.
551 2014-11-11 Alan Hayward <alan.hayward@arm.com>
553 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
555 2014-11-10 Renlin Li <Renlin.Li@arm.com>
558 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
560 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
562 * configure.ac: Updated check of minimal required version to
564 * manual/install.texi (Tools for Compilation): Updated version
566 * configure: Regenerated.
569 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
571 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
574 2014-11-07 Joseph Myers <joseph@codesourcery.com>
576 * include/sys/wait.h (__libc_waitpid): Remove declaration.
577 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
578 (__waitpid): Don't define as alias. Use libc_hidden_def not
580 (waitpid): Define as alias of __waitpid.
581 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
583 (__waitpid): Don't define as alias. Use libc_hidden_def not
585 (waitpid): Define as alias of __waitpid.
586 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
587 __libc_waitpid alias.
588 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
589 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
591 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
592 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
593 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
595 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
597 (__waitpid): Don't define as alias. Use libc_hidden_def not
599 (waitpid): Define as alias of __waitpid.
601 2014-11-06 Carlos O'Donell <carlos@redhat.com>
603 * manual/llio.texi: Add comment that write safety has been
606 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
607 (localplt-build-dso): Add elf/ld.so.
608 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
609 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
612 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
617 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
618 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
619 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
620 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
621 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
622 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
623 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
624 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
625 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
626 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
629 2014-11-05 Joseph Myers <joseph@codesourcery.com>
632 * include/libc-symbols.h (INTUSE): Remove macro.
634 (INTVARDEF): Likewise.
635 (_INTVARDEF): Likewise.
637 (INTVARDEF2): Likewise.
638 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
639 rtld_hidden_def instead of INTVARDEF.
640 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
641 (_dl_starting_up_internal): Remove declaration.
642 (_dl_starting_up): Use rtld_hidden_proto.
643 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
645 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
646 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
648 * elf/dl-writev.h (_dl_writev): Likewise.
649 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
650 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
651 _dl_starting_up_internal.
653 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
655 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
658 2014-11-05 Will Newton <will.newton@linaro.org>
660 * benchtests/Makefile: (bench-malloc): Add malloc thread
661 scalability benchmark.
662 * benchtests/bench-malloc-threads.c: New file.
664 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
666 * sysdeps/aarch64/strchrnul.S: New file.
668 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
672 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
674 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
676 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
678 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
680 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
683 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
685 * catgets/test-gencat.c: Use test-skeleton.c.
686 * catgets/tst-catgets.c: Likewise.
687 * csu/tst-empty.c: Likewise.
688 * elf/tst-audit2.c: Likewise.
689 * elf/tst-global1.c: Likewise.
690 * elf/tst-pathopt.c: Likewise.
691 * elf/tst-piemod1.c: Likewise.
692 * elf/tst-tls10.c: Likewise.
693 * elf/tst-tls11.c: Likewise.
694 * elf/tst-tls12.c: Likewise.
695 * gnulib/tst-gcc.c: Likewise.
696 * iconvdata/tst-e2big.c: Likewise.
697 * iconvdata/tst-loading.c: Likewise.
698 * iconv/tst-iconv1.c: Likewise.
699 * iconv/tst-iconv2.c: Likewise.
700 * inet/test-inet6_opt.c: Likewise.
701 * inet/tst-gethnm.c: Likewise.
702 * inet/tst-network.c: Likewise.
703 * inet/tst-ntoa.c: Likewise.
704 * intl/tst-codeset.c: Likewise.
705 * intl/tst-gettext2.c: Likewise.
706 * intl/tst-gettext3.c: Likewise.
707 * intl/tst-ngettext.c: Likewise.
708 * intl/tst-translit.c: Likewise.
709 * io/test-stat.c: Likewise.
710 * libio/test-fmemopen.c: Likewise.
711 * libio/tst-freopen.c: Likewise.
712 * libio/tst-sscanf.c: Likewise.
713 * libio/tst-ungetwc1.c: Likewise.
714 * libio/tst-ungetwc2.c: Likewise.
715 * libio/tst-widetext.c: Likewise.
716 * localedata/tst-ctype.c: Likewise.
717 * localedata/tst-digits.c: Likewise.
718 * localedata/tst-leaks.c: Likewise.
719 * localedata/tst-mbswcs1.c: Likewise.
720 * localedata/tst-mbswcs2.c: Likewise.
721 * localedata/tst-mbswcs3.c: Likewise.
722 * localedata/tst-mbswcs4.c: Likewise.
723 * localedata/tst-mbswcs5.c: Likewise.
724 * localedata/tst-setlocale.c: Likewise.
725 * localedata/tst-trans.c: Likewise.
726 * localedata/tst-wctype.c: Likewise.
727 * localedata/tst-xlocale1.c: Likewise.
728 * login/tst-grantpt.c: Likewise.
729 * malloc/tst-calloc.c: Likewise.
730 * malloc/tst-malloc.c: Likewise.
731 * malloc/tst-mallocstate.c: Likewise.
732 * malloc/tst-mcheck.c: Likewise.
733 * malloc/tst-mtrace.c: Likewise.
734 * malloc/tst-obstack.c: Likewise.
735 * math/atest-exp2.c: Likewise.
736 * math/atest-exp.c: Likewise.
737 * math/atest-sincos.c: Likewise.
738 * math/test-matherr.c: Likewise.
739 * math/test-misc.c: Likewise.
740 * math/test-powl.c: Likewise.
741 * math/tst-definitions.c: Likewise.
742 * misc/tst-dirname.c: Likewise.
743 * misc/tst-efgcvt.c: Likewise.
744 * misc/tst-fdset.c: Likewise.
745 * misc/tst-hsearch.c: Likewise.
746 * misc/tst-mntent2.c: Likewise.
747 * nptl/tst-sem7.c: Likewise.
748 * nptl/tst-sem8.c: Likewise.
749 * nptl/tst-sem9.c: Likewise.
750 * nss/test-netdb.c: Likewise.
751 * posix/tst-fnmatch.c: Likewise.
752 * posix/tst-getlogin.c: Likewise.
753 * posix/tst-gnuglob.c: Likewise.
754 * posix/tst-mmap.c: Likewise.
755 * pwd/tst-getpw.c: Likewise.
756 * resolv/tst-inet_ntop.c: Likewise.
757 * rt/tst-timer.c: Likewise.
758 * stdio-common/test-fseek.c: Likewise.
759 * stdio-common/test-popen.c: Likewise.
760 * stdio-common/test-vfprintf.c: Likewise.
761 * stdio-common/tst-cookie.c: Likewise.
762 * stdio-common/tst-fileno.c: Likewise.
763 * stdio-common/tst-gets.c: Likewise.
764 * stdio-common/tst-obprintf.c: Likewise.
765 * stdio-common/tst-perror.c: Likewise.
766 * stdio-common/tst-sprintf2.c: Likewise.
767 * stdio-common/tst-sprintf3.c: Likewise.
768 * stdio-common/tst-sprintf.c: Likewise.
769 * stdio-common/tst-swprintf.c: Likewise.
770 * stdio-common/tst-tmpnam.c: Likewise.
771 * stdio-common/tst-unbputc.c: Likewise.
772 * stdio-common/tst-wc-printf.c: Likewise.
773 * stdlib/tst-environ.c: Likewise.
774 * stdlib/tst-fmtmsg.c: Likewise.
775 * stdlib/tst-limits.c: Likewise.
776 * stdlib/tst-rand48-2.c: Likewise.
777 * stdlib/tst-rand48.c: Likewise.
778 * stdlib/tst-random2.c: Likewise.
779 * stdlib/tst-random.c: Likewise.
780 * stdlib/tst-strtol.c: Likewise.
781 * stdlib/tst-strtoll.c: Likewise.
782 * stdlib/tst-tls-atexit.c: Likewise.
783 * stdlib/tst-xpg-basename.c: Likewise.
784 * string/test-ffs.c: Likewise.
785 * string/tst-bswap.c: Likewise.
786 * string/tst-inlcall.c: Likewise.
787 * string/tst-strtok.c: Likewise.
788 * string/tst-strxfrm.c: Likewise.
789 * sysdeps/x86_64/tst-audit10.c: Likewise.
790 * sysdeps/x86_64/tst-audit3.c: Likewise.
791 * sysdeps/x86_64/tst-audit4.c: Likewise.
792 * sysdeps/x86_64/tst-audit5.c: Likewise.
793 * time/tst-ftime_l.c: Likewise.
794 * time/tst-getdate.c: Likewise.
795 * time/tst-mktime3.c: Likewise.
796 * time/tst-mktime.c: Likewise.
797 * time/tst-posixtz.c: Likewise.
798 * time/tst-strptime2.c: Likewise.
799 * time/tst-strptime3.c: Likewise.
800 * wcsmbs/tst-btowc.c: Likewise.
801 * wcsmbs/tst-mbrtowc.c: Likewise.
802 * wcsmbs/tst-mbsrtowcs.c: Likewise.
803 * wcsmbs/tst-wchar-h.c: Likewise.
804 * wcsmbs/tst-wcpncpy.c: Likewise.
805 * wcsmbs/tst-wcrtomb.c: Likewise.
806 * wcsmbs/tst-wcsnlen.c: Likewise.
807 * wcsmbs/tst-wcstof.c: Likewise.
809 2014-11-04 Joseph Myers <joseph@codesourcery.com>
812 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
814 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
816 (_dl_mcount): Use rtld_hidden_proto.
817 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
819 * elf/rtld.c (_rtld_global_ro): Likewise.
822 * elf/dl-init.c (_dl_init): Don't use INTDEF.
823 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
824 of _dl_init_internal.
825 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
826 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
827 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
828 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
829 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
830 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
831 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
832 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
833 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
834 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
835 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
836 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
837 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
838 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
839 * sysdeps/tile/dl-start.S (_start): Likewise.
840 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
841 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
844 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
845 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
846 (rtld_progname): Make macro definition unconditional.
847 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
849 (dlmopen_doit): Do not use INTUSE with _dl_argv.
851 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
852 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
853 instead of _dl_argv_internal.
854 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
855 __GI__dl_argv instead of INTUSE(_dl_argv).
856 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
857 __GI__dl_argv instead of _dl_argv_internal.
859 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
860 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
862 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
863 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
865 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
866 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
868 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
869 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
871 2014-11-04 Andreas Schwab <schwab@suse.de>
873 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
875 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
878 mtvsrd instruction in binary form.
880 2014-11-03 Andreas Schwab <schwab@suse.de>
883 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
884 for less than MB_LEN_MAX use a local buffer of that size.
885 * libio/tst-fputws.c: New file.
886 * libio/Makefile (tests): Add tst-fputws.
888 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
890 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
891 the size of the fpu_fr.fpu_dregs[] array.
893 2014-11-01 Joseph Myers <joseph@codesourcery.com>
895 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
896 (__nanosleep): Do not define as alias.
897 (nanosleep): Define as alias of __nanosleep.
898 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
899 __libc_nanosleep name.
901 2014-10-31 Joseph Myers <joseph@codesourcery.com>
903 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
904 install.texi in comment.
906 2014-10-31 Torvald Riegel <triegel@redhat.com>
908 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
909 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
910 ... add here and use lwsync or sync ...
911 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
912 ... and add here using lwsync.
914 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
916 * elf/dl-machine-reject-phdr.h: New file.
917 * elf/dl-load.c: #include that.
918 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
919 if that returned true.
921 2014-10-31 Roland McGrath <roland@hack.frob.com>
924 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
925 gen-as-const-headers chunk. Add a big scare comment after the last
926 safe place to touch before-compile.
928 2014-10-31 Joseph Myers <joseph@codesourcery.com>
930 * manual/install.texi (Tools for Compilation): Update autoconf
931 version requirements.
932 * INSTALL: Regenerated.
934 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
935 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
936 (__libc_pselect): Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
944 2014-10-31 Torvald Riegel <triegel@redhat.com>
946 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
947 correct barrier instruction.
948 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
950 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
953 2014-10-30 Roland McGrath <roland@hack.frob.com>
955 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
956 after defining inlines. Instead, just use parens to defeat macro
957 expansion of __isctype in its declaration.
959 2014-10-30 Joseph Myers <joseph@codesourcery.com>
961 * include/sys/uio.h (__libc_readv): Remove declaration.
962 (__libc_writev): Likewise.
963 * misc/readv.c (__libc_readv): Rename to __readv.
964 (__readv): Do not define as alias.
965 (readv): Define as alias of __readv.
966 * misc/writev.c (__libc_writev): Rename to __writev.
967 (__writev): Do not define as alias.
968 (writev): Define as alias of __writev.
969 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
970 (__readv): Do not define as alias.
971 (readv): Define unconditionally as alias of __readv.
972 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
973 (__writev): Do not define as alias.
974 (writev): Define unconditionally as alias of __writev.
975 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
977 (writev): Do not define __libc_writev name.
979 2014-10-30 Roland McGrath <roland@hack.frob.com>
981 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
982 (convert_charseq): New function, broken out of ...
983 (use_from_charmap): ... here. Call it.
984 (use_to_charmap): Use convert_charseq and free instead of duplicating
985 its code with a variable-length stack struct.
987 2014-10-30 Joseph Myers <joseph@codesourcery.com>
989 * include/fcntl.h (__libc_creat): Remove declaration.
990 * io/creat.c (__libc_creat): Rename to creat.
991 (creat): Do not define as alias.
992 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
993 of creat instead of __libc_creat.
994 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
996 (creat): Do not define as alias.
997 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
999 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1001 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1004 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1006 * manual/llio.texi: Add comments discussing why write() may be
1007 considered MT-unsafe on Linux.
1009 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1011 * dl-load.c (local_strdup): Remove.
1012 (expand_dynamic_string_token): Use __strdup.
1013 (decompose_rpath): Likewise.
1014 (_dl_map_object): Likewise.
1016 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1019 * sysdeps/generic/unwind-dw2-fde.c
1020 (__register_frame_info_bases_internal): Do not declare.
1021 (__register_frame_info_table_bases_internal): Likewise.
1022 (__deregister_frame_info_bases_internal): Likewise.
1023 (__register_frame_info_bases): Declare and use hidden_proto before
1024 definition. Use hidden_def instead of INTDEF.
1025 (__register_frame_info_table_bases): Likewise.
1026 (__deregister_frame_info_bases): Likewise.
1027 (__register_frame_info): Do not use INTUSE.
1028 (__register_frame): Likewise.
1029 (__register_frame_info_table): Likewise.
1030 (__register_frame_table): Likewise.
1031 (__deregister_frame_info): Likewise.
1032 (__deregister_frame): Likewise.
1034 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1037 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1039 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1041 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1044 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1047 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1048 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1049 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1050 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1051 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1052 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1055 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1056 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1057 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1059 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1061 (setfsuid): Likewise.
1062 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1063 (setfsuid): Likewise.
1064 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1065 (setfsuid): Likewise.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1068 (setfsuid): Likewise.
1069 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1070 (setfsuid): Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1073 (setfsuid): Likewise.
1075 2014-10-27 Andreas Schwab <schwab@suse.de>
1078 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1079 check for Slow_SSE4_2 feature bit.
1080 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1081 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1082 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1083 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1085 2014-10-24 Roland McGrath <roland@hack.frob.com>
1087 * configure.ac: Validate compiler version with a empirical test of
1088 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1090 * configure: Regenerated.
1092 * inet/htons.c (htons): Prototypify.
1093 * inet/htonl.c (htonl): Likewise.
1095 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1097 * string/strncat.c (strncat): Improve performance by using strlen.
1099 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1101 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1103 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1105 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1106 Call libc_fetestexcept_aarch64.
1108 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1110 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1111 Call libc_feholdexcept_aarch64.
1113 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1115 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1116 Call get_rounding_mode.
1118 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1120 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1123 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1125 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1128 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1131 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1132 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1133 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1134 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1135 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1136 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1137 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1139 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1140 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1141 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1142 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1143 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1144 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1145 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1146 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1147 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1148 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1149 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1150 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1151 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1154 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1155 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1159 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1160 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1161 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1162 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1163 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1167 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1171 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1173 (geteuid): Likewise.
1176 (getresgid): Likewise.
1177 (getresuid): Likewise.
1178 (getgroups): Likewise.
1179 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1180 (geteuid): Likewise.
1183 (getresgid): Likewise.
1184 (getresuid): Likewise.
1185 (getgroups): Likewise.
1186 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1187 (geteuid): Likewise.
1190 (getresgid): Likewise.
1191 (getresuid): Likewise.
1192 (getgroups): Likewise.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1195 (geteuid): Likewise.
1198 (getresgid): Likewise.
1199 (getresuid): Likewise.
1200 (getgroups): Likewise.
1201 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1202 (geteuid): Likewise.
1205 (getresgid): Likewise.
1206 (getresuid): Likewise.
1207 (getgroups): Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1210 (geteuid): Likewise.
1213 (getgroups): Likewise.
1216 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1217 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1218 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1219 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1220 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1221 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1222 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1223 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1224 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1225 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1226 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1227 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1228 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1230 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1237 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1245 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1247 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1250 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1252 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1255 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1257 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1258 Remove unused include.
1260 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1262 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1263 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1264 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1265 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1267 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1268 Helge Deller <deller@gmx.de>
1271 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1272 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1273 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1275 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1279 Remove macro definition.
1280 (__ashrdi3_v_glibc20): Likewise.
1281 (__lshrdi3_v_glibc20): Likewise.
1282 (__cmpdi2_v_glibc20): Likewise.
1283 (__ucmpdi2_v_glibc20): Likewise.
1284 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1285 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1286 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1287 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1288 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1289 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1291 2014-10-22 Roland McGrath <roland@hack.frob.com>
1293 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1294 old GNU extension [0] syntax.
1295 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1296 alloca rather than an array member with variable length.
1297 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1298 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1299 (parse_opt): ... here. Likewise use alloca there.
1300 Validate the -i argument before checking for rootness.
1301 (send_shutdown): New function, broken out of ...
1302 (parse_opt): ... here.
1304 2014-10-22 Roland McGrath <roland@hack.frob.com>
1306 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1307 macro to get at the _rt_local_ro field.
1308 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1309 ([PIC] case) or _dl_hwcap ([!PIC] case).
1310 * sysdeps/arm/setjmp.S: Likewise.
1312 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1313 * sysdeps/arm/configure.ac: New check to define it.
1314 * sysdeps/arm/configure: Regenerated.
1315 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1316 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1317 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1318 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1319 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1320 Use move/movt pair instead of a load.
1321 (LDST_GLOBAL): Macro removed.
1322 (LDR_GLOBAL): New macro replaces it.
1323 (LDR_HIDDEN): New macro.
1324 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1325 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1327 * setjmp/tst-setjmp-static.c: New file.
1328 * setjmp/Makefile (tests): Add it.
1329 (tests-static): New variable.
1331 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1334 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1336 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1339 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1341 2014-10-21 Roland McGrath <roland@hack.frob.com>
1343 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1345 2014-10-20 Roland McGrath <roland@hack.frob.com>
1347 * io/fts.c (dirent_not_directory): New function.
1348 (fts_build): Call it.
1350 2014-10-20 Roland McGrath <roland@hack.frob.com>
1352 * nptl/version.c (__nptl_main): Use normal __write rather than
1354 (banner): Update copyright years.
1356 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1358 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1359 * nptl/pthread_cond_timedwait.c: Likewise.
1360 * nptl/pthread_mutex_timedlock.c: Likewise.
1361 * nptl/sem_timedwait.c: Likewise.
1363 * sysdeps/nptl/bits/libc-lock.h
1364 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1365 (__libc_lock_init_recursive): Return void, not 0.
1366 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1367 (__libc_rwlock_init): Likewise.
1368 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1370 2014-10-20 Torvald Riegel <triegel@redhat.com>
1373 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1374 (__pthread_once_slow): ... here.
1375 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1376 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1378 2014-10-20 Torvald Riegel <triegel@redhat.com>
1381 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1382 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1383 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1384 * nptl/pthread_once.c (__pthread_once): Likewise.
1387 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1392 (writev): Use __libc_writev as strong name.
1393 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1394 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1396 2014-10-17 Roland McGrath <roland@hack.frob.com>
1398 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1400 * sysdeps/i386/nptl/tls.h
1401 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1402 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1404 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1405 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1406 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1407 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1408 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1409 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1411 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1412 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1414 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1416 (__pthread_mutex_init): ... here. Call it.
1417 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1418 Conditionalize PI cases on [__NR_futex].
1419 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1420 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1421 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1423 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1424 conditional on [SIGSETXID].
1425 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1426 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1427 is defined. Likewise for SIGSETXID.
1428 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1429 Conditionalize definitions on [SIGSETXID].
1430 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1431 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1432 unblocking on [SIGCANCEL].
1434 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1435 [__NR_set_robust_list].
1437 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1440 (do_compare): Likewise.
1442 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1445 * string/strcoll_l.c: Don't include stdio.h.
1446 (coll_seq): Remove members idxarr and rulearr.
1447 (get_next_seq_cached): Remove function.
1448 (get_next_seq): Likewise.
1449 (get_next_seq_nocache): Rename to get_next_seq.
1450 (do_compare): Remove function.
1451 (do_compare_nocache): Rename to do_compare.
1452 (STRCOLL): Remove weight and rules cache.
1454 2014-10-16 Roland McGrath <roland@hack.frob.com>
1456 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1457 * sysdeps/arm/sfp-machine.h: ... to here.
1458 * sysdeps/arm/Implies: Remove arm/soft-fp.
1460 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1462 * conform/data/sys/utsname.h-data (*_t): Allow.
1463 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1464 [POSIX] (WEXITED): Do not expect constant.
1465 [POSIX] (WSTOPPED): Likewise.
1466 [POSIX] (WNOHANG): Likewise.
1467 [POSIX] (WNOWAIT): Likewise.
1468 [POSIX] (siginfo_t): Do not expect type or elements.
1469 [POSIX] (pid_t): Do not expect type.
1470 [POSIX] (signal.h): Do not allow header.
1471 [POSIX] (sys/resource.h): Likewise.
1472 [POSIX] (si_*): Do not allow pattern.
1473 [POSIX] (W*): Likewise.
1474 [POSIX] (P_*): Likewise.
1475 [POSIX] (BUS_*): Likewise.
1476 [POSIX] (CLD_*): Likewise.
1477 [POSIX] (FPE_*): Likewise.
1478 [POSIX] (ILL_*): Likewise.
1479 [POSIX] (POLL_*): Likewise.
1480 [POSIX] (SEGV_*): Likewise.
1481 [POSIX] (SI_*): Likewise.
1482 [POSIX] (TRAP_*): Likewise.
1483 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1486 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1489 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1490 infinite loop when __recvmsg returns 0.
1492 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1494 * CANCEL-FCT-WAIVE: Remove file.
1495 * CANCEL-FILE-WAIVE: Likewise.
1498 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1499 instead of INTVARDEF.
1500 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1501 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1502 rtld_hidden_data_def instead of INTVARDEF.
1503 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1504 * elf/dl-deps.c (expand_dst): Likewise.
1505 * elf/dl-load.c (_dl_dst_count): Likewise.
1506 (_dl_dst_substitute): Likewise.
1507 (decompose_rpath): Likewise.
1508 (_dl_init_paths): Likewise.
1509 (open_path): Likewise.
1510 (_dl_map_object): Likewise.
1511 * elf/rtld.c (dl_main): Likewise.
1512 (process_dl_audit): Likewise.
1513 (process_envvars): Likewise.
1514 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1516 (__libc_enable_secure): Use rtld_hidden_proto.
1518 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1521 (add_path): New function broken out of _dl_rtld_di_serinfo.
1522 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1524 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1526 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1527 parentheses around macro arguments.
1528 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1529 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1530 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1532 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1533 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1534 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1535 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1536 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1537 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1539 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1540 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1541 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1542 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1543 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1544 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1545 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1546 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1547 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1548 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1550 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1551 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1553 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1554 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1555 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1557 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1558 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1559 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1560 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1561 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1562 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1563 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1565 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1566 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1567 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1568 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1569 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1570 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1572 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1573 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1574 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1575 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1576 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1577 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1586 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1589 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1590 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1591 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1592 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1593 (_FP_FRAC_SRS_1): Likewise.
1594 (_FP_FRAC_CLZ_1): Likewise.
1595 (_FP_MUL_MEAT_1_imm): Likewise.
1596 (_FP_MUL_MEAT_1_wide): Likewise.
1597 (_FP_MUL_MEAT_1_hard): Likewise.
1598 (_FP_SQRT_MEAT_1): Likewise.
1599 (_FP_FRAC_ASSEMBLE_1): Likewise.
1600 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1601 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1602 (__FP_CLZ_2): Likewise.
1603 (_FP_MUL_MEAT_2_wide): Likewise.
1604 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1605 (_FP_MUL_MEAT_2_gmp): Likewise.
1606 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1607 (_FP_SQRT_MEAT_2): Likewise.
1608 (_FP_FRAC_ASSEMBLE_2): Likewise.
1609 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1610 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1611 (_FP_FRAC_CLZ_4): Likewise.
1612 (_FP_MUL_MEAT_4_wide): Likewise.
1613 (_FP_MUL_MEAT_4_gmp): Likewise.
1614 (_FP_SQRT_MEAT_4): Likewise.
1615 (_FP_FRAC_ASSEMBLE_4): Likewise.
1616 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1617 * soft-fp/op-common.h (_FP_CMP): Likewise.
1618 (_FP_CMP_EQ): Likewise.
1619 (_FP_CMP_UNORD): Likewise.
1620 (_FP_TO_INT): Likewise.
1621 (_FP_FROM_INT): Likewise.
1622 [!__FP_CLZ] (__FP_CLZ): Likewise.
1623 (_FP_DIV_HELP_imm): Likewise.
1624 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1626 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1627 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1628 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1629 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1630 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1631 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1632 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1633 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1634 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1635 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1636 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1637 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1638 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1639 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1640 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1641 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1642 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1643 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1644 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1645 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1646 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1647 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1648 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1649 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1650 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1651 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1652 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1653 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1654 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1655 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1656 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1657 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1658 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1659 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1660 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1661 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1662 (FP_UNPACK_RAW_SP): Likewise.
1663 (FP_PACK_RAW_S): Likewise.
1664 (FP_PACK_RAW_SP): Likewise.
1665 (FP_UNPACK_S): Likewise.
1666 (FP_UNPACK_SP): Likewise.
1667 (FP_UNPACK_SEMIRAW_S): Likewise.
1668 (FP_UNPACK_SEMIRAW_SP): Likewise.
1669 (FP_PACK_S): Likewise.
1670 (FP_PACK_SP): Likewise.
1671 (FP_PACK_SEMIRAW_S): Likewise.
1672 (FP_PACK_SEMIRAW_SP): Likewise.
1673 (_FP_SQRT_MEAT_S): Likewise.
1674 (FP_CMP_S): Likewise.
1675 (FP_CMP_EQ_S): Likewise.
1676 (FP_CMP_UNORD_S): Likewise.
1677 (FP_TO_INT_S): Likewise.
1678 (FP_FROM_INT_S): Likewise.
1680 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1682 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1683 (FP_EX_INVALID_IMZ): Likewise.
1684 (FP_EX_INVALID_IMZ_FMA): Likewise.
1685 (FP_EX_INVALID_ISI): Likewise.
1686 (FP_EX_INVALID_ZDZ): Likewise.
1687 (FP_EX_INVALID_IDI): Likewise.
1688 (FP_EX_INVALID_SQRT): Likewise.
1689 (FP_EX_INVALID_CVI): Likewise.
1690 (FP_EX_INVALID_VC): Likewise.
1691 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1692 "invalid" exceptions.
1693 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1694 (_FP_ADD_INTERNAL): Likewise.
1695 (_FP_MUL): Likewise.
1696 (_FP_FMA): Likewise.
1697 (_FP_DIV): Likewise.
1698 (_FP_CMP_CHECK_NAN): Likewise.
1699 (_FP_SQRT): Likewise.
1700 (_FP_TO_INT): Likewise.
1701 (FP_EXTEND): Likewise.
1703 2014-10-09 Allan McRae <allan@archlinux.org>
1705 * po/fr.po: Update French translation from translation project.
1707 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1710 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1712 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1713 (__cxa_atexit): Use libc_hidden_proto.
1714 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1717 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1719 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1720 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1721 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1722 [!_ISOMAC] (__iswctype_internal): Likewise.
1723 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1724 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1726 (fcntl): Remove __fcntl_internal alias.
1727 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1728 __connect_internal alias.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1732 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1733 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1735 (_FP_CHECK_FLUSH_ZERO): New macro.
1736 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1737 (_FP_CMP): Likewise.
1738 (_FP_CMP_EQ): Likewise.
1739 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1741 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1742 (FP_TRUNC): Likewise.
1744 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1745 treated as invalid conversion, not as normal exponent.
1747 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1748 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1749 (_FP_CMP_EQ): Likewise.
1750 (_FP_CMP_UNORD): Likewise.
1751 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1752 (FP_CMP_EQ_D): Likewise.
1753 (FP_CMP_UNORD_D): Likewise.
1754 * soft-fp/extended.h (FP_CMP_E): Likewise.
1755 (FP_CMP_EQ_E): Likewise.
1756 (FP_CMP_UNORD_E): Likewise.
1757 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1758 (FP_CMP_EQ_Q): Likewise.
1759 (FP_CMP_UNORD_Q): Likewise.
1760 * soft-fp/single.h (FP_CMP_S): Likewise.
1761 (FP_CMP_EQ_S): Likewise.
1762 (FP_CMP_UNORD_S): Likewise.
1763 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1764 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1765 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1766 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1767 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1768 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1769 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1770 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1771 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1772 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1773 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1774 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1775 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1777 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1779 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1780 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1782 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1784 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1785 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1786 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1787 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1789 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1791 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1792 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1794 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1796 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1797 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1798 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1799 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1802 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1803 a subnormal result, set the underflow exception if trapping on
1804 underflow is enabled.
1805 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1806 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1807 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1809 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1810 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1811 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1812 * soft-fp/extendxftf2.c (__extendxftf2): Use
1813 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1815 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1816 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1817 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1818 FP_HANDLE_EXCEPTIONS.
1819 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1820 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1821 FP_HANDLE_EXCEPTIONS.
1822 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1823 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1824 FP_HANDLE_EXCEPTIONS.
1825 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1826 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1827 FP_HANDLE_EXCEPTIONS.
1829 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1832 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1833 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1835 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1836 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1838 (__adjtimex): Define using libc_hidden_ver.
1839 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1841 (ntp_gettime): Call __adjtimex directly.
1842 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1844 (ntp_gettimex): Call __adjtimex directly.
1845 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1846 __adjtimex_internal alias.
1848 2014-10-08 Roland McGrath <roland@hack.frob.com>
1851 * nscd/nscd.c (more_help): Rewrite list of tables collection
1852 using xstrdup and asprintf.
1854 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1856 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1857 Roland McGrath <roland@hack.frob.com>
1859 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1860 (do_lookup_unique): ... local function 'enter' here; update callers.
1862 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1864 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1865 compat_symbol calls on [SHARED].
1866 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1867 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1869 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1870 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1871 (oldsetrlimit): Remove.
1872 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1874 (lchown): New syscall entry.
1875 (oldsetrlimit): Remove.
1876 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1878 (oldsetrlimit): Remove.
1879 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1882 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1883 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1884 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1885 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1887 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1889 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1894 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1897 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1898 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1899 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1900 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1902 (__old_sem_post): Likewise.
1904 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1906 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1907 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1908 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1909 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1910 Use INLINE_VSYSCALL macro.
1911 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1912 __vdso_clock_gettime.
1913 * sysdeps/unix/sysv/linux/tile/init-first.c
1914 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1915 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1916 __vdso_clock_gettime.
1918 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1919 to set up frame more cleanly.
1921 * sysdeps/tile/memcmp.c: New file.
1923 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1925 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1926 * sysdeps/tile/tilegx/strcasestr.c: New file.
1927 * sysdeps/tile/tilegx/strnlen.c: New file.
1928 * sysdeps/tile/tilegx/strstr.c: New file.
1930 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1932 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1934 * nptl/tst-setuid3.c: Write errors to stdout.
1936 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1939 (preload): New functions broken out of _dl_map_object_deps.
1940 (_dl_map_object_deps): Remove a nested function. Update call sites.
1942 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1945 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1946 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1948 2014-10-01 Steve Ellcey <sellcey@mips.com>
1950 * sysdeps/mips/strcmp.S: New.
1952 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1955 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1957 (mkdirat): Likewise.
1958 (readlinkat): Likewise.
1959 (renameat): Likewise.
1960 (symlinkat): Likewise.
1961 (unlinkat): Likewise.
1962 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1963 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1964 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1965 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1966 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1967 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1968 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1970 2014-09-30 Will Newton <will.newton@linaro.org>
1972 * math/math.h: Define long double math functions if
1973 _LIBC_TEST is defined.
1974 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1976 * localedata/Makefile: Move assignment to tests-special
1977 into an ifdef testing run-built-tests.
1978 * timezone/Makefile: Likewise.
1980 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1983 with $(BASH) not $(SHELL).
1985 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1986 Matthew LeGendre <legendre1@llnl.gov>
1989 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1992 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1994 * stdio-common/printf_fp.c
1995 (hack_digit): New function, broken out of ...
1996 (__printf_fp): ... local function here. Update call sites.
1997 hack_digit now takes an additional parameter that is a pointer
1998 to a struct of the referenced locals. Those locals moved inside
1999 the struct and references updated.
2001 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2003 * aclocal.m4: Require autoconf 2.69.
2004 * configure: Regenerated.
2005 * sysdeps/aarch64/configure: Likewise.
2006 * sysdeps/alpha/configure: Likewise.
2007 * sysdeps/arm/armv7/configure: Likewise.
2008 * sysdeps/arm/configure: Likewise.
2009 * sysdeps/ia64/configure: Likewise.
2010 * sysdeps/mach/configure: Likewise.
2011 * sysdeps/mips/configure: Likewise.
2012 * sysdeps/s390/configure: Likewise.
2013 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2016 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2018 * sysdeps/ia64/configure.ac: Likewise.
2020 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2023 specify symbol version for ld.so. Do not include entry for
2025 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2030 * Makeconfig [$(build-shared) = yes]
2031 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2033 [$(build-shared) = yes && $(soversions.mk-done) = t]
2034 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2035 [$(build-shared) = yes && $(soversions.mk-done) = t]
2036 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2038 [$(build-shared) = yes && $(soversions.mk-done) = t]
2039 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2041 [$(build-shared) = yes && $(soversions.mk-done) = t]
2042 (common-generated): Don't append gnu/lib-names.h and
2043 gnu/lib-names.stmp here.
2044 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2045 (lib-names-h-abi): New variable.
2046 [$(build-shared) = yes && $(soversions.mk-done) = t]
2047 (lib-names-stmp-abi): Likewise.
2048 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2049 abi-variants] (before-compile): Append
2050 $(common-objpfx)$(lib-names-h-abi).
2051 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2052 abi-variants] (common-generated): Append gnu/lib-names.h.
2053 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2054 abi-variants] (install-others-nosubdir): Depend on
2055 $(inst_includedir)/$(lib-names-h-abi).
2056 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2057 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2058 [$(build-shared) = yes && $(soversions.mk-done) = t]
2059 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2060 [$(build-shared) = yes && $(soversions.mk-done) = t]
2061 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2062 [$(build-shared) = yes && $(soversions.mk-done) = t]
2063 (common-generated): Append $(lib-names-h-abi) and
2064 $(lib-names-stmp-abi).
2065 * scripts/lib-names.awk: Do not handle multi being set.
2066 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2068 (abi-lp64_be-ld-soname): Likewise.
2069 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2071 (abi-hard-ld-soname): Likewise.
2072 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2073 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2075 (abi-o32_hard-ld-soname): Likewise.
2076 (abi-o32_soft_2008-ld-soname): Likewise.
2077 (abi-o32_hard_2008-ld-soname): Likewise.
2078 (abi-n32_soft-ld-soname): Likewise.
2079 (abi-n32_hard-ld-soname): Likewise.
2080 (abi-n32_soft_2008-ld-soname): Likewise.
2081 (abi-n32_hard_2008-ld-soname): Likewise.
2082 (abi-n64_soft-ld-soname): Likewise.
2083 (abi-n64_hard-ld-soname): Likewise.
2084 (abi-n64_soft_2008-ld-soname): Likewise.
2085 (abi-n64_hard_2008-ld-soname): Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2088 (abi-64-v2-ld-soname): Likewise.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2091 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2093 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2095 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2097 (abi-64-ld-soname): Likewise.
2098 (abi-x32-ld-soname): Likewise.
2099 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2101 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2103 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2106 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2107 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2108 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2111 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2112 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2113 syscall entry for GLIBC_2.2 symbol version.
2114 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2117 (setrlimit): Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2121 2014-09-23 Will Newton <will.newton@linaro.org>
2123 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2124 _LINUX_ARM_SYSDEP_H include guard too.
2125 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2128 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2130 * sysdeps/unix/sysv/linux/eventfd.c:
2131 Make first argument unsigned.
2132 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2133 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2135 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2137 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2138 * socket/sys/socket.h: Likewise
2139 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2141 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2143 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2145 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2147 * time/tst-ftime.c: New test.
2148 * time/Makefile (tests): Add tst-ftime.
2150 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2152 * soft-fp/extended.h: Fix comment formatting.
2153 * soft-fp/op-1.h: Likewise.
2154 * soft-fp/op-2.h: Likewise.
2155 * soft-fp/op-4.h: Likewise.
2156 * soft-fp/op-8.h: Likewise.
2157 * soft-fp/op-common.h: Likewise.
2158 * soft-fp/soft-fp.h: Likewise.
2160 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2162 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2165 * Makeconfig (soversions-default-setname): Remove variable.
2166 ($(common-objpfx)soversions.i): Don't pass default_setname to
2168 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2169 oldest_abi to abi-versions.awk.
2170 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2171 * config.make.in (oldest-abi): Remove variable.
2172 * configure.ac (--enable-oldest-abi): Remove configure option.
2173 * configure: Regenerated.
2174 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2176 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2177 * scripts/soversions.awk: Do not handle default_setname variable.
2178 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2180 * sysdeps/mach/hurd/configure: Regenerated.
2181 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2183 * sysdeps/unix/sysv/linux/configure: Regenerated.
2185 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2187 * elf/Makefile (CFLAGS-interp.c): Remove.
2188 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2190 * elf/interp.c: Include generated runtime-linker.h
2192 * Makerules (lib%.so): Don't include $(+interp) in
2194 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2195 * dlfcn/eval.c: Remove file.
2197 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2201 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2205 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2207 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2208 Jakub Jelinek <jakub@redhat.com>
2211 * libio/stdio.h: Check definition of __fortify_function
2212 instead of __extern_always_inline to include bits/stdio2.h.
2213 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2214 check if __extern_always_inline is defined.
2215 [__USE_MISC || __USE_XOPEN]: Likewise.
2216 [__USE_ISOC99] Likewise.
2217 * misc/sys/cdefs.h (__fortify_function): Define only if
2218 __extern_always_inline is defined.
2219 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2220 __extern_always_inline and __extern_inline only for g++-4.3
2221 and newer or a compatible gcc.
2223 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2226 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2227 last change to handle zero prefix length.
2229 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2234 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2237 2014-09-13 Allan McRae <allan@archlinux.org>
2239 * po/ru.po: Update Russian translation from translation project.
2241 2014-09-12 Roland McGrath <roland@hack.frob.com>
2243 * locale/programs/locale.c (show_locale_vars): Inline local function
2244 into its sole call site. Clean up some style nits.
2245 (print_item): New function, broken out of ...
2246 (show_info): ... local function here. Clean up style nits.
2248 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2250 (set_class_defaults): ... local function set_default here.
2251 Define set_default as a macro locally to pass constant parameters.
2252 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2253 rather than a shared local.
2255 * stdlib/rpmatch.c (try): New function, broken out of ...
2256 (rpmatch): ... local function here. Also, prototypify definition.
2258 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2260 * scripts/soversions.awk: Do not handle configuration names.
2261 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2262 vendor and os variables to soversions.awk.
2263 * configure.ac: Do not modify gnu-* host_os.
2264 * configure: Regenerated
2265 * shlib-versions: Remove first column with configuration names.
2266 * nptl/shlib-versions: Likewise.
2267 * nptl_db/shlib-versions: Likewise.
2268 * sysdeps/hppa/shlib-versions: Likewise.
2269 * sysdeps/m68k/shlib-versions: Likewise.
2270 * sysdeps/mach/hurd/shlib-versions: Likewise.
2271 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2272 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2273 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2274 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2275 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2276 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2277 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2278 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2281 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2282 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2283 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2284 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2286 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2288 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2291 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2294 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2296 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2298 * shlib-versions: Remove OS-specific entries. Moved to files in
2300 * sysdeps/mach/hurd/shlib-versions: New file.
2301 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2303 * nptl/shlib-versions: Remove architecture-specific entries.
2304 Moved to files in sysdeps.
2305 * shlib-versions: Likewise.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2308 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2309 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2310 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2313 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2314 (UDP_NO_CHECK6_RX): Likewise.
2316 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2318 * sysdeps/posix/sysconf.c (__sysconf): Spell
2319 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2321 2014-08-12 Florian Weimer <fweimer@redhat.com>
2323 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2325 * iconv/Versions (__gconv_transliterate): Export for use from
2327 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2328 (struct __gconv_trans_data, __gconv_trans_fct,
2329 __gconv_trans_context_fct, __gconv_trans_query_fct,
2330 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2332 (struct __gconv_step_data): Remove __trans member.
2333 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2334 longer hidden. Remove unused trans_data argument.
2335 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2336 (__gconv_translit_find): Remove declaration.
2337 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2339 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2340 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2341 trans_data argument. Add hidden definition.
2342 (__gconv_translit_find): Remove.
2343 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2344 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2345 * iconv/skeleton.c: Remove transliteration initialization.
2346 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2347 __gconv_step_data initialization.
2348 * libio/iofwide.c (__libio_translit_): Remove.
2349 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2350 * wcsmbs/btowc.c (__btowc): Likewise.
2351 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2352 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2353 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2354 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2355 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2356 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2357 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2358 * wcsmbs/wctob.c (wctob): Likewise.
2360 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2363 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2364 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2366 * sysdeps/x86/Makefile: Adjust.
2368 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2369 Roland McGrath <roland@hack.frob.com>
2371 * locale/weight.h: Add include guard.
2372 (findidx): Make static rather than auto; take new parameters
2373 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2374 * locale/weightwc.h: Likewise.
2375 * posix/fnmatch_loop.c
2376 (FCT): Change type of EXTRA from int32_t to wint_t.
2377 Don't include either header inside the function.
2378 Call FINDIDX rather than findidx, and pass new arguments.
2379 #undef FINDIDX at the end of the file.
2380 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2381 FINDIDX before including fnmatch_loop.c for the non-wide version.
2382 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2383 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2384 for the wide version.
2385 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2386 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2387 Pass new arguments to findidx.
2388 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2389 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2390 Don't #include it inside the function. Pass new arguments to findidx.
2391 * posix/regex_internal.h
2392 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2393 (re_string_elem_size_at): Don't #include it inside the function.
2394 Pass new arguments to findidx.
2395 * string/strcoll_l.c: #include WEIGHT_H at top level.
2396 (get_next_seq): Don't #include it inside the function.
2397 Pass new arguments to findidx.
2398 (get_next_seq_nocache): Likewise.
2399 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2400 (STRXFRM): Don't #include it inside the function.
2401 Pass new arguments to findidx.
2403 2014-09-11 Florian Weimer <fweimer@redhat.com>
2406 * malloc/malloc.c (unlink): Turn asserts into a call to
2409 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2412 * libio/wfileops (do_ftell_wide): Free OUT.
2414 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2416 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2418 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2421 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2422 group if the current group is empty.
2424 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426 * benchtests/bench-memset.c (test_main): Add more test from size
2427 from 32 to 512 bytes.
2428 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2429 Add POWER8 memset object.
2430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2431 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2432 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2434 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2436 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2437 multiarch POWER8 memset optimization.
2438 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2439 POWER8 memset optimization.
2441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2442 Remove bzero multiarch objects.
2443 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2444 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2445 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2448 [__bzero]: Redefine to specific name.
2449 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2450 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2453 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2456 2014-09-10 Florian Weimer <fweimer@redhat.com>
2458 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2459 warnings into errors.
2461 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2462 __cxa_thread_atexit_impl prototype.
2464 2014-09-09 Steve Ellcey <sellcey@mips.com>
2466 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2467 Fix capitalization of error message.
2469 2014-09-09 Steve Ellcey <sellcey@mips.com>
2471 * sysdeps/mips/preconfigure: Modify ABI tests.
2473 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2475 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2477 2014-09-07 Roland McGrath <roland@hack.frob.com>
2478 Carlos O'Donell <carlos@systemhalted.org>
2480 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2481 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2482 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2483 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2484 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2485 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2486 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2487 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2488 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2489 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2490 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2491 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2492 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2493 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2494 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2495 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2496 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2497 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2498 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2499 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2500 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2501 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2502 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2503 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2504 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2505 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2506 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2507 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2508 Deconditionalize the code that was previously under [RESET_PID].
2509 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2510 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2511 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2512 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2515 2014-09-08 Allan McRae <allan@archlinux.org>
2517 * version.h (RELEASE): Set to "development".
2518 (VERSION): Set to "2.20.90"
2520 2014-09-07 Allan McRae <allan@archlinux.org
2522 * version.h (RELEASE): Set to "stable".
2523 (VERSION): Set to "2.20"
2524 * include/features.h (__GLIBC_MINOR__): Set to 20.
2526 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2529 * po/ko.po: Update Korean translation from translation project.
2531 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2534 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2535 macro for handling signed relocations.
2537 2014-09-03 Florian Weimer <fweimer@redhat.com>
2540 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2541 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2543 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2544 * iconvdata/ibm935.c (BODY): Likewise.
2545 * iconvdata/ibm937.c (BODY): Likewise.
2546 * iconvdata/ibm939.c (BODY): Likewise.
2547 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2549 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2551 * iconvdata/run-iconv-test.sh: New test loop for checking for
2554 2014-09-02 Khem Raj <raj.khem@gmail.com>
2556 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2559 2014-09-01 Allan McRae <allan@archlinux.org>
2561 * po/eo.po: Update Esperanto translation from translation project.
2563 * po/ca.po: Update Catalan translation from translation project.
2565 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2567 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2570 2014-08-27 Mark Wielaard <mjw@redhat.com>
2573 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2574 to call set_thread_area instead of hand written asm.
2575 (__NR_set_thread_area): Removed define.
2576 (TLS_FLAG_WRITABLE): Likewise.
2577 (__ASSUME_SET_THREAD_AREA): Remove check.
2578 (TLS_EBX_ARG): Remove define.
2579 (TLS_LOAD_EBX): Likewise.
2581 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2583 Simplify atomicity of socket creation in bind.
2585 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2586 looking up the name after linking the file.
2588 2014-08-27 Allan McRae <allan@archlinux.org>
2590 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2592 2014-08-26 Florian Weimer <fweimer@redhat.com>
2595 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2596 trans_compare, open_translit, __gconv_translit_find):
2597 Remove module loading code.
2599 2014-08-26 Allan McRae <allan@archlinux.org>
2601 * po/vi.po: Update Vietnamese translation from translation project.
2603 * po/uk.po: Update Ukrainian translation from translation project.
2605 * po/fr.po: Update French translation from translation project.
2607 * po/ru.po: Update Russian translation from translation project.
2609 * po/pl.po: Update Polish translation from translation project.
2611 * po/cs.po: Update Czech translation from translation project.
2613 * po/de.po: Update German translation from translation project.
2615 * po/bg.po: Update Bulgarian translation from translation project.
2617 * po/sv.po: Update Sweedish translation from translation project.
2619 * po/nl.po: Update Dutch translation from translation project.
2621 * po/es.po: Update Spanish translation from translation project.
2623 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2625 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2627 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2628 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2629 (CPPFLAGS-iconvconfig): Likewise.
2630 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2632 * include/libc-symbols.h: Remove unnecessary check for
2634 * nptl/pthreadP.h: Likewise.
2635 * sysdeps/aarch64/setjmp.S: Likewise.
2636 * sysdeps/alpha/setjmp.S: Likewise.
2637 * sysdeps/arm/sysdep.h: Likewise.
2638 * sysdeps/i386/setjmp.S: Likewise.
2639 * sysdeps/m68k/setjmp.c: Likewise.
2640 * sysdeps/posix/getcwd.c: Likewise.
2641 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2643 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2644 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2645 * sysdeps/sh/sh3/setjmp.S: Likewise.
2646 * sysdeps/sh/sh4/setjmp.S: Likewise.
2647 * sysdeps/unix/alpha/sysdep.h: Likewise.
2648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2650 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2651 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2656 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2659 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2661 * sysdeps/x86_64/setjmp.S: Likewise.
2663 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2666 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2668 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2669 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2671 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2673 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2676 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2677 and __x86_64__ when disabling x87 inline functions.
2679 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2683 asm statement with __cpuid_count.
2685 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2687 * configure.ac: Change __ehdr_start code to dereference the struct.
2688 Run readelf on the output to look for relocations.
2689 * configure: Regenerated.
2691 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2694 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2696 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2698 2014-08-12 Roland McGrath <roland@hack.frob.com>
2700 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2702 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2705 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2706 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2708 2014-08-12 Sean Anderson <seanga2@gmail.com>
2710 * malloc/malloc.c: Fix typo in comment.
2712 2014-08-09 Allan McRae <allan@archlinux.org>
2714 * Regenerate libc.po.
2716 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2718 * intl/tst-gettext2.sh: Check every lang file for creation.
2720 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2722 * sysdeps/aarch64/fpu/math_private.h
2723 (libc_feholdsetround_noex_aarch64_ctx): New function.
2725 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2727 * sysdeps/arm/armv6/strcpy.S (strcpy):
2728 Fix performance issue in misaligned cases.
2730 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2733 Move definition from termios.h.
2734 (struct termio): Likewise.
2735 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2736 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2737 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2738 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2740 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2741 Move definition to ioctl-types.h
2742 (struct termio): Likewise.
2743 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2744 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2745 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2746 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2749 2014-08-05 Richard Henderson <rth@redhat.com>
2751 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2753 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2755 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2756 Use __feraiseexcept.
2757 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2758 Protect libm symbols with IS_IN_libm.
2760 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2762 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2764 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2766 2014-08-04 Will Newton <will.newton@linaro.org>
2768 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2771 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2773 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2774 variants for each function.
2776 2014-08-04 Roland McGrath <roland@hack.frob.com>
2778 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2780 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2781 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2783 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2784 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2785 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2786 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2787 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2788 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2789 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2790 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2791 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2792 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2819 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2820 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2821 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2822 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2823 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2824 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2825 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2826 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2827 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2828 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2829 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2830 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2831 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2832 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2833 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2834 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2835 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2837 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2838 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2840 2014-08-04 Roland McGrath <roland@hack.frob.com>
2842 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2843 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2844 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2845 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2846 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2847 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2849 2014-08-04 Roland McGrath <roland@hack.frob.com>
2851 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2852 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2853 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2854 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2856 2014-08-04 Roland McGrath <roland@hack.frob.com>
2858 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2859 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2860 (__libc_vfork): Define function under this name.
2861 (__vfork): Define as an alias.
2862 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2863 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2865 2014-08-04 Roland McGrath <roland@hack.frob.com>
2867 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2868 that was previously under [RESET_PID].
2869 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2871 2014-08-04 Andreas Schwab <schwab@suse.de>
2873 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2875 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2877 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2880 2014-08-01 Roland McGrath <roland@hack.frob.com>
2882 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2884 2014-08-01 Richard Henderon <rth@redhat.com>
2886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2887 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2888 typo in exact zero test.
2889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2893 2014-08-01 Roland McGrath <roland@hack.frob.com>
2895 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2896 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2897 * sysdeps/arm/sysdep.h: ... here.
2898 [!__ASSEMBLER__]: Include <stdint.h>.
2900 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2902 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2903 (HAVE_WCTYPE_H): Likewise.
2904 (HAVE_ISWCTYPE): Likewise.
2905 (ENABLE_NLS): Likewise.
2906 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2907 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2909 * posix/regex_internal.c: Check if DEBUG is defined and is
2912 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2913 (HAVE_MBSRTOWCS): Likewise.
2914 * posix/fnmatch.c: Include string.h unconditionally.
2916 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2918 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2921 2014-07-31 Roland McGrath <roland@hack.frob.com>
2923 * sysdeps/generic/safe-fatal.h: New file.
2924 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2925 * nptl/forward.c: Include it.
2926 (__pthread_unwind): Use __safe_fatal as default action, rather
2927 than a bogus use of INTERNAL_SYSCALL that could never work.
2929 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2930 * configure.ac (libc_cv_builtin_trap): New test.
2931 * configure: Regenerated.
2932 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2933 (ABORT_INSTRUCTION): Define using __builtin_trap.
2935 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2936 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2937 * sysdeps/nptl/nptl-signals.h: New file.
2938 * nptl/pthreadP.h: Include <nptl-signals.h>.
2940 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2942 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2943 (ONE_DIRECTION): Define.
2944 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2945 (ONE_DIRECTION): Define.
2946 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2947 (ONE_DIRECTION): Define.
2949 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2951 * sysdeps/s390/Makefile: Delete file.
2952 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2953 * sysdeps/s390/__longjmp.c: Delete file.
2954 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2955 Remove fields __flags and __reserved.
2956 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2958 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2959 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2960 * sysdeps/s390/rtld-setjmp.S: Likewise.
2961 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2962 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2963 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2964 * sysdeps/s390/s390-32/setjmp.S: ... here.
2966 (__sigsetjmp): Remove setting __flags field.
2967 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2968 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2969 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2970 * sysdeps/s390/s390-64/setjmp.S: ... here.
2972 (__sigsetjmp): Remove setting __flags field.
2973 * sysdeps/s390/setjmp.S: Delete file.
2974 * sysdeps/s390/sigjmp.c: Likewise.
2975 * sysdeps/s390/v1-longjmp.c: Likewise.
2976 * sysdeps/s390/v1-setjmp.h: Likewise.
2977 * sysdeps/s390/v1-sigjmp.c: Likewise.
2978 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2979 Remove v1-longjmp_chk.
2980 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2981 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2982 Include debug/longjmp_chk.c and add versioning.
2983 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2984 Include nptl/pt-longjmp.c and add versioning.
2985 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2986 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2987 Include __longjmp.c.
2988 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2990 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2991 (__getcontext): Remove setting __flags field.
2993 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2994 Don't restore upper high grps.
2995 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2997 (__swapcontext): Remove setting uc_flags field.
2998 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3000 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3001 Include __longjmp.c.
3002 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3004 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3005 (__getcontext): Remove setting __flags field.
3007 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3008 (__swapcontext): Remove setting uc_flags field.
3009 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3011 Remove fields uc_high_gprs and __reserved.
3012 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3013 New file with reverted content.
3014 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3015 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3017 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3020 2014-07-31 Andreas Schwab <schwab@suse.de>
3022 * config.h.in (HAVE_IFUNC): Define to 0.
3023 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3026 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3029 memmove-avx-unaligned, memcpy-avx-unaligned and
3030 mempcpy-avx-unaligned.
3031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3032 Add tests for AVX memcpy functions.
3033 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3034 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3036 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3037 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3039 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3040 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3042 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3043 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3044 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3046 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3049 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3052 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3055 * manual/llio.texi: Add section about open file description locks.
3056 * manual/examples/ofdlocks.c: Example of open file description
3058 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3059 F_OFD_SETLK, and F_OFD_SETLKW.
3061 2014-07-23 Allan McRae <allan@archlinux.org>
3063 * po/es.po: Update Spanish translation from translation project.
3065 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3067 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3069 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3072 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3073 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3074 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3076 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3079 * math/fesetenv.c (__fesetenv)
3080 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3081 * math/feupdateenv.c (__feupdateenv)
3082 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3084 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3086 (__ASSUME_SOCKETCALL): Do not define.
3088 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3089 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3090 (__ASSUME_SOCKETCALL): Do not define.
3091 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3092 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3093 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3094 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3095 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3096 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3097 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3098 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3101 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3102 (__ASSUME_SOCKETCALL): Do not define.
3103 (__ASSUME_IPC64): Define unconditionally.
3104 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3105 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3106 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3107 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3108 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3109 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3110 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3113 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3114 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3115 (__ASSUME_SOCKETCALL): Do not define.
3116 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3117 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3118 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3119 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3120 (__ASSUME_REQUEUE_PI): Define unconditionally.
3121 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3122 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3123 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3124 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3125 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3126 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3128 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3129 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3130 (__ASSUME_SOCKETCALL): Do not define.
3131 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3132 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3133 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3134 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3135 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3136 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3138 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3139 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3140 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3141 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3142 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3143 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3144 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3145 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3146 (__ASSUME_GETCPU_SYSCALL): Likewise.
3148 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3149 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3150 cases for individual architectures.
3151 * sysdeps/gnu/configure: Regenerated.
3152 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3153 LIBC_SLIBDIR_RTLDDIR.
3154 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3155 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3156 LIBC_SLIBDIR_RTLDDIR.
3157 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3159 LIBC_SLIBDIR_RTLDDIR.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3162 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3163 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3165 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3168 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3169 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3170 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3173 * sysdeps/aarch64/shlib-versions: Move to ...
3174 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3175 * sysdeps/alpha/shlib-versions: Move to ...
3176 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3177 * sysdeps/arm/shlib-versions: Move to ...
3178 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3179 * sysdeps/hppa/shlib-versions: Move all contents except for
3180 libgcc_s entry to ...
3181 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3183 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3184 * sysdeps/ia64/shlib-versions: Move to ...
3185 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3187 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3188 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3189 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3190 * sysdeps/microblaze/shlib-versions: Move to ...
3191 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3192 * sysdeps/mips/shlib-versions: Move to ...
3193 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3195 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3196 * sysdeps/tile/shlib-versions: Move to ...
3197 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3198 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3200 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3201 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3203 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3205 2014-07-17 Will Newton <will.newton@linaro.org>
3207 * sysdeps/arm/bits/atomic.h
3208 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3209 (__arch_compare_and_exchange_bool_16_int): Likewise.
3210 (__arch_compare_and_exchange_bool_64_int): Likewise.
3212 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3213 into an #else block.
3215 2014-07-16 Roland McGrath <roland@hack.frob.com>
3217 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3218 just Linux configurations. Test empirically that the compiler sets
3219 __ARM_EABI__, rather than using the tuple to decide.
3220 * sysdeps/arm/preconfigure: Regenerated.
3221 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3222 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3223 contents appended ...
3224 * sysdeps/arm/configure.ac: ... here.
3225 * sysdeps/arm/configure: Regenerated.
3227 2014-07-15 Roland McGrath <roland@hack.frob.com>
3229 * nptl/pthread_kill.c: New file.
3230 * nptl/pthread_sigmask.c: New file.
3231 * nptl/pthread_sigqueue.c: New file.
3233 * sysdeps/nptl/lowlevellock.h: New file.
3234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3235 * sysdeps/nptl/lowlevellock-futex.h: New file.
3237 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3238 Remove dead declarations.
3240 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3242 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3243 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3245 * sysdeps/x86_64/configure.ac: Likewise.
3246 * sysdeps/i386/configure: Regenerated.
3247 * sysdeps/x86_64/configure: Likewise.
3248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3249 memset-avx2 only if config-cflags-avx2 is yes.
3250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3251 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3253 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3254 only if HAVE_AVX2_SUPPORT is defined.
3255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3257 2014-07-14 Alan Modra <amodra@gmail.com>
3260 * elf/elf.h (DT_PPC64_NUM): Correct value.
3261 * NEWS: Add to fixed bug list.
3263 2014-07-13 Jim Meyering <meyering@fb.com>
3266 regex: don't deref NULL upon heap allocation failure
3267 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3268 failure in one more place.
3269 To trigger the segfault, configure grep -with-included-regex,
3270 build it, and run these commands:
3271 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3273 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3275 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3277 2014-07-11 Richard Henderson <rth@redhat.com>
3279 * sysdeps/aarch64/libm-test-ulps: Update.
3281 2014-07-10 Florian Weimer <fweimer@redhat.com>
3284 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3285 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3286 (__nptl_setxid): Initialize error member. Call
3287 __nptl_setxid_error.
3288 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3289 * nptl/descr.h (struct xid_command): Add error member.
3290 * nptl/tst-setuid3.c: New file.
3291 * nptl/Makefile (tests): Add it.
3293 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3297 (__lll_trylock): Use __lll_base_trylock.
3298 (__lll_cond_trylock): Likewise.
3300 2014-07-10 Roland McGrath <roland@hack.frob.com>
3302 * nptl/pthread_create.c (start_thread): Use atomic_or and
3303 lll_futex_wake directly rather than lll_robust_dead.
3304 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3305 (lll_robust_dead): Macro removed.
3306 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3307 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3308 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3309 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3310 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3311 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3312 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3313 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3314 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3316 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3317 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3318 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3319 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3322 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3323 Use atomic_compare_and_exchange_val_acq directly rather than
3325 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3326 (__lll_robust_trylock, lll_robust_trylock): Removed.
3327 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3328 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3329 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3332 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3333 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3334 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3335 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3336 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3339 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3342 2014-07-02 Florian Weimer <fweimer@redhat.com>
3344 * manual/locale.texi (Locale Names): New section documenting
3345 locale name syntax. Adjust menu and node chaining accordingly.
3346 (Choosing Locale): Reference Locale Names, Locale Categories.
3347 Mention setting LC_ALL=C. Reflect that name syntax is now
3349 (Locale Categories): New section title. Reference Locale Names.
3350 LC_ALL is an environment variable, but not a category.
3351 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3352 description, now in Locale Name. Reference that section. Locale
3353 name syntax is now documented.
3355 2014-07-02 Florian Weimer <fweimer@redhat.com>
3358 * locale/findlocale.c (name_present, valid_locale_name): New
3360 (_nl_find_locale): Use the loc_name variable to store name
3361 candidates. Call name_present and valid_locale_name to check and
3362 validate locale names. Return an error if the locale is invalid.
3364 2014-07-02 Florian Weimer <fweimer@redhat.com>
3366 * locale/setlocale.c (setlocale): Use strdup for allocating
3367 composite name copy.
3369 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3371 Sync up with gnulib.
3372 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3373 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3374 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3375 and _GL_ARG_NONNULL.
3376 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3377 [!_LIBC]: Include code for Windows and Cygwin.
3378 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3379 Include prototype for int strerror_r.
3380 [!_LIBC] (is_open): New function.
3381 (flush_stdout): New function.
3382 (print_errno_message): Use it.
3384 (error_at_line): Likewise.
3385 (error_tail) Add function attribute macros. Use
3388 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3390 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3392 * io/ftw.c: Include sys/param.h unconditionally.
3394 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3397 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3399 (freecache): New function to free CACHE on exit.
3401 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3404 2014-07-09 David S. Miller <davem@davemloft.net>
3406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3408 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3409 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3410 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3411 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3412 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3413 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3414 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3415 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3416 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3417 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3418 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3419 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3420 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3422 2014-07-09 Andreas Schwab <schwab@suse.de>
3424 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3426 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3427 (do_test): Likewise.
3429 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3431 2014-07-09 Will Newton <will.newton@linaro.org>
3433 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3434 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3435 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3436 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3437 * sysdeps/hppa/start.S (_start): Likewise.
3439 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3441 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3443 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3446 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3448 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3449 after checking that it is non-NULL.
3451 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3453 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455 * sysdeps/powerpc/memmove.c: Remove file.
3456 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3457 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3459 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3461 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3462 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3463 string memmove instead of removed powerpc one.
3465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3466 [weak_alias]: Fix compiler warning due trailing data.
3467 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3468 [weak_alias]: Likewise.
3469 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3470 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3473 (__libc_ifunc_impl_list): Add memmove functions.
3475 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3477 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3479 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3481 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3483 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3485 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3487 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3489 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3491 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3493 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3495 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3497 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3499 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3501 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3503 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3505 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3507 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3509 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3512 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3515 to avoid alignment traps in non-cacheable memory.
3516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3521 file: multiarch power7 memmove.
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3523 multiarch default memmove.
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3525 multiarch memove for powerpc32/power4.
3527 * string/bcopy.c: Use full path to include memmove.c.
3528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3530 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3531 bcopy for powerpc64.
3532 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3533 bcopy for powerpc64.
3534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3535 and memmove implementations.
3536 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3537 optimized multiarch memmove for POWER7/powerpc64.
3538 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3539 default multiarch memmove for powerpc64.
3540 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3541 multiarch for powerpc64.
3542 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3543 for POWER7/powerpc64.
3544 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3545 memmove for POWER7/powerpc64.
3547 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3550 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3551 __ELF_NATIVE_CLASS equal to 64.
3553 2014-07-07 Roland McGrath <roland@hack.frob.com>
3555 * sysdeps/nptl/lowlevellock.h: File removed.
3557 * NEWS: NPTL is no longer an add-on!
3558 * nptl/internaltypes.h: Moved ...
3559 * sysdeps/nptl/internaltypes.h: ... here.
3560 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3561 * sysdeps/nptl/fork.c: Likewise.
3562 * sysdeps/nptl/gai_misc.h: Likewise.
3563 * sysdeps/nptl/librt-cancellation.c: Likewise.
3564 * sysdeps/nptl/jmp-unwind.c: Likewise.
3565 * sysdeps/nptl/setxid.h: Likewise.
3566 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3567 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3568 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3569 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3570 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3571 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3572 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3573 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3574 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3575 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3576 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3577 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3578 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3579 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3580 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3581 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3582 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3583 * nptl/Makeconfig: Moved ...
3584 * sysdeps/nptl/Makeconfig: ... here.
3585 * nptl/configure: File removed.
3586 * nptl/ANNOUNCE: File removed.
3587 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3588 * sysdeps/unix/sysv/linux/configure: Regenerated.
3590 * nptl/Makefile (routines): Add libc_pthread_init,
3591 libc_multiple_threads, register-atfork and unregister-atfork.
3592 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3593 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3594 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3595 pthread-pi-defines.sym, structsem.sym.
3596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3597 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3598 [$(subdir) = nptl] (tests): Add tst-setgetname.
3599 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3600 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3601 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3602 [!LIBC_SIGACTION]: Remove aliases.
3603 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3604 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3606 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3607 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3608 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3611 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3612 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3613 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3614 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3615 __libc_allocate_rtsig_private.
3616 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3617 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3618 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3619 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3620 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3621 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3622 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3623 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3624 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3625 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3626 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3627 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3628 * nptl/internaltypes.h: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3630 * sysdeps/nptl/jmp-unwind.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3632 * nptl/libc-lowlevellock.c: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3634 * nptl/libc_multiple_threads.c: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3636 * nptl/libc_pthread_init.c: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3638 * nptl/lowlevelbarrier.sym: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3640 * nptl/lowlevelcond.sym: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3642 * nptl/lowlevellock.c: ... here.
3643 * nptl/lowlevellock.h: Moved ...
3644 * sysdeps/nptl/lowlevellock.h: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3646 * nptl/lowlevelrobustlock.c: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3648 * nptl/lowlevelrobustlock.sym: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3650 * nptl/lowlevelrwlock.sym: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3652 * nptl/pt-fork.c: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3654 * nptl/pthread-pi-defines.sym: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3656 * nptl/pthread_attr_getaffinity.c: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3658 * nptl/pthread_attr_setaffinity.c: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3660 * nptl/pthread_mutex_cond_lock.c: ... here.
3661 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3664 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3665 * nptl/pthread_once.c: ... here, replacing old file.
3666 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3667 * nptl/pthread_yield.c: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3669 * nptl/register-atfork.c: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3671 * nptl/sem_post.c: ... here.
3672 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3673 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3674 * nptl/sem_timedwait.c: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3676 * nptl/sem_trywait.c: ... here.
3677 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3678 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3679 * nptl/sem_wait.c: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3681 * nptl/structsem.sym: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3683 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3684 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3685 * nptl/unregister-atfork.c: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3687 * nptl/unwindbuf.sym: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3689 * sysdeps/nptl/fork.c: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3691 * sysdeps/nptl/fork.h: ... here.
3692 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3693 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3694 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3696 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3698 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3700 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3702 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3704 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3706 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3708 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3710 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3711 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3712 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3713 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3714 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3715 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3716 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3717 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3718 * sysdeps/unix/sysv/linux/raise.c: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3720 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3722 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3724 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3726 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3728 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3730 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3731 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3732 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3733 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3735 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3737 * sysdeps/generic/memcopy.h: Add comment for
3738 MEMCPY_OK_FOR_FWD_MEMMOVE.
3740 2014-07-04 Will Newton <will.newton@linaro.org>
3742 * string/memchr.c: Merge from gnulib.
3743 [_LIBC]: Remove conditionals.
3744 (__ptr_t): Remove define.
3745 (LONG_MAX_32_BITS): Likewise.
3746 (LONG_MAX): Likewise.
3747 (MEMCHR): Use ANSI prototype and optimize algorithm.
3749 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3751 2014-07-03 Roland McGrath <roland@hack.frob.com>
3753 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3754 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3756 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3757 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3758 in a bare environment with no <stdlib.h> installed.
3759 * sysdeps/nptl/configure: Regenerated.
3761 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3763 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3764 AC_EGREP_CPP for kernel header checks, so they only succeed if
3765 including <linux/version.h> actually works right.
3766 * sysdeps/unix/sysv/linux/configure: Regenerated.
3768 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3769 value so it's not diagnosed as unused.
3771 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3772 thing) with "ifeq ($(subdir),rt)".
3774 2014-07-03 Richard Henderson <rth@redhat.com>
3776 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3777 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3778 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3780 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3781 (math_force_eval): New.
3783 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3784 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3786 * sysdeps/alpha/fpu/s_round.c: Remove file.
3787 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3789 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3790 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3791 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3792 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3793 (_dl_start, print_statistics): Likewise.
3794 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3795 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3797 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3798 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3799 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3800 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3801 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3802 (HP_SMALL_TIMING_AVAIL): Define.
3803 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3805 (HP_SMALL_TIMING_AVAIL): Define.
3806 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3807 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3809 * sysdeps/aarch64/hp-timing.h: New file.
3811 * sysdeps/generic/hp-timing.h: Remove dead comment.
3812 * sysdeps/generic/hp-timing-common.h: New file.
3813 * sysdeps/alpha/hp-timing.h: Include it.
3814 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3815 * sysdeps/i386/i686/hp-timing.h: Likewise.
3816 * sysdeps/ia64/hp-timing.h: Likewise.
3817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3818 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3819 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3820 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3821 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3822 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3825 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3826 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3827 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3828 * elf/rtld.c (_dl_start_final): Likewise.
3829 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3830 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3831 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3832 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3833 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3834 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3835 (HP_TIMING_DIFF_INIT): Remove.
3836 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3837 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3838 (HP_TIMING_DIFF_INIT): Remove.
3839 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3840 * sysdeps/i386/i686/hp-timing.c: Remove file.
3841 * sysdeps/x86_64/hp-timing.c: Remove file.
3842 * sysdeps/ia64/hp-timing.c: Remove file.
3843 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3844 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3846 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3848 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3849 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3850 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3851 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3853 (HP_TIMING_ACCUM): Remove.
3854 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3855 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3856 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3858 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3859 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3860 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3861 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3862 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3863 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3864 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3865 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3867 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3869 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3871 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3873 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3875 Sync up with gettext.
3876 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3877 [_MSC_VER]: Include malloc.h
3878 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3879 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3880 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3881 TEMP_FAILURE_RETRY. Cast return of alloca.
3882 [!_LIBC] Call gl_rwlock_init.
3883 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3885 2014-07-02 Roland McGrath <roland@hack.frob.com>
3887 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3888 before checking its value.
3890 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3892 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3894 * debug/memcpy_chk.c: Don't include pagecopy.h.
3895 * debug/mempcpy_chk.c: Likewise.
3896 * string/memcpy.c: Likewise.
3897 * string/memmove.c: Likewise.
3898 * sysdeps/powerpc/memmove.c: Likewise.
3899 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3900 definition of PAGE_COPY_FWD_MAYBE here...
3901 * sysdeps/generic/pagecopy.h: ... from here.
3902 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3904 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3905 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3911 (__libc_ifunc_impl_list): Likewise.
3912 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3913 multiarch strcat for PPC64.
3914 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3915 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3917 2014-07-02 Roland McGrath <roland@hack.frob.com>
3919 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3921 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3923 * intl/loadmsgcat.c: Remove declaration of
3924 get_sysdep_segment_value.
3925 (get_sysdep_segment_value): Use ISO C style.
3926 (_nl_load_domain): Use ISO C style. Get rid of redundant
3927 semicolon. Fix typo and formatting in comment.
3928 (_nl_unload_domain): Use ISO C style.
3930 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3932 2014-07-02 Will Newton <will.newton@linaro.org>
3934 * malloc/obstack.c: Merge from gnulib master.
3935 [HAVE_CONFIG_H]: Remove conditional code.
3936 [!_LIBC]: Include config.h.
3937 [!ELIDE_CODE]: Don't include inttypes.h, include
3938 stdint.h unconditionally.
3939 (print_and_abort): Mark as _Noreturn.
3940 (_obstack_allocated_p): Mark as __attribute_pure__.
3941 (obstack_free): Rename to __obstack_free.
3942 [!__attribute__]: Remove conditional code.
3943 * malloc/obstack.h: Merge from gnulib master.
3944 [__cplusplus]: Move conditional down.
3945 [!__attribute_pure__]: Define __attribute_pure__ here
3946 if it is not already defined.
3947 (_obstack_memory_used): Mark as __attribute_pure__.
3948 [!__obstack_free]: Define as obstack_free.
3949 [__GNUC__]: Remove check for ancient NeXT gcc.
3951 2014-07-02 Will Newton <will.newton@linaro.org>
3952 Paul Eggert <eggert@cs.ucla.edu>
3954 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3956 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * resolv/gethnamaddr.c: Add comment warning that the file is
3961 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3963 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3966 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3967 entry for aio_cancel and aio_cancel64.
3968 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3969 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3970 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3971 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3972 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3973 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3974 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3975 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3976 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3977 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3978 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3979 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3980 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3982 2014-07-01 Roland McGrath <roland@hack.frob.com>
3984 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3985 * nptl/pthread_mutex_lock.c: Likewise.
3986 * nptl/pthread_mutex_timedlock.c: Likewise.
3987 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3989 2014-07-01 Richard henderson <rth@redhat.com>
3991 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3992 (__isnan, __isnanl): Remove.
3993 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3995 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3997 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3999 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4001 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4003 * resolv/nss_dns/dns-host.c (getanswer_r)
4004 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4006 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4009 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4011 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4012 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4014 2014-07-01 Roland McGrath <roland@hack.frob.com>
4016 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4017 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4019 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4020 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4022 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4023 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4025 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4026 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4028 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4029 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4030 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4031 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4033 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4034 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4035 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4036 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4039 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4041 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4062 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4063 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4064 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4065 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4066 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4067 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4068 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4069 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4071 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4073 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4074 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4075 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4078 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4082 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4084 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4085 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4087 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4089 * sysdeps/arm/libm-test-ulps: Regenerated.
4091 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4092 Roland McGrath <roland@hack.frob.com>
4094 * test-skeleton.c (signal_handler): Kill the whole process group
4095 before killing the child individually.
4096 (main): Report any failure on `setpgid'.
4098 2014-06-30 Roland McGrath <roland@hack.frob.com>
4100 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4101 from _TLS_H to _ARM_NPTL_TLS_H.
4102 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4103 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4105 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4108 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4109 (__expm1l): Return argument unchanged when small but not
4112 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4114 (_FP_UNPACK_RAW_1_P): Likewise.
4115 (_FP_PACK_RAW_1): Likewise.
4116 (_FP_PACK_RAW_1_P): Likewise.
4117 (_FP_MUL_MEAT_1_wide): Likewise.
4118 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4119 (_FP_MUL_MEAT_1_hard): Likewise.
4120 (_FP_DIV_MEAT_1_imm): Likewise.
4121 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4122 (_FP_DIV_MEAT_1_udiv): Likewise.
4123 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4124 (_FP_UNPACK_RAW_2): Likewise.
4125 (_FP_UNPACK_RAW_2_P): Likewise.
4126 (_FP_PACK_RAW_2): Likewise.
4127 (_FP_PACK_RAW_2_P): Likewise.
4128 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4129 (_FP_MUL_MEAT_2_wide): Likewise.
4130 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4131 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4132 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4133 (_FP_MUL_MEAT_2_gmp): Likewise.
4134 (_FP_DIV_MEAT_2_udiv): Likewise.
4135 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4136 (_FP_FRAC_SRL_4): Likewise.
4137 (_FP_FRAC_SRST_4): Likewise.
4138 (_FP_FRAC_SRS_4): Likewise.
4139 (_FP_UNPACK_RAW_4): Likewise.
4140 (_FP_UNPACK_RAW_4_P): Likewise.
4141 (_FP_PACK_RAW_4): Likewise.
4142 (_FP_PACK_RAW_4_P): Likewise.
4143 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4144 (_FP_MUL_MEAT_4_wide): Likewise.
4145 (_FP_MUL_MEAT_4_gmp): Likewise.
4146 (umul_ppppmnnn): Likewise.
4147 (_FP_DIV_MEAT_4_udiv): Likewise.
4148 (__FP_FRAC_ADD_4): Likewise.
4149 (__FP_FRAC_SUB_3): Likewise.
4150 (__FP_FRAC_SUB_4): Likewise.
4151 (__FP_FRAC_DEC_3): Likewise.
4152 (__FP_FRAC_DEC_4): Likewise.
4153 (__FP_FRAC_ADDI_4): Likewise.
4154 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4155 (_FP_FRAC_SRL_8): Likewise.
4156 (_FP_FRAC_SRS_8): Likewise.
4158 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4160 (FP_UNPACK_RAW_EP): Likewise.
4161 (FP_PACK_RAW_E): Likewise.
4162 (FP_PACK_RAW_EP): Likewise.
4163 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4164 (_FP_ISSIGNAN): Likewise.
4165 (_FP_ADD_INTERNAL): Likewise.
4166 (_FP_FMA): Likewise.
4167 (_FP_CMP): Likewise.
4168 (_FP_SQRT): Likewise.
4169 (_FP_TO_INT): Likewise.
4170 (_FP_FROM_INT): Likewise.
4171 (FP_EXTEND): Likewise.
4172 (_FP_DIV_MEAT_N_loop): Likewise.
4174 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4176 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4179 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4182 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4183 result with correct sign in case of exponents that produce
4184 overflow except for X very close to 1.
4186 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4188 mktime: merge #if/#ifdef usage from glibc
4189 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4190 as that works with both Glibc's and Gnulib's style.
4191 See thread starting at Siddhesh Poyarekar's bug report at:
4192 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4194 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4196 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4197 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4198 * sysdeps/tile/tilegx/memmove.c: Remove file.
4200 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4202 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4203 abi-name definition.
4204 * scripts/soversions.awk: Do not handle or generate ABI lines.
4205 * shlib-versions: Remove ABI entries.
4206 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4207 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4209 2014-06-27 Roland McGrath <roland@hack.frob.com>
4211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4212 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4213 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4216 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4219 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4222 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4224 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4228 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4235 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4242 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4247 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4259 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4267 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4268 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4272 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4274 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4275 Identical file removed.
4276 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4278 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4280 Identical file removed.
4281 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4285 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4287 Identical file removed.
4288 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4289 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4291 Identical file removed.
4292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4293 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4295 Identical file removed.
4296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4297 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4299 Identical file removed.
4300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4302 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4304 Identical file removed.
4305 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4307 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4309 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4311 Identical file removed.
4312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4314 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4316 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4317 Identical file removed.
4318 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4320 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4322 Identical file removed.
4323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4325 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4332 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4334 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4336 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4337 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4338 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4339 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4340 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4342 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4345 * nscd/nscd.c (monitor_child): Return exit status of child
4346 instead of return value from wait syscall.
4348 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4350 * configure.ac (libc_commonpagesize): Remove variable.
4351 (libc_relro_required): Likewise.
4352 (libc_cv_z_relro): Remove configure test.
4353 * configure: Regenerated.
4354 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4356 (libc_relro_required): Likewise.
4357 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4358 (libc_relro_required): Likewise.
4359 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4360 (libc_relro_required): Likewise.
4361 * sysdeps/arm/preconfigure: Regenerated.
4362 * sysdeps/ia64/preconfigure: Remove file.
4363 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4365 (libc_relro_required): Likewise.
4369 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4370 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4371 recompute overflowing results in original rounding mode.
4372 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4373 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4374 recompute overflowing results in original rounding mode.
4375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4376 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4377 recompute overflowing results in original rounding mode.
4378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4379 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4380 recompute overflowing results in original rounding mode.
4381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4382 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4383 recompute overflowing results in original rounding mode.
4384 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4385 (libc_feholdsetround_ctx): New macro.
4386 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4387 * sysdeps/i386/fpu/libm-test-ulps: Update.
4388 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4390 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4392 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4393 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4394 corresponding .cpsetup call.
4396 2014-06-26 Roland McGrath <roland@hack.frob.com>
4398 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4399 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4400 * sysdeps/arm/Makefile [$(subdir) = csu]
4401 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4402 (static-only-routines): Add aeabi_read_tp here.
4403 (shared-only-routines): Add libc-aeabi_read_tp here.
4404 (CFLAGS-libc-start.c): Add -fexceptions here.
4405 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4406 (sysdep_routines, static-only-routines, shared-only-routines):
4407 Don't add to these here.
4408 (CFLAGS-libc-start.c): Likewise.
4410 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4411 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4412 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4413 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4414 * sysdeps/arm/Makefile [$(subdir) = rt]
4415 (librt-sysdep_routines, librt-shared-only-routines):
4416 Append rt-aeabi_unwind_cpp_pr1 here.
4417 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4418 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4419 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4420 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4421 Append nptl-aeabi_unwind_cpp_pr1 here.
4422 (tests): Filter out tst-cleanupx4 here.
4423 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4424 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4425 Don't do those here.
4427 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4429 * scripts/list-sources.sh: Do not handle ports specially.
4431 2014-06-26 Roland McGrath <roland@hack.frob.com>
4433 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4434 * sysdeps/arm/feupdateenv.c: Likewise.
4436 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4438 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4440 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4441 trailing whitespace removed.
4442 * scripts/config.guess: Update to version 2014-03-23.
4443 * scripts/config.sub: Update to version 2014-05-01
4444 * scripts/install-sh: Update to version 2013-12-25.23.
4445 * scripts/move-if-change: Update from gnulib.
4447 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4449 * debug/memmove_chk.c: Remove pagecopy.h include.
4451 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4453 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4454 identical to gnulib mktime.
4456 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4458 * configure.ac: Do not test for machine being rs6000. Do not test
4460 * configure: Regenerated.
4462 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4464 * configure: Regenerated.
4465 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4466 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4467 Remove configure test.
4468 * sysdeps/arm/configure: Regenerated.
4469 * sysdeps/nptl/configure.ac: Do not check
4470 libc_cv_asm_cfi_directives.
4471 * sysdeps/nptl/configure: Regenerated.
4472 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4473 * sysdeps/x86_64/nptl/configure: Remove generated file.
4474 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4476 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4478 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4481 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4482 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4485 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4486 instead of whether it is defined.
4487 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4488 * sysdeps/hppa/dl-machine.h: Likewise.
4489 * sysdeps/ia64/dl-machine.h: Likewise.
4490 * sysdeps/m68k/dl-machine.h: Likewise.
4491 * sysdeps/microblaze/dl-machine.h: Likewise.
4492 * sysdeps/mips/dl-machine.: Likewise.
4493 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4494 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4495 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4496 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4497 * sysdeps/sh/dl-machine.h: Likewise.
4498 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4499 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4500 * sysdeps/tile/dl-machine.h: Likewise.
4501 * sysdeps/x86_64/dl-machine.h: Likewise.
4503 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4505 (verify_persistent_db): Likewise.
4507 2014-06-26 Roland McGrath <roland@hack.frob.com>
4509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4510 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4515 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4520 Identical file removed.
4521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4533 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4540 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4544 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4546 Identical file removed.
4547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4548 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4550 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4553 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4556 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4558 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4560 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4567 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4570 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4575 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4579 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4581 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4582 * sysdeps/unix/sysv/linux/s390/Versions
4583 (libpthread: GLIBC_2.19): New version set.
4584 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4585 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4586 (librt: GLIBC_2.3.3): New version set.
4587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4588 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4589 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4591 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4593 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4595 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4597 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4599 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4601 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4603 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4605 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4607 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4609 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4610 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4611 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4613 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4614 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4615 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4616 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4617 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4623 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4625 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4627 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4629 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4631 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4633 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4634 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4635 (__libc_vfork): Define the function under this name.
4636 [!NOT_IN_libc] (__vfork): Make this an alias.
4637 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4639 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4640 (__libc_vfork): Define the function under this name.
4641 [!NOT_IN_libc] (__vfork): Make this an alias.
4642 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4643 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4644 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4645 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4650 code that was previously under [RESET_PID].
4651 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4652 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4655 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4656 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4657 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4658 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4660 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4661 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4662 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4663 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4664 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4665 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4667 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4691 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4692 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4693 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4694 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4695 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4697 2014-06-25 Roland McGrath <roland@hack.frob.com>
4699 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4700 that was previously under [RESET_PID].
4701 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4703 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4705 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4706 not undefine and redefine.
4707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4708 [O_CLOEXEC]: Make code unconditional.
4709 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4710 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4711 <kernel-features.h>.
4712 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4713 conditional variable definition.
4714 (shm_open) [O_CLOEXEC]: Make code unconditional.
4715 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4718 * configure.ac (USE_REGPARMS): Don't define here.
4719 * configure: Regenerated.
4720 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4721 * sysdeps/i386/configure: Regenerated.
4723 * nptl/createthread.c: Don't include kernel-features.h.
4724 * nptl/pthread_cancel.c: Likewise.
4725 * nptl/pthread_condattr_setclock.c: Likewise.
4726 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4727 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4728 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4729 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4730 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4731 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4732 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4735 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4736 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4737 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4738 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4739 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4740 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4741 * nscd/gai.c: Likewise.
4742 * nss/nss_db/db-open.c: Likewise.
4743 * sysdeps/generic/ldsodefs.h: Likewise.
4744 * sysdeps/sh/nptl/tls.h: Likewise.
4745 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4746 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4747 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4748 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4749 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4750 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4751 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4752 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4753 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4754 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4755 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4756 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4757 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4758 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4759 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4760 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4761 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4762 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4763 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4764 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4765 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4766 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4767 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4768 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4769 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4770 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4771 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4772 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4773 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4774 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4775 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4776 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4777 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4779 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4780 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4782 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4783 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4784 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4785 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4786 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4787 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4788 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4789 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4790 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4791 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4792 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4794 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4795 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4796 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4797 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4798 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4799 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4800 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4825 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4826 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4827 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4828 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4829 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4830 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4831 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4832 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4833 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4834 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4835 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4836 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4838 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4839 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4840 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4842 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4843 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4844 * sysdeps/unix/sysv/linux/system.c: Likewise.
4845 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4846 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4847 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4848 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4849 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4851 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4853 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4854 * configure: Regenerated.
4855 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4857 * configure.ac (base_machine): Do not set specially for particular
4859 * configure: Regenerated.
4860 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4861 settings from configure.ac.
4862 * sysdeps/i386/preconfigure: New file.
4863 * sysdeps/s390/preconfigure: Likewise.
4864 * sysdeps/sh/preconfigure: Likewise.
4865 * sysdeps/sparc/preconfigure: Likewise.
4867 2014-06-25 Roland McGrath <roland@hack.frob.com>
4869 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4870 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4871 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4872 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4873 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4874 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4875 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4876 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4877 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4878 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4879 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4880 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4881 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4882 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4883 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4884 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4885 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4886 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4887 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4889 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4890 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4891 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4892 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4893 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4894 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4895 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4896 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4897 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4898 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4899 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4900 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4901 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4902 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4903 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4904 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4905 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4906 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4907 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4908 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4909 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4910 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4911 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4912 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4914 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4915 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4916 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4918 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4919 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4920 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4921 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4922 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4923 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4924 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4925 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4926 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4931 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4937 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4942 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4948 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4951 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4954 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4956 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4959 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4961 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4963 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4970 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4978 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4980 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4982 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4984 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4987 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4990 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4997 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4999 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5001 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5003 * timezone/checktab.awk: Update from tzcode 2014e.
5004 * timezone/private.h: Likewise.
5005 * timezone/tzfile.h: Likewise.
5006 * timezone/zdump.c: Likewise.
5007 * timezone/zic.c: Likewise.
5009 * sysdeps/unix/sysv/linux/kernel-features.h
5010 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5012 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5013 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5014 Remove conditional code.
5016 2014-06-25 Will Newton <will.newton@linaro.org>
5018 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5019 (_dl_arm_cap_flags): Add HWCAP2 values.
5020 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5021 (_DL_HWCAP_COUNT): Increase to 37.
5022 (_DL_HWCAP_LAST): New define.
5023 (_DL_HWCAP2_LAST): New define.
5024 (_dl_procinfo): Add support for printing
5026 (_dl_string_hwcap): Use _dl_hwcap_string.
5028 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5032 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5034 * README: Do not mention ports directory.
5036 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5038 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5039 <kernel-features.h>.
5040 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5041 conditional variable definition.
5042 (__futimes): Update comment.
5043 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5044 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5047 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5048 arguments close to 0.
5049 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5051 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5053 * math/auto-libm-test-in: Add more tests of exp10.
5054 * math/auto-libm-test-out: Regenerated.
5055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5057 * sysdeps/unix/sysv/linux/kernel-features.h
5058 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5059 * sysdeps/unix/sysv/linux/readv.c: Do not include
5060 <kernel-features.h>.
5061 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5062 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5063 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5065 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5067 * sysdeps/unix/sysv/linux/writev.c: Do not include
5068 <kernel-features.h>.
5069 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5070 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5071 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5073 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5076 2014-06-25 Will Newton <will.newton@linaro.org>
5078 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5079 comment changes throughout the file. Remove checks
5080 for HAVE_*_H definitions that are not required.
5081 (__gen_tempname): Call abort if an unknown kind value is
5084 2014-06-25 Andreas Schwab <schwab@suse.de>
5087 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5088 scalbln, scalblnf, scalblnl in libc.
5090 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5093 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5094 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5095 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5097 2014-06-24 Roland McGrath <roland@hack.frob.com>
5099 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5100 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5101 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5102 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5104 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5105 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5107 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5108 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5109 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5110 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5111 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5112 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5113 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5114 * sysdeps/x86/bits/semaphore.h: ... here.
5115 * sysdeps/x86/nptl/elide.h: Moved ...
5116 * sysdeps/x86/elide.h: ... here.
5117 * sysdeps/x86_64/nptl/Implies: File removed.
5118 * sysdeps/i386/nptl/Implies: File removed.
5120 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5124 return the argument for normal arguments with exponent below -64.
5125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5127 * math/auto-libm-test-in: Add another test of expm1.
5128 * math/auto-libm-test-out: Regenerated.
5131 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5132 calling __erfcl for arguments at least 16.
5133 * math/auto-libm-test-in: Add more tests of erf.
5134 * math/auto-libm-test-out: Regenerated.
5136 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5137 individual architectures.
5138 * sysdeps/unix/sysv/linux/configure: Regenerated.
5139 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5140 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5141 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5142 (ldd_rewrite_script): Define variable.
5143 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5148 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5149 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5150 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5151 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5152 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5153 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5154 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5155 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5157 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5160 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5161 Rename member __data.d to __data.__elision_data.
5163 2014-06-24 Wilco <wdijkstr@arm.com>
5165 * NEWS: Add 16918 to fixed bug list.
5167 2014-06-24 Wilco <wdijkstr@arm.com>
5169 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5171 2014-06-24 Wilco <wdijkstr@arm.com>
5173 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5174 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5175 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5176 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5177 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5178 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5179 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5182 2014-06-24 Wilco <wdijkstr@arm.com>
5184 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5186 2014-06-24 Wilco <wdijkstr@arm.com>
5188 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5189 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5190 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5191 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5193 2014-06-24 Wilco <wdijkstr@arm.com>
5196 * sysdeps/arm/feupdateenv.c (feupdateenv):
5197 Rewrite to reduce FPSCR accesses and fix return value.
5199 2014-06-24 Wilco <wdijkstr@arm.com>
5201 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5202 Optimize to avoid unnecessary FPSCR writes.
5203 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5204 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5205 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5206 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5208 2014-06-24 Wilco <wdijkstr@arm.com>
5210 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5211 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5212 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5213 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5214 Call libc_fetestexcept_vfp.
5215 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5216 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5217 __SOFTFP__ ifdef so that they can be built for softfp.
5219 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5221 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5222 argument type signed char.
5224 * Makerules (check-abi): Dump diff of symlist if the test
5227 2014-06-23 Roland McGrath <roland@hack.frob.com>
5229 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5232 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5233 Remove unused variable ST.
5235 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5239 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5240 small arguments before calling __expm1.
5241 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5242 small arguments before calling __expm1f.
5243 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5244 small arguments before calling __expm1l.
5245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5247 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5248 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5249 spurious underflow for some cosh tests.
5250 * math/auto-libm-test-out: Regenerated.
5251 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5255 (__ieee754_y1): Set errno if return value overflows.
5256 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5257 (__ieee754_y1f): Set errno if return value overflows.
5258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5259 (__ieee754_y1l): Set errno if return value overflows.
5260 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5261 (__ieee754_y1l): Set errno if return value overflows.
5262 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5263 * math/auto-libm-test-out: Regenerated.
5265 * math/gen-auto-libm-tests.c: Document use of
5266 ignore-zero-inf-sign.
5267 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5268 (input_flags): Add ignore-zero-inf-sign.
5269 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5270 * math/gen-libm-test.pl (generate_testfile): Handle
5271 ignore-zero-inf-sign.
5272 * math/auto-libm-test-in: Mark some cpow tests with
5273 ignore-zero-inf-sign and some with xfail-rounding.
5274 * math/auto-libm-test-out: Regenerated.
5275 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5276 * sysdeps/i386/fpu/libm-test-ulps: Update.
5277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5280 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5281 overflowing or underflowing operations take place with sign of
5283 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5284 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5285 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5286 (__ieee754_pow): Recompute overflowing and underflowing results in
5287 original rounding mode.
5288 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5289 (__powl_helper): Allow negative argument X and scale negated value
5290 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5291 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5292 overflowing or underflowing operations take place with sign of
5294 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5296 * math/auto-libm-test-in: Add more tests of pow.
5297 * math/auto-libm-test-out: Regenerated.
5298 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5299 (pow_tonearest_test_data): Remove.
5300 (pow_test_tonearest): Likewise.
5301 (pow_towardzero_test_data): Likewise.
5302 (pow_test_towardzero): Likewise.
5303 (pow_downward_test_data): Likewise.
5304 (pow_test_downward): Likewise.
5305 (pow_upward_test_data): Likewise.
5306 (pow_test_upward): Likewise.
5307 (main): Don't call removed functions.
5308 * sysdeps/i386/fpu/libm-test-ulps: Update.
5309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5311 2014-06-23 Roland McGrath <roland@hack.frob.com>
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5487 2014-06-23 Will Newton <will.newton@linaro.org>
5488 Wilco <wdijkstr@arm.com>
5490 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5491 implementation. Include get-rounding-mode.h.
5492 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5493 [!libc_feholdsetround_noex_ctx]: Define
5494 libc_feholdsetround_noex_ctx.
5495 [!libc_feholdsetround_noexf_ctx]: Define
5496 libc_feholdsetround_noexf_ctx.
5497 [!libc_feholdsetround_noexl_ctx]: Define
5498 libc_feholdsetround_noexl_ctx.
5499 (libc_feholdsetround_ctx): New function.
5500 (libc_feresetround_ctx): New function.
5501 (libc_feholdsetround_noex_ctx): New function.
5502 (libc_feresetround_noex_ctx): New function.
5504 2014-06-23 Roland McGrath <roland@hack.frob.com>
5506 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5507 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5508 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5509 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5510 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5511 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5513 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5514 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5515 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5516 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5517 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5518 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5519 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5520 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5522 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5523 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5525 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5528 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5529 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5530 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5533 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5534 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5535 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5536 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5542 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5545 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5550 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5552 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5554 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5555 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5556 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5557 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5558 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5561 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5563 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5564 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5565 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5568 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5570 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5571 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5577 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5579 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5580 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5581 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5582 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5584 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5586 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5588 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5590 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5591 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5592 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5593 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5594 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5595 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5596 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5597 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5599 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5600 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5601 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5602 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5603 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5605 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5606 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5607 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5608 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5609 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5610 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5611 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5612 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5613 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5614 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5615 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5616 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5617 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5619 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5622 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5623 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5624 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5625 (IPV6_PMTUDISC_INTERFACE): Likewise.
5626 (IPV6_PMTUDISC_OMIT): Likewise.
5628 2014-06-23 Andreas Schwab <schwab@suse.de>
5630 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5631 Remove unused errout label.
5633 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5636 macro: hardware supports Vector Crypto instructions.
5638 2014-06-23 Will Newton <will.newton@linaro.org>
5640 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5641 rather than __builtin_expect.
5643 * elf/dl-lookup.c (undefined_msg): Remove variable.
5644 (_dl_lookup_symbol_x): Replace undefined_msg with string
5647 * elf/dl-lookup.c (do_lookup_unique): New function.
5648 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5649 to a separate function.
5651 2014-06-23 Andreas Schwab <schwab@suse.de>
5654 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5655 before reading the next line.
5657 2014-06-23 Will Newton <will.newton@linaro.org>
5659 * test-skeleton.c (signal_handler): Use printf and %m
5660 rather than perror. Use printf rather than fprintf to
5661 stderr. Use puts rather than fputs to stderr.
5664 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5666 * nscd/nscd.c (thread_info_t): Remove typedef.
5667 (thread_info): Remove variable.
5669 2014-06-21 Allan McRae <allan@archlinux.org>
5671 * NEWS: Mention CVE-2014-4043.
5673 2014-06-20 Roland McGrath <roland@hack.frob.com>
5675 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5676 * nptl/smp.h: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5680 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5681 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5682 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5683 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5685 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5686 * nptl/stack-aliasing.h: New file.
5687 * sysdeps/i386/i686/stack-aliasing.h: New file.
5688 * sysdeps/i386/i686/nptl/Makefile: File removed.
5689 * sysdeps/x86_64/stack-aliasing.h: New file.
5690 * sysdeps/x86_64/nptl/Makefile
5691 (CFLAGS-pthread_create.c): Variable removed.
5693 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5694 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5696 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5697 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5700 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5703 (__ASSUME_SIGFRAME_V2): Remove macro.
5704 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5705 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5706 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5707 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5708 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5709 Declare as function. Remove conditional macro definitions.
5710 (__default_rt_sa_restorer): Likewise.
5711 (__default_sa_restorer_v1): Remove declaration.
5712 (__default_sa_restorer_v2): Likewise.
5713 (__default_rt_sa_restorer_v1): Likewise.
5714 (__default_rt_sa_restorer_v2): Likewise.
5715 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5716 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5717 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5719 2014-06-20 Roland McGrath <roland@hack.frob.com>
5721 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5722 (libpthread-routines): Add sysdep.
5723 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5724 * sysdeps/unix/sysv/linux/sparc/Versions
5725 (libpthread: GLIBC_2.3.3): New version set.
5726 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5727 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5728 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5730 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5731 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5733 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5734 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5735 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5737 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5738 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5739 * sysdeps/sparc/nptl/sem_init.c: ... here.
5740 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5741 * sysdeps/sparc/nptl/sem_post.c: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5743 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5745 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5746 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5747 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5748 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5749 (libpthread-routines): Add cpu_relax.
5750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5752 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5753 (librt: GLIBC_2.3.3): New version set.
5754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5755 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5756 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5757 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5760 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5763 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5764 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5765 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5767 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5768 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5769 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5771 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5774 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5778 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5782 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5786 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5797 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5803 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5805 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5808 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5810 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5812 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5814 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5816 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5817 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5818 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5819 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5820 * nscd/nscd.c: Likewise.
5821 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5822 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5823 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5824 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5826 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5827 <kernel-features.h>.
5828 (init_mq_netlink): Remove conditional have_sock_cloexec
5829 definitions. Remove code conditional on have_sock_cloexec < 0.
5830 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5831 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5832 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5833 <kernel-features.h>.
5834 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5835 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5837 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5840 Add tests for memset_chk and memset.
5842 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5845 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5848 * elf/tst-dl-iter-static.c: New file.
5849 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5851 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5854 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5856 * sysdeps/unix/sysv/linux/kernel-features.h
5857 (__ASSUME_F_GETOWN_EX): Remove macro.
5858 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5859 <kernel-features.h>.
5860 (miss_F_GETOWN_EX): Remove variable or macro.
5861 (do_fcntl): Do not check miss_F_GETOWN_EX.
5862 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5864 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5867 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5868 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5870 * sysdeps/unix/sysv/linux/kernel-features.h
5871 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5872 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5873 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5874 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5876 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5879 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5880 Fix calculation of the symbol's value.
5881 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5882 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5883 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5884 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5885 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5886 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5887 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5888 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5889 (modules-names): Add `tst-armtlsdescmod',
5890 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5891 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5892 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5893 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5894 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5895 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5896 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5897 ($(objpfx)tst-armtlsdescloc): New dependency.
5898 ($(objpfx)tst-armtlsdescextnow): Likewise.
5899 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5900 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5902 * sysdeps/arm/configure: Regenerate.
5904 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5906 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5907 (__atfct_seterrno_2): Likewise.
5908 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5909 <kernel-features.h>.
5910 (__ASSUME_ATFCTS): Do not undefine and redefine.
5911 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5912 (__have_atfcts): Remove conditional definition.
5913 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5914 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5915 unreachable if [__ASSUME_ATFCTS].
5916 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5917 not undefine and redefine.
5918 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5919 <kernel-features.h>.
5920 (faccessat) [__NR_faccessat]: Make code unconditional.
5921 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5922 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5923 <kernel-features.h>.
5924 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5925 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5926 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5927 <kernel-features.h>.
5928 (fchownat) [__NR_fchownat]: Make code unconditional.
5929 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5930 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5931 <kernel-features.h>.
5932 (futimesat) [__NR_futimesat]: Make code unconditional.
5933 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5934 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5935 <kernel-features.h>.
5936 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5937 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5938 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5939 <kernel-features.h>.
5940 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5941 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5942 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5943 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5944 <kernel-features.h>.
5945 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5946 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5947 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5948 <kernel-features.h>.
5949 (linkat) [__NR_linkat]: Make code unconditional.
5950 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5951 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5952 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5953 <kernel-features.h>.
5954 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5955 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5956 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5957 <kernel-features.h>.
5958 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5959 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5960 * sysdeps/unix/sysv/linux/openat.c: Do not include
5961 <kernel-features.h>.
5962 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5963 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5964 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5965 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5966 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5967 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5968 <kernel-features.h>.
5969 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5970 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5971 result of INLINE_SYSCALL directly, not via int variable.
5972 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5973 <kernel-features.h>.
5974 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5975 (renameat) [__NR_renameat]: Make code unconditional.
5976 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5978 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5979 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5981 (__ASSUME_ATFCTS): Do not undefine and redefine.
5982 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5983 <kernel-features.h>.
5984 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5985 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5986 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5987 <kernel-features.h>.
5988 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5989 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5990 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5991 (__ASSUME_ATFCTS): Do not undefine and redefine.
5992 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5993 <kernel-features.h>.
5994 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5995 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5996 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5997 <kernel-features.h>.
5998 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5999 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6001 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6003 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6005 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6008 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6009 constructed tree before returning error.
6010 * posix/bug-regexp36.c: Expand test case.
6012 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6015 * math/libm-test.inc (scalbln_test_date):
6016 Add errno expectations.
6017 * math/w_scalblnf.c: New File.
6018 Add wrapper which checks for setting errno to ERANGE.
6019 Add weak_alias for corresponding scalbln function.
6020 * math/w_scalbln.c: Likewise.
6021 * math/w_scalblnl.c: Likewise.
6022 * math/Makefile (libm-calls): Add w_scalbln.
6023 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6024 Remove weak_alias for corresponding scalbln function.
6025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6029 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6030 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6031 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6032 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6033 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6034 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6035 Remove long_double_symbol for scalblnl function in libm, libc.
6036 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6037 Add wrapper which checks for setting errno to ERANGE.
6038 Add long_double_symbol for scalblnl function in libm, libc.
6039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6040 Remove long_double_symbol for scalblnl in libm.
6041 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6042 Add wrapper which checks for setting errno to ERANGE.
6043 Add long_double_symbol for scalblnl function in libm.
6044 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6045 Do not use wrapper because of own implementation.
6047 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6049 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6050 3 bytes for __pad1 for x32.
6051 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6053 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6054 H.J. Lu <hongjiu.lu@intel.com>
6056 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6057 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6058 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6059 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6060 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6062 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6065 * posix/regcomp.c (parse_expression): Deallocate partially
6066 constructed tree before returning error.
6067 * posix/Makefile.c (tests): Add bug-regex36.
6068 (generated): Add bug-regex36.mtrace.
6069 (tests-special): Add $(objpfx)bug-regex36-mem.out
6070 (bug-regex36-ENV): New variable.
6071 ($(objpfx)bug-regex36-mem.out): New rule.
6072 * posix/bug-regex36.c: New file.
6074 2014-06-19 Will Newton <will.newton@linaro.org>
6076 * malloc/malloc.c (systrim): If extra is zero then return
6079 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6081 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6083 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6085 * sysdeps/aarch64/strchr.S: New file.
6087 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6090 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6091 from arguments -2 or below.
6092 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6093 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6095 2014-06-18 Andreas Schwab <schwab@suse.de>
6098 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6099 of a bracket expr not to run off the end of the string.
6100 * posix/Makefile (tests): Add tst-fnmatch3.
6101 * posix/tst-fnmatch3.c: New file.
6103 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6105 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6106 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6107 [$(cross-compiling) = no]: Likewise.
6108 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6109 [$(cross-compiling) = no]: Likewise.
6111 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6114 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6115 double, adjusted for any remainder from the high double.
6116 * math/libm-test.inc (nearbyint): Add tests.
6119 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * nptl/sysdeps/powerpc/Makefile: Moved ...
6122 * sysdeps/powerpc/nptl/Makefile: ... here.
6123 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6124 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6125 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6126 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6127 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6128 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6129 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6130 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6131 * nptl/sysdeps/powerpc/tls.h: Moved ...
6132 * sysdeps/powerpc/nptl/tls.h: ... here.
6134 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6137 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6138 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6139 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6140 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6141 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6142 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6143 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6144 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6145 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6147 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6149 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6151 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6153 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6156 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6159 2014-06-16 Florian Weimer <fweimer@redhat.com>
6162 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6163 non-executed part of the test.
6165 2014-06-16 Andreas Schwab <schwab@suse.de>
6167 * string/bits/string2.h (strdup, strndup): Update feature guard.
6169 2014-06-14 David S. Miller <davem@davemloft.net>
6171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6173 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6175 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6176 that was previously under [RESET_PID].
6177 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6179 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6180 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6181 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6182 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6183 (__libc_vfork): New strong alias.
6184 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6186 2014-06-14 Andi Kleen <ak@linux.intel.com>
6188 * sysdeps/generic/elide.h: New file.
6190 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6192 * Makefile (installed-headers): Adjust path of pthread.h header.
6194 2014-06-13 Roland McGrath <roland@hack.frob.com>
6196 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6197 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6199 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6201 * nptl/sysdeps/s390/Makefile: Moved ...
6202 * sysdeps/s390/nptl/Makefile: ... here.
6203 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6204 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6205 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6206 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6207 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6208 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6209 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6210 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6211 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6212 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6213 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6214 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6215 * nptl/sysdeps/s390/tls.h: Moved ...
6216 * sysdeps/s390/nptl/tls.h: ... here.
6218 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6219 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6221 2014-06-13 David S. Miller <davem@davemloft.net>
6223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6226 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6231 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6232 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6233 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6234 Remove RESET_PID cpp guards.
6235 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6236 Remove RESET_PID cpp guards.
6237 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6239 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6241 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6244 2014-06-13 Andi Kleen <ak@linux.intel.com>
6246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6247 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6248 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6251 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6252 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6253 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6256 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6257 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6258 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6259 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6261 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6262 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6263 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6264 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6265 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6267 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6268 (pthread_rwlock_rdlock): Add elision.
6269 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6270 (pthread_rwlock_wrlock): Add elision.
6271 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6272 (pthread_rwlock_trywrlock): Add elision.
6273 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6274 (pthread_rwlock_tryrdlock): Add elision.
6275 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6276 (pthread_rwlock_tryrdlock): Add elision unlock.
6277 * nptl/sysdeps/pthread/pthread.h:
6278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6279 (PTHREAD_RWLOCK_INITIALIZER,
6280 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6281 Handle new elision field.
6282 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6283 * sysdeps/arm/nptl/bits/pthreadtypes.h
6284 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6285 * sysdeps/sh/nptl/bits/pthreadtypes.h
6286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6287 * sysdeps/tile/nptl/bits/pthreadtypes.h
6288 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6289 * sysdeps/a/nptl/bits/pthreadtypes.h
6290 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6291 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6293 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6295 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6296 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6297 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6299 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6301 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6303 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6305 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6307 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6308 (elision_init): Set try_xbegin to zero when no RTM.
6309 * sysdeps/x86/nptl/bits/pthreadtypes.h
6310 (pthread_rwlock_t): Change __pad1 to __rwelision.
6311 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6313 2014-06-13 Andi Kleen <ak@linux.intel.com>
6315 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6316 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6317 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6318 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6320 2014-06-13 Meador Inge <meadori@codesourcery.com>
6323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6324 that the cached result has been set before returning it.
6326 2014-06-12 Roland McGrath <roland@hack.frob.com>
6328 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6329 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6331 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6332 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6333 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6335 * nptl/sysdeps/sparc/Makefile: Moved ...
6336 * sysdeps/sparc/nptl/Makefile: ... here.
6337 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6338 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6339 * nptl/sysdeps/sparc/tls.h: Moved ...
6340 * sysdeps/sparc/nptl/tls.h: ... here.
6341 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6342 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6343 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6344 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6345 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6346 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6347 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6348 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6349 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6350 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6351 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6352 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6353 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6354 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6355 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6356 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6357 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6358 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6360 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6363 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6364 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6366 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6367 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6370 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6372 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6373 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6375 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6376 (struct list_links): Type removed.
6377 (struct thread_node, struct timer_node): Replace struct list_links
6378 with struct list_head.
6379 (list_unlink_ip): Likewise.
6380 * sysdeps/pthread/timer_routines.c
6381 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6382 (list_append, list_insbefore): Likewise.
6383 (list_init): Function removed.
6384 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6385 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6386 * sysdeps/pthread/Makefile: ... here, new file.
6388 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6389 * sysdeps/nptl/Implies: ... here.
6390 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6391 * nptl/sysdeps/pthread/list.h: Moved ...
6392 * include/list.h: ... here.
6393 * nptl/sysdeps/pthread/createthread.c: Moved ...
6394 * nptl/createthread.c: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6396 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6397 * nptl/pt-longjmp.c: ... here.
6398 * nptl/sysdeps/pthread/Makefile: Moved ...
6399 * sysdeps/nptl/Makefile: ... here.
6400 * nptl/sysdeps/pthread/Subdirs: Moved ...
6401 * sysdeps/nptl/Subdirs: ... here.
6402 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6403 * sysdeps/nptl/aio_misc.h: ... here.
6404 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6405 * sysdeps/nptl/bits/libc-lock.h: ... here.
6406 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6407 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6408 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6409 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6410 * nptl/sysdeps/pthread/configure: Moved ...
6411 * sysdeps/nptl/configure: ... here.
6412 * nptl/sysdeps/pthread/configure.ac: Moved ...
6413 * sysdeps/nptl/configure.ac: ... here.
6414 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6415 * sysdeps/nptl/gai_misc.h: ... here.
6416 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6417 * sysdeps/nptl/librt-cancellation.c: ... here.
6418 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6419 * sysdeps/nptl/malloc-machine.h: ... here.
6420 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6421 * sysdeps/nptl/pthread-functions.h: ... here.
6422 * nptl/sysdeps/pthread/pthread.h: Moved ...
6423 * sysdeps/nptl/pthread.h: ... here.
6424 * nptl/sysdeps/pthread/setxid.h: Moved ...
6425 * sysdeps/nptl/setxid.h: ... here.
6426 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6427 * sysdeps/nptl/sigfillset.c: ... here.
6428 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6429 * sysdeps/nptl/tcb-offsets.h: ... here.
6430 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6431 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6432 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6433 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6434 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6435 * sysdeps/pthread/allocalim.h: ... here.
6436 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6437 * sysdeps/pthread/bits/sigthread.h: ... here.
6438 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6439 * sysdeps/pthread/flockfile.c: ... here.
6440 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6441 * sysdeps/pthread/ftrylockfile.c: ... here.
6442 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6443 * sysdeps/pthread/funlockfile.c: ... here.
6444 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6445 * sysdeps/pthread/posix-timer.h: ... here.
6446 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6447 * sysdeps/pthread/timer_create.c: ... here.
6448 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6449 * sysdeps/pthread/timer_delete.c: ... here.
6450 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6451 * sysdeps/pthread/timer_getoverr.c: ... here.
6452 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6453 * sysdeps/pthread/timer_gettime.c: ... here.
6454 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6455 * sysdeps/pthread/timer_routines.c: ... here.
6456 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6457 * sysdeps/pthread/timer_settime.c: ... here.
6458 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6459 * sysdeps/pthread/tst-timer.c: ... here.
6460 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6461 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6463 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6464 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6466 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6467 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6468 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6469 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6470 Update #include target.
6471 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6472 * sysdeps/i386/i686/nptl/Makefile: ... here.
6473 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6474 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6475 Update #include target.
6476 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6477 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6478 * nptl/sysdeps/i386/Makefile: Moved ...
6479 * sysdeps/i386/nptl/Makefile: ... here.
6480 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6481 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6482 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6483 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6484 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6485 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6486 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6487 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6488 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6489 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6490 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6491 * nptl/sysdeps/i386/tls.h: Moved ...
6492 * sysdeps/i386/nptl/tls.h: ... here.
6494 * sysdeps/sh/Makefile [$(subdir) = csu]
6495 (gen-as-const-headers): Add tcb-offsets.sym.
6496 * nptl/sysdeps/sh/Makefile: File removed.
6497 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6498 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6499 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6500 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6501 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6502 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6503 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6504 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6505 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6506 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6507 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6508 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6509 * nptl/sysdeps/sh/tls.h: Moved ...
6510 * sysdeps/sh/nptl/tls.h: ... here.
6511 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6512 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6513 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6514 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6515 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6516 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6517 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6518 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6519 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6520 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6521 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6522 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6523 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6524 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6526 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6527 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6528 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6529 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6530 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6531 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6532 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6533 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6534 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6537 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6538 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6540 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6542 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6543 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6544 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6545 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6546 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6547 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6548 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6549 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6550 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6552 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6553 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6554 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6556 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6557 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6558 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6560 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6562 * posix/spawn_faction_addopen.c: Include string.h.
6564 2014-06-11 Roland McGrath <roland@hack.frob.com>
6566 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6567 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6568 * nptl/sysdeps/x86_64/Makefile: Moved ...
6569 * sysdeps/x86_64/nptl/Makefile: ... here.
6570 * nptl/sysdeps/x86_64/configure: Moved ...
6571 * sysdeps/x86_64/nptl/configure: ... here.
6572 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6573 * sysdeps/x86_64/nptl/configure.ac: ... here.
6574 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6575 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6576 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6577 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6578 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6579 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6580 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6581 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6582 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6583 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6584 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6585 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6586 * nptl/sysdeps/x86_64/tls.h: Moved ...
6587 * sysdeps/x86_64/nptl/tls.h: ... here.
6588 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6589 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6590 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6591 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6593 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6595 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6599 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6601 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6603 [POSIX] (off_t): Likewise.
6604 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6605 [POSIX] (S_ISBLK): Require macro.
6606 [POSIX] (S_ISCHR): Likewise.
6607 [POSIX] (S_ISDIR): Likewise.
6608 [POSIX] (S_ISFIFO): Likewise.
6609 [POSIX] (S_ISREG): Likewise.
6610 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6612 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6614 [POSIX] (time_t): Likewise.
6615 [POSIX] (timer_t): Likewise.
6617 2014-06-11 Florian Weimer <fweimer@redhat.com>
6620 * posix/spawn_int.h (struct __spawn_action): Make the path string
6621 non-const to support deallocation.
6622 * posix/spawn_faction_addopen.c
6623 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6624 * posix/spawn_faction_destroy.c
6625 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6626 path in all spawn_do_open actions.
6627 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6628 posix_spawn_file_actions_addopen.
6630 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6632 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6633 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6634 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6635 conditional code always true.
6636 (__libc_vfork): New alias.
6638 2014-06-11 Roland McGrath <roland@hack.frob.com>
6640 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6641 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6643 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6645 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6646 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6648 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6649 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6651 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6652 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6654 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6656 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6657 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6658 multiarch strcmp for PPC64.
6659 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6660 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6662 multiarch optimizations.
6663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6664 (__libc_ifunc_impl_list): Likewise.
6666 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6668 * benchtests/scripts/validate_benchout.py: New script.
6669 * benchtests/Makefile (bench-func): Call it.
6670 * benchtests/scripts/benchout.schema.json: New file.
6672 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6674 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6675 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6676 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6677 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6678 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6679 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6680 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6681 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6682 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6683 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6684 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6685 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6686 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6687 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6688 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6689 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6793 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6794 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6795 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6796 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6799 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6801 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6802 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6803 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6804 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6806 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6807 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6808 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6810 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6812 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6815 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6818 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6820 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6823 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6827 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6828 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6829 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6831 2014-06-10 Wilco <wdijkstr@arm.com>
6833 * math/test-fenv-return.c: New file.
6834 * math/Makefile: Add new test test-fenv-return.
6836 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6839 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6841 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6842 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6843 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6844 0.0L for an argument of 1.0L.
6845 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6847 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6848 value when x - 1 is zero.
6849 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6850 * sysdeps/i386/fpu/libm-test-ulps: Update.
6851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6853 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6856 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6858 2014-06-09 Roland McGrath <roland@hack.frob.com>
6860 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6861 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6863 2014-06-09 Roland McGrath <roland@hack.frob.com>
6865 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6866 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6868 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6869 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6871 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6872 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6874 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6875 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6877 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6878 if not already defined.
6879 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6880 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6881 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6882 (TLS_INIT_TP): Use it.
6883 (TLS_DEFINE_INIT_TP): New macro.
6884 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6886 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6888 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6890 [POSIX] (IXANY): Likewise.
6891 [POSIX] (OLCUC): Likewise.
6892 [POSIX || POSIX2008] (CBAUD): Do not allow.
6893 [POSIX || POSIX2008] (DEFECHO): Likewise.
6894 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6895 [POSIX || POSIX2008] (ECHOKE): Likewise.
6896 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6897 [POSIX || POSIX2008] (EXTA): Likewise.
6898 [POSIX || POSIX2008] (EXTB): Likewise.
6899 [POSIX || POSIX2008] (FLUSHO): Likewise.
6900 [POSIX || POSIX2008] (LOBLK): Likewise.
6901 [POSIX || POSIX2008] (PENDIN): Likewise.
6902 [POSIX || POSIX2008] (SWTCH): Likewise.
6903 [POSIX || POSIX2008] (VDISCARD): Likewise.
6904 [POSIX || POSIX2008] (VDSUSP): Likewise.
6905 [POSIX || POSIX2008] (VLNEXT): Likewise.
6906 [POSIX || POSIX2008] (VREPRINT): Likewise.
6907 [POSIX || POSIX2008] (VSTATUS): Likewise.
6908 [POSIX || POSIX2008] (VWERASE): Likewise.
6909 (B*): Change to B[0123456789]*.
6910 * conform/data/time.h-data [POSIX || UNIX98]
6911 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6912 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6913 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6914 [POSIX] (tm_*): Do not allow.
6916 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6918 * Makefile (install): Don't set LANGUAGE.
6919 * Makefile.in (install): Likewise.
6920 * assert/Makefile (test-assert-ENV): Remove variable.
6921 (test-assert-perr-ENV): Likewise.
6922 * elf/Makefile (neededtest4-ENV): Likewise.
6923 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6924 [$(cross-compiling) = no]: Don't set LANGUAGE.
6925 * io/ftwtest-sh (LANG): Remove variable.
6926 * libio/Makefile (tst-widetext-ENV): Likewise.
6927 * manual/install.texi (Running make install): Don't refer to
6928 environment settings for make install.
6929 * INSTALL: Regenerated.
6930 * nptl/tst-tls6.sh: Don't set LANG.
6931 * posix/globtest.sh (LANG): Remove variable.
6932 * string/Makefile (tester-ENV): Likewise.
6933 (inl-tester-ENV): Likewise.
6934 (noinl-tester-ENV): Likewise.
6935 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6936 [$(cross-compiling) = no]: Don't set LANGUAGE.
6937 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6938 without explicit environment settings.
6940 2014-06-06 Roland McGrath <roland@hack.frob.com>
6942 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6943 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6944 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6945 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6947 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6949 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6950 other files in the crypt directory.
6951 * crypt/crypt.c: Remove duplicate includes.
6952 * crypt/crypt-entry.c: Likewise.
6953 * crypt/crypt_util.c: Likewise.
6955 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6957 * Makeconfig (run-program-env): New variable.
6958 (run-program-prefix-before-env): Likewise.
6959 (run-program-prefix-after-env): Likewise.
6960 (run-program-prefix): Define in terms of new variables.
6961 (built-program-cmd-before-env): New variable.
6962 (built-program-cmd-after-env): Likewise.
6963 (built-program-cmd): Define in terms of new variables.
6964 (test-program-prefix-before-env): New variable.
6965 (test-program-prefix-after-env): Likewise.
6966 (test-program-prefix): Define in terms of new variables.
6967 (test-program-cmd-before-env): New variable.
6968 (test-program-cmd-after-env): Likewise.
6969 (test-program-cmd): Define in terms of new variables.
6970 * Rules (make-test-out): Use $(run-program-env).
6971 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6972 (help): Do not mention environment variables. Mention
6973 --timeoutfactor option.
6974 (timeoutfactor): New variable.
6975 (blacklist_exports): Remove function.
6976 (exports): Remove variable.
6977 (command): Do not include ${exports}.
6978 * manual/install.texi (Configuring and compiling): Do not mention
6979 test wrappers preserving environment variables. Mention that last
6980 assignment to a variable must take precedence.
6981 * INSTALL: Regenerated.
6982 * benchtests/Makefile (run-bench): Use $(run-program-env).
6983 * catgets/Makefile ($(objpfx)test1.cat): Use
6984 $(built-program-cmd-before-env), $(run-program-env) and
6985 $(built-program-cmd-after-env).
6986 ($(objpfx)test2.cat): Do not specify environment variables
6988 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6989 $(run-program-env) and $(built-program-cmd-after-env).
6990 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6991 $(run-program-env) and $(test-program-cmd-after-env).
6992 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6994 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6995 run_program_env and test_program_cmd_after_env arguments.
6996 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6997 * elf/tst-pathopt.sh: Use run_program_env argument.
6998 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6999 $(test-wrapper-env) and $(run-program-env).
7000 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7001 run_program_env arguments.
7002 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7003 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7004 $(test-program-prefix-before-env), $(run-program-env) and
7005 $(test-program-prefix-after-env).
7006 ($(objpfx)tst-gettext2.out): Likewise.
7007 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7008 run_program_env and test_program_prefix_after_env arguments.
7009 * intl/tst-gettext2.sh: Likewise.
7010 * intl/tst-gettext4.sh: Do not set environment variables
7012 * intl/tst-gettext6.sh: Likewise.
7013 * intl/tst-translit.sh: Likewise.
7014 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7015 $(test-program-prefix-before-env), $(run-program-env) and
7016 $(test-program-prefix-after-env).
7017 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7018 run_program_env and test_program_prefix_after_env arguments.
7019 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7020 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7021 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7022 explicitly with each use of ${test_wrapper_env}.
7023 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7024 $(test-program-prefix-before-env), $(run-program-env) and
7025 $(test-program-prefix-after-env).
7026 * posix/tst-getconf.sh: Do not set environment variables
7028 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7029 run_program_env and test_program_prefix_after_env arguments.
7030 * stdio-common/tst-printf.sh: Do not set environment variables
7032 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7033 $(test-program-prefix-before-env), $(run-program-env) and
7034 $(test-program-prefix-after-env).
7035 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7036 run_program_env and test_program_prefix_after_env arguments.
7037 Split $test calls into $test_pre and $test.
7038 * timezone/Makefile (build-testdata): Use
7039 $(built-program-cmd-before-env), $(run-program-env) and
7040 $(built-program-cmd-after-env).
7042 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7045 strlen for non SHARED builds.
7047 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7049 * nptl/allocatestack.c (check_list): Inlined function...
7050 (__reclaim_stacks): ... here.
7052 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7055 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7058 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7060 * Rules (make-test-out): Include
7061 LOCPATH=$(common-objpfx)localedata in default environment.
7062 * debug/Makefile (tst-chk1-ENV): Remove variable.
7063 (tst-chk2-ENV): Likewise.
7064 (tst-chk3-ENV): Likewise.
7065 (tst-chk4-ENV): Likewise.
7066 (tst-chk5-ENV): Likewise.
7067 (tst-chk6-ENV): Likewise.
7068 (tst-lfschk1-ENV): Likewise.
7069 (tst-lfschk2-ENV): Likewise.
7070 (tst-lfschk3-ENV): Likewise.
7071 (tst-lfschk4-ENV): Likewise.
7072 (tst-lfschk5-ENV): Likewise.
7073 (tst-lfschk6-ENV): Likewise.
7074 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7075 (tst-iconv7-ENV): Likewise.
7076 * intl/Makefile (LOCPATH-ENV): Likewise.
7077 (tst-codeset-ENV): Likewise.
7078 (tst-gettext3-ENV): Likewise.
7079 (tst-gettext5-ENV): Likewise.
7080 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7081 (tst-fopenloc-ENV): Likewise.
7082 (tst-fgetws-ENV): Remove variable.
7083 (tst-ungetwc1-ENV): Likewise.
7084 (tst-ungetwc2-ENV): Likewise.
7085 (bug-ungetwc2-ENV): Likewise.
7086 (tst-swscanf-ENV): Likewise.
7087 (bug-ftell-ENV): Likewise.
7088 (tst-fgetwc-ENV): Likewise.
7089 (tst-fseek-ENV): Likewise.
7090 (tst-ftell-partial-wide-ENV): Likewise.
7091 (tst-ftell-active-handler-ENV): Likewise.
7092 (tst-ftell-append-ENV): Likewise.
7093 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7094 (tst-regexloc-ENV): Likewise.
7095 (bug-regex1-ENV): Likewise.
7096 (tst-regex-ENV): Likewise.
7097 (tst-regex2-ENV): Likewise.
7098 (bug-regex5-ENV): Likewise.
7099 (bug-regex6-ENV): Likewise.
7100 (bug-regex17-ENV): Likewise.
7101 (bug-regex18-ENV): Likewise.
7102 (bug-regex19-ENV): Likewise.
7103 (bug-regex20-ENV): Likewise.
7104 (bug-regex22-ENV): Likewise.
7105 (bug-regex23-ENV): Likewise.
7106 (bug-regex25-ENV): Likewise.
7107 (bug-regex26-ENV): Likewise.
7108 (bug-regex30-ENV): Likewise.
7109 (bug-regex32-ENV): Likewise.
7110 (bug-regex33-ENV): Likewise.
7111 (bug-regex34-ENV): Likewise.
7112 (bug-regex35-ENV): Likewise.
7113 (tst-rxspencer-ENV): Likewise.
7114 (tst-rxspencer-no-utf8-ENV): Likewise.
7115 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7116 (tst-sscanf-ENV): Likewise.
7117 (tst-swprintf-ENV): Likewise.
7118 (tst-swscanf-ENV): Likewise.
7119 (test-vfprintf-ENV): Likewise.
7120 (scanf13-ENV): Likewise.
7121 (bug14-ENV): Likewise.
7122 (tst-grouping-ENV): Likewise.
7123 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7124 (tst-strtod3-ENV): Likewise.
7125 (tst-strtod4-ENV): Likewise.
7126 (tst-strtod5-ENV): Likewise.
7127 (testmb2-ENV): Likewise./
7128 * string/Makefile (tst-strxfrm-ENV): Likewise.
7129 (tst-strxfrm2-ENV): Likewise.
7130 (bug-strcoll1-ENV): Likewise.
7131 (test-strcasecmp-ENV): Likewise.
7132 (test-strncasecmp-ENV): Likewise.
7133 * time/Makefile (tst-strptime-ENV): Likewise.
7134 (tst-ftime_l-ENV): Likewise.
7135 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7136 (tst-mbrtowc-ENV): Likewise.
7137 (tst-wcrtomb-ENV): Likewise.
7138 (tst-mbrtowc2-ENV): Likewise.
7139 (tst-c16c32-1-ENV): Likewise.
7140 (tst-mbsnrtowcs-ENV): Likewise.
7142 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7144 * manual/resource.texi (How to get information about the memory
7145 subsystem?): Fix typo.
7146 Reported by Peon de la Parra Ivan <peon@keba.com>
7148 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7151 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7152 (pthread_spin_lock): Branch out of spin loop to proper location.
7153 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7154 (pthread_spin_lock): Likewise.
7156 * nptl/tst-spin4.c: New test.
7157 * nptl/Makefile (tests): Add tst-spin4.
7159 2014-06-03 Andreas Schwab <schwab@suse.de>
7162 * resolv/res_send.c (send_dg): Reload file descriptor after
7165 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7167 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7169 2014-06-03 Richard Henderson <rth@redhat.com>
7171 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7172 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7173 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7174 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7175 in the SAVE_PID block.
7176 (__libc_vfork): New alias.
7177 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7179 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7180 child in registers, not on the stack. Remove RESET_PID conditionals.
7181 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7183 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7185 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7187 2014-06-03 Wilco <wdijkstr@arm.com>
7189 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7190 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7191 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7192 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7193 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7196 2014-06-03 Wilco <wdijkstr@arm.com>
7198 * sysdeps/aarch64/fpu/math_private.h
7199 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7200 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7201 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7202 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7205 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7207 * crypt/crypt-private.h: Include ufc-crypt.h.
7208 (__b64_from_24bit): Declare extern.
7209 * crypt/crypt_util.c(__b64_from_24bit): New function.
7210 (b64t): New static const variable.
7211 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7212 (b64t): Remove variable.
7213 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7214 * crypt/sha256-crypt.c: Include crypt-private.h.
7215 (b64t): Remove variable.
7216 (__sha256_crypt_r): Remove b64_from_24bit and replace
7217 with __b64_from_24bit.
7218 * crypt/sha512-crypt.c: Likewise.
7220 2014-06-02 Roland McGrath <roland@hack.frob.com>
7222 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7223 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7224 Label the code __libc_vfork rather than __vfork.
7225 [!NOT_IN_libc] (vfork): Define as weak alias.
7226 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7227 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7228 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7230 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7232 * malloc/malloc.c (malloc_info): Fix format specifier for
7235 2014-06-02 Wilco <wdijkstr@arm.com>
7237 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7240 2014-06-02 Wilco <wdijkstr@arm.com>
7243 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7244 Rewrite to reduce FPCR/FPSR accesses.
7246 2014-06-01 David S. Miller <davem@davemloft.net>
7248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7250 2014-05-31 David S. Miller <davem@davemloft.net>
7252 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7253 to occur in round to nearest mode when |x| >= 2.0
7255 2014-05-30 Richard Henderson <rth@twiddle.net>
7257 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7258 (PSEUDO_RET_NOERRNO): Remove.
7259 (ret): Don't redefine.
7260 (ret_NOERRNO): Define in terms of ret.
7261 (ret_ERRVAL): Likewise.
7263 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7264 use of PSEUDO_RET; perform the error check directly.
7266 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7268 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7271 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7273 * malloc/malloc (malloc_info): Fix formatting.
7275 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 Roland McGrath <roland@hack.frob.com>
7278 * malloc/malloc (malloc_info): Also print mmapped statistics.
7280 2014-05-30 Roland McGrath <roland@hack.frob.com>
7282 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7283 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7285 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7287 * malloc/malloc.c (malloc_info): Inline mi_arena.
7289 2014-05-29 Richard Henderson <rth@twiddle.net>
7291 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7292 Remove comma before expanding ASM_ARGS_##nr.
7293 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7294 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7296 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7297 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7298 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7299 (ASM_ARGS_1): Add leading comma.
7301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7302 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7303 to __errno_location.
7304 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7305 Remove the expected plt for __errno_location.
7307 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7308 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7312 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7313 it and break it down.
7314 (DOCARGS_0, DOCARGS_1): Do nothing.
7315 (DOCARGS_2): Update to store into the new stack frame.
7316 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7317 (UNDOCARGS_1): Update to restore from the new stack frame.
7318 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7319 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7321 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7322 (SINGLE_THREAD_P): New parameter for result regno.
7323 (PSEUDO): Update to match; use cbz instead of beq.
7325 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7326 Use ENTRY to define the _nocancel entry point. Share the syscall
7327 and syscall error check paths with the cancel path.
7330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7331 whitespace; tabs before and after asm mnemonics.
7333 2014-05-29 Eric Wong <normalperson@yhbt.net>
7336 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7337 Call fstat64 or stat64 internally, depending on arguments passed.
7338 Replace stat buffer argument with file descriptor argument.
7339 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7340 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7341 Pass fd to __internal_statvfs instead of calling fstat64.
7342 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7343 Pass fd to __internal_statvfs64 instead of calling fstat64.
7344 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7345 Pass -1 to __internal_statvfs instead of calling stat64.
7346 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7347 Pass -1 to __internal_statvfs64 instead of calling stat64.
7349 2014-05-28 Roland McGrath <roland@hack.frob.com>
7351 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7352 that was previously under [RESET_PID].
7353 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7355 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7356 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7358 2014-05-27 Roland McGrath <roland@hack.frob.com>
7360 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7362 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7363 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7365 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7367 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7369 2014-05-27 Andreas Schwab <schwab@suse.de>
7371 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7373 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7374 * elf/rtld.c (init_tls, dl_main): Likewise.
7375 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7376 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7377 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7378 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7379 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7380 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7381 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7382 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7383 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7384 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7385 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7386 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7387 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7388 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7389 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7390 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7391 * sysdeps/generic/tls.h: Update description.
7393 2014-05-27 Will Newton <will.newton@linaro.org>
7396 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7397 and restore r2 rather than just restoring.
7399 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7402 * libio/tst-ftell-append.c: New test case.
7403 * libio/Makefile (tests): Add test case.
7404 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7406 * libio/wfileops.c (do_ftell_wide): Likewise.
7408 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7412 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7416 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7417 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7418 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7419 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7420 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7421 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7428 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7429 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7430 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7431 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7432 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7434 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7435 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7437 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7439 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7441 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7442 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7443 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7445 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7446 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7447 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7448 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7456 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7471 conditional [RESET_PID].
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7480 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7481 (__libc_vfork): New strong alias.
7482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7489 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7490 (__libc_vfork): New strong alias.
7491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7496 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7498 * malloc/malloc.c (mi_arena): New function.
7499 (malloc_info): Remove nested function mi_arena. Call non-nosted
7502 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7504 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7506 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7507 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7508 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7509 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7510 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7511 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7512 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7514 2014-05-26 Andreas Schwab <schwab@suse.de>
7517 * locale/programs/repertoire.c (repertoire_read): Add slash
7518 between I18NPATH element and file name.
7519 * locale/programs/locfile.c (locfile_read): Likewise.
7521 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7523 * nptl/pthread_mutexattr_settype.c
7524 (__pthread_mutexattr_settype):
7525 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7527 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7529 * nptl/tst-mutex5 (do_test):
7530 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7532 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7534 * benchtests/README: Document 'init' directive.
7535 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7537 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7538 (parse_file): Recognize 'init' directive.
7540 2014-05-26 Kyle McMartin <kyle@redhat.com>
7543 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7544 alignment of struct pthread.
7546 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7549 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7550 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7551 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7552 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7554 2014-05-25 Richard Henderson <rth@twiddle.net>
7556 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7557 (SINGLE_THREAD_P_PIC): Remove.
7558 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7559 (SINGLE_THREAD_P_PIC): Remove.
7561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7562 branch to syscall error ...
7564 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7565 from __local_syscall_error to .Lsyscall_error.
7566 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7567 (SYSCALL_ERROR): Update label name.
7569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7570 Do not use DOARGS/UNDOARGS.
7571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7572 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7573 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7574 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7575 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7580 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7581 define if !NOT_IN_libc.
7582 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7583 define with non-default symbol versions.
7585 2014-05-23 Richard Henderson <rth@twiddle.net>
7587 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7588 (vfork, __vfork): Define via compat_symbol.
7590 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7591 [!HAVE_IFUNC] (vfork_compat): Remove.
7592 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7594 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7597 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7598 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7601 2014-05-23 Richard Henderson <rth@twiddle.net>
7603 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7604 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7605 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7606 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7608 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7609 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7610 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7611 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7612 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7613 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7614 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7615 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7616 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7617 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7618 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7619 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7620 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7621 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7622 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7623 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7624 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7625 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7626 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7627 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7628 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7629 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7631 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7636 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7637 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7639 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7640 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7641 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7642 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7645 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7647 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7648 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7649 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7650 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7651 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7652 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7655 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7657 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7658 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7659 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7660 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7661 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7663 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7665 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7666 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7667 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7668 before exiting on error.
7669 (__libc_vfork): New strong alias.
7670 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7671 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7673 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7674 that was previously under [RESET_PID].
7675 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7677 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7679 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7682 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7683 value when x - 1 is zero.
7684 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7685 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7686 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7687 0.0L for an argument of 1.0L.
7688 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7690 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7691 value when x - 1 is zero.
7692 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7693 * sysdeps/i386/fpu/libm-test-ulps: Update.
7694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7696 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7698 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7699 alphasort and versionsort.
7701 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7705 [copysignf]: Likewise.
7707 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7709 * crypt/md5-crypt.c: Fix formatting.
7711 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7713 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7714 (b64_from_24bit): New function.
7716 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7719 libc_hidden_builtin_def to ifunc.
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7721 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7723 2014-05-21 Roland McGrath <roland@hack.frob.com>
7725 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7726 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7728 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7730 * nscd/Depend (linuxthreads): Remove.
7732 * resolv/Depend (linuxthreads): Remove.
7733 * rt/Depend (linuxthreads): Remove.
7735 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7736 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7737 $(common-objpfx)elf/.
7738 (link-libc-before-gnulib): Likewise.
7739 (elfobjdir): Remove variable.
7740 * Makefile (install): Use $(elf-objpfx) instead of
7741 $(common-objpfx)elf/.
7742 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7744 (link-libc-deps): Likewise.
7745 ($(common-objpfx)libc.so): Likewise.
7746 ($(common-objpfx)linkobj/libc.so): Likewise.
7747 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7748 instead of $(common-objpfx)elf/.
7749 (symbolic-link-list): Likewise.
7750 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7751 [$(cross-compiling) = no]: Likewise.
7752 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7754 (static-gnulib-arch): Likewise.
7755 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7756 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7757 $(common-objpfx)elf/.
7759 2014-05-21 Richard Henderson <rth@redhat.com>
7761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7762 (SINGLE_THREAD_P): Use the correct width load. Fold
7763 into the ldr offset.
7765 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7766 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7768 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7770 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7771 (libgcc_s_resume): Use __attribute_used__.
7772 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7775 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7777 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7778 optimization when used with float constants.
7780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7782 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7785 * locale/nl_langinfo_l.c: Make direct reference to every
7786 _nl_current_CATEGORY symbol.
7787 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7788 (tests-static): Add tst-langinfo-static.
7789 (tests-special): Add tst-langinfo-static.out.
7790 ($(objpfx)tst-langinfo.out): Redirect output.
7791 ($(objpfx)tst-langinfo-static.out): New.
7792 * localedata/tst-langinfo.sh: Send output to stdout.
7793 * localedata/tst-langinfo-static.c: New file.
7796 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7797 when the shift amount is modulo the limb size.
7799 2014-05-20 Richard Henderson <rth@redhat.com>
7802 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7803 Change type of sa_flags from unsigned int to int.
7806 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7808 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7810 2014-05-20 Will Newton <will.newton@linaro.org>
7812 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7813 Test the return value of the system call in the nocancel case.
7815 2014-05-20 Will Newton <will.newton@linaro.org>
7816 Yvan Roux <yvan.roux@linaro.org>
7818 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7819 #include of asm/ptrace.h.
7820 (PTRACE_GET_THREAD_AREA): Remove #undef.
7821 (PTRACE_GETHBPREGS): Likewise.
7822 (PTRACE_SETHBPREGS): Likewise.
7823 (struct user_regs_struct): New structure.
7824 (struct user_fpsimd_struct): New structure.
7825 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7826 #include of asm/ptrace.h and second #include of sys/user.h.
7827 (PTRACE_GET_THREAD_AREA): Remove #undef.
7828 (PTRACE_GETHBPREGS): Likewise.
7829 (PTRACE_SETHBPREGS): Likewise.
7830 (ELF_NGREG): Use new struct user_regs_struct.
7831 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7833 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7838 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7842 membar to avoid block loads/stores to overlap previous stores.
7844 2014-05-17 Richard Henderson <rth@redhat.com>
7846 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7847 Create the __##syscall_name##_nocancel entry point.
7848 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7849 Remove; let the sysdep-cancel.h code create it.
7851 2014-05-17 David S. Miller <davem@davemloft.net>
7853 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7854 Protect with __USE_GNU.
7855 (TIOCSET_TEMPT): Likewise.
7856 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7857 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7858 these are already provided in bits/ioctl-types.h
7860 2014-05-16 Roland McGrath <roland@hack.frob.com>
7862 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7863 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7865 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7866 Use wait4 regardless of [__NR_waitpid].
7868 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7871 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7872 (_FP_NANSIGN_Q): Set the quiet bit.
7874 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7876 * benchtests/Makefile
7877 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7878 not $(common-objpfx)math/libm.so.
7879 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7880 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7881 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7882 $(common-objpfx)dlfcn/libdl.so.
7883 ($(objpfx)tst-audit8): Depend on $(libm), not
7884 $(common-objpfx)math/libm.so.
7885 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7886 not $(common-objpfx)dlfcn/libdl.so.
7888 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7889 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7890 [$(build-shared) = yes].
7891 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7892 $(common-objpfx)nptl/libpthread.so.
7893 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7894 $(common-objpfx)math/libm.so$(libm.so-version) or
7895 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7896 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7897 $(common-objpfx)dlfcn/libdl.so.
7898 * setjmp/Makefile (link-libm): Remove variable.
7899 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7900 * stdio-common/Makefile (link-libm): Remove variable.
7901 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7902 * stdlib/Makefile (link-libm): Remove variable.
7903 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7904 ($(objpfx)tst-strtod-round): Likewise.
7905 ($(objpfx)tst-tininess): Likewise.
7906 ($(objpfx)tst-strtod-underflow): Likewise.
7907 ($(objpfx)tst-strtod6): Likewise.
7908 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7909 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7910 $(common-objpfx)dlfcn/libdl.so.
7912 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7915 BSD terminal modes definitions.
7917 2014-05-16 Roland McGrath <roland@hack.frob.com>
7919 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7920 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7922 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7923 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7924 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7925 Don't do #include_next.
7926 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7927 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7928 Don't do #include_next.
7929 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7930 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7931 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7932 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7934 2014-05-16 Allan McRae <allan@archlinux.org>
7936 * po/sv.po: Update Swedish translation from translation project.
7938 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7941 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7944 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7945 errno if the TIOCGPTN ioctl fails with an error different than
7947 * login/tst-ptsname.c: New file.
7948 * login/Makefile (tests): Add tst-ptsname.
7951 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7954 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7958 herrno to return EAI_AGAIN.
7960 2014-05-14 Roland McGrath <roland@hack.frob.com>
7962 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7963 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7964 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7965 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7966 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7967 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7968 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7969 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7971 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7972 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7973 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7974 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7975 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7977 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7978 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7979 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7981 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7982 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7983 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7985 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7986 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7987 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7988 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7989 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7991 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7993 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7995 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7998 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8000 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8002 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8022 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8024 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8027 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8029 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8031 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8033 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8035 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8041 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8043 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8048 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8050 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8052 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8053 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8054 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8055 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8056 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8057 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8058 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8059 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8060 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8061 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8062 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8063 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8064 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8065 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8066 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8067 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8068 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8069 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8070 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8071 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8072 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8073 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8074 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8076 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8078 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8080 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8082 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8084 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8085 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8087 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8088 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8089 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8090 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8091 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8092 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8094 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8097 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8100 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8103 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8104 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8105 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8106 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8108 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8110 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8112 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8114 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8117 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8118 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8120 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8122 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8123 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8124 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8125 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8132 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8134 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8136 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8139 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8142 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8145 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8146 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8148 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8150 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8153 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8155 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8156 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8157 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8158 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8159 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8160 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8162 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8167 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8168 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8170 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8173 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8178 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8179 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8180 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8181 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8182 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8184 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8185 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8191 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8192 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8194 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8198 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8199 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8200 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8201 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8204 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8205 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8206 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8208 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8210 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8213 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8214 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8216 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8218 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8219 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8220 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8221 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8222 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8224 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8228 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8230 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8232 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8234 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8236 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8238 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8240 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8241 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8243 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8244 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8246 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8247 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8248 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8250 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8252 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8254 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8258 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8260 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8262 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8265 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8267 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8270 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8272 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8274 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8275 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8276 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8282 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8283 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8284 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8286 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8288 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8289 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8290 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8292 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8294 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8301 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8302 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8303 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8304 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8306 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8307 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8309 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8310 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8311 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8312 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8313 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8314 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8315 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8318 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8320 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8321 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8323 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8325 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8326 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8327 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8328 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8329 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8330 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8331 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8332 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8333 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8356 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8358 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8361 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8364 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8365 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8366 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8367 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8368 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8371 that was previously under [RESET_PID].
8372 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8373 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8374 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8376 * sysdeps/i386/nptl/Implies: New file.
8377 * sysdeps/x86_64/nptl/Implies: New file.
8378 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8379 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8381 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8383 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8384 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8385 (__libc_vfork): New strong alias.
8386 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8387 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8390 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8391 (__libc_vfork): New strong alias.
8392 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8393 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8395 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8396 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8397 (__libc_vfork): New strong alias.
8398 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8399 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8400 * nptl/pt-vfork.c: New file.
8401 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8402 (libpthread: GLIBC_2.20): New version set (empty).
8404 2014-05-14 Will Newton <will.newton@linaro.org>
8406 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8409 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8412 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8413 arguments with exponent 65 or above.
8414 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8415 arguments 0x1p113L or above.
8416 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8417 to arguments 0x1p107L or above.
8418 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8419 positive arguments with exponent 65 or above.
8420 * math/auto-libm-test-in: Add more tests of log1p.
8421 * math/auto-libm-test-out: Regenerated.
8424 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8425 non-finite arguments is +0.
8426 * math/s_cacosf.c (__cacosf): Likewise.
8427 * math/s_cacosl.c (__cacosl): Likewise.
8428 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8429 * sysdeps/i386/fpu/libm-test-ulps: Update.
8430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8433 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8435 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8436 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8437 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8438 for explicit high bit of mantissa when testing for argument equal
8440 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8441 * sysdeps/i386/fpu/libm-test-ulps: Update.
8442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8446 (__erf): Scale by 16 instead of 8 in potentially underflowing
8447 case. Ensure exception if result actually underflows.
8448 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8449 (__erff): Scale by 16 instead of 8 in potentially underflowing
8450 case. Ensure exception if result actually underflows.
8451 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8452 (efx8): Remove variable.
8453 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8454 case. Ensure exception if result actually underflows.
8455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8456 (efx8): Remove variable.
8457 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8458 case. Ensure exception if result actually underflows.
8459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8460 (efx8): Remove variable.
8461 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8462 case. Ensure exception if result actually underflows.
8463 * math/auto-libm-test-in: Add more tests of erf.
8464 * math/auto-libm-test-out: Regenerated.
8466 2014-05-14 Andreas Schwab <schwab@suse.de>
8468 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8469 Remove code conditionalized on USE___THREAD.
8471 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8472 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8475 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8478 Define unconditionally.
8479 (__ASSUME_O_CLOEXEC): Likewise.
8480 (__ASSUME_SOCK_CLOEXEC): Likewise.
8481 (__ASSUME_IN_NONBLOCK): Likewise.
8482 (__ASSUME_PIPE2): Likewise.
8483 (__ASSUME_EVENTFD2): Likewise.
8484 (__ASSUME_SIGNALFD4): Likewise.
8485 (__ASSUME_DUP3): Likewise.
8486 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8487 (__ASSUME_DUP3): Do not define.
8488 (__ASSUME_EVENTFD2): Likewise.
8489 (__ASSUME_IN_NONBLOCK): Likewise.
8490 (__ASSUME_O_CLOEXEC): Likewise.
8491 (__ASSUME_PIPE2): Likewise.
8492 (__ASSUME_SIGNALFD4): Likewise.
8493 (__ASSUME_SOCK_CLOEXEC): Likewise.
8494 (__ASSUME_UTIMES): Undefine.
8495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8496 (__ASSUME_UTIMES): Do not define.
8497 (__ASSUME_O_CLOEXEC): Likewise.
8498 (__ASSUME_SOCK_CLOEXEC): Likewise.
8499 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8500 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8502 (__ASSUME_PIPE2): Likewise.
8503 (__ASSUME_EVENTFD2): Likewise.
8504 (__ASSUME_SIGNALFD4): Likewise.
8505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8506 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8508 (__ASSUME_EVENTFD2): Likewise.
8509 (__ASSUME_SIGNALFD4): Likewise.
8510 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8511 (__ASSUME_32BITUIDS): Likewise.
8512 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8513 (__ASSUME_IPC64): Likewise.
8514 (__ASSUME_ST_INO_64_BIT): Likewise.
8515 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8516 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8517 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8518 (__ASSUME_UTIMES): Do not define.
8519 (__ASSUME_PSELECT): Likewise.
8520 (__ASSUME_PPOLL): Likewise.
8521 (__ASSUME_O_CLOEXEC): Likewise.
8522 (__ASSUME_SOCK_CLOEXEC): Likewise.
8523 (__ASSUME_IN_NONBLOCK): Likewise.
8524 (__ASSUME_PIPE2): Likewise.
8525 (__ASSUME_EVENTFD2): Likewise.
8526 (__ASSUME_SIGNALFD4): Likewise.
8527 (__ASSUME_DUP3): Likewise.
8528 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8529 (__ASSUME_UTIMES): Likewise.
8530 (__ASSUME_O_CLOEXEC): Likewise.
8531 (__ASSUME_SOCK_CLOEXEC): Likewise.
8532 (__ASSUME_IN_NONBLOCK): Likewise.
8533 (__ASSUME_PIPE2): Likewise.
8534 (__ASSUME_EVENTFD2): Likewise.
8535 (__ASSUME_SIGNALFD4): Likewise.
8536 (__ASSUME_DUP3): Likewise.
8537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8538 (__ASSUME_UTIMES): Likewise.
8539 (__ASSUME_O_CLOEXEC): Likewise.
8540 (__ASSUME_SOCK_CLOEXEC): Likewise.
8541 (__ASSUME_IN_NONBLOCK): Likewise.
8542 (__ASSUME_PIPE2): Likewise.
8543 (__ASSUME_EVENTFD2): Likewise.
8544 (__ASSUME_SIGNALFD4): Likewise.
8545 (__ASSUME_DUP3): Likewise.
8546 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8548 (__ASSUME_UTIMES): Likewise.
8549 (__ASSUME_EVENTFD2): Likewise.
8550 (__ASSUME_SIGNALFD4): Likewise.
8551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8552 (__ASSUME_O_CLOEXEC): Likewise.
8553 (__ASSUME_SOCK_CLOEXEC): Likewise.
8554 (__ASSUME_IN_NONBLOCK): Likewise.
8555 (__ASSUME_PIPE2): Likewise.
8556 (__ASSUME_EVENTFD2): Likewise.
8557 (__ASSUME_SIGNALFD4): Likewise.
8558 (__ASSUME_DUP3): Likewise.
8559 (__ASSUME_UTIMES): Undefine.
8561 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8562 feclearexcept. Remove symbol versioning code.
8563 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8564 symbol versioning code.
8565 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8566 symbol versioning code.
8567 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8568 feupdateenv. Remove symbol versioning code.
8569 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8570 fegetexceptflag. Remove symbol versioning code.
8571 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8572 fesetexceptflag. Remove symbol versioning code.
8573 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8574 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8575 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8576 (__posix_fadvise64_l32): Remove prototype.
8577 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8580 2014-05-13 Roland McGrath <roland@hack.frob.com>
8582 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8583 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8584 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8585 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8587 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8589 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8590 current working directory
8592 2014-05-13 Roland McGrath <roland@hack.frob.com>
8594 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8595 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8596 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8597 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8598 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8599 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8600 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8601 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8603 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8604 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8605 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8607 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8609 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8610 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8611 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8612 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8613 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8615 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8623 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8625 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8627 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8628 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8629 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8630 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8631 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8632 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8633 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8634 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8635 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8637 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8638 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8640 * sysdeps/unix/sysv/linux/arm/Makefile
8641 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8642 Add rt-aeabi_unwind_cpp_pr1.
8643 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8644 Add nptl-aeabi_unwind_cpp_pr1.
8645 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8646 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8647 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8648 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8649 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8650 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8652 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8653 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8654 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8655 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8657 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8658 Deconditionalize the code that was previously under [RESET_PID].
8659 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8661 * sysdeps/generic/exit-thread.h: New file.
8662 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8663 * include/unistd.h (__exit_thread): Remove declaration.
8664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8665 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8666 * csu/libc-start.c: Include <exit-thread.h>.
8667 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8668 * nptl/pthread_create.c: Include <exit-thread.h>.
8669 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8670 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8671 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8672 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8673 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8674 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8675 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8676 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8677 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8678 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8679 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8680 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8681 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8682 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8683 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8684 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8685 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8687 2014-05-13 Andreas Schwab <schwab@suse.de>
8689 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8691 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8693 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8694 (__ASSUME_UTIMES): Do not condition on kernel version.
8695 (__ASSUME_PSELECT): Define unconditionally.
8696 (__ASSUME_PPOLL): Likewise.
8697 (__ASSUME_ATFCTS): Likewise.
8698 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8699 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8700 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8701 (__ASSUME_UTIMENSAT): Define unconditionally.
8702 (__ASSUME_PRIVATE_FUTEX): Likewise.
8703 (__ASSUME_FALLOCATE): Likewise.
8704 (__ASSUME_O_CLOEXEC): Likewise.
8705 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8706 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8707 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8708 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8709 (__ASSUME_IN_NONBLOCK): Likewise.
8710 (__ASSUME_PIPE2): Likewise.
8711 (__ASSUME_EVENTFD2): Likewise.
8712 (__ASSUME_SIGNALFD4): Likewise.
8713 (__ASSUME_DUP3): Likewise.
8714 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8715 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8716 (__ASSUME_AT_RANDOM): Likewise.
8717 (__ASSUME_PREADV): Likewise.
8718 (__ASSUME_PWRITEV): Likewise.
8719 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8720 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8721 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8722 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8723 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8725 (__ASSUME_O_CLOEXEC): Define unconditionally.
8726 (__ASSUME_PSELECT): Do not undefine conditionally.
8727 (__ASSUME_PPOLL): Likewise.
8728 (__ASSUME_ATFCTS): Likewise.
8729 (__ASSUME_SET_ROBUST_LIST): Likewise.
8730 (__ASSUME_UTIMENSAT): Likewise.
8731 (__ASSUME_FDATASYNC): Define unconditionally.
8732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8733 (__ASSUME_SIGFRAME_V2): Likewise.
8734 )__ASSUME_EVENTFD2): Likewise.
8735 (__ASSUME_SIGNALFD4): Likewise.
8736 (__ASSUME_PSELECT): Do not undefine conditionally.
8737 (__ASSUME_PPOLL): Likewise.
8738 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8739 (__ASSUME_PSELECT): Define unconditionally.
8740 (__ASSUME_PPOLL): Likewise.
8741 (__ASSUME_O_CLOEXEC): Likewise.
8742 (__ASSUME_SOCK_CLOEXEC): Likewise.
8743 (__ASSUME_IN_NONBLOCK): Likewise.
8744 (__ASSUME_PIPE2): Likewise.
8745 (__ASSUME_EVENTFD2): Likewise.
8746 (__ASSUME_SIGNALFD4): Likewise.
8747 (__ASSUME_DUP3): Likewise.
8748 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8749 (__ASSUME_O_CLOEXEC): Likewise.
8750 (__ASSUME_SOCK_CLOEXEC): Likewise.
8751 (__ASSUME_IN_NONBLOCK): Likewise.
8752 (__ASSUME_PIPE2): Likewise.
8753 (__ASSUME_EVENTFD2): Likewise.
8754 (__ASSUME_SIGNALFD4): Likewise.
8755 (__ASSUME_DUP3): Likewise.
8756 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8757 (__ASSUME_EVENTFD2): Likewise.
8758 (__ASSUME_SIGNALFD4): Likewise.
8759 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8761 2014-05-12 Andreas Schwab <schwab@suse.de>
8764 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8765 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8766 than maximum RPC packet size.
8767 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8768 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8769 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8770 (_nss_nis_getservbyport_r): Likewise.
8772 2014-05-12 Will Newton <will.newton@linaro.org>
8774 * malloc/Makefile (tests): Add tst-mallopt.
8775 * malloc/tst-mallopt.c: New file.
8777 2014-05-09 Roland McGrath <roland@hack.frob.com>
8779 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8780 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8782 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8784 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8785 (tst-tlsmod6.so): Likewise.
8787 2014-05-09 Roland McGrath <roland@hack.frob.com>
8789 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8791 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8794 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8795 and <dl-procinfo.h>.
8796 (__fegetenv): Save SSE state in envp->__eip if supported.
8797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8798 envp->__eip if supported.
8799 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8800 and <dl-procinfo.h>.
8801 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8802 __data_offset and __data_selector in environment to 0. Set SSE
8804 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8806 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8808 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8810 2014-05-09 Will Newton <will.newton@linaro.org>
8812 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8813 and libc_relro_required for ARM.
8814 * sysdeps/arm/preconfigure: Regenerate.
8816 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8817 Stefan Liebler <stli@linux.vnet.ibm.com>
8819 * config.make.in (enable-lock-elision): New Makefile variable.
8820 * configure.ac: Likewise.
8821 * configure: Regenerate.
8822 * sysdeps/s390/configure.ac:
8823 Add check for gcc transactions support.
8824 * sysdeps/s390/configure: Regenerate.
8825 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8826 Build elision files if enabled.
8827 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8828 Add lock elision support for s390.
8829 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8830 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8831 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8832 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8833 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8834 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8843 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8844 (__lll_timedlock_elision, __lll_lock_elision)
8845 (__lll_unlock_elision, __lll_trylock_elision)
8846 (lll_timedlock_elision, lll_lock_elision)
8847 (lll_unlock_elision, lll_trylock_elision): Add.
8848 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8849 (pthread_mutex_t): Add lock elision support for s390.
8851 2014-05-14 Wilco <wdijkstr@arm.com>
8853 * sysdeps/arm/fclrexcpt.c: Cleanup.
8854 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8855 * sysdeps/arm/feenablxcpt.c: Cleanup.
8856 * sysdeps/arm/fegetenv.c: Cleanup.
8857 * sysdeps/arm/fegetexcept.c: Cleanup.
8858 * sysdeps/arm/fegetround.c: Cleanup.
8859 * sysdeps/arm/feholdexcpt.c: Cleanup.
8860 * sysdeps/arm/fesetenv.c: Cleanup.
8861 * sysdeps/arm/fesetround.c: Cleanup.
8862 * sysdeps/arm/feupdateenv.c: Cleanup.
8863 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8864 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8865 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8866 * sysdeps/arm/ftestexcept.c: Cleanup.
8867 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8868 * sysdeps/arm/setfpucw.c: Cleanup.
8870 2014-05-09 Will Newton <will.newton@linaro.org>
8872 * sysdeps/arm/armv7/strcmp.S: New file.
8873 * NEWS: Mention addition of ARMv7 optimized strcmp.
8875 2014-05-08 Roland McGrath <roland@hack.frob.com>
8877 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8878 look for %.ac rather than %.in.
8880 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8881 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8882 * sysdeps/mach/hurd/configure: Regenerated.
8883 * sysdeps/unix/sysv/linux/configure: Regenerated.
8885 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8887 2014-05-07 Steve Ellcey <sellcey@mips.com>
8890 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8894 2014-05-07 Andreas Schwab <schwab@suse.de>
8896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8897 when skipping over non-matching result from nscd.
8899 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8902 * nptl/sockperf.c (client): Check socket return value.
8905 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8906 nscd security class.
8908 2014-05-06 Roland McGrath <roland@hack.frob.com>
8910 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8911 * sysdeps/arm/unwind.h: ... here.
8913 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8916 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8919 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8921 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8922 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8923 multiarch strncpy for PPC64.
8924 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8925 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8927 multiarch optimizations.
8928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8929 (__libc_ifunc_impl_list): Likewise.
8930 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8931 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8932 multiarch stpncpy for PPC64.
8933 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8934 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8936 2014-05-06 Andreas Schwab <schwab@suse.de>
8939 * gmon/mcount.c (_MCOUNT_DECL): Use
8940 atomic_compare_and_exchange_bool_acq instead of
8941 catomic_compare_and_exchange_bool_acq.
8943 2014-05-05 Roland McGrath <roland@hack.frob.com>
8945 * elf/Makefile (others, install-bin): Remove pldd.
8946 (pldd-modules): Variable removed.
8947 ($(objpfx)pldd): Target removed.
8948 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8949 (others, install-bin): Append pldd here.
8950 ($(objpfx)pldd): New target.
8952 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8953 to 0, so the first #if test emitted later doesn't see it undefined.
8954 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8955 * sysdeps/gnu/errlist.c: Regenerated.
8957 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8960 [libc_hidden_builtin_def]: Define to empty value.
8961 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8962 [libc_hidden_builtin_def]: Likewise.
8963 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8964 [libc_hidden_builtin_def]: Likewise.
8965 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8966 [libc_hidden_builtin_def]: Likewise.
8967 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8968 __redirect_memcpy and define ifunc as default hidden symbol.
8969 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8970 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8972 2014-05-04 Adam Conrad <adconrad@0c3.net>
8974 * locale/iso-4217.def: Reintroduce XDR currency.
8976 2014-05-04 Allan McRae <allan@archlinux.org>
8978 * po/eo.po: Update Esperanto translation from translation project.
8980 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8982 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8983 and FEATURE_INDEX_MAX to 1.
8984 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8986 2014-05-01 Steve Ellcey <sellcey@mips.com>
8988 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8989 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8990 * iconvdata/big5.c (ONE_DIRECTION): Define.
8991 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8992 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8993 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8994 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8995 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8996 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8997 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8998 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8999 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9000 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9001 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9002 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9003 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9004 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9005 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9006 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9007 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9008 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9009 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9010 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9011 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9012 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9013 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9014 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9015 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9016 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9017 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9018 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9019 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9020 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9021 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9022 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9023 * iconvdata/johab.c (ONE_DIRECTION): Define.
9024 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9025 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9026 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9027 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9028 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9029 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9030 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9031 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9032 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9033 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9035 2014-05-01 Roland McGrath <roland@hack.frob.com>
9037 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9038 (_IO_JUMPS_OFFSET): Define to 0.
9040 * nptl/sysdeps/pthread/bits/libc-lock.h
9041 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9042 (__libc_lock_define_initialized_recursive): Always define using
9043 initializer. Modern compilers treat uninitialized (implicit zero) and
9044 explicit zero initializers the same (i.e. put the datum in bss).
9046 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9048 * nscd/nscd-client.h: Include <string.h>.
9050 2014-05-01 David S. Miller <davem@davemloft.net>
9053 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9054 multiple zero bytes exist at the end of a string.
9055 Reported by Aurelien Jarno <aurelien@aurel32.net>
9057 * string/test-strcmp.c (check): Add explicit test for situations where
9058 there are multiple zero bytes after the first.
9060 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9063 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9064 when compiling wprintf.
9065 * stdio-common/tstdiomisc.c (t3): New function.
9068 2014-05-01 Steve Ellcey <sellcey@mips.com>
9070 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9071 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9072 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9073 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9075 2014-05-01 Steve Ellcey <sellcey@mips.com>
9077 * stdlib/longlong.h: Updated from GCC.
9079 2014-05-01 Will Newton <will.newton@linaro.org>
9080 Bernard Ogden <bernie.ogden@linaro.org>
9082 * NEWS: Update fixed bug list.
9085 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9087 2014-04-30 David S. Miller <davem@davemloft.net>
9089 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9090 (libc_feholdexcept_setround_sparc_ctx): New function.
9091 (libc_fesetenv_sparc_ctx): Likewise.
9092 (libc_feupdateenv_sparc_ctx): Likewise.
9093 (libc_feholdsetround_sparc_ctx): Likewise.
9094 (libc_feholdexcept_setround_ctx): Define.
9095 (libc_feholdexcept_setroundf_ctx): Likewise.
9096 (libc_feholdexcept_setroundl_ctx): Likewise.
9097 (libc_fesetenv_ctx): Likewise.
9098 (libc_fesetenvf_ctx): Likewise.
9099 (libc_fesetenvl_ctx): Likewise.
9100 (libc_feupdateenv_ctx): Likewise.
9101 (libc_feupdateenvf_ctx): Likewise.
9102 (libc_feupdateenvl_ctx): Likewise.
9103 (libc_feresetround_ctx): Likewise.
9104 (libc_feresetroundf_ctx): Likewise.
9105 (libc_feresetroundl_ctx): Likewise.
9106 (libc_feholdsetround_ctx): Likewise.
9107 (libc_feholdsetroundf_ctx): Likewise.
9108 (libc_feholdsetroundl_ctx): Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9111 with __USE_GNU instead of XOPEN cpp guards.
9113 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9117 with XOPEN cpp guards.
9119 2014-04-30 Julian Brown <julian@codesourcery.com>
9122 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9125 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9128 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9130 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9131 * sysdeps/unix/sysv/linux/configure: Regenerated.
9132 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9133 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9134 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9135 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9136 * README: Update reference to required Linux kernel version.
9137 * manual/install.texi (Linux): Update reference to required Linux
9138 kernel headers version.
9139 * INSTALL: Regenerated.
9141 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9143 [POSIX] (limits.h): Likewise.
9144 [POSIX] (math.h): Likewise.
9145 [POSIX] (sys/wait.h): Likewise.
9146 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9148 [POSIX] (stddef.h): Do not allow header inclusion.
9150 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9154 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9156 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9157 Return immediately after lll_futex_wake.
9159 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9162 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9164 (datahead_init_pos): Call datahead_init_common early.
9165 (datahead_init_neg): Likewise.
9167 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9168 datahead_init_neg): New functions.
9169 * nscd/aicache.c (addhstaiX): Use them.
9170 * nscd/grpcache.c (cache_addgr): Likewise.
9171 * nscd/hstcache.c (cache_addhst): Likewise.
9172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9173 * nscd/netgroupcache.c (do_notfound): Likewise.
9174 (addgetnetgrentX): Likewise.
9175 (addinnetgrX): Likewise.
9176 * nscd/pwdcache.c (cache_addpw): Likewise.
9177 * nscd/servicescache.c (cache_addserv): Likewise.
9179 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9180 Atsushi Onoe <atsushi@onoe.org>
9185 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9186 one response is valid.
9187 * resolv/res_send.c (send_dg): Check for validity of other
9188 response if the current response is a referral.
9190 2014-04-29 Steve Ellcey <sellcey@mips.com>
9192 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9194 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9197 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9198 Always divide by positive zero when computing -Inf result.
9199 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9200 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9202 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9204 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9205 FPSCR if value do not change.
9206 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9207 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9208 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9209 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9210 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9211 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9214 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9216 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9217 * sysdeps/unix/sysv/linux/hppa: Move directory from
9218 ports/systeps/unix/sysv/linux/hppa.
9219 * README: Update listing for hppa-*-linux-gnu.
9221 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9224 * manual/stdio.texi (Hook functions): Fix types of stream hook
9227 * socket/sys/socket.h: Fix typo in comment.
9229 2014-04-28 Wilco <wdijkstr@arm.com>
9231 * sysdeps/arm/fenv_private.h: New file.
9232 * sysdeps/arm/math_private.h: New file.
9233 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9235 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9237 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9239 (La_x86_64_retval): Likewise.
9241 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9243 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9244 fpsr if value didn't change.
9245 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9246 to fpcr if value didn't change.
9247 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9248 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9249 fpsr or fpcr if value didn't change.
9250 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9251 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9252 fpcr if value didn't change.
9253 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9254 to fpsr if value didn't change.
9256 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9258 * nptl/tst-sem3.c: Use test-skeleton.c
9259 (main): Rename to do_test. Use return instead of
9261 * nptl/tst-sem4.c: Use test-skeleton.c
9262 (main): Rename to do_test.
9264 2014-04-22 David S. Miller <davem@davemloft.net>
9266 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9267 (struct sigaction): New struct member __glibc_reserved0, change
9268 type of sa_flags to int.
9270 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9272 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9273 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9275 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9278 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9280 2014-04-22 Will Newton <will.newton@linaro.org>
9281 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9283 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9284 (__longjmp): Add longjmp and longjmp_target SystemTap
9286 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9287 (__sigsetjmp): Add setjmp SystemTap probe.
9289 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9291 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9294 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9296 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9298 * sysdeps/powerpc/fpu/fenv_private.h
9299 (libc_feholdexcept_setroundl_ctx): Define to
9300 libc_feholdexcept_setround_ppc_ctx.
9301 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9302 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9303 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9304 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9306 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9308 * sysdeps/aarch64/math-tests.h: New file.
9310 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9312 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9315 Check and set bit_AVX2_Usable.
9316 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9318 (bit_AVX2): Likewise.
9319 (index_AVX2_Usable): Likewise.
9320 (CPUID_AVX2): Likewise.
9321 (HAS_AVX2): Likewise.
9323 2014-04-17 Will Newton <will.newton@linaro.org>
9325 * manual/setjmp.texi (System V contexts): Add note that
9326 calling setcontext on a context created by a call to a
9327 signal handler is undefined. Update text to note that
9328 setcontext from a signal handler is possible but not
9332 * stdlib/tst-setcontext.c: Include signal.h.
9333 (main): Check that the signal stack before and
9334 after swapcontext is the same.
9336 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9337 Re-implement to restore registers in user code and avoid
9338 rt_sigreturn system call.
9340 2014-04-17 Wilco <wdijkstr@arm.com>
9342 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9343 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9344 * math/test-fenv.c: Skip exception trap tests on targets which only
9345 support non-stop mode.
9347 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9348 Wilco Dijkstra <wilco.dijkstra@arm.com>
9350 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9351 (libc_feholdsetround_aarch64_ctx)
9352 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9353 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9354 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9355 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9356 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9357 (libc_feresetround_noexl_ctx): Define.
9359 2014-04-16 Richard Henderson <rth@redhat.com>
9361 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9363 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9366 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9367 const from the non-libc, non-ldso copy.
9369 * sysdeps/alpha/libm-test-ulps: Regenerate.
9371 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9372 Wilco Dijkstra <wilco.dijkstra@arm.com>
9374 * sysdeps/aarch64/fpu/math_private.h: New file.
9376 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9378 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9380 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9383 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9384 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9386 Intel MPX bound registers before _dl_profile_fixup.
9387 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9388 registers after _dl_profile_fixup. Save and restore bound
9389 registers bnd0/bnd1 when calling _dl_call_pltexit.
9390 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9391 (LR_BND_OFFSET): Likewise.
9392 (LRV_BND0_OFFSET): Likewise.
9393 (LRV_BND1_OFFSET): Likewise.
9395 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9397 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9399 * sysdeps/mach/hurd/i386/tls.h: ... here.
9400 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9401 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9404 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9406 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9408 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9410 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9412 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9415 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9416 * sysdeps/s390/configure: Regenerate.
9419 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9420 Set round-to-nearest internally to reduce error accumulation.
9422 2014-04-16 Alan Modra <amodra@gmail.com>
9426 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9427 * math/libm-test.inc (frexp_test_data): Add tests.
9428 * NEWS: Update fixed bug list.
9430 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9432 * benchtests/Makefile: Depend on libraries in build directory.
9433 (bench-math): Separate out math tests.
9434 (bench-pthread): Separate out pthread tests.
9435 (bench): Include math and pthread tests.
9437 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9440 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9441 _dl_debug_initialize.
9443 * configure.ac: Remove SELinux header check.
9444 * configure: Regenerate.
9445 * nscd/selinux.c (perms): Array of const char* to permission names.
9446 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9447 default policy. Call string_to_security_class and string_to_av_perm to
9448 translate strings. Enforce default policy and call avs_has_perm with
9449 results of translated strings.
9451 2014-04-13 David S. Miller <davem@davemloft.net>
9453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9455 2014-04-12 Allan McRae <allan@archlinux.org>
9458 * manual/string.texi (Collation Functions): Fix qsort argument
9460 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9462 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9464 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9465 Make the test a no-op if there are no exceptions defined.
9467 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9469 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9470 enable-hardcoded-path-in-tests
9472 2014-04-11 Will Newton <will.newton@linaro.org>
9474 * benchtests/Makefile (extra-objs): Add json-lib.o.
9475 (bench-func): Tidy up JSON output.
9476 * benchtests/bench-skeleton.c: Include json-lib.h.
9477 (main): Use JSON library functions to do output of
9479 * benchtests/bench-timing-type.c (main): Output the
9480 timing type simply, leaving formatting to the user.
9481 * benchtests/json-lib.c: New file.
9482 * benchtests/json-lib.h: Likewise.
9484 2014-04-11 Torvald Riegel <triegel@redhat.com>
9487 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9488 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9489 memory barriers. Add comments.
9490 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9491 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9492 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9493 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9494 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9495 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9497 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9499 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9500 * sysdeps/s390/s390-64/configure.ac: ... this ...
9501 * sysdeps/s390/configure.ac: ... to here.
9502 * sysdeps/s390/s390-32/configure: Delete file.
9503 * sysdeps/s390/s390-64/configure: Delete file.
9504 * sysdeps/s390/configure: Regenerate.
9506 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9508 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9510 2014-04-11 Will Newton <will.newton@linaro.org>
9512 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9513 to zero if it is not defined elsewhere. (mtrim): Test
9514 the value of MALLOC_DEBUG with #if rather than #ifdef.
9516 2014-04-10 Torvald Riegel <triegel@redhat.com>
9518 * benchtests/pthread_once-inputs: New file.
9519 * benchtests/pthread_once-source.c: New file.
9520 * benchtests/README: Update documentation.
9522 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9523 H.J. Lu <hongjiu.lu@intel.com>
9526 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9527 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9528 * sysdeps/x86_64/configure: Regenerated.
9529 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9531 (REGISTER_SAVE_RAX): Likewise.
9532 (REGISTER_SAVE_RCX): Likewise.
9533 (REGISTER_SAVE_RDX): Likewise.
9534 (REGISTER_SAVE_RSI): Likewise.
9535 (REGISTER_SAVE_RDI): Likewise.
9536 (REGISTER_SAVE_R8): Likewise.
9537 (REGISTER_SAVE_R9): Likewise.
9538 (REGISTER_SAVE_BND0): Likewise.
9539 (REGISTER_SAVE_BND1): Likewise.
9540 (REGISTER_SAVE_BND2): Likewise.
9541 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9542 bound registers when calling _dl_fixup.
9544 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9546 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9547 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9549 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9550 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9551 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9552 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9553 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9554 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9555 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9557 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9560 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9561 pathconf(_PC_NAME_MAX).
9563 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9565 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9567 (__PTHREAD_SPINS): Move definition to ...
9568 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9569 (__PTHREAD_SPINS): ... here.
9570 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9571 (__PTHREAD_SPIN): Likewise.
9572 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9573 (__PTHREAD_SPIN): Likewise.
9574 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9575 (__PTHREAD_SPIN): Likewise.
9576 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9577 (__PTHREAD_SPIN): Likewise.
9578 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9579 (__PTHREAD_SPIN): Likewise.
9580 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9581 (__PTHREAD_SPIN): Likewise.
9582 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9583 (__PTHREAD_SPIN): Likewise.
9584 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9585 (__PTHREAD_SPIN): Likewise.
9586 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9587 (__PTHREAD_SPIN): Likewise.
9588 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9589 (__PTHREAD_SPIN): Likewise.
9590 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9591 (__PTHREAD_SPIN): Likewise.
9592 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9593 (__PTHREAD_SPIN): Likewise.
9595 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9596 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9597 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9598 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9600 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9601 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9602 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9603 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9605 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9606 strlen symbol for non multi-arch builds.
9607 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9608 missing hidden_def and weak_alias.
9610 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9612 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9614 2014-04-07 Will Newton <will.newton@linaro.org>
9616 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9617 and contents. [!_LIBC] Remove #ifndef and contents.
9618 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9619 * string/memccpy.c (__memccpy): Use ANSI prototype.
9620 * string/memfrob.c (memfrob): Likewise.
9621 * string/strcoll.c (STRCOLL): Likewise.
9622 * string/strlen.c (strlen): Likewise.
9623 * string/strtok.c (STRTOK): Likewise.
9624 * string/strcat.c: Remove unused #include of memcopy.h.
9625 (strcat): Use ANSI prototype.
9626 * string/strchr.c: Remove unused #include of memcopy.h.
9627 (strchr): Use ANSI prototype.
9628 * string/strcmp.c: Remove unused #include of memcopy.h.
9629 (strcmp): Use ANSI prototype.
9630 * string/strcpy.c: Remove unused #include of memcopy.h.
9631 (strcpy): Use ANSI prototype.
9633 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9635 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9636 * config.make.in (config-extra-cppflags): Set it from
9637 libc_extra_cppflags.
9638 * configure.ac (libc_extra_cflags): Make it accumulate over
9639 configure fragments.
9640 (libc_extra_cppflags): New flag.
9641 * configure. Regenerate.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9643 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9644 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9649 result for FE_DOWNWARD rounding mode.
9650 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9654 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9656 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9657 in function argument name.
9659 2014-04-03 David Svoboda <svoboda@cert.org>
9662 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9665 2014-04-03 Roland McGrath <roland@hack.frob.com>
9667 * elf/dl-unmap-segments.h: New file.
9668 * sysdeps/generic/ldsodefs.h
9669 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9670 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9671 * elf/dl-fptr.c: Likewise.
9672 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9673 * sysdeps/aarch64/tlsdesc.c: Likewise.
9674 * sysdeps/arm/tlsdesc.c: Likewise.
9675 * sysdeps/i386/tlsdesc.c: Likewise.
9676 * sysdeps/tile/dl-runtime.c: Likewise.
9677 * sysdeps/x86_64/tlsdesc.c: Likewise.
9678 * elf/dl-load.h: New file.
9679 * elf/dl-load.c: Include it.
9680 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9681 Macros moved to dl-load.h.
9682 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9683 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9684 Use _dl_unmap_segments in place of __munmap.
9685 Break out segment-mapping loop into ...
9686 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9688 2014-04-03 Will Newton <will.newton@linaro.org>
9690 * elf/dl-lookup.c (do_lookup_x): Remove comment
9691 referring to nested function and move variable
9692 declarations down to before first use.
9694 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9698 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9700 * math/s_catanf.c (__catanf): Likewise.
9701 * math/s_catanh.c (__catanh): Likewise.
9702 * math/s_catanhf.c (__catanhf): Likewise.
9703 * math/s_catanhl.c (__catanhl): Likewise.
9704 * math/s_catanl.c (__catanl): Likewise.
9705 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9706 by positive zero when computing -Inf result.
9707 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9708 (catanh_test): Likewise.
9709 * sysdeps/i386/fpu/libm-test-ulps: Update.
9710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9713 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9714 instead of using underflowing value in computing result.
9715 * math/s_clog10.c (__clog10): Likewise.
9716 * math/s_clog10f.c (__clog10f): Likewise.
9717 * math/s_clog10l.c (__clog10l): Likewise.
9718 * math/s_clogf.c (__clogf): Likewise.
9719 * math/s_clogl.c (__clogl): Likewise.
9720 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9721 (clog10_test): Likewise.
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9725 2014-04-02 Alan Modra <amodra@gmail.com>
9728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9729 output when value is near a power of two. Use int64_t for lx and
9730 remove casts. Use decimal rather than hex exponent constants.
9731 Don't use long double multiplication when double will suffice.
9732 * math/libm-test.inc (nextafter_test_data): Add tests.
9733 * NEWS: Add 16739 and 16786 to bug list.
9735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9737 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9739 2014-04-01 Will Newton <will.newton@linaro.org>
9741 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9742 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9744 2014-04-01 Florian Weimer <fweimer@redhat.com>
9747 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9748 * nptl/tst-setuid2.c: New file.
9749 * nptl/Makefile (xtests): Add tst-setuid2.
9751 2014-04-01 Alan Modra <amodra@gmail.com>
9754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9756 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9760 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9761 set errno as appropriate.
9762 * math/w_scalbf.c (__scalbf): Likewise.
9763 * math/w_scalbl.c (__scalbl): Likewise.
9764 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9765 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9766 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9770 * math/w_atan2.c: Include <errno.h>.
9771 (__atan2): Set errno for result underflowing to zero.
9772 * math/w_atan2f.c: Include <errno.h>.
9773 (__atan2f): Set errno for result underflowing to zero.
9774 * math/w_atan2l.c: Include <errno.h>.
9775 (__atan2l): Set errno for result underflowing to zero.
9776 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9778 * math/auto-libm-test-out: Regenerated.
9780 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9782 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9783 Encode instruction correctly in little endian.
9784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9786 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9790 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9793 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9796 * sysdeps/unix/sysv/linux/kernel-features.h
9797 [__sparc__ && !__arch64__ && !__sparc_v9__]
9798 (__ASSUME_SET_ROBUST_LIST): Do not define.
9799 [__sparc__ && !__arch64__ && !__sparc_v9__]
9800 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9801 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9804 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9805 (__ASSUME_REQUEUE_PI): Likewise.
9806 (__ASSUME_SET_ROBUST_LIST): Likewise.
9807 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9808 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9810 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9811 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9813 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9815 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9818 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9820 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9821 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9825 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9826 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9827 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9829 2014-03-31 Will Newton <will.newton@linaro.org>
9831 * benchtests/Makefile (bench): Add ffs and ffsll to list
9833 * benchtests/ffs-inputs: New file.
9834 * benchtests/ffsll-inputs: Likewise.
9836 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9839 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9840 too large before casting to int.
9841 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9842 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9843 * math/libm-test.inc (scalb_test_data): Add more tests.
9845 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9847 * benchtests/Makefile (DETAILED_OPT): New make option.
9848 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9850 * benchtests/bench-skeleton.c: Include stdbool.h.
9851 (main): Store and print timings per input.
9852 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9853 member to each argument value.
9854 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9855 (_print_arg_data): Initialize per-input timing to 0.
9857 * benchtests/Makefile (timing-type): New binary.
9858 (bench-clean): Also remove bench-timing-type.
9859 (bench): New target for timing-type.
9860 (bench-func): Print output in JSON format.
9861 * benchtests/bench-skeleton.c (main): Print output in JSON
9863 * benchtests/bench-timing-type.c: New file.
9864 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9865 (TIMING_PRINT_STATS): Remove.
9866 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9869 * benchtests/bench-modf.c: Remove.
9870 * benchtests/modf-inputs: New inputs file.
9872 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9875 * math/s_clog10.c (M_PI_LOG10E): New macro.
9876 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9877 imaginary parts are 0.
9878 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9879 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9880 imaginary parts are 0.
9881 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9882 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9883 imaginary parts are 0.
9884 * math/libm-test.inc (clog10_test_data): Update expected results
9885 for when real and imaginary parts are 0.
9887 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9889 * elf/dl-load.c: Finish conversion of __builtin_expect into
9892 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9896 1+x for argument with exponent below -67.
9897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9899 * math/auto-libm-test-in: Add more tests of exp.
9900 * math/auto-libm-test-out: Regenerated.
9902 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9905 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9906 (nscd_getnetgrent): Use it.
9909 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9912 2014-03-27 Andi Kleen <ak@linux.intel.com>
9914 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9915 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9916 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9917 (lll_robust_unlock): Remove out of line section. Use cfi
9919 (LLL_STUB_UNWIND_INFO*): Remove.
9920 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9921 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9922 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9923 (lll_robust_unlock): Remove out of line section. Use cfi
9925 (LLL_STUB_UNWIND_INFO*): Remove.
9927 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9930 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9933 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9935 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9937 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9940 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9942 * math/test-fenv-preserve.c: New file.
9943 * math/Makefile (tests): Add test-fenv-preserve.
9945 2014-03-26 Will Newton <will.newton@linaro.org>
9947 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9949 2014-03-25 Roland McGrath <roland@hack.frob.com>
9951 * scripts/versionlist.awk: Partition the version sets and emit all
9952 GLIBC_* (sorted) before all others (sorted).
9954 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9956 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9957 GLIBC_2.2.5 version.
9959 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9961 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9964 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9969 2014-03-25 Andreas Schwab <schwab@suse.de>
9971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9972 label to be used after in6ailist is initialized.
9974 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9976 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9977 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9979 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9983 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9985 (fp_formats): Update initializers.
9986 (init_fp_formats): Initialize new field.
9987 (output_for_one_input_case): Allow underflow for results up to
9989 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9990 * math/auto-libm-test-in: Don't mark some underflows from asin and
9992 * math/auto-libm-test-out: Regenerated.
9993 * sysdeps/i386/fpu/libm-test-ulps: Update.
9994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9996 2014-03-25 Andreas Schwab <schwab@suse.de>
9998 * libio/Makefile (tst-ftell-partial-wide-ENV)
9999 (tst-ftell-active-handler-ENV): Define.
10001 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10003 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10005 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10007 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10009 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10011 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10012 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10013 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10015 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10018 * elf/dl-load.c (open_verify): Add mode parameter.
10019 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10020 (open_path): Change from boolean 'secure' to complete flag 'mode'
10021 (_dl_map_object): Adjust.
10022 * elf/Makefile (tests): Add tst-dlopen-aout.
10023 * elf/tst-dlopen-aout.c: New test.
10025 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10028 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10029 (struct stat): Rename member pad0 to __glibc_reserved0.
10032 * sysdeps/s390/s390-32/bits/wordsize.h
10033 (__WORDSIZE32_SIZE_ULONG): New define.
10034 * sysdeps/s390/s390-64/bits/wordsize.h
10035 (__WORDSIZE32_SIZE_ULONG): Likewise.
10036 * sysdeps/generic/stdint.h (SIZE_MAX):
10037 Define as UL if __WORDSIZE32_SIZE_ULONG.
10040 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10041 (__glibc_reserved0): New variable.
10042 (sa_flags): Change type to int.
10044 * posix/Makefile (before-compile): Use += before-compile instead
10047 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10048 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10050 2014-03-20 Andreas Schwab <schwab@suse.de>
10053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10054 non-matching result from nscd.
10056 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10058 * scripts/bench.py: Moved to ...
10059 * benchtests/scripts/bench.py: ... here.
10060 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10062 2014-03-24 Andreas Schwab <schwab@suse.de>
10065 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10066 alloca_account and account alloca use for struct in6ailist.
10068 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10071 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10072 rounding mode to recompute results that overflow to infinity or
10074 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10076 * math/auto-libm-test-out: Regenerated.
10077 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10078 (ccosh_test): Likewise.
10079 (csin_test_data): Use plus_oflow.
10080 (csin_test): Use ALL_RM_TEST.
10081 (csinh_test_data): Use plus_oflow.
10082 (csinh_test): Use ALL_RM_TEST.
10083 * sysdeps/i386/fpu/libm-test-ulps: Update.
10084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10086 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10088 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10089 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10090 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10093 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10094 when x - 1 is zero.
10095 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10096 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10097 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10098 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10100 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10101 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10103 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10104 * sysdeps/i386/fpu/libm-test-ulps: Update.
10105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10107 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10109 * scripts/bench.pl: Remove file.
10110 * scripts/bench.py: New benchmark script.
10111 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10112 * benchtests/README: Mention python dependency.
10113 * scripts/pylintrc: New file.
10114 * scripts/pylint: New file.
10116 * bits/mathdef.h: Use #ifdef instead of #if.
10117 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10118 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10119 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10120 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10121 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10122 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10124 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10125 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10127 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10129 and strpbrk-ppc64 objects.
10130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10131 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10132 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10133 multiarch strpbrk for POWER7.
10134 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10135 multiarch strpbrk for PPC64.
10136 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10138 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10139 strpbrk for POWER7.
10141 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10143 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10144 (atan_test): Likewise.
10145 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10146 (atanh_test): Use ALL_RM_TEST.
10147 (atan2_test_data): Likewise.
10148 (cabs_test): Likewise.
10149 (cacosh_test): Likewise.
10150 (carg_test): Likewise.
10151 (casin_test): Likewise.
10152 (casinh_test): Likewise.
10153 (cbrt_test): Likewise.
10154 (csqrt_test): Likewise.
10155 (erf_test): Likewise.
10156 (erfc_test): Likewise.
10157 (pow10_test): Likewise.
10158 (exp2_test): Likewise.
10159 (hypot_test): Likewise.
10160 (j0_test): Likewise.
10161 (j1_test): Likewise.
10162 (lgamma_test): Likewise.
10163 (gamma_test): Likewise.
10164 (sincos_test): Likewise.
10165 (tanh_test): Likewise.
10166 (y0_test): Likewise.
10167 (y1_test): Likewise.
10168 * sysdeps/i386/fpu/libm-test-ulps: Update.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10171 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10173 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10175 and strcspn-ppc64 objects.
10176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10177 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10178 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10179 multiarch strcspn for POWER7.
10180 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10181 multiarch strcspn for PPC64.
10182 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10184 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10185 strcspn for POWER7.
10187 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10189 * math/gen-libm-test.pl (generate_testfile): Expect only function
10190 name as argument to AUTO_TESTS_* and pass results for all rounding
10191 modes to parse_args.
10192 (parse_auto_input): Separate inputs of automatic tests from
10193 outputs before storing in %auto_tests.
10194 * math/libm-test.inc (acos_test_data): Update call to
10196 (acos_test): Use ALL_RM_TEST.
10197 (acos_tonearest_test_data): Remove.
10198 (acos_test_tonearest): Likewise.
10199 (acos_towardzero_test_data): Likewise.
10200 (acos_test_towardzero): Likewise.
10201 (acos_downward_test_data): Likewise.
10202 (acos_test_downward): Likewise.
10203 (acos_upward_test_data): Likewise.
10204 (acos_test_upward): Likewise.
10205 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10206 (asin_test_data): Likewise.
10207 (asin_test): Use ALL_RM_TEST.
10208 (asin_tonearest_test_data): Remove.
10209 (asin_test_tonearest): Likewise.
10210 (asin_towardzero_test_data): Likewise.
10211 (asin_test_towardzero): Likewise.
10212 (asin_downward_test_data): Likewise.
10213 (asin_test_downward): Likewise.
10214 (asin_upward_test_data): Likewise.
10215 (asin_test_upward): Likewise.
10216 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10217 (atan_test_data): Likewise.
10218 (atanh_test_data): Likewise.
10219 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10220 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10221 (carg_test_data): Likewise.
10222 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10223 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10224 (ccosh_test_data): Likewise.
10225 (cexp_test_data): Likewise.
10226 (clog_test_data): Likewise.
10227 (clog10_test_data): Likewise.
10228 (cos_test_data): Update call to AUTO_TESTS_f_f.
10229 (cos_test): Use ALL_RM_TEST.
10230 (cos_tonearest_test_data): Remove.
10231 (cos_test_tonearest): Likewise.
10232 (cos_towardzero_test_data): Likewise.
10233 (cos_test_towardzero): Likewise.
10234 (cos_downward_test_data): Likewise.
10235 (cos_test_downward): Likewise.
10236 (cos_upward_test_data): Likewise.
10237 (cos_test_upward): Likewise.
10238 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10239 (cosh_test): Use ALL_RM_TEST.
10240 (cosh_tonearest_test_data): Remove.
10241 (cosh_test_tonearest): Likewise.
10242 (cosh_towardzero_test_data): Likewise.
10243 (cosh_test_towardzero): Likewise.
10244 (cosh_downward_test_data): Likewise.
10245 (cosh_test_downward): Likewise.
10246 (cosh_upward_test_data): Likewise.
10247 (cosh_test_upward): Likewise.
10248 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10249 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10250 (ctan_test_data): Likewise.
10251 (ctan_test): Use ALL_RM_TEST.
10252 (ctan_tonearest_test_data): Remove.
10253 (ctan_test_tonearest): Likewise.
10254 (ctan_towardzero_test_data): Likewise.
10255 (ctan_test_towardzero): Likewise.
10256 (ctan_downward_test_data): Likewise.
10257 (ctan_test_downward): Likewise.
10258 (ctan_upward_test_data): Likewise.
10259 (ctan_test_upward): Likewise.
10260 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10261 (ctanh_test): Use ALL_RM_TEST.
10262 (ctanh_tonearest_test_data): Remove.
10263 (ctanh_test_tonearest): Likewise.
10264 (ctanh_towardzero_test_data): Likewise.
10265 (ctanh_test_towardzero): Likewise.
10266 (ctanh_downward_test_data): Likewise.
10267 (ctanh_test_downward): Likewise.
10268 (ctanh_upward_test_data): Likewise.
10269 (ctanh_test_upward): Likewise.
10270 (erf_test_data): Update call to AUTO_TESTS_f_f.
10271 (erfc_test_data): Likewise.
10272 (exp_test_data): Likewise.
10273 (exp_test): Use ALL_RM_TEST.
10274 (exp_tonearest_test_data): Remove.
10275 (exp_test_tonearest): Likewise.
10276 (exp_towardzero_test_data): Likewise.
10277 (exp_test_towardzero): Likewise.
10278 (exp_downward_test_data): Likewise.
10279 (exp_test_downward): Likewise.
10280 (exp_upward_test_data): Likewise.
10281 (exp_test_upward): Likewise.
10282 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10283 (exp10_test): Use ALL_RM_TEST.
10284 (exp10_tonearest_test_data): Remove.
10285 (exp10_test_tonearest): Likewise.
10286 (exp10_towardzero_test_data): Likewise.
10287 (exp10_test_towardzero): Likewise.
10288 (exp10_downward_test_data): Likewise.
10289 (exp10_test_downward): Likewise.
10290 (exp10_upward_test_data): Likewise.
10291 (exp10_test_upward): Likewise.
10292 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10293 (expm1_test_data): Likewise.
10294 (expm1_test): Use ALL_RM_TEST.
10295 (expm1_tonearest_test_data): Remove.
10296 (expm1_test_tonearest): Likewise.
10297 (expm1_towardzero_test_data): Likewise.
10298 (expm1_test_towardzero): Likewise.
10299 (expm1_downward_test_data): Likewise.
10300 (expm1_test_downward): Likewise.
10301 (expm1_upward_test_data): Likewise.
10302 (expm1_test_upward): Likewise.
10303 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10304 (fma_test): Use ALL_RM_TEST.
10305 (fma_towardzero_test_data): Remove.
10306 (fma_test_towardzero): Likewise.
10307 (fma_downward_test_data): Likewise.
10308 (fma_test_downward): Likewise.
10309 (fma_upward_test_data): Likewise.
10310 (fma_test_upward): Likewise.
10311 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10312 (j0_test_data): Update call to AUTO_TESTS_f_f.
10313 (j1_test_data): Likewise.
10314 (jn_test_data): Update call to AUTO_TESTS_if_f.
10315 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10316 (log_test_data): Update call to AUTO_TESTS_f_f.
10317 (log10_test_data): Likewise.
10318 (log1p_test_data): Likewise.
10319 (log2_test_data): Likewise.
10320 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10321 (pow_tonearest_test_data): Likewise.
10322 (sin_test_data): Update call to AUTO_TESTS_f_f.
10323 (sin_test): Use ALL_RM_TEST.
10324 (sin_tonearest_test_data): Remove.
10325 (sin_test_tonearest): Likewise.
10326 (sin_towardzero_test_data): Likewise.
10327 (sin_test_towardzero): Likewise.
10328 (sin_downward_test_data): Likewise.
10329 (sin_test_downward): Likewise.
10330 (sin_upward_test_data): Likewise.
10331 (sin_test_upward): Likewise.
10332 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10333 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10334 (sinh_test): Use ALL_RM_TEST.
10335 (sinh_tonearest_test_data): Remove.
10336 (sinh_test_tonearest): Likewise.
10337 (sinh_towardzero_test_data): Likewise.
10338 (sinh_test_towardzero): Likewise.
10339 (sinh_downward_test_data): Likewise.
10340 (sinh_test_downward): Likewise.
10341 (sinh_upward_test_data): Likewise.
10342 (sinh_test_upward): Likewise.
10343 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10344 (sqrt_test): Use ALL_RM_TEST.
10345 (sqrt_tonearest_test_data): Remove.
10346 (sqrt_test_tonearest): Likewise.
10347 (sqrt_towardzero_test_data): Likewise.
10348 (sqrt_test_towardzero): Likewise.
10349 (sqrt_downward_test_data): Likewise.
10350 (sqrt_test_downward): Likewise.
10351 (sqrt_upward_test_data): Likewise.
10352 (sqrt_test_upward): Likewise.
10353 (tan_test_data): Update call to AUTO_TESTS_f_f.
10354 (tan_test): Use ALL_RM_TEST.
10355 (tan_tonearest_test_data): Remove.
10356 (tan_test_tonearest): Likewise.
10357 (tan_towardzero_test_data): Likewise.
10358 (tan_test_towardzero): Likewise.
10359 (tan_downward_test_data): Likewise.
10360 (tan_test_downward): Likewise.
10361 (tan_upward_test_data): Likewise.
10362 (tan_test_upward): Likewise.
10363 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10364 (tgamma_test_data): Likewise.
10365 (y0_test_data): Likewise.
10366 (y1_test_data): Likewise.
10367 (yn_test_data): Update call to AUTO_TESTS_if_f.
10368 (main): Do not call removed functions.
10370 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10372 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10373 (ldexp_test_data): Remove.
10374 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10376 (scalb_test): Use ALL_RM_TEST.
10378 2014-03-19 Andreas Schwab <schwab@suse.de>
10380 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10382 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10386 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10387 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10389 (__ASSUME_PREADV): Undefine.
10390 (__ASSUME_PWRITEV): Likewise.
10392 2014-03-18 Roland McGrath <roland@hack.frob.com>
10394 * bits/mman-linux.h: Add comment about non-Linux use.
10395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10396 bits/mman-linux.h resting place.
10398 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10399 * bits/mman-linux.h: ... here.
10401 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10403 * conform/conformtest.pl: Add standard definition when calling C
10404 preprocessor on data files.
10405 (checknamespace): Remove unused variable.
10407 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10409 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10410 minus_oflow, plus_uflow and minus_uflow in expected results.
10411 * math/libm-test.inc (scalbn_test_data): Add more tests of
10412 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10414 (scalbn_test): Use ALL_RM_TEST.
10415 (scalbln_test_data): Add more tests of negative arguments. Use
10416 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10417 (scalbln_test): Use ALL_RM_TEST.
10419 2014-03-18 Roland McGrath <roland@hack.frob.com>
10421 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10423 2014-03-18 Will Newton <will.newton@linaro.org>
10425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10426 inaccurate comment.
10428 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10430 * Makerules [!subdir] (check-abi): Exit with error status if a
10433 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10435 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10436 for rint. Include results for all rounding modes.
10437 (nearbyint_test): Use ALL_RM_TEST.
10438 (rint_test_data): Include all tests used for nearbyint.
10440 2014-03-17 Will Newton <will.newton@linaro.org>
10442 * nptl/sysdeps/pthread/pthread.h: Revert previous
10445 * sysdeps/generic/ldsodefs.h: Revert previous
10448 * libio/genops.c: Revert previous change.
10449 * libio/libioP.h: Likewise.
10450 * stdio-common/vfprintf.c: Likewise.
10452 * sysdeps/generic/math_private.h: Revert previous
10455 * sysdeps/generic/math_private.h: Check whether
10456 HAVE_RM_CTX is defined with #ifdef rather
10459 * argp/argp-fmtstream.h: Check whether
10460 __STRICT_ANSI__ is defined with #ifdef rather
10462 * argp/argp.h: Likewise.
10464 * libio/genops.c: Check whether
10465 _IO_JUMPS_OFFSET is defined with #ifdef rather
10467 * libio/libioP.h: Likewise.
10468 * stdio-common/vfprintf.c: Likewise.
10470 * sysdeps/generic/ldsodefs.h: Check whether
10471 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10474 * nptl/sysdeps/pthread/pthread.h: Check
10475 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10478 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10480 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10482 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10486 * libio/fileops.c (_IO_file_open): Seek to end of file but
10487 don't cache the offset.
10488 (get_file_offset): Remove function.
10489 (do_ftell): Use cached offset when available.
10490 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10491 don't cache the offset.
10492 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10494 (do_one_test): Call it.
10495 (do_ftell_test): Fix up expected old offset for a+ mode.
10496 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10499 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10500 up test status with function return status.
10501 (do_write_test): Likewise.
10502 (do_append_test): Likewise.
10504 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10505 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10508 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10510 * math/gen-libm-test.pl (parse_args): Handle results specified for
10511 each rounding mode separately.
10512 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10513 tests and results from lrint_tonearest_test_data,
10514 lrint_towardzero_test_data, lrint_downward_test_data and
10515 lrint_upward_test_data.
10516 (lrint_test): Use ALL_RM_TEST.
10517 (lrint_tonearest_test_data): Remove.
10518 (lrint_test_tonearest): Likewise.
10519 (lrint_towardzero_test_data): Likewise.
10520 (lrint_test_towardzero): Likewise.
10521 (lrint_downward_test_data): Likewise.
10522 (lrint_test_downward): Likewise.
10523 (lrint_upward_test_data): Likewise.
10524 (lrint_test_upward): Likewise.
10525 (llrint_test_data): Merge in per-rounding-mode tests and results
10526 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10527 llrint_downward_test_data and llrint_upward_test_data.
10528 (llrint_test): Use ALL_RM_TEST.
10529 (llrint_tonearest_test_data): Remove.
10530 (llrint_test_tonearest): Likewise.
10531 (llrint_towardzero_test_data): Likewise.
10532 (llrint_test_towardzero): Likewise.
10533 (llrint_downward_test_data): Likewise.
10534 (llrint_test_downward): Likewise.
10535 (llrint_upward_test_data): Likewise.
10536 (llrint_test_upward): Likewise.
10537 (rint_test_data): Merge in per-rounding-mode tests and results
10538 from rint_tonearest_test_data, rint_towardzero_test_data,
10539 rint_downward_test_data and rint_upward_test_data. Add
10540 per-rounding-mode results for tests not in those arrays.
10541 (rint_test): Use ALL_RM_TEST.
10542 (rint_tonearest_test_data): Remove.
10543 (rint_test_tonearest): Likewise.
10544 (rint_towardzero_test_data): Likewise.
10545 (rint_test_towardzero): Likewise.
10546 (rint_downward_test_data): Likewise.
10547 (rint_test_downward): Likewise.
10548 (rint_upward_test_data): Likewise.
10549 (rint_test_upward): Likewise.
10550 (main): Don't call removed functions.
10552 2014-03-14 Roland McGrath <roland@hack.frob.com>
10554 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10555 "Compiled on ..." crapola. It is anti-useful.
10557 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10559 * scripts/evaluate-test.sh: Handle fourth argument to determine
10560 whether test run should stop on failure.
10561 * Makeconfig (stop-on-test-failure): New variable.
10562 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10563 $(stop-on-test-failure).
10564 * Makefile (tests): Give a summary of results from testing and
10565 exit with failure status if they include an ERROR or FAIL.
10566 (xtests): Likewise.
10567 * manual/install.texi (Configuring and compiling): Mention
10568 stop-on-test-failure=y.
10569 * INSTALL: Regenerated.
10571 2014-03-14 Roland McGrath <roland@hack.frob.com>
10573 * scripts/versionlist.awk: New file.
10574 * Makerules [$(build-shared) = yes]
10575 (postclean-generated): Add Versions.def, not Versions.def.v and
10577 ($(common-objpfx)Versions.def.v.i): Target removed.
10578 ($(common-objpfx)Versions.def): New target.
10579 ($(common-objpfx)Versions.all): Depend on that rather that
10580 $(common-objpfx)Versions.def.v.
10581 * Versions.def: File removed.
10583 * Makeconfig (+gccwarn): Add -Wundef.
10584 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10585 a dl-sysdep.h breaking its contract.
10586 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10587 * include/stackinfo.h: New file.
10588 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10589 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10590 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10591 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10592 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10593 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10594 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10595 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10596 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10597 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10598 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10599 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10600 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10601 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10602 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10604 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10609 * math/libm-test.inc (round_test_data): Add more tests.
10612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10614 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10617 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10619 * math/libm-test.inc (ceil_test_data): Add more tests.
10621 * math/libm-test.inc (trunc_test_data): Add more tests related to
10624 2014-03-14 Roland McGrath <roland@hack.frob.com>
10626 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10627 with #if rather than #ifdef.
10628 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10630 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10632 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10633 first. Disable AVX-512 GCC support if assembler doesn't support
10635 * sysdeps/x86_64/configure: Regenerated.
10637 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10639 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10640 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10641 (__old_pthread_attr_setstack): Likewise.
10642 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10643 [!_STACK_GROWS_DOWN]: Likewise.
10645 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10647 * config.make.in (have-bash2): Delete.
10648 * configure.ac (libc_cv_have_bash2): Delete.
10649 * configure: Regenerate.
10650 * elf/Makefile (common-ldd-rewrite): Rename to ...
10651 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10652 (sh-ldd-rewrite): Delete.
10653 (bash-ldd-rewrite): Delete.
10654 (have-bash2): Delete checks.
10655 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10658 * config.make.in (have-ksh): Delete.
10660 * configure.ac (libc_cv_have_ksh): Delete.
10661 * configure: Regenerate.
10663 * elf/Makefile: Delete $(have-ksh) check.
10664 ($(objpfx)sotruss): Change KSH to BASH.
10665 * elf/sotruss.ksh: Rename to ...
10666 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10667 function style to match POSIX. Drop ksh vim mode setting.
10669 * manual/time.texi (Specifying the Time Zone with TZ): Change
10670 Tuesday to Thursday.
10672 * debug/tst-longjmp_chk2.c: Update header comment.
10673 (stackoverflow_handler): Add comment. Call assert on pass value.
10675 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10678 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10679 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10680 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10681 (La_x86_64_vector): Add zmm.
10682 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10683 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10684 ($(objpfx)tst-audit10): New target.
10685 ($(objpfx)tst-audit10.out): Likewise.
10686 (tst-audit10-ENV): New.
10687 (AVX512-CFLAGS): Likewise.
10688 (CFLAGS-tst-audit10.c): Likewise.
10689 (CFLAGS-tst-auditmod10a.c): Likewise.
10690 (CFLAGS-tst-auditmod10b.c): Likewise.
10691 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10692 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10693 * sysdeps/x86_64/configure: Regenerated.
10694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10695 AVX-512 zmm register support.
10696 (_dl_x86_64_save_sse): Likewise.
10697 (_dl_x86_64_restore_sse): Likewise.
10698 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10699 size vector registers.
10700 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10701 (ZMM_SIZE): Likewise.
10702 * sysdeps/x86_64/tst-audit10.c: New file.
10703 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10704 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10706 2014-03-13 Roland McGrath <roland@hack.frob.com>
10708 * configure.ac (HAVE_EHDR_START): New check.
10709 * configure: Regenerated.
10710 * config.h.in (HAVE_EHDR_START): New #undef.
10711 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10712 assuming the lowest-addressed segment maps the start of the file.
10714 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10716 * INSTALL: Regenerated.
10718 2014-03-13 Will Newton <will.newton@linaro.org>
10720 * manual/setjmp.texi (System V contexts): Improve
10721 clarity and grammar of documentation.
10723 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10726 * elf/Makefile (tests): Add tst-pie2.
10727 (tests-pie): Add tst-pie2.
10728 * elf/tst-pie2.c: New file.
10729 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10731 * elf/rtld.c (map_doit): Load executable as lt_executable.
10732 (dl_main): Likewise.
10734 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10737 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10738 (__ASSUME_PSELECT): Undefine.
10740 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10743 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10744 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10746 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10747 selector for static builds.
10749 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10752 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10755 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10758 IFUNC selector for static builds.
10760 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10762 * sysdeps/mips/math_private.h [__mips_hard_float]
10763 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10764 libc_feresetround_mips_ctx.
10765 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10766 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10767 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10770 * math/s_nextafter.c (__nextafter): Do not return value from
10771 overflowing computation.
10772 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10773 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10774 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10778 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10779 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10781 2014-03-11 Roland McGrath <roland@hack.frob.com>
10783 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10784 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10785 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10786 the new mov targetting sp.
10788 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10791 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10792 Define it for static builds as well.
10793 (NO_BZERO_IMPL): Likewise.
10795 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10797 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10798 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10799 multiarch strspn for PPC64.
10800 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10801 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10803 (__libc_ifunc_impl_list): Likewise.
10804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10805 multiarch optimizations
10806 * string/strspn.c (strspn): Using macro to redefine symbol name.
10808 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10809 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10811 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10812 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10813 multiarch strncat for PPC64.
10814 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10815 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10817 (__libc_ifunc_impl_list): Likewise.
10818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10819 multiarch optimizations
10821 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10824 * nscd/nscd.service: Make service type forking.
10826 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10828 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10829 sign in non default rounding modes.
10830 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10832 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10834 * math/libm-test.inc (ALL_RM_TEST): New macro.
10835 (ceil_test): Use ALL_RM_TEST.
10836 (cimag_test): Likewise.
10837 (conj_test): Likewise.
10838 (copysign_test): Likewise.
10839 (cproj_test): Likewise.
10840 (creal_test): Likewise.
10841 (fabs_test): Likewise.
10842 (floor_test): Likewise.
10843 (fmax_test): Likewise.
10844 (fmin_test): Likewise.
10845 (fmod_test): Likewise.
10846 (fpclassify_test): Likewise.
10847 (frexp_test): Likewise.
10848 (ilogb_test): Likewise.
10849 (isfinite_test): Likewise.
10850 (finite_test): Likewise.
10851 (isgreater_test): Likewise.
10852 (isgreaterequal_test): Likewise.
10853 (isinf_test): Likewise.
10854 (isless_test): Likewise.
10855 (islessequal_test): Likewise.
10856 (islessgreater_test): Likewise.
10857 (isnan_test): Likewise.
10858 (isnormal_test): Likewise.
10859 (issignaling_test): Likewise.
10860 (isunordered_test): Likewise.
10861 (logb_test): Likewise.
10862 (logb_downward_test_data): Remove.
10863 (logb_test_downward): Likewise.
10864 (lround_test): Use ALL_RM_TEST.
10865 (llround_test): Likewise.
10866 (modf_test): Likewise.
10867 (nexttoward_test): Likewise.
10868 (remainder_test): Likewise.
10869 (drem_test): Likewise.
10870 (remainder_tonearest_test_data): Likewise.
10871 (remainder_test_tonearest): Likewise.
10872 (drem_test_tonearest): Likewise.
10873 (remainder_towardzero_test_data): Likewise.
10874 (remainder_test_towardzero): Likewise.
10875 (drem_test_towardzero): Likewise.
10876 (remainder_downward_test_data): Likewise.
10877 (remainder_test_downward): Likewise.
10878 (drem_test_downward): Likewise.
10879 (remainder_upward_test_data): Likewise.
10880 (remainder_test_upward): Likewise.
10881 (drem_test_upward): Likewise.
10882 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10883 (round_test): Use ALL_RM_TEST.
10884 (signbit_test): Likewise.
10885 (trunc_test): Likewise.
10886 (significand_test): Likewise.
10887 (main): Don't call removed functions.
10889 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10892 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10893 || __USE_XOPEN2K8].
10894 (ILL_ILLOPN): Likewise.
10895 (ILL_ILLADR): Likewise.
10896 (ILL_ILLTRP): Likewise.
10897 (ILL_PRVOPC): Likewise.
10898 (ILL_PRVREG): Likewise.
10899 (ILL_COPROC): Likewise.
10900 (ILL_BADSTK): Likewise.
10901 (FPE_INTDIV): Likewise.
10902 (FPE_INTOVF): Likewise.
10903 (FPE_FLTDIV): Likewise.
10904 (FPE_FLTOVF): Likewise.
10905 (FPE_FLTUND): Likewise.
10906 (FPE_FLTRES): Likewise.
10907 (FPE_FLTINV): Likewise.
10908 (FPE_FLTSUB): Likewise.
10909 (SEGV_MAPERR): Likewise.
10910 (SEGV_ACCERR): Likewise.
10911 (BUS_ADRALN): Likewise.
10912 (BUS_ADRERR): Likewise.
10913 (BUS_OBJERR): Likewise.
10914 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10915 (TRAP_TRACE): Likewise.
10916 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10918 (CLD_KILLED): Likewise.
10919 (CLD_DUMPED): Likewise.
10920 (CLD_TRAPPED): Likewise.
10921 (CLD_STOPPED): Likewise.
10922 (CLD_CONTINUED): Likewise.
10923 (POLL_IN): Likewise.
10924 (POLL_OUT): Likewise.
10925 (POLL_MSG): Likewise.
10926 (POLL_ERR): Likewise.
10927 (POLL_PRI): Likewise.
10928 (POLL_HUP): Likewise.
10929 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10931 (ILL_ILLOPN): Likewise.
10932 (ILL_ILLADR): Likewise.
10933 (ILL_ILLTRP): Likewise.
10934 (ILL_PRVOPC): Likewise.
10935 (ILL_PRVREG): Likewise.
10936 (ILL_COPROC): Likewise.
10937 (ILL_BADSTK): Likewise.
10938 (FPE_INTDIV): Likewise.
10939 (FPE_INTOVF): Likewise.
10940 (FPE_FLTDIV): Likewise.
10941 (FPE_FLTOVF): Likewise.
10942 (FPE_FLTUND): Likewise.
10943 (FPE_FLTRES): Likewise.
10944 (FPE_FLTINV): Likewise.
10945 (FPE_FLTSUB): Likewise.
10946 (SEGV_MAPERR): Likewise.
10947 (SEGV_ACCERR): Likewise.
10948 (BUS_ADRALN): Likewise.
10949 (BUS_ADRERR): Likewise.
10950 (BUS_OBJERR): Likewise.
10951 (BUS_MCEERR_AR): Likewise.
10952 (BUS_MCEERR_AO): Likewise.
10953 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10954 (TRAP_TRACE): Likewise.
10955 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10957 (CLD_KILLED): Likewise.
10958 (CLD_DUMPED): Likewise.
10959 (CLD_TRAPPED): Likewise.
10960 (CLD_STOPPED): Likewise.
10961 (CLD_CONTINUED): Likewise.
10962 (POLL_IN): Likewise.
10963 (POLL_OUT): Likewise.
10964 (POLL_MSG): Likewise.
10965 (POLL_ERR): Likewise.
10966 (POLL_PRI): Likewise.
10967 (POLL_HUP): Likewise.
10968 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10969 (ILL_ILLOPN): Likewise.
10970 (ILL_ILLADR): Likewise.
10971 (ILL_ILLTRP): Likewise.
10972 (ILL_PRVOPC): Likewise.
10973 (ILL_PRVREG): Likewise.
10974 (ILL_COPROC): Likewise.
10975 (ILL_BADSTK): Likewise.
10976 (FPE_INTDIV): Likewise.
10977 (FPE_INTOVF): Likewise.
10978 (FPE_FLTDIV): Likewise.
10979 (FPE_FLTOVF): Likewise.
10980 (FPE_FLTUND): Likewise.
10981 (FPE_FLTRES): Likewise.
10982 (FPE_FLTINV): Likewise.
10983 (FPE_FLTSUB): Likewise.
10984 (SEGV_MAPERR): Likewise.
10985 (SEGV_ACCERR): Likewise.
10986 (BUS_ADRALN): Likewise.
10987 (BUS_ADRERR): Likewise.
10988 (BUS_OBJERR): Likewise.
10989 (BUS_MCEERR_AR): Likewise.
10990 (BUS_MCEERR_AO): Likewise.
10991 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10992 (TRAP_TRACE): Likewise.
10993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10995 (CLD_KILLED): Likewise.
10996 (CLD_DUMPED): Likewise.
10997 (CLD_TRAPPED): Likewise.
10998 (CLD_STOPPED): Likewise.
10999 (CLD_CONTINUED): Likewise.
11000 (POLL_IN): Likewise.
11001 (POLL_OUT): Likewise.
11002 (POLL_MSG): Likewise.
11003 (POLL_ERR): Likewise.
11004 (POLL_PRI): Likewise.
11005 (POLL_HUP): Likewise.
11006 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11008 (ILL_ILLOPN): Likewise.
11009 (ILL_ILLADR): Likewise.
11010 (ILL_ILLTRP): Likewise.
11011 (ILL_PRVOPC): Likewise.
11012 (ILL_PRVREG): Likewise.
11013 (ILL_COPROC): Likewise.
11014 (ILL_BADSTK): Likewise.
11015 (ILL_BADIADDR): Likewise.
11016 (ILL_BREAK): Likewise.
11017 (FPE_INTDIV): Likewise.
11018 (FPE_INTOVF): Likewise.
11019 (FPE_FLTDIV): Likewise.
11020 (FPE_FLTOVF): Likewise.
11021 (FPE_FLTUND): Likewise.
11022 (FPE_FLTRES): Likewise.
11023 (FPE_FLTINV): Likewise.
11024 (FPE_FLTSUB): Likewise.
11025 (FPE_DECOVF): Likewise.
11026 (FPE_DECDIV): Likewise.
11027 (FPE_DECERR): Likewise.
11028 (FPE_INVASC): Likewise.
11029 (FPE_INVDEC): Likewise.
11030 (SEGV_MAPERR): Likewise.
11031 (SEGV_ACCERR): Likewise.
11032 (SEGV_PSTKOVF): Likewise.
11033 (BUS_ADRALN): Likewise.
11034 (BUS_ADRERR): Likewise.
11035 (BUS_OBJERR): Likewise.
11036 (BUS_MCEERR_AR): Likewise.
11037 (BUS_MCEERR_AO): Likewise.
11038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11039 (TRAP_TRACE): Likewise.
11040 (TRAP_BRANCH): Likewise.
11041 (TRAP_HWBKPT): Likewise.
11042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11044 (CLD_KILLED): Likewise.
11045 (CLD_DUMPED): Likewise.
11046 (CLD_TRAPPED): Likewise.
11047 (CLD_STOPPED): Likewise.
11048 (CLD_CONTINUED): Likewise.
11049 (POLL_IN): Likewise.
11050 (POLL_OUT): Likewise.
11051 (POLL_MSG): Likewise.
11052 (POLL_ERR): Likewise.
11053 (POLL_PRI): Likewise.
11054 (POLL_HUP): Likewise.
11055 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11056 (ILL_ILLOPN): Likewise.
11057 (ILL_ILLADR): Likewise.
11058 (ILL_ILLTRP): Likewise.
11059 (ILL_PRVOPC): Likewise.
11060 (ILL_PRVREG): Likewise.
11061 (ILL_COPROC): Likewise.
11062 (ILL_BADSTK): Likewise.
11063 (FPE_INTDIV): Likewise.
11064 (FPE_INTOVF): Likewise.
11065 (FPE_FLTDIV): Likewise.
11066 (FPE_FLTOVF): Likewise.
11067 (FPE_FLTUND): Likewise.
11068 (FPE_FLTRES): Likewise.
11069 (FPE_FLTINV): Likewise.
11070 (FPE_FLTSUB): Likewise.
11071 (SEGV_MAPERR): Likewise.
11072 (SEGV_ACCERR): Likewise.
11073 (BUS_ADRALN): Likewise.
11074 (BUS_ADRERR): Likewise.
11075 (BUS_OBJERR): Likewise.
11076 (BUS_MCEERR_AR): Likewise.
11077 (BUS_MCEERR_AO): Likewise.
11078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11079 (TRAP_TRACE): Likewise.
11080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11082 (CLD_KILLED): Likewise.
11083 (CLD_DUMPED): Likewise.
11084 (CLD_TRAPPED): Likewise.
11085 (CLD_STOPPED): Likewise.
11086 (CLD_CONTINUED): Likewise.
11087 (POLL_IN): Likewise.
11088 (POLL_OUT): Likewise.
11089 (POLL_MSG): Likewise.
11090 (POLL_ERR): Likewise.
11091 (POLL_PRI): Likewise.
11092 (POLL_HUP): Likewise.
11093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11094 (ILL_ILLOPN): Likewise.
11095 (ILL_ILLADR): Likewise.
11096 (ILL_ILLTRP): Likewise.
11097 (ILL_PRVOPC): Likewise.
11098 (ILL_PRVREG): Likewise.
11099 (ILL_COPROC): Likewise.
11100 (ILL_BADSTK): Likewise.
11101 (FPE_INTDIV): Likewise.
11102 (FPE_INTOVF): Likewise.
11103 (FPE_FLTDIV): Likewise.
11104 (FPE_FLTOVF): Likewise.
11105 (FPE_FLTUND): Likewise.
11106 (FPE_FLTRES): Likewise.
11107 (FPE_FLTINV): Likewise.
11108 (FPE_FLTSUB): Likewise.
11109 (SEGV_MAPERR): Likewise.
11110 (SEGV_ACCERR): Likewise.
11111 (BUS_ADRALN): Likewise.
11112 (BUS_ADRERR): Likewise.
11113 (BUS_OBJERR): Likewise.
11114 (BUS_MCEERR_AR): Likewise.
11115 (BUS_MCEERR_AO): Likewise.
11116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11117 (TRAP_TRACE): Likewise.
11118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11120 (CLD_KILLED): Likewise.
11121 (CLD_DUMPED): Likewise.
11122 (CLD_TRAPPED): Likewise.
11123 (CLD_STOPPED): Likewise.
11124 (CLD_CONTINUED): Likewise.
11125 (POLL_IN): Likewise.
11126 (POLL_OUT): Likewise.
11127 (POLL_MSG): Likewise.
11128 (POLL_ERR): Likewise.
11129 (POLL_PRI): Likewise.
11130 (POLL_HUP): Likewise.
11131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11132 (ILL_ILLOPN): Likewise.
11133 (ILL_ILLADR): Likewise.
11134 (ILL_ILLTRP): Likewise.
11135 (ILL_PRVOPC): Likewise.
11136 (ILL_PRVREG): Likewise.
11137 (ILL_COPROC): Likewise.
11138 (ILL_BADSTK): Likewise.
11139 (FPE_INTDIV): Likewise.
11140 (FPE_INTOVF): Likewise.
11141 (FPE_FLTDIV): Likewise.
11142 (FPE_FLTOVF): Likewise.
11143 (FPE_FLTUND): Likewise.
11144 (FPE_FLTRES): Likewise.
11145 (FPE_FLTINV): Likewise.
11146 (FPE_FLTSUB): Likewise.
11147 (SEGV_MAPERR): Likewise.
11148 (SEGV_ACCERR): Likewise.
11149 (BUS_ADRALN): Likewise.
11150 (BUS_ADRERR): Likewise.
11151 (BUS_OBJERR): Likewise.
11152 (BUS_MCEERR_AR): Likewise.
11153 (BUS_MCEERR_AO): Likewise.
11154 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11155 (TRAP_TRACE): Likewise.
11156 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11158 (CLD_KILLED): Likewise.
11159 (CLD_DUMPED): Likewise.
11160 (CLD_TRAPPED): Likewise.
11161 (CLD_STOPPED): Likewise.
11162 (CLD_CONTINUED): Likewise.
11163 (POLL_IN): Likewise.
11164 (POLL_OUT): Likewise.
11165 (POLL_MSG): Likewise.
11166 (POLL_ERR): Likewise.
11167 (POLL_PRI): Likewise.
11168 (POLL_HUP): Likewise.
11169 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11170 (ILL_ILLOPN): Likewise.
11171 (ILL_ILLADR): Likewise.
11172 (ILL_ILLTRP): Likewise.
11173 (ILL_PRVOPC): Likewise.
11174 (ILL_PRVREG): Likewise.
11175 (ILL_COPROC): Likewise.
11176 (ILL_BADSTK): Likewise.
11177 (ILL_DBLFLT): Likewise.
11178 (ILL_HARDWALL): Likewise.
11179 (FPE_INTDIV): Likewise.
11180 (FPE_INTOVF): Likewise.
11181 (FPE_FLTDIV): Likewise.
11182 (FPE_FLTOVF): Likewise.
11183 (FPE_FLTUND): Likewise.
11184 (FPE_FLTRES): Likewise.
11185 (FPE_FLTINV): Likewise.
11186 (FPE_FLTSUB): Likewise.
11187 (SEGV_MAPERR): Likewise.
11188 (SEGV_ACCERR): Likewise.
11189 (BUS_ADRALN): Likewise.
11190 (BUS_ADRERR): Likewise.
11191 (BUS_OBJERR): Likewise.
11192 (BUS_MCEERR_AR): Likewise.
11193 (BUS_MCEERR_AO): Likewise.
11194 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11195 (TRAP_TRACE): Likewise.
11196 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11198 (CLD_KILLED): Likewise.
11199 (CLD_DUMPED): Likewise.
11200 (CLD_TRAPPED): Likewise.
11201 (CLD_STOPPED): Likewise.
11202 (CLD_CONTINUED): Likewise.
11203 (POLL_IN): Likewise.
11204 (POLL_OUT): Likewise.
11205 (POLL_MSG): Likewise.
11206 (POLL_ERR): Likewise.
11207 (POLL_PRI): Likewise.
11208 (POLL_HUP): Likewise.
11209 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11210 (ILL_ILLOPN): Likewise.
11211 (ILL_ILLADR): Likewise.
11212 (ILL_ILLTRP): Likewise.
11213 (ILL_PRVOPC): Likewise.
11214 (ILL_PRVREG): Likewise.
11215 (ILL_COPROC): Likewise.
11216 (ILL_BADSTK): Likewise.
11217 (FPE_INTDIV): Likewise.
11218 (FPE_INTOVF): Likewise.
11219 (FPE_FLTDIV): Likewise.
11220 (FPE_FLTOVF): Likewise.
11221 (FPE_FLTUND): Likewise.
11222 (FPE_FLTRES): Likewise.
11223 (FPE_FLTINV): Likewise.
11224 (FPE_FLTSUB): Likewise.
11225 (SEGV_MAPERR): Likewise.
11226 (SEGV_ACCERR): Likewise.
11227 (BUS_ADRALN): Likewise.
11228 (BUS_ADRERR): Likewise.
11229 (BUS_OBJERR): Likewise.
11230 (BUS_MCEERR_AR): Likewise.
11231 (BUS_MCEERR_AO): Likewise.
11232 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11233 (TRAP_TRACE): Likewise.
11234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11236 (CLD_KILLED): Likewise.
11237 (CLD_DUMPED): Likewise.
11238 (CLD_TRAPPED): Likewise.
11239 (CLD_STOPPED): Likewise.
11240 (CLD_CONTINUED): Likewise.
11241 (POLL_IN): Likewise.
11242 (POLL_OUT): Likewise.
11243 (POLL_MSG): Likewise.
11244 (POLL_ERR): Likewise.
11245 (POLL_PRI): Likewise.
11246 (POLL_HUP): Likewise.
11247 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11248 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11251 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11252 before #include of <time.h>.
11253 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11254 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11255 (test-xfail-UNIX98/sched.h/conform): Likewise.
11257 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11259 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11260 error absence of trapping exception support.
11261 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11263 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11265 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11266 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11267 * timezone/Makefile (testdata): Move definition above include of
11269 (test-zones): New variable.
11270 (tests-special): Add zone files.
11271 (build-testdata): Use $(evaluate-test).
11273 * elf/Makefile (tests-special): Rename tests to end with .out.
11274 ($(objpfx)noload-mem): Likewise.
11275 ($(objpfx)tst-leaks1-mem): Likewise.
11276 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11277 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11278 $(objpfx)test-iconvconfig.out.
11279 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11280 set -e inside subshell and redirect output to file.
11281 * iconvdata/Makefile (generated): Rename tests to end with .out.
11283 (tests-special): Rename tests to end with .out.
11284 ($(objpfx)mtrace-tst-loading): Likewise.
11285 * intl/Makefile (generated): Likewise.
11286 (tests-special): Likewise.
11287 ($(objpfx)mtrace-tst-gettext): Likewise.
11288 * misc/Makefile (generated): Likewise.
11289 (tests-special): Likewise.
11290 ($(objpfx)tst-error1-mem): Likewise.
11291 * nptl/Makefile (tests-special): Likewise.
11292 ($(objpfx)tst-stack3-mem): Likewise.
11293 (generated): Likewise.
11294 * posix/Makefile (generated): Likewise.
11295 (tests-special): Likewise.
11296 (xtests-special): Likewise.
11297 ($(objpfx)tst-fnmatch-mem): Likewise.
11298 ($(objpfx)bug-regex2-mem): Likewise.
11299 ($(objpfx)bug-regex14-mem): Likewise.
11300 ($(objpfx)bug-regex21-mem): Likewise.
11301 ($(objpfx)bug-regex31-mem): Likewise.
11302 ($(objpfx)tst-vfork3-mem): Likewise.
11303 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11304 ($(objpfx)tst-pcre-mem): Likewise.
11305 ($(objpfx)tst-boost-mem): Likewise.
11306 ($(objpfx)bug-ga2-mem): Likewise.
11307 ($(objpfx)bug-glob2-mem): Likewise.
11308 * resolv/Makefile (generate): Likewise.
11309 (tests-special): Likewise.
11310 (xtests-special): Likewise.
11311 (generated): Likewise.
11312 ($(objpfx)mtrace-tst-leaks): Likewise.
11313 ($(objpfx)mtrace-tst-leaks2): Likewise.
11315 * scripts/merge-test-results.sh: New file.
11316 * Makefile (tests-special-notdir): New variable.
11317 (tests): Run merge-test-results.sh.
11318 (xtests): Likewise.
11319 * Rules (tests-special-notdir): New variable.
11320 (xtests-special-notdir): Likewise.
11321 (tests): Run merge-test-results.sh
11322 (xtests): Likewise.
11324 * Makeconfig (test-xfail-name): New variable.
11325 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11326 compute variable name for expected failures.
11327 * conform/Makefile (conformtest-headers-data): New variable.
11328 (conformtest-standards): Likewise.
11329 (conformtest-headers-ISO): Likewise.
11330 (conformtest-headers-ISO99): Likewise.
11331 (conformtest-headers-ISO11): Likewise.
11332 (conformtest-headers-POSIX): Likewise.
11333 (conformtest-headers-XPG3): Likewise.
11334 (conformtest-headers-XPG4): Likewise.
11335 (conformtest-headers-UNIX98): Likewise.
11336 (conformtest-headers-XOPEN2K): Likewise.
11337 (conformtest-headers-POSIX2008): Likewise.
11338 (conformtest-headers-XOPEN2K8): Likewise.
11339 (conformtest-header-list-base): Likewise.
11340 (conformtest-header-list-tests): Likewise.
11341 (conformtest-header-base): Likewise.
11342 (conformtest-header-tests): Likewise.
11343 (tests-special): Add $(conformtest-header-list-tests). If
11344 [$(fast-check) && !$(cross-compiling)], add
11345 $(conformtest-header-tests) instead of
11346 $(objpfx)run-conformtest.out.
11347 (generated): Add $(conformtest-header-list-base). If
11348 [$(fast-check) && !$(cross-compiling)], add
11349 $(conformtest-header-base). Remove previous setting.
11350 ($(conformtest-header-list-tests)): New target.
11351 (test-xfail-run-conformtest): Remove variable.
11352 ($(objpfx)run-conformtest.out): Remove target.
11353 (test-xfail-ISO11/complex.h/conform): New variable.
11354 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11355 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11356 (test-xfail-XPG3/varargs.h/conform): Likewise.
11357 (test-xfail-XPG4/varargs.h/conform): Likewise.
11358 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11359 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11360 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11361 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11362 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11363 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11364 (test-xfail-XPG3/ftw.h/conform): Likewise.
11365 (test-xfail-XPG3/grp.h/conform): Likewise.
11366 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11367 (test-xfail-XPG3/limits.h/conform): Likewise.
11368 (test-xfail-XPG3/pwd.h/conform): Likewise.
11369 (test-xfail-XPG3/search.h/conform): Likewise.
11370 (test-xfail-XPG3/signal.h/conform): Likewise.
11371 (test-xfail-XPG3/stdio.h/conform): Likewise.
11372 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11373 (test-xfail-XPG3/string.h/conform): Likewise.
11374 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11375 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11376 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11377 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11378 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11379 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11380 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11381 (test-xfail-XPG3/termios.h/conform): Likewise.
11382 (test-xfail-XPG3/time.h/conform): Likewise.
11383 (test-xfail-XPG3/unistd.h/conform): Likewise.
11384 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11385 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11386 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11387 (test-xfail-XPG4/netdb.h/conform): Likewise.
11388 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11389 (test-xfail-XPG4/signal.h/conform): Likewise.
11390 (test-xfail-XPG4/stdio.h/conform): Likewise.
11391 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11392 (test-xfail-XPG4/stropts.h/conform): Likewise.
11393 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11394 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11395 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11396 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11397 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11398 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11399 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11400 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11401 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11402 (test-xfail-XPG4/termios.h/conform): Likewise.
11403 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11404 (test-xfail-XPG4/unistd.h/conform): Likewise.
11405 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11406 (test-xfail-POSIX/sched.h/conform): Likewise.
11407 (test-xfail-POSIX/signal.h/conform): Likewise.
11408 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11409 (test-xfail-POSIX/tar.h/conform): Likewise.
11410 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11411 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11412 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11413 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11414 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11415 (test-xfail-UNIX98/sched.h/conform): Likewise.
11416 (test-xfail-UNIX98/signal.h/conform): Likewise.
11417 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11418 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11419 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11420 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11421 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11422 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11423 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11424 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11425 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11426 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11427 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11428 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11429 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11430 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11431 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11432 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11433 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11434 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11435 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11436 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11437 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11438 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11439 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11440 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11441 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11442 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11443 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11444 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11445 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11446 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11447 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11448 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11449 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11450 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11451 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11452 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11453 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11454 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11455 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11456 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11457 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11458 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11459 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11460 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11461 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11462 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11463 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11464 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11465 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11466 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11467 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11468 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11469 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11470 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11471 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11472 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11473 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11474 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11475 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11476 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11477 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11478 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11479 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11480 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11481 (conformtest-cc-flags): Likewise.
11482 ($(conformtest-header-tests): New target.
11483 * conform/check-header-lists.sh: New file.
11484 * conform/run-conformtest.sh: Remove.
11486 * conform/conformtest.pl: Allow ' and \ in values given for
11488 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11490 [POSIX] (sys/types.h): Likewise.
11491 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11493 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11495 * conform/data/signal.h-data (SIGIO): Remove expectation.
11496 [XPG3] (SIGBUS): Do not expect.
11497 [POSIX || XPG3] (SIGPOLL): Likewise.
11498 [POSIX || XPG3] (SIGPROF): Likewise.
11499 [POSIX || XPG3] (SIGSYS): Likewise.
11500 [XPG3] (SIGTRAP): Likewise.
11501 [POSIX || XPG3] (SIGURG): Likewise.
11502 [POSIX || XPG3] (SIGVTALRM): Likewise.
11503 [POSIX || XPG3] (SIGXCPU): Likewise.
11504 [POSIX || XPG3] (SIGXFSZ): Likewise.
11505 [POSIX] (SA_SIGINFO): Expect.
11506 [XPG3] (siginfo_t): Do not expect type or contents.
11507 [POSIX] (si_pid): Do not expect element.
11508 [POSIX] (si_uid): Likewise.
11509 [POSIX] (si_addr): Likewise.
11510 [POSIX] (si_status): Likewise.
11511 [POSIX] (si_band): Likewise.
11512 [XPG4] (si_value): Likewise.
11513 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11514 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11515 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11516 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11517 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11518 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11519 [POSIX || XPG3] (ILL_COPROC): Likewise.
11520 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11521 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11522 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11523 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11524 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11525 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11526 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11527 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11528 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11529 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11530 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11531 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11532 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11533 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11534 [POSIX || XPG3] (CLD_EXITED): Likewise.
11535 [POSIX || XPG3] (CLD_KILLED): Likewise.
11536 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11537 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11538 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11539 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11540 [POSIX || XPG3] (POLL_IN): Likewise.
11541 [POSIX || XPG3] (POLL_OUT): Likewise.
11542 [POSIX || XPG3] (POLL_MSG): Likewise.
11543 [POSIX || XPG3] (POLL_ERR): Likewise.
11544 [POSIX || XPG3] (POLL_PRI): Likewise.
11545 [POSIX || XPG3] (POLL_HUP): Likewise.
11546 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11547 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11548 (SIG*): Do not allow.
11549 [XPG3] (si_*): Likewise.
11550 [XPG3] (SI_*): Likewise.
11551 [XPG3 || XPG4] (sigev_*): Likewise.
11552 [XPG3 || XPG4] (SIGEV_*): Likewise.
11553 [XPG3 || XPG4] (sival_*): Likewise.
11554 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11555 [POSIX || XPG3] (BUS_*): Likewise.
11556 [POSIX || XPG3] (CLD_*): Likewise.
11557 [POSIX || XPG3] (FPE_*): Likewise.
11558 [POSIX || XPG3] (ILL_*): Likewise.
11559 [POSIX || XPG3] (POLL_*): Likewise.
11560 [POSIX || XPG3] (SEGV_*): Likewise.
11561 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11562 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11563 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11564 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11565 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11566 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11567 Specify type and value.
11568 (TVERSLEN): Likewise.
11569 (REGTYPE): Likewise.
11570 (AREGTYPE): Likewise.
11571 (LNKTYPE): Likewise.
11572 (SYMTYPE): Likewise.
11573 (CHRTYPE): Likewise.
11574 (BLKTYPE): Likewise.
11575 (DIRTYPE): Likewise.
11576 (FIFOTYPE): Likewise.
11577 (CONTTYPE): Likewise.
11581 (TUREAD): Likewise.
11582 (TUWRITE): Likewise.
11583 (TUEXEC): Likewise.
11584 (TGREAD): Likewise.
11585 (TGWRITE): Likewise.
11586 (TGEXEC): Likewise.
11587 (TOREAD): Likewise.
11588 (TOWRITE): Likewise.
11589 (TOEXEC): Likewise.
11590 [POSIX] (TSVTX): Expect constant.
11592 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11594 * Makefile (tests): Change dependencies to ....
11595 (tests-special): ... additions to this variable.
11596 (tests): Depend on $(tests-special).
11597 * Makerules (check-abi-list): New variable.
11598 (check-abi): Depend on $(check-abi-list).
11599 [$(subdir) = elf] (tests-special): Add
11600 $(objpfx)check-abi-libc.out.
11601 [$(build-shared) = yes && subdir] (tests-special): Add
11603 [$(build-shared) = yes && subdir] (tests): Do not depend on
11605 * Rules (tests): Depend on $(tests-special).
11606 (xtests): Depend on $(xtests-special).
11607 * catgets/Makefile (tests): Change dependencies to ....
11608 (tests-special): ... additions to this variable.
11609 * conform/Makefile (tests): Change dependencies to ....
11610 (tests-special): ... additions to this variable.
11611 * elf/Makefile (tests): Change dependencies to ....
11612 (tests-special): ... additions to this variable.
11613 * grp/Makefile (tests): Change dependencies to ....
11614 (tests-special): ... additions to this variable.
11615 * iconv/Makefile (xtests): Change dependencies to ....
11616 (xtests-special): ... additions to this variable.
11617 * iconvdata/Makefile (tests): Change dependencies to ....
11618 (tests-special): ... additions to this variable.
11619 * intl/Makefile (tests): Change dependencies to ....
11620 (tests-special): ... additions to this variable. Also add
11621 $(objpfx)tst-gettext.out.
11622 * io/Makefile (tests): Change dependencies to ....
11623 (tests-special): ... additions to this variable.
11624 * libio/Makefile (tests): Change dependencies to ....
11625 (tests-special): ... additions to this variable.
11626 * malloc/Makefile (tests): Change dependencies to ....
11627 (tests-special): ... additions to this variable.
11628 * misc/Makefile (tests): Change dependencies to ....
11629 (tests-special): ... additions to this variable.
11630 * nptl/Makefile (tests): Change dependencies to ....
11631 (tests-special): ... additions to this variable.
11632 * nptl_db/Makefile (tests): Change dependencies to ....
11633 (tests-special): ... additions to this variable.
11634 * posix/Makefile (tests): Change dependencies to ....
11635 (tests-special): ... additions to this variable.
11636 (xtests): Change dependencies to ....
11637 (xtests-special): ... additions to this variable.
11638 * resolv/Makefile (tests): Change dependencies to ....
11639 (tests-special): ... additions to this variable.
11640 (xtests): Change dependencies to ....
11641 (xtests-special): ... additions to this variable.
11642 * stdio-common/Makefile (tests): Change dependencies to ....
11643 (tests-special): ... additions to this variable.
11644 (do-tst-unbputc): Remove target.
11645 (do-tst-printf): Likewise.
11646 * stdlib/Makefile (tests): Change dependencies to ....
11647 (tests-special): ... additions to this variable.
11648 * string/Makefile (tests): Change dependencies to ....
11649 (tests-special): ... additions to this variable.
11650 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11651 (tests-special): ... additions to this variable.
11653 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11655 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11657 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11658 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11660 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11661 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11662 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11663 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11664 * conform/data/libgen.h-data [XPG3]: Likewise.
11665 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11666 * conform/data/ndbm.h-data [XPG3]: Likewise.
11667 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11668 * conform/data/netdb.h-data [XPG3]: Likewise.
11669 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11670 * conform/data/poll.h-data [XPG3]: Likewise.
11671 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11672 * conform/data/strings.h-data [XPG3]: Likewise.
11673 * conform/data/stropts.h-data [XPG3]: Likewise.
11674 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11675 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11676 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11678 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11679 * conform/data/sys/time.h-data [XPG3]: Likewise.
11680 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11681 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11682 * conform/data/sys/un.h-data [XPG3]: Likewise.
11683 * conform/data/syslog.h-data [XPG3]: Likewise.
11684 * conform/data/ucontext.h-data [XPG3]: Likewise.
11685 * conform/data/utmpx.h-data [XPG3]: Likewise.
11686 * conform/data/varargs.h-data [UNIX98]: Enable file.
11688 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11690 * math/libm-test.inc (struct test_f_f_data): Move expected results
11691 into structure for each rounding mode.
11692 (struct test_ff_f_data): Likewise.
11693 (struct test_ff_f_data_nexttoward): Likewise.
11694 (struct test_fi_f_data): Likewise.
11695 (struct test_fl_f_data): Likewise.
11696 (struct test_if_f_data): Likewise.
11697 (struct test_fff_f_data): Likewise.
11698 (struct test_c_f_data): Likewise.
11699 (struct test_f_f1_data): Likewise.
11700 (struct test_fF_f1_data): Likewise.
11701 (struct test_ffI_f1_data): Likewise.
11702 (struct test_c_c_data): Likewise.
11703 (struct test_cc_c_data): Likewise.
11704 (struct test_f_i_data): Likewise.
11705 (struct test_ff_i_data): Likewise.
11706 (struct test_f_l_data): Likewise.
11707 (struct test_f_L_data): Likewise.
11708 (struct test_fFF_11_data): Likewise.
11710 (RM_FE_DOWNWARD): Likewise.
11711 (RM_FE_TONEAREST): Likewise.
11712 (RM_FE_TOWARDZERO): Likewise.
11713 (RM_FE_UPWARD): Likewise.
11714 (RUN_TEST_LOOP_f_f): Update references to expected results.
11715 (RUN_TEST_LOOP_2_f): Likewise.
11716 (RUN_TEST_LOOP_fff_f): Likewise.
11717 (RUN_TEST_LOOP_c_f): Likewise.
11718 (RUN_TEST_LOOP_f_f1): Likewise.
11719 (RUN_TEST_LOOP_fF_f1): Likewise.
11720 (RUN_TEST_LOOP_fI_f1): Likewise.
11721 (RUN_TEST_LOOP_ffI_f1): Likewise.
11722 (RUN_TEST_LOOP_c_c): Likewise.
11723 (RUN_TEST_LOOP_cc_c): Likewise.
11724 (RUN_TEST_LOOP_f_i): Likewise.
11725 (RUN_TEST_LOOP_f_i_tg): Likewise.
11726 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11727 (RUN_TEST_LOOP_f_b): Likewise.
11728 (RUN_TEST_LOOP_f_b_tg): Likewise.
11729 (RUN_TEST_LOOP_f_l): Likewise.
11730 (RUN_TEST_LOOP_f_L): Likewise.
11731 (RUN_TEST_LOOP_fFF_11): Likewise.
11732 * math/gen-libm-test.pl (parse_args): Output four copies of
11733 expected results for each test.
11735 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11736 (__ASSUME_UTIMES): Remove.
11737 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11738 (__ASSUME_UTIMES): Likewise.
11740 * math/gen-auto-libm-tests.c: Update comment on output format.
11741 (output_for_one_input_case): Generate before-rounding and
11742 after-rounding information as conditions on output flags not
11743 floating-point format.
11744 * math/auto-libm-test-out: Regenerated.
11745 * math/gen-libm-test.pl (cond_value): New function.
11746 (or_cond_value): Use cond_value.
11747 (generate_testfile): Handle conditional exceptions.
11749 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11751 * math/libm-test.inc (max_valid_error): New variable.
11752 (init_max_error): Take new argument specifying whether function
11753 results are exactly determined. Set max_valid_error and bound
11754 other variables for errors based on this argument.
11755 (set_max_error): Do not record results above max_valid_error.
11756 (check_float_internal): Only accept errors of up to 0.5ulps if
11757 also at most max_valid_error.
11758 (START): Take new argument EXACT and pass it to init_max_error.
11759 (acos_test): Update call to START.
11760 (acos_test_tonearest): Likewise.
11761 (acos_test_towardzero): Likewise.
11762 (acos_test_downward): Likewise.
11763 (acos_test_upward): Likewise.
11764 (acosh_test): Likewise.
11765 (asin_test): Likewise.
11766 (asin_test_tonearest): Likewise.
11767 (asin_test_towardzero): Likewise.
11768 (asin_test_downward): Likewise.
11769 (asin_test_upward): Likewise.
11770 (asinh_test): Likewise.
11771 (atan_test): Likewise.
11772 (atanh_test): Likewise.
11773 (atan2_test): Likewise.
11774 (cabs_test): Likewise.
11775 (cacos_test): Likewise.
11776 (cacosh_test): Likewise.
11777 (carg_test): Likewise.
11778 (casin_test): Likewise.
11779 (casinh_test): Likewise.
11780 (catan_test): Likewise.
11781 (catanh_test): Likewise.
11782 (cbrt_test): Likewise.
11783 (ccos_test): Likewise.
11784 (ccosh_test): Likewise.
11785 (ceil_test): Likewise.
11786 (cexp_test): Likewise.
11787 (cimag_test): Likewise.
11788 (clog_test): Likewise.
11789 (clog10_test): Likewise.
11790 (conj_test): Likewise.
11791 (copysign_test): Likewise.
11792 (cos_test): Likewise.
11793 (cos_test_tonearest): Likewise.
11794 (cos_test_towardzero): Likewise.
11795 (cos_test_downward): Likewise.
11796 (cos_test_upward): Likewise.
11797 (cosh_test): Likewise.
11798 (cosh_test_tonearest): Likewise.
11799 (cosh_test_towardzero): Likewise.
11800 (cosh_test_downward): Likewise.
11801 (cosh_test_upward): Likewise.
11802 (cpow_test): Likewise.
11803 (cproj_test): Likewise.
11804 (creal_test): Likewise.
11805 (csin_test): Likewise.
11806 (csinh_test): Likewise.
11807 (csqrt_test): Likewise.
11808 (ctan_test): Likewise.
11809 (ctan_test_tonearest): Likewise.
11810 (ctan_test_towardzero): Likewise.
11811 (ctan_test_downward): Likewise.
11812 (ctan_test_upward): Likewise.
11813 (ctanh_test): Likewise.
11814 (ctanh_test_tonearest): Likewise.
11815 (ctanh_test_towardzero): Likewise.
11816 (ctanh_test_downward): Likewise.
11817 (ctanh_test_upward): Likewise.
11818 (erf_test): Likewise.
11819 (erfc_test): Likewise.
11820 (exp_test): Likewise.
11821 (exp_test_tonearest): Likewise.
11822 (exp_test_towardzero): Likewise.
11823 (exp_test_downward): Likewise.
11824 (exp_test_upward): Likewise.
11825 (exp10_test): Likewise.
11826 (exp10_test_tonearest): Likewise.
11827 (exp10_test_towardzero): Likewise.
11828 (exp10_test_downward): Likewise.
11829 (exp10_test_upward): Likewise.
11830 (pow10_test): Likewise.
11831 (exp2_test): Likewise.
11832 (expm1_test): Likewise.
11833 (expm1_test_tonearest): Likewise.
11834 (expm1_test_towardzero): Likewise.
11835 (expm1_test_downward): Likewise.
11836 (expm1_test_upward): Likewise.
11837 (fabs_test): Likewise.
11838 (fdim_test): Likewise.
11839 (floor_test): Likewise.
11840 (fma_test): Likewise.
11841 (fma_test_towardzero): Likewise.
11842 (fma_test_downward): Likewise.
11843 (fma_test_upward): Likewise.
11844 (fmax_test): Likewise.
11845 (fmin_test): Likewise.
11846 (fmod_test): Likewise.
11847 (fpclassify_test): Likewise.
11848 (frexp_test): Likewise.
11849 (hypot_test): Likewise.
11850 (ilogb_test): Likewise.
11851 (isfinite_test): Likewise.
11852 (finite_test): Likewise.
11853 (isgreater_test): Likewise.
11854 (isgreaterequal_test): Likewise.
11855 (isinf_test): Likewise.
11856 (isless_test): Likewise.
11857 (islessequal_test): Likewise.
11858 (islessgreater_test): Likewise.
11859 (isnan_test): Likewise.
11860 (isnormal_test): Likewise.
11861 (issignaling_test): Likewise.
11862 (isunordered_test): Likewise.
11863 (j0_test): Likewise.
11864 (j1_test): Likewise.
11865 (jn_test): Likewise.
11866 (ldexp_test): Likewise.
11867 (lgamma_test): Likewise.
11868 (gamma_test): Likewise.
11869 (lrint_test): Likewise.
11870 (lrint_test_tonearest): Likewise.
11871 (lrint_test_towardzero): Likewise.
11872 (lrint_test_downward): Likewise.
11873 (lrint_test_upward): Likewise.
11874 (llrint_test): Likewise.
11875 (llrint_test_tonearest): Likewise.
11876 (llrint_test_towardzero): Likewise.
11877 (llrint_test_downward): Likewise.
11878 (llrint_test_upward): Likewise.
11879 (log_test): Likewise.
11880 (log10_test): Likewise.
11881 (log1p_test): Likewise.
11882 (log2_test): Likewise.
11883 (logb_test): Likewise.
11884 (logb_test_downward): Likewise.
11885 (lround_test): Likewise.
11886 (llround_test): Likewise.
11887 (modf_test): Likewise.
11888 (nearbyint_test): Likewise.
11889 (nextafter_test): Likewise.
11890 (nexttoward_test): Likewise.
11891 (pow_test): Likewise.
11892 (pow_test_tonearest): Likewise.
11893 (pow_test_towardzero): Likewise.
11894 (pow_test_downward): Likewise.
11895 (pow_test_upward): Likewise.
11896 (remainder_test): Likewise.
11897 (drem_test): Likewise.
11898 (remainder_test_tonearest): Likewise.
11899 (drem_test_tonearest): Likewise.
11900 (remainder_test_towardzero): Likewise.
11901 (drem_test_towardzero): Likewise.
11902 (remainder_test_downward): Likewise.
11903 (drem_test_downward): Likewise.
11904 (remainder_test_upward): Likewise.
11905 (drem_test_upward): Likewise.
11906 (remquo_test): Likewise.
11907 (rint_test): Likewise.
11908 (rint_test_tonearest): Likewise.
11909 (rint_test_towardzero): Likewise.
11910 (rint_test_downward): Likewise.
11911 (rint_test_upward): Likewise.
11912 (round_test): Likewise.
11913 (scalb_test): Likewise.
11914 (scalbn_test): Likewise.
11915 (scalbln_test): Likewise.
11916 (signbit_test): Likewise.
11917 (sin_test): Likewise.
11918 (sin_test_tonearest): Likewise.
11919 (sin_test_towardzero): Likewise.
11920 (sin_test_downward): Likewise.
11921 (sin_test_upward): Likewise.
11922 (sincos_test): Likewise.
11923 (sinh_test): Likewise.
11924 (sinh_test_tonearest): Likewise.
11925 (sinh_test_towardzero): Likewise.
11926 (sinh_test_downward): Likewise.
11927 (sinh_test_upward): Likewise.
11928 (sqrt_test): Likewise.
11929 (sqrt_test_tonearest): Likewise.
11930 (sqrt_test_towardzero): Likewise.
11931 (sqrt_test_downward): Likewise.
11932 (sqrt_test_upward): Likewise.
11933 (tan_test): Likewise.
11934 (tan_test_tonearest): Likewise.
11935 (tan_test_towardzero): Likewise.
11936 (tan_test_downward): Likewise.
11937 (tan_test_upward): Likewise.
11938 (tanh_test): Likewise.
11939 (tgamma_test): Likewise.
11940 (trunc_test): Likewise.
11941 (y0_test): Likewise.
11942 (y1_test): Likewise.
11943 (yn_test): Likewise.
11944 (significand_test): Likewise.
11946 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11947 individual tests in comment.
11948 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11949 (prev_max_error): New variable.
11950 (prev_real_max_error): Likewise.
11951 (prev_imag_max_error): Likewise.
11952 (compare_ulp_data): Don't refer to test names in comment.
11953 (find_test_ulps): Remove function.
11954 (find_function_ulps): Likewise.
11955 (find_complex_function_ulps): Likewise.
11956 (init_max_error): Take function name as argument. Look up ulps
11958 (print_ulps): Remove function.
11959 (print_max_error): Use prev_max_error instead of calling
11960 find_function_ulps.
11961 (print_complex_max_error): Use prev_real_max_error and
11962 prev_imag_max_error instead of calling find_complex_function_ulps.
11963 (check_float_internal): Take max_ulp parameter instead of calling
11964 find_test_ulps. Don't call print_ulps.
11965 (check_float): Update call to check_float_internal.
11966 (check_complex): Update calls to check_float_internal.
11967 (START): Pass argument to init_max_error.
11968 * math/gen-libm-test.pl (%results): Don't include "kind"
11970 (parse_ulps): Don't handle ulps of individual tests.
11971 (print_ulps_file): Likewise.
11972 (output_ulps): Likewise.
11973 * math/README.libm-test: Update.
11974 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11976 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11977 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11978 * sysdeps/arm/libm-test-ulps: Likewise.
11979 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11980 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11981 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11982 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11983 * sysdeps/microblaze/libm-test-ulps: Likewise.
11984 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11985 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11987 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11988 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11989 * sysdeps/sh/libm-test-ulps: Likewise.
11990 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11991 * sysdeps/tile/libm-test-ulps: Likewise.
11992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11996 * math/libm-test.inc (print_complex_max_error): Check separately
11997 whether real and imaginary errors are within allowed range and
11998 pass 0 to print_complex_function_ulps instead of value within
12001 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12003 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12005 (get_handles_fopen): Likewise.
12006 (do_write_test): Likewise.
12008 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12010 * libio/fileops.c (do_ftell): Use cached offset when
12012 * libio/iofwide.c (do_ftell_wide): Likewise.
12013 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12015 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12018 * libio/libioP.h (get_file_offset): New function.
12019 * libio/fileops.c (get_file_offset): Likewise.
12020 (do_ftell): Likewise.
12021 (_IO_new_file_seekoff): Split out ftell logic.
12022 * libio/wfileops.c (do_ftell_wide): Likewise.
12023 (_IO_wfile_seekoff): Split out ftell logic.
12024 * libio/tst-ftell-active-handler.c: New test case.
12025 * libio/Makefile (tests): Add it.
12027 2014-03-03 Roland McGrath <roland@hack.frob.com>
12029 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12030 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12032 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12035 * nscd/connections.c (nscd_init): Call do_exit.
12036 (start_threads): Call do_exit and notify_parent.
12037 (begin_drop_privileges): Call do_exit.
12038 (finish_drop_privileges): Likewise.
12039 * nscd/selinux.c (preserve_capabilities): Likewise.
12040 (install_real_capabilities): Likewise.
12041 (nscd_selinux_enabled): Likewise.
12042 (avc_create_thread): Likewise.
12043 (avc_alloc_lock): Likewise.
12044 (nscd_avc_init): Likewise.
12045 * nscd/nscd.c (parent_fd): New static variable.
12046 (main): Create a pipe between parent and child processes.
12047 Skip closing parent_fd.
12048 (monitor_child): New function.
12049 (do_exit): Likewise.
12050 (notify_parent): Likewise.
12051 * nscd/nscd.h (notify_parent): Likewise.
12052 (do_exit): Likewise.
12054 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12056 * malloc/malloc.c (__libc_calloc): Revert last change.
12058 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12062 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12064 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12068 (__libc_ifunc_impl_list): Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12072 * string/strrchr.c: Define STRRCHR.
12074 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12076 * benchtest/bench-strtok.c (simple_strtok): Delete.
12077 (strtok_string): Use as benchmark.
12078 * string/strtok (STRTOK): New macro.
12080 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12082 * manual/threads.texi: Add header and standard comments to all
12085 * elf/dl-lookup.c (check_match): New function.
12086 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12087 (do_lookup_x): Remove nested function check_match. Use non-nested
12088 function check_match.
12090 2014-02-28 Roland McGrath <roland@hack.frob.com>
12092 * csu/Makefile (generated, before-compile): Use += rather than =.
12093 * catgets/Makefile (generated, generated-dirs): Likewise.
12094 * debug/Makefile (generated): Likewise.
12095 * dlfcn/Makefile (generated): Likewise.
12096 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12097 * iconvdata/Makefile (before-compile, generated): Likewise.
12098 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12099 * libio/Makefile (generated): Likewise.
12100 * malloc/Makefile (generated): Likewise.
12101 * manual/Makefile (generated, generated-dirs): Likewise.
12102 * misc/Makefile (generated): Likewise.
12103 * posix/Makefile (generated): Likewise.
12104 * resolv/Makefile (generated): Likewise.
12105 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12106 * timezone/Makefile (generated, generated-dirs): Likewise.
12108 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12110 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12113 power8 implementation.
12114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12115 file: POWER8 llround ifunc implementation.
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12117 (__lllround): Add POWER8 implementation.
12118 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12119 POWER8 llround implementation.
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12122 power8 implementation.
12123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12124 file: POWER8 llrint ifunc implementation.
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12126 Add POWER8 implementation.
12127 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12128 POWER8 llrint implementation.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12131 power8 implementation.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12133 file: POWER8 finite ifunc implementation.
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12135 Add POWER8 implementation.
12136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12138 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12139 POWER8 finite implementation.
12140 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12143 power8 implementation.
12144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12145 file: POWER8 isinf ifunc implementation.
12146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12147 POWER8 implementation.
12148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12150 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12151 isinf implementation.
12152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12155 (INIT_ARCH): Add hwcap2 initialization.
12156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12157 power8 implementation.
12158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12159 file: POWER8 isnan ifunc implementation.
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12161 POWER8 implementation.
12162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12165 isnan implementation.
12166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12168 2014-02-27 Joey Ye <joey.ye@arm.com>
12170 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12171 (_FP_NANFRAC_Q): Set to zero.
12173 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12176 * math/auto-libm-test-in: New test inputs.
12177 * math/auto-libm-test-out: Regenerate.
12178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12181 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12183 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12185 * scripts/evaluate-test.sh: Take new argument indicating whether
12186 failure is expected.
12187 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12188 indicating whether failure is expected.
12189 * conform/Makefile (test-xfail-run-conformtest): New variable.
12190 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12192 * posix/Makefile (test-xfail-annexc): New variable.
12193 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12195 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12197 * argp/Makefile: Include Makeconfig immediately after defining
12199 * assert/Makefile: Likewise.
12200 * benchtests/Makefile: Likewise.
12201 * catgets/Makefile: Likewise.
12202 * conform/Makefile: Likewise.
12203 * crypt/Makefile: Likewise.
12204 * csu/Makefile: Likewise.
12205 (all): Remove target.
12206 * ctype/Makefile: Include Makeconfig immediately after defining
12208 * debug/Makefile: Likewise.
12209 * dirent/Makefile: Likewise.
12210 * dlfcn/Makefile: Likewise.
12211 * gmon/Makefile: Likewise.
12212 * gnulib/Makefile: Likewise.
12213 * grp/Makefile: Likewise.
12214 * gshadow/Makefile: Likewise.
12215 * hesiod/Makefile: Likewise.
12216 * hurd/Makefile: Likewise.
12217 (all): Remove target.
12218 * iconvdata/Makefile: Include Makeconfig immediately after
12220 * inet/Makefile: Likewise.
12221 * intl/Makefile: Likewise.
12222 * io/Makefile: Likewise.
12223 * libio/Makefile: Likewise.
12224 (all): Remove target.
12225 * locale/Makefile: Include Makeconfig immediately after defining
12227 * login/Makefile: Likewise.
12228 * mach/Makefile: Likewise.
12229 (all): Remove target.
12230 * malloc/Makefile: Include Makeconfig immediately after defining
12232 (all): Remove target.
12233 * manual/Makefile: Include Makeconfig immediately after defining
12235 * math/Makefile: Likewise.
12236 * misc/Makefile: Likewise.
12237 * nis/Makefile: Likewise.
12238 * nss/Makefile: Likewise.
12239 * po/Makefile: Likewise.
12240 (all): Remove target.
12241 * posix/Makefile: Include Makeconfig immediately after defining
12243 * pwd/Makefile: Likewise.
12244 * resolv/Makefile: Likewise.
12245 * resource/Makefile: Likewise.
12246 * rt/Makefile: Likewise.
12247 * setjmp/Makefile: Likewise.
12248 * shadow/Makefile: Likewise.
12249 * signal/Makefile: Likewise.
12250 * socket/Makefile: Likewise.
12251 * soft-fp/Makefile: Likewise.
12252 * stdio-common/Makefile: Likewise.
12253 * stdlib/Makefile: Likewise.
12254 * streams/Makefile: Likewise.
12255 * string/Makefile: Likewise.
12256 * sunrpc/Makefile: Likewise.
12257 (all): Remove target.
12258 * sysvipc/Makefile: Include Makeconfig immediately after defining
12260 * termios/Makefile: Likewise.
12261 * time/Makefile: Likewise.
12262 * timezone/Makefile: Likewise.
12263 (all): Remove target.
12264 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12266 * wctype/Makefile: Likewise.
12268 2014-02-26 Steve Ellcey <sellcey@mips.com>
12270 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12271 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12272 (libc_feholdexcept_setround_mips): Ditto.
12273 (libc_feholdsetround): New.
12274 (libc_feholdsetroundf): New.
12275 (libc_feholdsetroundl): New.
12276 (libc_feupdateenv_test_mips): New.
12277 (libc_feupdateenv_test): New.
12278 (libc_feupdateenv_testf): New.
12279 (libc_feupdateenv_testl): New.
12280 (libc_feresetround): New.
12281 (libc_feresetroundf): New.
12282 (libc_feresetroundl): New.
12283 (libc_fetestexcept_mips): New.
12284 (libc_fetestexcept): New.
12285 (libc_fetestexceptf): New.
12286 (libc_fetestexceptl): New.
12287 (HAVE_RM_CTX): New.
12288 (libc_feholdexcept_setround_mips_ctx): New.
12289 (libc_feholdexcept_setround_ctx): New.
12290 (libc_feholdexcept_setroundf_ctx): New.
12291 (libc_feholdexcept_setroundl_ctx): New.
12292 (libc_fesetenv_mips_ctx): New.
12293 (libc_fesetenv_ctx): New.
12294 (libc_fesetenv_ctxf): New.
12295 (libc_fesetenv_ctxl): New.
12296 (libc_feupdateenv_mips_ctx): New.
12297 (libc_feupdateenv_ctx): New.
12298 (libc_feupdateenvf_ctx): New.
12299 (libc_feupdateenvl_ctx): New.
12300 (libc_feholdsetround_mips_ctx): New.
12301 (libc_feholdsetround_ctx): New.
12302 (libc_feholdsetroundf_ctx): New.
12303 (libc_feholdsetroundl_ctx): New.
12304 (libc_feresetround_mips_ctx): New.
12305 (libc_feresetround_ctx): New.
12306 (libc_feresetroundf_ctx): New.
12307 (libc_feresetroundl_ctx): New.
12309 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12311 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12313 * manual/ipc.texi: New file.
12314 * manual/Makefile (chapters): Add ipc.
12315 * manual/job.texi: Add "Inter-Process Communication" to next.
12316 * manual/process.texi: Add "Inter-Process Communication" to prev.
12318 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12322 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12324 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12326 * manual/arith.texi: Fix spaces after sentences.
12327 * manual/charset.texi: Likewise.
12328 * manual/errno.texi: Likewise.
12329 * manual/install.texi: Likewise.
12330 * manual/llio.texi: Likewise.
12331 * manual/locale.texi: Likewise.
12332 * manual/maint.texi: Likewise.
12333 * manual/math.texi: Likewise.
12334 * manual/memory.texi: Likewise.
12335 * manual/message.texi: Likewise.
12336 * manual/probes.texi: Likewise.
12337 * manual/resource.texi: Likewise.
12338 * manual/signal.texi: Likewise.
12339 * manual/socket.texi: Likewise.
12340 * manual/stdio.texi: Likewise.
12341 * manual/string.texi: Likewise.
12342 * manual/time.texi: Likewise.
12343 * manual/users.texi: Likewise.
12345 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12348 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12349 _DEFAULT_SOURCE is defined.
12351 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12352 Carlos O'Donell <carlos@redhat.com>
12355 * elf/dl-tls.c (_dl_count_modids): New function.
12356 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12357 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12358 audit library and increment generation counter.
12359 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12360 * elf/tst-audit9.c: New file.
12361 * elf/tst-auditmod9a.c: New file.
12362 * elf/tst-auditmod9b.c: New file.
12363 * elf/Makefile: Add rules to build and run tst-audit9.
12365 2014-02-25 Florian Weimer <fweimer@redhat.com>
12368 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12370 2014-02-25 Will Newton <will.newton@linaro.org>
12372 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12373 (__longjmp): Restore sp and lr before restoring callee
12374 saved registers. Add longjmp and longjmp_target
12375 SystemTap probe point.
12376 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12377 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12378 Define to zero to match jmpbuf layout.
12379 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12380 (__sigsetjmp): Save sp and lr before saving callee
12381 saved registers. Add setjmp SystemTap probe point.
12383 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12385 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12387 2014-02-24 Andreas Schwab <schwab@suse.de>
12390 * elf/pldd.c (wait_for_ptrace_stop): New function.
12391 (main): Call it after attaching.
12393 2014-02-22 Roland McGrath <roland@hack.frob.com>
12395 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12396 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12397 Versions files is now verboten.
12398 * hurd/Versions (libc: GLIBC_2.0):
12399 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12400 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12401 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12402 * mach/Versions: Likewise.
12404 * csu/Versions: Remove unused %include.
12405 * resolv/Versions: Likewise.
12407 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12409 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12410 ($(objpfx)check-local-headers.out): Likewise.
12411 ($(objpfx)begin-end-check.out): Likewise.
12412 * Makerules (check-abi-%.out): Likewise.
12413 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12414 ($(objpfx)test2.cat): Likewise.
12415 ($(objpfx)de/libc.cat): Likewise.
12416 ($(objpfx)test-gencat.out): Likewise.
12417 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12418 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12419 ($(objpfx)noload-mem): Likewise.
12420 ($(objpfx)tst-pathopt.out): Likewise.
12421 ($(objpfx)tst-rtld-load-self.out): Likewise.
12422 ($(objpfx)tst-array1-cmp.out): Likewise.
12423 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12424 ($(objpfx)tst-array2-cmp.out): Likewise.
12425 ($(objpfx)tst-array3-cmp.out): Likewise.
12426 ($(objpfx)tst-array4-cmp.out): Likewise.
12427 ($(objpfx)tst-array5-cmp.out): Likewise.
12428 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12429 ($(objpfx)check-textrel.out): Likewise.
12430 ($(objpfx)check-execstack.out): Likewise.
12431 ($(objpfx)check-localplt.out): Likewise.
12432 ($(objpfx)order2-cmp.out): Likewise.
12433 ($(objpfx)tst-leaks1-mem): Likewise.
12434 ($(objpfx)tst-leaks1-static-mem): Likewise.
12435 ($(objpfx)tst-initorder-cmp.out): Likewise.
12436 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12437 ($(objpfx)tst-unused-dep.out): Likewise.
12438 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12439 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12440 * iconv/Makefile (test-iconvconfig): Likewise.
12441 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12442 ($(objpfx)iconv-test.out): Likewise.
12443 ($(objpfx)tst-tables.out): Likewise.
12444 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12445 ($(objpfx)tst-gettext.out): Likewise.
12446 ($(objpfx)tst-translit.out): Likewise.
12447 ($(objpfx)tst-gettext2.out): Likewise.
12448 ($(objpfx)tst-gettext4.out): Likewise.
12449 ($(objpfx)tst-gettext6.out): Likewise.
12450 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12451 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12452 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12453 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12454 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12455 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12456 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12457 ($(objpfx)wordexp-tst.out): Likewise.
12458 ($(objpfx)annexc.out): Likewise.
12459 ($(objpfx)tst-fnmatch-mem): Likewise.
12460 ($(objpfx)bug-regex2-mem): Likewise.
12461 ($(objpfx)bug-regex14-mem): Likewise.
12462 ($(objpfx)bug-regex21-mem): Likewise.
12463 ($(objpfx)bug-regex31-mem): Likewise.
12464 ($(objpfx)tst-vfork3-mem): Likewise.
12465 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12466 ($(objpfx)tst-pcre-mem): Likewise.
12467 ($(objpfx)tst-boost-mem): Likewise.
12468 ($(objpfx)tst-getconf.out): Likewise.
12469 ($(objpfx)bug-ga2-mem): Likewise.
12470 ($(objpfx)bug-glob2-mem): Likewise.
12471 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12472 ($(objpfx)mtrace-tst-leaks2): Likewise.
12473 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12474 ($(objpfx)tst-printf.out): Likewise.
12475 ($(objpfx)tst-setvbuf1.out): Likewise.
12476 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12477 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12478 ($(objpfx)tst-fmtmsg.out): Likewise.
12479 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12480 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12482 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12483 * bits/sigaction.h [__USE_MISC]: Likewise.
12484 * bits/waitstatus.h: Update #endif comments.
12485 * ctype/ctype.h: Likewise.
12486 * dirent/dirent.h: Likewise.
12487 [__USE_MISC]: Remove redundant conditionals.
12488 * grp/grp.h: Update #endif comments.
12489 [__USE_GNU]: Remove redundant conditionals.
12490 [__USE_MISC]: Likewise.
12491 * inet/netinet/in.h [__USE_GNU]: Likewise.
12492 * io/sys/stat.h [__USE_MISC]: Likewise.
12493 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12494 * libio/bits/stdio.h: Update #endif comments.
12495 [__USE_MISC]: Remove redundant conditionals.
12496 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12497 * libio/stdio.h: Update #endif comments.
12498 [__USE_MISC]: Remove redundant conditionals.
12499 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12500 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12501 * math/math.h: Update #else and #endif comments.
12502 [__USE_MISC]: Remove redundant conditionals.
12503 * misc/sys/uio.h: Update #endif comments.
12504 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12505 * posix/glob.h [__USE_MISC]: Likewise.
12506 * posix/sys/types.h: Update #endif comments.
12507 [__USE_MISC]: Remove redundant conditionals.
12508 * posix/sys/wait.h: Update #endif comments.
12509 [__USE_MISC]: Remove redundant conditionals.
12510 * posix/unistd.h: Update #endif comments.
12511 [__USE_MISC]: Remove redundant conditionals.
12512 * pwd/pwd.h [__USE_GNU]: Likewise.
12513 [__USE_MISC]: Likewise.
12514 * resolv/netdb.h [__USE_GNU]: Likewise.
12515 * signal/signal.h: Update #endif comments.
12516 [__USE_MISC]: Remove redundant conditionals.
12517 * stdlib/stdlib.h: Update #else and #endif comments.
12518 [__USE_MISC]: Remove redundant conditionals.
12519 [__USE_GNU]: Likewise.
12520 * string/bits/string2.h [__USE_MISC]: Likewise.
12521 * string/string.h: Update #endif comments.
12522 [__USE_MISC]: Remove redundant conditionals.
12523 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12526 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12527 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12529 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12533 [__USE_MISC]: Remove redundant conditionals.
12534 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12535 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12536 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12537 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12538 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12540 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12541 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12543 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12546 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12548 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12551 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12553 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12554 * sysdeps/x86/bits/string.h: Update #endif comments.
12555 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12557 * time/sys/time.h: Update #endif comments.
12558 * time/time.h: Likewise.
12559 [__USE_MISC]: Remove redundant conditionals.
12561 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12564 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12566 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12568 * Versions.def (librt): Add GLIBC_2.17.
12570 2014-02-21 Adam Conrad <adconrad@0c3.net>
12572 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12573 synonym for _SYS_AUXV_H to allow direct inclusion.
12574 * sysdeps/sparc/bits/hwcap.h: Likewise.
12575 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12576 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12577 * sysdeps/sparc/sysdep.h: Likewise.
12579 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12581 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12583 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12585 * benchtests/bench-strrchr.c: Print length instead of position.
12587 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12590 * sysdeps/unix/sysv/linux/kernel-features.h
12591 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12592 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12593 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12594 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12596 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12597 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12598 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12599 (__ASSUME_SENDMMSG): Define instead of using previous
12600 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12601 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12602 (__ASSUME_SENDMMSG_SYSCALL): Define.
12603 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12604 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12606 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12607 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12609 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12610 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12612 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12613 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12614 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12615 [__ASSUME_SENDMMSG]: Change conditionals to
12616 [__ASSUME_SENDMMSG_SOCKETCALL].
12617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12618 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12620 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12621 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12623 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12624 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12625 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12626 [!__ASSUME_SENDMMSG]: Change conditional to
12627 [!__ASSUME_SENDMMSG_SOCKETCALL].
12628 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12629 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12633 * sysdeps/unix/sysv/linux/kernel-features.h
12634 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12635 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12636 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12637 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12638 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12639 [__i386__ || __sparc__]
12640 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12641 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12642 (__ASSUME_RECVMMSG): Define instead of using previous
12643 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12644 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12645 (__ASSUME_RECVMMSG_SYSCALL): Define.
12646 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12647 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12652 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12653 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12655 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12656 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12657 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12658 [__ASSUME_RECVMMSG]: Change condition to
12659 [__ASSUME_RECVMMSG_SOCKETCALL].
12660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12661 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12663 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12664 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12665 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12667 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12668 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12669 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12670 [!__ASSUME_RECVMMSG]: Change condition to
12671 [!__ASSUME_RECVMMSG_SOCKETCALL].
12672 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12673 (__ASSUME_RECVMMSG_SYSCALL): Define.
12676 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12677 __powerpc__ || __s390__ || __sh__ || __sparc__]
12678 (__ASSUME_SOCKETCALL): Define.
12679 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12680 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12681 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12682 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12683 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12684 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12685 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12686 (__ASSUME_ACCEPT4): Define instead of using previous
12687 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12688 __powerpc__ || __sparc__ || __s390__)] condition.
12689 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12690 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12691 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12692 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12693 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12694 [!__ASSUME_ACCEPT4]: Change condition to
12695 [!__ASSUME_ACCEPT4_SOCKETCALL].
12696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12697 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12698 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12700 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12701 __ASSUME_ACCEPT4_SYSCALL.
12702 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12703 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12704 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12705 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12706 __ASSUME_ACCEPT4_SYSCALL.
12707 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12708 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12709 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12710 [__ASSUME_ACCEPT4]: Change condition to
12711 [__ASSUME_ACCEPT4_SOCKETCALL].
12712 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12713 (__ASSUME_SOCKETCALL): Define.
12714 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12716 (__ASSUME_SOCKETCALL): Define.
12717 (__ASSUME_ACCEPT4): Remove.
12718 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12720 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12721 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12723 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12724 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12726 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12728 (HWCAP_ARM_LPAE): Likewise.
12729 (HWCAP_ARM_EVTSTRM): Likewise.
12730 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12731 Add vpfd32, lpae and evtstrm.
12732 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12735 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12737 * math/auto-libm-test-in: Add tests of clog10.
12738 * math/auto-libm-test-out: Regenerated.
12739 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12740 * sysdeps/i386/fpu/libm-test-ulps: Update.
12741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12743 2014-02-18 Andreas Schwab <schwab@suse.de>
12746 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12747 Store non-zero if the second buffer was newly allocated.
12748 (send_dg): Likewise.
12749 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12750 to send_vc and send_dg.
12751 (res_nsend): Pass NULL for ansp2_malloced.
12752 * resolv/res_query.c (__libc_res_nquery): Add parameter
12753 answerp2_malloced and pass it down to __libc_res_nsend.
12754 (res_nquery): Pass additional NULL to __libc_res_nquery.
12755 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12756 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12757 second answer buffer if answerp2_malloced was set.
12758 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12759 (__libc_res_nquerydomain): Add parameter
12760 answerp2_malloced and pass it down to __libc_res_nquery.
12761 (res_nquerydomain): Pass additional NULL to
12762 __libc_res_nquerydomain.
12763 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12764 additional NULL to __libc_res_nsend and __libc_res_nquery.
12765 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12766 additional NULL to __libc_res_nsearch.
12767 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12768 parameter of __libc_res_nsearch to check for separately allocated
12770 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12772 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12773 additional NULL to __libc_res_nquery.
12774 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12775 __libc_res_nsearch.
12776 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12777 * include/resolv.h: Update prototypes of __libc_res_nquery,
12778 __libc_res_nsearch, __libc_res_nsend.
12780 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12782 * math/auto-libm-test-in: Add tests of fma.
12783 * math/auto-libm-test-out: Regenerated.
12784 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12785 (fma_towardzero_test_data): Likewise.
12786 (fma_downward_test_data): Likewise.
12787 (fma_upward_test_data): Likewise.
12788 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12790 (rounding_modes): Add values for new field.
12791 (func_calc_method): Add value mpfr_fff_f.
12792 (func_calc_desc): Add mpfr_fff_f union field.
12793 (test_function): Add field exact_args.
12794 (FUNC): Add macro argument EXACT_ARGS.
12795 (FUNC_mpfr_f_f): Update call to FUNC.
12796 (FUNC_mpfr_f_f): Likewise.
12797 (FUNC_mpfr_ff_f): Likewise.
12798 (FUNC_mpfr_if_f): Likewise.
12799 (FUNC_mpc_c_f): Likewise.
12800 (FUNC_mpc_c_c): Likewise.
12801 (test_functions): Add fma. Update calls to FUNC.
12802 (handle_input_arg): Add argument exact_args.
12803 (add_test): Update call to handle_input_arg.
12804 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12805 (output_for_one_input_case): Update call to calc_generic_results.
12806 Recalculate exact zero results in each rounding mode.
12808 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12809 non-negative before setting low bit.
12810 * math/auto-libm-test-in: Mark one asin test possibly having
12811 spurious underflow.
12812 * math/auto-libm-test-out: Regenerated.
12813 * sysdeps/i386/fpu/libm-test-ulps: Update.
12814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12818 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12819 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12820 ports/sysdeps/unix/sysv/linux/microblaze.
12821 * README: Add missing listing for microblaze*-*-linux-gnu.
12823 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12825 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12828 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12830 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12831 * sysdeps/unix/sysv/linux/ia64: Move directory from
12832 ports/sysdeps/unix/sysv/linux/ia64.
12833 * README: Update listing for ia64-*-linux-gnu.
12835 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12836 Joseph Myers <joseph@codesourcery.com>
12838 * Makeconfig (test-name): New variable.
12839 (evaluate-test): Likewise.
12840 * Makerules (do-test-clean): Remove .test-result files.
12841 (common-mostlyclean): Likewise.
12842 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12843 * scripts/evaluate-test.sh: New file.
12845 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12847 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12848 separate $(objpfx)tst-fopenloc-cmp.out and
12849 $(objpfx)tst-fopenloc-mem.out targets.
12850 (tests): Update dependencies.
12851 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12852 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12853 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12854 (tst-rxspencer-no-utf8-ARGS): New variable.
12855 (tst-rxspencer-no-utf8-ENV): Likewise.
12856 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12857 instead of $(objpfx)tst-rxspencer-mem.
12858 ($(objpfx)tst-rxspencer-mem): Change target to
12859 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12860 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12861 * posix/tst-rxspencer-no-utf8.c: New file.
12863 * elf/Makefile ($(objpfx)order.out): Remove rule.
12864 [$(run-built-tests) = yes] (tests): Depend on
12865 $(objpfx)order-cmp.out.
12866 ($(objpfx)order-cmp.out): New rule.
12867 [$(run-built-tests) = yes] (tests): Depend on
12868 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12869 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12870 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12871 $(objpfx)tst-array5-static-cmp.out.
12872 ($(objpfx)tst-array1.out): Remove rule.
12873 ($(objpfx)tst-array1-cmp.out): New rule.
12874 ($(objpfx)tst-array1-static.out): Remove rule.
12875 ($(objpfx)tst-array1-static-cmp.out): New rule.
12876 ($(objpfx)tst-array2.out): Remove rule.
12877 ($(objpfx)tst-array2-cmp.out): New rule.
12878 ($(objpfx)tst-array3.out): Remove rule.
12879 ($(objpfx)tst-array3-cmp.out): New rule.
12880 ($(objpfx)tst-array4.out): Remove rule.
12881 ($(objpfx)tst-array4-cmp.out): New rule.
12882 ($(objpfx)tst-array5.out): Remove rule.
12883 ($(objpfx)tst-array5-cmp.out): New rule.
12884 ($(objpfx)tst-array5-static.out): Remove rule.
12885 ($(objpfx)tst-array5-static-cmp.out): New rule.
12886 [$(run-built-tests) = yes] (tests): Depend on
12887 $(objpfx)order2-cmp.out.
12888 ($(objpfx)order2.out): Remove rule.
12889 ($(objpfx)order2-cmp.out): New rule.
12890 ($(objpfx)tst-initorder.out): Remove rule.
12891 [$(run-built-tests) = yes] (tests): Depend on
12892 $(objpfx)tst-initorder-cmp.out.
12893 ($(objpfx)tst-initorder-cmp.out): New rule.
12894 ($(objpfx)tst-initorder2.out): Remove rule.
12895 [$(run-built-tests) = yes] (tests): Depend on
12896 $(objpfx)tst-initorder2-cmp.out.
12897 ($(objpfx)tst-initorder2-cmp.out): New rule.
12898 [$(run-built-tests) = yes] (tests): Depend on
12899 $(objpfx)tst-unused-dep-cmp.out.
12900 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12901 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12902 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12903 on $(objpfx)tst-setvbuf1-cmp.out.
12904 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12905 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12906 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12907 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12908 ($(objpfx)tst-svc.out): Remove rule.
12909 ($(objpfx)tst-svc-cmp.out): New rule.
12911 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12913 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12914 * ctype/ctype.h [__USE_MISC]: Likewise.
12915 * dirent/dirent.h [__USE_MISC]: Likewise.
12916 * grp/grp.h [__USE_MISC]: Likewise.
12917 * io/fcntl.h [__USE_MISC]: Likewise.
12918 * io/sys/stat.h [__USE_MISC]: Likewise.
12919 * libio/stdio.h [__USE_MISC]: Likewise.
12920 * posix/unistd.h [__USE_MISC]: Likewise.
12921 * pwd/pwd.h [__USE_MISC]: Likewise.
12922 * stdlib.h [__USE_MISC]: Likewise.
12923 * string/bits/string2.h [__USE_MISC]: Likewise.
12924 * string/string.h [__USE_MISC]: Likewise.
12925 * time/time.h [__USE_MISC]: Likewise.
12927 2014-02-13 Andreas Schwab <schwab@suse.de>
12930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12931 second answer buffer if it was separately allocated.
12933 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12935 * sysdeps/mips/math-tests.h: Include <features.h>.
12936 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12937 (ROUNDING_TESTS_long_double): Do not define.
12938 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12939 (EXCEPTION_TESTS_long_double): Likewise.
12940 * sysdeps/mips/mips64/libm-test-ulps: Update.
12942 * include/features.h (__USE_BSD): Remove macro definitions.
12943 (__USE_SVID): Likewise.
12944 (_BSD_SOURCE): Likewise.
12945 (_SVID_SOURCE): Likewise.
12946 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12947 from definition of _DEFAULT_SOURCE.
12948 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12950 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12951 * bits/mman.h [__USE_BSD]: Likewise.
12952 * bits/termios.h [__USE_BSD]: Likewise.
12953 * bits/waitstatus.h [__USE_BSD]: Likewise.
12954 * ctype/ctype.h [__USE_SVID]: Likewise.
12955 * dirent/dirent.h [__USE_BSD]: Likewise.
12956 * grp/grp.h [__USE_SVID]: Likewise.
12957 [__USE_BSD]: Likewise.
12958 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12959 * io/fcntl.h [__USE_BSD]: Likewise.
12960 * io/ftw.h [__USE_BSD]: Likewise.
12961 * io/sys/stat.h [__USE_BSD]: Likewise.
12962 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12963 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12964 * libio/stdio.h [__USE_SVID]: Likewise.
12965 [__USE_BSD]: Likewise.
12966 * math/math.h [__USE_SVID]: Likewise.
12967 [__USE_BSD]: Likewise.
12968 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12969 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12970 * misc/search.h [__USE_SVID]: Likewise.
12971 * misc/sys/mman.h [__USE_BSD]: Likewise.
12972 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12973 * misc/sys/uio.h [__USE_BSD]: Likewise.
12974 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12975 * posix/glob.h [__USE_BSD]: Likewise.
12976 * posix/regex.h [__USE_BSD]: Likewise.
12977 * posix/sys/types.h [__USE_BSD]: Likewise.
12978 [__USE_SVID]: Likewise.
12979 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12980 * posix/sys/wait.h [__USE_BSD]: Likewise.
12981 [__USE_SVID]: Likewise.
12982 * posix/unistd.h [__USE_BSD]: Likewise.
12983 [__USE_SVID]: Likewise.
12984 * pwd/pwd.h [__USE_SVID]: Likewise.
12985 * resolv/netdb.h [__USE_BSD]: Likewise.
12986 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12987 * signal/signal.h [__USE_BSD]: Likewise.
12988 [__USE_SVID]: Likewise.
12989 * socket/sys/socket.h [__USE_BSD]: Likewise.
12990 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12991 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12992 [__USE_SVID]: Likewise.
12993 * string/bits/string2.h [__USE_BSD]: Likewise.
12994 [__USE_SVID]: Likewise.
12995 * string/bits/string3.h [__USE_BSD]: Likewise.
12996 * string/endian.h [__USE_BSD]: Likewise.
12997 * string/string.h [__USE_SVID]: Likewise.
12998 [__USE_BSD]: Likewise.
12999 * string/strings.h [__USE_BSD]: Likewise.
13000 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13001 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13002 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13003 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13004 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13005 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13009 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13010 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13012 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13013 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13015 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13017 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13018 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13023 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13024 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13025 * termios/termios.h [__USE_BSD]: Likewise.
13026 * time/sys/time.h [__USE_BSD]: Likewise.
13027 * time/time.h [__USE_BSD]: Likewise.
13028 [__USE_SVID]: Likewise.
13030 * Makefile (subdir_targets): Remove subdir_lint.out.
13032 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13033 (do-tst-printf): Likewise.
13034 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13035 $(objpfx)tst-printf.out.
13037 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13039 * Makerules (check-abi-%): Change target to
13040 $(objpfx)check-abi-%.out.
13041 (check-abi target): Update dependencies.
13042 (check-abi-pattern variable): Redirect output of diff to $@.
13043 (check-abi variable): Likewise.
13044 * elf/Makefile (check-abi): Update dependencies.
13046 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13048 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13049 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13051 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13052 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13053 value has largest subnormal exponent.
13054 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13055 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13056 * sysdeps/aarch64/soft-fp/sfp-machine.h
13057 (_FP_TININESS_AFTER_ROUNDING): New macro.
13058 * sysdeps/alpha/soft-fp/sfp-machine.h
13059 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13060 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13062 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13063 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13064 * sysdeps/mips/soft-fp/sfp-machine.h
13065 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13066 * sysdeps/powerpc/soft-fp/sfp-machine.h
13067 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13068 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13070 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13071 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13073 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13074 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13077 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13080 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13083 2014-02-12 Richard Henderson <rth@redhat.com>
13085 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13086 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13087 * sysdeps/unix/sysv/linux/alpha: Move directory from
13088 ports/sysdeps/unix/sysv/linux/alpha.
13089 * README: Update listing for alpha-*-linux-gnu.
13091 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13093 * include/features.h: Update comment documenting feature test
13095 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13097 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13098 (_SVID_SOURCE): Likewise.
13099 (_DEFAULT_SOURCE): Update description of default features.
13100 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13102 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13103 (S_ISVTX): Likewise.
13104 * manual/math.texi (Mathematical Constants): Likewise.
13105 * manual/signal.texi (Interrupted Primitives): Likewise.
13106 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13107 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13108 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13109 Don't refer to _SVID_SOURCE in warning text.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13113 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13115 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13116 * sysdeps/mips/dl-lookup.c: Remove.
13117 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13119 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13122 * math/auto-libm-test-in: Add testcase for expl.
13123 * math/auto-libm-test-out: Regenerate.
13124 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13125 calculation of unsafe.
13126 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13128 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13130 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13131 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13132 ports/sysdeps/unix/sysv/linux/aarch64.
13133 * README: Update listing for aarch64*-*-linux-gnu.
13135 2014-02-11 Will Newton <will.newton@linaro.org>
13137 * manual/probes.texi (Mathematical Function Probes): Use
13138 "triggered" instead of "hit".
13140 * manual/probes.texi (Internal Probes): Add documentation
13141 of setjmp, longjmp and longjmp_target probes.
13143 * include/stap-probe.h: Add comment about probe argument
13146 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13147 definition. (tr_where, tr_freehook, tr_mallochook,
13148 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13150 2014-02-11 David S. Miller <davem@davemloft.net>
13152 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13153 processing int_tests.
13155 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13157 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13158 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13159 * sysdeps/unix/sysv/linux/mips: Move directory from
13160 ports/sysdeps/unix/sysv/linux/mips.
13161 * README: Update listing for mips-*-linux-gnu and
13162 mips64-*-linux-gnu.
13164 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13166 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13167 * sysdeps/unix/sysv/linux/m68k: Move directory from
13168 ports/sysdeps/unix/sysv/linux/m68k.
13169 * README: Update listing for m68k-*-linux-gnu.
13171 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13173 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13174 * sysdeps/unix/sysv/linux/generic: Move directory from
13175 ports/sysdeps/unix/sysv/linux/generic.
13176 * sysdeps/unix/sysv/linux/tile: Move directory from
13177 ports/sysdeps/unix/sysv/linux/tile.
13178 * README: Update listing for tile*-*-linux-gnu.
13180 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13182 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13184 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13185 * catgets/open_catalog.c (__open_catalog): Likewise.
13186 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13187 * debug/confstr_chk.c: Likewise.
13188 * debug/fread_chk.c (__fread_chk): Likewise.
13189 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13190 * debug/getgroups_chk.c: Likewise.
13191 * debug/mbsnrtowcs_chk.c: Likewise.
13192 * debug/mbsrtowcs_chk.c: Likewise.
13193 * debug/mbstowcs_chk.c: Likewise.
13194 * debug/memcpy_chk.c: Likewise.
13195 * debug/memmove_chk.c: Likewise.
13196 * debug/mempcpy_chk.c: Likewise.
13197 * debug/memset_chk.c: Likewise.
13198 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13199 * debug/strcat_chk.c (__strcat_chk): Likewise.
13200 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13201 * debug/strncat_chk.c (__strncat_chk): Likewise.
13202 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13203 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13204 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13205 * debug/wcpncpy_chk.c: Likewise.
13206 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13207 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13208 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13209 * debug/wcsncpy_chk.c: Likewise.
13210 * debug/wcsnrtombs_chk.c: Likewise.
13211 * debug/wcsrtombs_chk.c: Likewise.
13212 * debug/wcstombs_chk.c: Likewise.
13213 * debug/wmemcpy_chk.c: Likewise.
13214 * debug/wmemmove_chk.c: Likewise.
13215 * debug/wmempcpy_chk.c: Likewise.
13216 * debug/wmemset_chk.c: Likewise.
13217 * dirent/scandirat.c (SCANDIRAT): Likewise.
13218 * dlfcn/dladdr1.c (dladdr1): Likewise.
13219 * dlfcn/dladdr.c (dladdr): Likewise.
13220 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13221 * dlfcn/dlerror.c (__dlerror): Likewise.
13222 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13223 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13224 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13225 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13226 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13227 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13228 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13229 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13231 * elf/dl-conflict.c: Likewise.
13232 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13233 * elf/dl-dst.h: Likewise.
13234 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13235 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13236 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13237 * elf/dl-init.c (call_init, _dl_init): Likewise.
13238 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13239 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13240 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13242 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13244 * elf/dl-minimal.c (__libc_memalign): Likewise.
13245 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13246 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13247 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13248 * elf/dl-sym.c (do_sym): Likewise.
13249 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13250 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13251 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13252 * elf/dl-writev.h (_dl_writev): Likewise.
13253 * elf/ldconfig.c (search_dir): Likewise.
13254 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13255 (dl_main): Likewise.
13256 * elf/setup-vdso.h (setup_vdso): Likewise.
13257 * grp/compat-initgroups.c (compat_call): Likewise.
13258 * grp/fgetgrent.c (fgetgrent): Likewise.
13259 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13260 * grp/putgrent.c (putgrent): Likewise.
13261 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13263 * hurd/hurdinit.c: Likewise.
13264 * iconvdata/8bit-gap.c (struct): Likewise.
13265 * iconvdata/ansi_x3.110.c : Likewise.
13266 * iconvdata/big5.c : Likewise.
13267 * iconvdata/big5hkscs.c : Likewise.
13268 * iconvdata/cp1255.c: Likewise.
13269 * iconvdata/cp1258.c : Likewise.
13270 * iconvdata/cp932.c : Likewise.
13271 * iconvdata/euc-cn.c: Likewise.
13272 * iconvdata/euc-jisx0213.c : Likewise.
13273 * iconvdata/euc-jp.c: Likewise.
13274 * iconvdata/euc-jp-ms.c : Likewise.
13275 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13276 * iconvdata/gb18030.c : Likewise.
13277 * iconvdata/gbbig5.c (const): Likewise.
13278 * iconvdata/gbgbk.c: Likewise.
13279 * iconvdata/gbk.c : Likewise.
13280 * iconvdata/ibm1364.c : Likewise.
13281 * iconvdata/ibm930.c : Likewise.
13282 * iconvdata/ibm932.c: Likewise.
13283 * iconvdata/ibm933.c : Likewise.
13284 * iconvdata/ibm935.c : Likewise.
13285 * iconvdata/ibm937.c : Likewise.
13286 * iconvdata/ibm939.c : Likewise.
13287 * iconvdata/ibm943.c: Likewise.
13288 * iconvdata/iso_11548-1.c: Likewise.
13289 * iconvdata/iso-2022-cn.c : Likewise.
13290 * iconvdata/iso-2022-cn-ext.c : Likewise.
13291 * iconvdata/iso-2022-jp-3.c: Likewise.
13292 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13293 * iconvdata/iso-2022-kr.c : Likewise.
13294 * iconvdata/iso646.c (gconv_end): Likewise.
13295 * iconvdata/iso_6937-2.c : Likewise.
13296 * iconvdata/iso_6937.c : Likewise.
13297 * iconvdata/iso8859-1.c: Likewise.
13298 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13299 * iconvdata/shift_jisx0213.c : Likewise.
13300 * iconvdata/sjis.c : Likewise.
13301 * iconvdata/t.61.c : Likewise.
13302 * iconvdata/tcvn5712-1.c : Likewise.
13303 * iconvdata/tscii.c: Likewise.
13304 * iconvdata/uhc.c : Likewise.
13305 * iconvdata/unicode.c (gconv_end): Likewise.
13306 * iconvdata/utf-16.c (gconv_end): Likewise.
13307 * iconvdata/utf-32.c (gconv_end): Likewise.
13308 * iconvdata/utf-7.c (base64): Likewise.
13309 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13310 * iconv/gconv_close.c (__gconv_close): Likewise.
13311 * iconv/gconv_open.c (__gconv_open): Likewise.
13312 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13313 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13314 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13315 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13316 (ucs4le_internal_loop_single): Likewise.
13317 * iconv/iconv.c (iconv): Likewise.
13318 * iconv/iconv_close.c: Likewise.
13319 * iconv/loop.c (SINGLE): Likewise.
13320 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13321 * include/atomic.h: Likewise.
13322 * inet/inet6_option.c (option_alloc): Likewise.
13323 * intl/bindtextdom.c (set_binding_values): Likewise.
13324 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13325 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13326 * intl/localealias.c (read_alias_file): Likewise.
13327 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13328 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13329 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13330 * libio/fmemopen.c (fmemopen): Likewise.
13331 * libio/iofgets.c (_IO_fgets): Likewise.
13332 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13333 * libio/iofgetws.c (fgetws): Likewise.
13334 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13335 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13336 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13337 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13338 * locale/findlocale.c (_nl_find_locale): Likewise.
13339 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13340 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13342 * locale/setlocale.c (setlocale): Likewise.
13343 * login/programs/pt_chown.c (main): Likewise.
13344 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13345 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13346 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13347 (mmap, mmap64, mremap, munmap): Likewise.
13348 * math/e_exp2l.c: Likewise.
13349 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13350 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13351 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13352 * math/s_catan.c (__catan): Likewise.
13353 * math/s_catanf.c (__catanf): Likewise.
13354 * math/s_catanh.c (__catanh): Likewise.
13355 * math/s_catanhf.c (__catanhf): Likewise.
13356 * math/s_catanhl.c (__catanhl): Likewise.
13357 * math/s_catanl.c (__catanl): Likewise.
13358 * math/s_ccosh.c (__ccosh): Likewise.
13359 * math/s_ccoshf.c (__ccoshf): Likewise.
13360 * math/s_ccoshl.c (__ccoshl): Likewise.
13361 * math/s_cexp.c (__cexp): Likewise.
13362 * math/s_cexpf.c (__cexpf): Likewise.
13363 * math/s_cexpl.c (__cexpl): Likewise.
13364 * math/s_clog10.c (__clog10): Likewise.
13365 * math/s_clog10f.c (__clog10f): Likewise.
13366 * math/s_clog10l.c (__clog10l): Likewise.
13367 * math/s_clog.c (__clog): Likewise.
13368 * math/s_clogf.c (__clogf): Likewise.
13369 * math/s_clogl.c (__clogl): Likewise.
13370 * math/s_csin.c (__csin): Likewise.
13371 * math/s_csinf.c (__csinf): Likewise.
13372 * math/s_csinh.c (__csinh): Likewise.
13373 * math/s_csinhf.c (__csinhf): Likewise.
13374 * math/s_csinhl.c (__csinhl): Likewise.
13375 * math/s_csinl.c (__csinl): Likewise.
13376 * math/s_csqrt.c (__csqrt): Likewise.
13377 * math/s_csqrtf.c (__csqrtf): Likewise.
13378 * math/s_csqrtl.c (__csqrtl): Likewise.
13379 * math/s_ctan.c (__ctan): Likewise.
13380 * math/s_ctanf.c (__ctanf): Likewise.
13381 * math/s_ctanh.c (__ctanh): Likewise.
13382 * math/s_ctanhf.c (__ctanhf): Likewise.
13383 * math/s_ctanhl.c (__ctanhl): Likewise.
13384 * math/s_ctanl.c (__ctanl): Likewise.
13385 * math/w_pow.c: Likewise.
13386 * math/w_powf.c: Likewise.
13387 * math/w_powl.c: Likewise.
13388 * math/w_scalb.c (sysv_scalb): Likewise.
13389 * math/w_scalbf.c (sysv_scalbf): Likewise.
13390 * math/w_scalbl.c (sysv_scalbl): Likewise.
13391 * misc/error.c (error_tail): Likewise.
13392 * misc/pselect.c (__pselect): Likewise.
13393 * nis/nis_callback.c (__nis_create_callback): Likewise.
13394 * nis/nis_call.c (__nisfind_server): Likewise.
13395 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13396 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13397 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13398 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13399 * nis/nis_lookup.c (nis_lookup): Likewise.
13400 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13401 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13402 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13403 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13404 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13405 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13406 * nis/nss_compat/compat-initgroups.c (add_group)
13407 (internal_getgrent_r): Likewise.
13408 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13409 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13410 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13411 (internal_getspnam_r): Likewise.
13412 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13413 (_nss_nis_getaliasbyname_r): Likewise.
13414 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13415 (_nss_nis_getntohost_r): Likewise.
13416 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13417 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13418 (_nss_nis_getgrgid_r): Likewise.
13419 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13420 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13421 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13422 (_nss_nis_gethostbyname4_r): Likewise.
13423 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13424 (initgroups_netid): Likewise.
13425 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13426 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13427 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13428 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13429 (_nss_nis_getprotobynumber_r): Likewise.
13430 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13431 (_nss_nis_getsecretkey): Likewise.
13432 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13433 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13434 (_nss_nis_getpwuid_r): Likewise.
13435 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13436 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13437 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13438 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13439 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13440 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13441 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13444 (_nss_nisplus_getntohost_r): Likewise.
13445 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13446 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13447 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13448 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13450 * nis/nss_nisplus/nisplus-initgroups.c
13451 (_nss_nisplus_initgroups_dyn): Likewise.
13452 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13453 (_nss_nisplus_getnetbyaddr_r): Likewise.
13454 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13455 (_nss_nisplus_getprotobynumber_r): Likewise.
13456 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13457 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13458 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13460 * nis/nss_nisplus/nisplus-service.c
13461 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13462 (_nss_nisplus_getservbyport_r): Likewise.
13463 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13464 (_nss_nisplus_getspnam_r): Likewise.
13465 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13467 * nscd/aicache.c (addhstaiX): Likewise.
13468 * nscd/cache.c (cache_search, prune_cache): Likewise.
13469 * nscd/connections.c (register_traced_file, send_ro_fd)
13470 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13471 (main_loop_epoll): Likewise.
13472 * nscd/grpcache.c (addgrbyX): Likewise.
13473 * nscd/hstcache.c (addhstbyX): Likewise.
13474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13475 * nscd/mem.c (gc, mempool_alloc): Likewise.
13476 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13477 (addinnetgrX): Likewise.
13478 * nscd/nscd-client.h (__nscd_acquire_maplock)
13479 (__nscd_drop_map_ref): Likewise.
13480 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13481 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13482 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13484 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13486 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13487 (__nscd_get_map_ref): Likewise.
13488 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13489 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13491 * nscd/pwdcache.c (addpwbyX): Likewise.
13492 * nscd/selinux.c (preserve_capabilities): Likewise.
13493 * nscd/servicescache.c (addservbyX): Likewise.
13494 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13495 * posix/fnmatch.c (fnmatch): Likewise.
13496 * posix/getopt.c (_getopt_internal_r): Likewise.
13497 * posix/glob.c (glob, glob_in_dir): Likewise.
13498 * posix/wordexp.c (exec_comm_child): Likewise.
13499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13500 (getanswer_r, gaih_getanswer_slice): Likewise.
13501 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13502 * resolv/res_init.c: Likewise.
13503 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13504 * resolv/res_query.c (__libc_res_nquery): Likewise.
13505 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13507 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13508 * stdio-common/perror.c (perror): Likewise.
13509 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13510 * stdio-common/tmpnam.c (tmpnam): Likewise.
13511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13512 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13513 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13515 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13516 * stdlib/putenv.c (putenv): Likewise.
13517 * stdlib/setenv.c (__add_to_environ): Likewise.
13518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13519 * stdlib/strtol_l.c (INTERNAL): Likewise.
13520 * string/memmem.c (memmem): Likewise.
13521 * string/strerror.c (strerror): Likewise.
13522 * string/strnlen.c (__strnlen): Likewise.
13523 * string/test-memmem.c (simple_memmem): Likewise.
13524 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13525 * sunrpc/pm_getport.c (__get_socket): Likewise.
13526 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13527 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13528 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13529 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13531 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13533 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13535 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13536 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13540 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13541 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13543 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13544 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13546 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13547 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13548 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13549 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13550 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13551 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13553 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13561 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13582 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13584 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13585 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13586 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13587 * sysdeps/posix/sleep.c: Likewise.
13588 * sysdeps/posix/tempname.c: Likewise.
13589 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13592 * sysdeps/powerpc/powerpc32/dl-machine.h
13593 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13594 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13596 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13597 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13599 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13600 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13601 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13603 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13604 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13605 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13606 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13608 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13610 (elf_machine_lazy_rel): Likewise.
13611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13613 (elf_machine_lazy_rel): Likewise.
13614 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13615 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13616 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13617 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13618 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13619 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13620 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13623 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13624 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13625 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13626 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13627 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13628 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13629 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13630 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13632 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13633 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13635 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13636 (__posix_fallocate64_l64): Likewise.
13637 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13638 (posix_fallocate): Likewise.
13639 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13642 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13643 (getifaddrs_internal): Likewise.
13644 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13645 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13646 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13647 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13648 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13649 (__posix_fallocate64_l64): Likewise.
13650 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13652 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13654 (__get_clockfreq): Likewise.
13655 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13656 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13657 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13660 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13661 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13662 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13664 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13665 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13666 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13669 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13670 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13672 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13673 (posix_fallocate): Likewise.
13674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13675 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13676 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13677 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13678 (elf_machine_rela, elf_machine_rela_relative)
13679 (elf_machine_lazy_rel): Likewise.
13680 * time/asctime.c (asctime_internal): Likewise.
13681 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13682 * time/tzset.c (__tzset_parse_tz): Likewise.
13683 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13684 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13685 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13686 * wcsmbs/wcsmbsload.h: Likewise.
13689 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13691 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13692 (arena_get2): Remove THREAD_STATS conditionals.
13693 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13694 (__malloc_stats, int): Likewise.
13696 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13698 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13699 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13701 * manual/setjmp.texi: Fix typos/grammar errors.
13703 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13704 Only return early when n is <= 0. Delete unused return statement.
13706 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13707 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13708 * debug/tst-longjmp_chk3.c: New file.
13710 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13711 (test_main): Replace code with set_fortify_handler call.
13712 * debug/test-strcpy_chk.c: Likewise.
13713 * debug/tst-chk1.c: Likewise.
13714 * debug/tst-longjmp_chk.c: Likewise.
13715 * test-skeleton.c: Include fcntl.h & paths.h
13716 (set_fortify_handler): Define.
13718 * debug/tst-longjmp_chk.c: Add header comment and include
13719 ../test-skeleton.c.
13720 (do_test): Mark static.
13721 (TEST_FUNCTION): Define.
13723 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13724 (IP_PMTUDISC_INTERFACE): Likewise.
13725 (IP_MULTICAST_IF): Likewise.
13726 (IP_MULTICAST_TTL): Likewise.
13727 (IP_MULTICAST_LOOP): Likewise.
13728 (IP_ADD_MEMBERSHIP): Likewise.
13729 (IP_DROP_MEMBERSHIP): Likewise.
13730 (IP_UNBLOCK_SOURCE): Likewise.
13731 (IP_BLOCK_SOURCE): Likewise.
13732 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13733 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13734 (IP_MSFILTER): Likewise.
13735 (MCAST_JOIN_GROUP): Likewise.
13736 (MCAST_BLOCK_SOURCE): Likewise.
13737 (MCAST_UNBLOCK_SOURCE): Likewise.
13738 (MCAST_LEAVE_GROUP): Likewise.
13739 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13740 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13741 (MCAST_MSFILTER): Likewise.
13742 (IP_MULTICAST_ALL): Likewise.
13743 (IP_UNICAST_IF): Likewise.
13745 * timezone/Makefile: Delete $(have-ksh) check.
13746 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13747 * timezone/tzselect.ksh: Add +x mode bits.
13749 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13750 (ANON_INODE_FS_MAGIC): Likewise.
13751 (BDEVFS_MAGIC): Likewise.
13752 (BINFMTFS_MAGIC): Likewise.
13753 (BTRFS_TEST_MAGIC): Likewise.
13754 (CRAMFS_MAGIC_WEND): Likewise.
13755 (DEBUGFS_MAGIC): Likewise.
13756 (ECRYPTFS_SUPER_MAGIC): Likewise.
13757 (EXT3_SUPER_MAGIC): Likewise.
13758 (EXT4_SUPER_MAGIC): Likewise.
13759 (FUTEXFS_SUPER_MAGIC): Likewise.
13760 (HOSTFS_SUPER_MAGIC): Likewise.
13761 (HUGETLBFS_MAGIC): Likewise.
13762 (MINIX3_SUPER_MAGIC): Likewise.
13763 (MTD_INODE_FS_MAGIC): Likewise.
13764 (NILFS_SUPER_MAGIC): Likewise.
13765 (OPENPROM_SUPER_MAGIC): Likewise.
13766 (PIPEFS_MAGIC): Likewise.
13767 (PSTOREFS_MAGIC): Likewise.
13768 (QNX6_SUPER_MAGIC): Likewise.
13769 (RAMFS_MAGIC): Likewise.
13770 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13771 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13772 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13773 (SECURITYFS_MAGIC): Likewise.
13774 (SELINUX_MAGIC): Likewise.
13775 (SMACK_MAGIC): Likewise.
13776 (SOCKFS_MAGIC): Likewise.
13777 (SQUASHFS_MAGIC): Likewise.
13778 (STACK_END_MAGIC): Likewise.
13779 (TMPFS_MAGIC): Likewise.
13780 (USBDEVICE_SUPER_MAGIC): Likewise.
13781 (V9FS_MAGIC): Likewise.
13782 (XENFS_SUPER_MAGIC): Likewise.
13783 (CRAMFS_MAGIC): Fix typo in comment.
13784 (EXT2_SUPER_MAGIC): Update comment.
13785 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13787 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13789 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13790 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13791 * sysdeps/unix/sysv/linux/arm: Move directory from
13792 ports/sysdeps/unix/sysv/linux/arm.
13793 * README: Update listing for arm-*-linux-gnueabi.
13795 * README: Remove mention of am33.
13797 2014-02-07 Roland McGrath <roland@hack.frob.com>
13799 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13800 than the comma operator, to avoid "rhs of comma has no effect"
13802 (__sigfillset, __sigandset, __sigorset): Likewise.
13803 * include/signal.h (__sigemptyset): Likewise.
13804 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13806 2014-02-07 Allan McRae <allan@archlinux.org>
13808 * version.h (RELEASE): Set to "development".
13809 (VERSION): Set to "2.19.90"
13810 * NEWS: Add 2.20 section.
13812 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13815 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13817 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13819 * manual/contrib.texi: Update entry for Carlos O'Donell,
13820 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13822 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13824 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13826 * sysdeps/unix/sysv/linux/kernel-features.h
13827 [__LINUX_KERNEL_VERSION >= 0x020621]
13828 (__ASSUME_PROC_PID_TASK_COMM): Define.
13830 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13833 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13834 conversion when destination buffer does not have enough space.
13835 * libio/tst-ftell-partial-wide.c: New test case.
13836 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13838 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13839 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13840 Leonard and Allan McRae.
13842 2014-02-04 David S. Miller <davem@davemloft.net>
13844 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13847 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13876 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13878 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13879 * shlib-versions: Likewise.
13881 2014-02-04 Roland McGrath <roland@hack.frob.com>
13882 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13884 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13885 (abilist-pattern): New variable, set to %-le.abilist.
13887 * Makerules (abilist-pattern): New variable.
13888 (vpath): Use $(abilist-pattern) in place of %.abilist.
13889 (check-abi-% pattern rule): Likewise.
13890 (check-abi, update-abi): Likewise.
13892 2014-02-04 Eric Wong <normalperson@yhbt.net>
13894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13896 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13898 * manual/startup.texi: Add next, previous, and top entries for
13899 the `Program Arguments' and `Environment Variables' nodes.
13901 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13903 * manual/macros.texi: Add comments before MTASC-safety macros.
13905 * manual/users.texi: Document MTASC-safety properties.
13907 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13908 (pthread_getspecific, pthread_setspecific): Format with
13909 @deftypefun, and add @safety note.
13910 * manual/signal.texi: Move comments that analyze the above
13911 functions to their home place.
13913 2014-02-03 Allan McRae <allan@archlinux.org>
13915 * po/sl.po: Update Slovenian translation from translation project.
13917 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13919 * manual/time.texi (timegm): Add missing blank after @c.
13920 Reported by Joseph Myers <joseph@codesourcery.com>.
13922 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13924 * manual/check-safety.sh: New.
13925 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13927 * manual/terminal.texi: Document MTASC-safety properties.
13929 * manual/filesys.texi: Document MTASC-safety properties.
13931 * manual/errno.texi: Document MTASC-safety properties.
13933 * manual/intro.texi: Document safety identifiers and
13936 * manual/string.texi (wcstok): Fix prototype.
13937 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13939 * manual/time.texi: Document MTASC-safety properties.
13941 * manual/string.texi: Document MTASC-safety properties.
13943 * manual/threads.texi: Document MTASC-safety properties.
13945 * manual/stdio.texi: Document MTASC-safety properties.
13947 * manual/syslog.texi: Document MTASC-safety properties.
13949 * manual/sysinfo.texi: Document MTASC-safety properties.
13951 * manual/startup.texi: Document MTASC-safety properties.
13953 * manual/socket.texi: Document MTASC-safety properties.
13955 * manual/signal.texi: Document MTASC-safety properties.
13957 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13959 * manual/setjmp.texi: Document MTASC-safety properties.
13961 * manual/search.texi: Document MTASC-safety properties.
13963 * manual/resource.texi: Document MTASC-safety properties.
13965 * manual/process.texi: Document MTASC-safety properties.
13967 * manual/platform.texi: Document MTASC-safety properties.
13969 * manual/pipe.texi: Document MTASC-safety properties.
13971 * manual/pattern.texi: Document MTASC-safety properties.
13973 * manual/message.texi: Document MTASC-safety properties.
13976 * manual/memory.texi: Document MTASC-safety properties.
13978 * manual/math.texi: Document MTASC-safety properties.
13980 * manual/locale.texi: Document MTASC-safety properties.
13982 * manual/llio.texi: Document MTASC-safety properties.
13984 * manual/libdl.texi: New.
13986 * manual/lang.texi: Document MTASC-safety properties.
13988 * manual/job.texi: Document MTASC-safety properties.
13990 * manual/getopt.texi: Document MTASC-safety properties.
13992 * manual/ctype.texi: Document MTASC-safety properties.
13994 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13997 * csu/libc-tls.c (static_map): Remove variable.
13998 (__libc_setup_tls): Use main executable's link map for TLS data.
13999 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14000 casing for LM_ID_BASE and GL(dl_nns).
14001 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14002 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14003 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14004 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14005 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14007 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14010 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14012 * manual/debug.texi: Document MTASC-safety properties.
14014 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14017 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14018 of __x86_64__ when disabling x87 inline functions.
14020 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14022 * manual/charset.texi: Document MTASC-safety properties.
14024 * manual/crypt.texi: Document MTASC-safety properties.
14026 * manual/conf.texi: Document MTASC-safety properties.
14028 * manual/arith.texi: Document MTASC-safety properties.
14030 * manual/argp.texi: Document MTASC-safety properties.
14032 * manual/macros.texi: Introduce macros to document multi
14033 thread, asynchronous signal and asynchronous cancellation
14035 * manual/intro.texi: Introduce the properties themselves.
14037 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14039 * sysdeps/sh/sh4/Makefile: New file.
14041 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14043 * math/gen-libm-test.pl ($srcdir): New variable.
14044 ($auto_input): Use it.
14046 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14049 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14050 access beyond array bounds when parsing netgroups file.
14052 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14053 the old buffer before realloc.
14055 2014-01-27 Allan McRae <allan@archlinux.org>
14057 * po/fr.po: Update French translation from translation project.
14059 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14061 * sysdeps/sh/libm-test-ulps: Regenerate.
14063 2014-01-24 David S. Miller <davem@davemloft.net>
14065 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14067 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14070 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14072 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14075 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14076 string pointers after reallocation.
14078 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14080 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14081 __SH4A__ instead of __SH_FPU_ANY__.
14083 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14085 * sysdeps/sh/fpu_control.h: New file.
14086 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14087 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14088 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14089 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14090 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14091 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14092 * sysdeps/sh/sys/ucontext.h: Remove.
14093 * sysdeps/sh/sys: Remove directory.
14095 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14097 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14098 s390/sys/ucontext.h.
14099 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14102 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14105 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14107 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14111 Adjust the vDSO correctly for internal calls.
14112 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14114 2014-01-20 Allan McRae <allan@archlinux.org>
14116 * po/ca.po: Update Catalan translation from translation project.
14118 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14120 * sysdeps/s390/sotruss-lib.c: New file.
14122 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14126 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14127 local calls issues by not having a PLT stub required for IFUNC calls.
14128 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14130 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14132 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14133 * math/test-fpucw-static.c: Likewise.
14135 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14138 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14140 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14142 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14143 implementation for powerpc.
14145 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14148 * sysdeps/posix/system.c (__libc_system): Do not enable
14149 asynchronous cancellation.
14151 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14155 handling only for numbers special also in the IEEE case.
14157 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14159 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14161 2014-01-11 Allan McRae <allan@archlinux.org>
14163 * po/bg.po: Update Bulgarian translation from translation project.
14165 * po/de.po: Update German translation from translation project.
14167 2014-01-10 Roland McGrath <roland@hack.frob.com>
14169 * sysdeps/generic/gcc-compat.h: New file.
14171 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14173 * benchtests/asin-inputs: Correct slow inputs.
14174 * benchtests/acos-inputs: Likewise.
14176 2014-01-10 Allan McRae <allan@archlinux.org>
14178 * po:sv.po: Update Swedish translation from translation project.
14180 * po/vi.po: Update Vietnamese translation from translation project.
14182 * po/eo.po: Update Esperanto translation from translation project.
14184 * po/cs.po: Update Czech translation from translation project.
14186 * po/nl.po: Update Dutch translation from translation project.
14188 * po/pl.po: Update Polish translation from translation project.
14190 * po/ru.po: Update Russian translation from translation project.
14192 * po/uk.po: Update Ukrainian translation from translation project.
14194 2014-01-08 Brooks Moses <bmoses@google.com>
14196 * elf/dl-load.c: Fix comment typo.
14198 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14200 * po/header.pot: Rename to...
14201 * po/pot.header: ... this.
14202 * po/Makefile: Use pot.header.
14204 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14205 Maxim Kuvyrkov <maxim@kugelworks.com>
14208 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14209 SRC and DEST against LEN.
14211 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14214 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14218 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14222 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14225 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14226 for large positive arguments.
14228 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14230 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14232 * math/auto-libm-test-in: Mark various tests with
14233 xfail-rounding:ldbl-128ibm.
14234 * math/auto-libm-test-out: Regenerated.
14237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14238 Increase overflow threshold.
14240 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14243 * stdio-common/vfprintf.c: Check for integer overflow.
14245 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14247 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14248 the first argument and return value of __tls_get_addr_internal.
14250 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14252 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14253 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14255 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14257 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14258 * sysdeps/s390/rtld-global-offsets.sym: New file.
14259 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14261 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14262 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14265 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14272 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14273 halfs of GPRs for high_gprs contexts.
14274 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14275 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14277 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14281 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14282 for high GPRs (uc_high_gprs) and for future extensions
14284 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14285 for future extensions (__reserved).
14286 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14288 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14289 SC_HIGHGPRS offset definition.
14290 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14291 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14293 * Versions.def: Add GLIBC_2.19 for libpthread.
14294 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14295 siglongjmp for libpthread with GLIBC_2.19 symver.
14296 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14297 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14298 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14299 * sysdeps/s390/__longjmp.c: New file.
14300 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14301 * sysdeps/s390/longjmp.c: New file.
14302 * sysdeps/s390/setjmp.S: New file.
14303 * sysdeps/s390/sigjmp.S: New file.
14304 * sysdeps/s390/v1-longjmp.c: New file.
14305 * sysdeps/s390/v1-setjmp.h: New file.
14306 * sysdeps/s390/v1-sigjmp.c: New file.
14307 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14308 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14309 GLIBC_2.19 version.
14310 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14312 versioned symbols for ____longjmp_chk.
14313 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14323 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14324 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14325 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14326 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14327 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14328 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14329 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14330 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14331 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14332 * sysdeps/s390/rtld-__longjmp.c: New file.
14333 * sysdeps/s390/rtld-setjmp.S: New file.
14335 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14339 Return -__logl (x) for small positive arguments without evaluating
14342 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14344 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14346 (__ptrace_peeksiginfo_args): ... this.
14347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14351 2014-01-06 Allan McRae <allan@archlinux.org>
14353 * inet/netinet/in.h: Fix typo in comment.
14355 2014-01-05 Andreas Jaeger <aj@suse.de>
14357 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 2014-01-05 Allan McRae <allan@archlinux.org>
14361 * po/libc.pot: Regenerated.
14363 * malloc/memusagestat.c: Fix gettext call formatting.
14365 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14367 * nscd/nscd.c: Improve usage() output.
14369 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14371 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14372 * sysdeps/unix/sysv/linux/configure: Regenerated.
14373 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14374 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14376 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14380 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14382 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14385 extra tokens at end of #undef directive.
14386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14387 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14388 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14390 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14392 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14394 * math/auto-libm-test-in: Mark various tests with
14395 xfail-rounding:ldbl-128ibm.
14396 * math/auto-libm-test-out: Regenerated.
14398 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14402 numbers with subnormal high part when calculating exponent.
14405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14411 (__ieee754_acoshl): Use __log1pl not __log1p.
14413 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14415 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14416 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14417 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14418 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14419 (reused_arena, arena_get2): Convert to GNU style.
14420 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14421 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14422 (memalign_check, __malloc_set_state): Likewise.
14423 * malloc/mallocbug.c (main): Likewise.
14424 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14425 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14426 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14427 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14428 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14429 (__posix_memalign, malloc_info): Likewise.
14430 * malloc/malloc.h: Likewise.
14431 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14432 (mallochook, memalignhook, reallochook, mabort): Likewise.
14433 * malloc/mcheck.h: Likewise.
14434 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14435 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14436 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14437 * malloc/morecore.c (__default_morecore): Likewise.
14438 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14439 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14440 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14441 (print_and_abort): Likewise.
14442 * malloc/obstack.h: Likewise.
14443 * malloc/set-freeres.c (__libc_freeres): Likewise.
14444 * malloc/tst-mallocstate.c (main): Likewise.
14445 * malloc/tst-mtrace.c (main): Likewise.
14446 * malloc/tst-realloc.c (do_test): Likewise.
14448 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14451 * nscd/netgroupcache.c (do_notfound): New function.
14452 (addgetnetgrentX): Use it.
14455 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14456 NSS_STATUS_NOTFOUND.
14458 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14463 2014-01-01 Allan McRae <allan@archlinux.org>
14465 * scripts/update-copyrights: Update configure input file suffix.
14467 * NEWS: Update copyright year.
14468 * catgets/gencat.c: Likewise.
14469 * csu/version.c: Likewise.
14470 * debug/catchsegv.sh: Likewise.
14471 * debug/pcprofiledump.c: Likewise.
14472 * debug/xtrace.sh: Likewise.
14473 * elf/ldconfig.c: Likewise.
14474 * elf/ldd.bash.in: Likewise.
14475 * elf/pldd.c: Likewise.
14476 * elf/sotruss.ksh: Likewise.
14477 * elf/sprof.c: Likewise.
14478 * iconv/iconv_prog.c: Likewise.
14479 * iconv/iconvconfig.c: Likewise.
14480 * locale/programs/locale.c: Likewise.
14481 * locale/programs/localedef.c: Likewise.
14482 * login/programs/pt_chown.c: Likewise.
14483 * malloc/memusage.sh: Likewise.
14484 * malloc/memusagestat.c: Likewise.
14485 * malloc/mtrace.pl: Likewise.
14486 * manual/libc.texinfo: Likewise.
14487 * nscd/nscd.c: Likewise.
14488 * nss/getent.c: Likewise.
14489 * nss/makedb.c: Likewise.
14490 * posix/getconf.c: Likewise.
14491 * scripts/test-installation.pl: Likewise.
14493 * All files with FSF copyright notices: Update copyright dates
14494 using scripts/update-copyrights.
14495 * intl/plural.c: Regenerated.
14496 * locale/programs/charmap-kw.h: Likewise.
14497 * locale/programs/locfile-kw.h: Likewise.
14499 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14501 * sysdeps/unix/sysv/linux/configure: Regenerated.
14502 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14503 the linux/fanotify.h header.
14504 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14505 HAVE_LINUX_FANOTIFY_H is defined.
14507 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14509 * benchtests/cos-inputs: New inputs.
14510 * benchtests/sin-inputs: Likewise.
14512 * benchtests/atan-inputs: New inputs. Fix name of multiple
14513 precision fallback inputs.
14515 * benchtests/atanh-inputs: New inputs.
14516 * benchtests/tanh-inputs: Likewise.
14518 * benchtests/acosh-inputs: New inputs.
14519 * benchtests/asinh-inputs: Likewise.
14521 * benchtests/cosh-inputs: New inputs.
14522 * benchtests/sinh-inputs: Likewise.
14524 * benchtests/acos-inputs: Add more inputs.
14525 * benchtests/asin-inputs: Likewise.
14527 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14530 * manual/arith.texi: Fix spelling.
14531 * manual/charset.texi: Likewise.
14532 * manual/errno.texi: Likewise.
14533 * manual/filesys.texi: Likewise.
14534 * manual/lang.texi: Likewise.
14535 * manual/llio.texi: Likewise.
14536 * manual/locale.texi: Likewise.
14537 * manual/message.texi: Likewise.
14538 * manual/resource.texi: Likewise.
14539 * manual/search.texi: Likewise.
14540 * manual/setjmp.texi: Likewise.
14541 * manual/stdio.texi: Likewise.
14542 * manual/string.texi: Likewise.
14543 * manual/sysinfo.texi: Likewise.
14544 * manual/time.texi: Likewise.
14546 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14548 * po/sl.po: New file.
14550 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14552 * .gitignore: Add core/.gdbinit/.gdb_history.
14554 2013-12-27 Allan McRae <allan@archlinux.org>
14557 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14558 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14560 2013-12-24 Brooks Moses <bmoses@google.com>
14562 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14563 all compilers that claim C++98 compliance, not just GCC.
14564 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14567 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14569 * NEWS: Restore accidentally deleted bug-fix entries.
14571 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14572 Ondřej Bílka <neleai@seznam.cz>
14575 * malloc/malloc.c (_int_free): Perform sanity check only if we
14578 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14581 * manual/stdio.texi (String Input Conversions): Clarify that character
14582 classes are not supported.
14584 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14588 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14592 Calculate results for small negative arguments directly rather
14593 than using reflection formula with special underflow handling.
14595 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14596 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14597 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14598 (fchflags): Likewise.
14599 (revoke): Likewise.
14600 (setlogin): Likewise.
14601 (sigaltstack): Likewise.
14603 (sigblock): Remove.
14604 (sigsetmask): Likewise.
14606 (waitpid): Likewise.
14607 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14608 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14610 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14611 * sysdeps/unix/bsd/Makefile: ... here.
14612 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14613 * sysdeps/unix/bsd/Versions: ... here.
14614 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14615 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14616 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14617 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14618 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14619 * sysdeps/unix/bsd/sigblock.c: ... here.
14620 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14621 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14622 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14623 * sysdeps/unix/bsd/sigvec.c: ... here.
14624 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14625 * sysdeps/unix/bsd/tcdrain.c: ... here.
14626 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14627 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14628 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14629 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14630 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14631 * sysdeps/unix/bsd/wait.c: ... here.
14632 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14633 * sysdeps/unix/bsd/wait3.c: ... here.
14634 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14635 * sysdeps/unix/bsd/waitpid.c: ... here.
14637 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14641 round-to-nearest for [!USE_AS_EXPM1L].
14642 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14643 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14644 more tests of exp and exp10. Expect some exp10 tests to miss
14645 exceptions or fail in directed rounding modes.
14646 * math/auto-libm-test-out: Regenerated.
14647 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14648 (exp10_test_tonearest): New function.
14649 (exp10_towardzero_test_data): New array.
14650 (exp10_test_towardzero): New function.
14651 (exp10_downward_test_data): New array.
14652 (exp10_test_downward): New function.
14653 (exp10_upward_test_data): New array.
14654 (exp10_test_upward): New function.
14655 (main): Call the new functions.
14656 * sysdeps/i386/fpu/libm-test-ulps: Update.
14657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14659 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14661 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14662 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14663 * math/auto-libm-test-out: Regenerated.
14664 * math/libm-test.inc (acosh_test_data): Add more tests.
14665 (atanh_test_data): Likewise.
14666 (ceil_test_data): Likewise.
14667 (copysign_test_data): Likewise.
14668 * sysdeps/i386/fpu/libm-test-ulps: Update.
14669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14671 * timezone/checktab.awk: Update from tzcode 2013i.
14672 * timezone/private.h: Likewise.
14673 * timezone/scheck.c: Likewise.
14674 * timezone/tzfile.h: Likewise.
14675 * timezone/tzselect.ksh: Likewise.
14676 * timezone/zdump.c: Likewise.
14677 * timezone/zic.c: Likewise.
14679 * math/auto-libm-test-in: Add tests of cpow.
14680 * math/auto-libm-test-out: Regenerated.
14681 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14682 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14684 (func_calc_desc): Add mpc_cc_c union field.
14685 (test_functions): Add cpow.
14686 (special_fill_2pi): New function.
14687 (special_real_inputs): Add 2pi.
14688 (calc_generic_results): Handle mpc_cc_c.
14689 * sysdeps/i386/fpu/libm-test-ulps: Update.
14690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14692 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14693 csqrt, ctan and ctanh.
14694 * math/auto-libm-test-out: Regenerated.
14695 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14696 (TEST_COND_x86): Likewise.
14697 (ccos_test_data): Use AUTO_TESTS_c_c.
14698 (ccosh_test_data): Likewise.
14699 (cexp_test_data): Likewise.
14700 (clog_test_data): Likewise.
14701 (csqrt_test_data): Likewise.
14702 (ctan_test_data): Likewise.
14703 (ctan_tonearest_test_data): Likewise.
14704 (ctan_towardzero_test_data): Likewise.
14705 (ctan_downward_test_data): Likewise.
14706 (ctan_upward_test_data): Likewise.
14707 (ctanh_test_data): Likewise.
14708 (ctanh_tonearest_test_data): Likewise.
14709 (ctanh_towardzero_test_data): Likewise.
14710 (ctanh_downward_test_data): Likewise.
14711 (ctanh_upward_test_data): Likewise.
14712 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14714 (func_calc_desc): Add mpc_c_c union field.
14715 (FUNC_mpc_c_c): New macro.
14716 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14717 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14719 (special_fill_min_subnorm_p120): New function.
14720 (special_real_inputs): Add min_subnorm_p120.
14721 (calc_generic_results): Handle mpc_c_c.
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14725 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14727 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14728 (do_sin_slow): New functions.
14729 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14730 (cslow2, csloww1, csloww2): Use the new functions.
14732 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14733 Use M to change sign of result instead of X. Assume X is
14735 (csloww1): Likewise.
14739 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14740 arguments A and DA.
14744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14746 (sloww1): Don't adjust sign of DX.
14747 (csloww1): Likewise.
14748 (sloww2): Use X directly and don't adjust sign of DX.
14749 (csloww2): Likewise.
14751 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14753 * math/auto-libm-test-in: Add tests of cabs and carg.
14754 * math/auto-libm-test-out: Regenerated.
14755 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14756 (carg_test_data): Likewise.
14757 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14759 (func_calc_desc): Add mpc_c_f union field.
14760 (test_functions): Add cabs and carg.
14761 (calc_generic_results): Handle mpc_c_f.
14763 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14764 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14765 as a macro and a compat symbol.
14766 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14767 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14768 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14769 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14770 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14771 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14773 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14779 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14781 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14783 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14784 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14787 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14791 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14793 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14794 trailing whitespace removed.
14795 * scripts/config.guess: Update to version 2013-11-29.
14796 * scripts/config.sub: Update to version 2013-10-01.
14798 * math/auto-libm-test-in: Add tests of sincos.
14799 * math/auto-libm-test-out: Regenerated.
14800 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14803 (func_calc_desc): Add mpfr_f_11 union field.
14804 (test_functions): Add sincos.
14805 (calc_generic_results): Handle mpfr_f_11.
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14809 2013-12-19 Andreas Schwab <schwab@suse.de>
14811 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14814 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14815 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14817 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14819 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14820 * sysdeps/i386/fpu/libm-test-ulps: Update.
14821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14825 round-to-nearest mode when using frndint.
14826 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14827 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14830 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14832 * math/auto-libm-test-out: Regenerated.
14833 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14834 (TEST_COND_x86): Likewise.
14835 (expm1_tonearest_test_data): New array.
14836 (expm1_test_tonearest): New function.
14837 (expm1_towardzero_test_data): New array.
14838 (expm1_test_towardzero): New function.
14839 (expm1_downward_test_data): New array.
14840 (expm1_test_downward): New function.
14841 (expm1_upward_test_data): New array.
14842 (expm1_test_upward): New function.
14843 (main): Run the new test functions.
14844 * sysdeps/i386/fpu/libm-test-ulps: Update.
14845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847 * include/features.h: Update comment documenting feature test
14848 macros. Mention _DEFAULT_SOURCE in comment.
14849 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14850 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14851 _BSD_SOURCE and _SVID_SOURCE.
14852 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14853 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14854 !_SVID_SOURCE]: Likewise.
14855 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14856 (__USE_POSIX_IMPLICITLY): Define.
14857 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14858 (_POSIX_SOURCE): Undefine and redefine.
14859 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14860 (_POSIX_C_SOURCE): Likewise.
14861 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14862 (Feature Test Macros): Update documentation of default features.
14864 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14866 * benchtests/Makefile: Add bench-strtok.
14867 * benchtests/bench-strtok.c: New file: strtok benchtest.
14869 2013-12-19 Allan McRae <allan@archlinux.org>
14871 * manual/install.texi: Suppress menu for plain text output.
14872 * INSTALL: Regenerated.
14874 2013-12-18 Brooks Moses <bmoses@google.com>
14877 * misc/getauxval.c: Include errno.h.
14878 (__getauxval): Set errno to ENOENT if the requested type is not
14880 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14881 don't declare with __attribute_const__.
14882 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14883 * manual/startup.texi: Document that getauxval sets errno.
14885 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14887 * math/auto-libm-test-in: Add tests of jn and yn.
14888 * math/auto-libm-test-out: Regenerated.
14889 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14890 (yn_test_data): Likewise.
14891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14893 (func_calc_desc): Add mpfr_if_f union field.
14894 (FUNC_mpfr_if_f): New macro.
14895 (test_functions): Add jn and yn.
14896 (calc_generic_results): Assert type of second input for
14897 mpfr_ff_f. Handle mpfr_if_f.
14898 (output_for_one_input_case): Disable all checking for arguments
14899 fitting floating-point types in case of an integer argument.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14904 Don't expect fegetround reference in libm.so.
14906 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14908 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14909 $(config-cflags-nofma).
14911 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14913 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14914 * math/auto-libm-test-out: Regenerated.
14917 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14918 to determine exponent and adjust argument to have exponent of -1.
14919 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14921 * math/auto-libm-test-out: Regenerated.
14922 * sysdeps/i386/fpu/libm-test-ulps: Update.
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14925 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14927 * manual/probes.texi: Remove cases when per-thread arenas are
14930 2013-12-18 Andreas Schwab <schwab@suse.de>
14932 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14933 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14934 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14936 * sysdeps/i386/i686/multiarch/Makefile: Update.
14937 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14939 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14941 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14942 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14944 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14947 Support TZ transition times < 00:00:00.
14948 This is needed for version-3 tz-format files; it supports time
14949 stamps past 2037 for America/Godthab (the only entry in the tz
14950 database for which this change is relevant).
14951 * manual/time.texi (TZ Variable): Document transition times
14952 from -167:59:59 through -00:00:01.
14953 * time/tzset.c (tz_rule): Time of day is now signed.
14954 (__tzset_parse_tz): Parse negative time of day.
14956 Document TZ transition times >= 25:00:00.
14957 * manual/time.texi (TZ Variable): Document transition times from
14958 25:00:00 through 167:59:59. These are already supported, and this
14959 support will help with version-3 tz-format files.
14961 * manual/time.texi (TZ Variable): Modernize North America example
14962 to reflect current (i.e., 2007-and-later) daylight saving rules.
14964 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14966 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14968 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14969 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14972 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14973 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14974 * sysdeps/unix/bsd/clock.c: Likewise.
14975 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14976 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14977 * sysdeps/unix/bsd/init-posix.c: Likewise.
14978 * sysdeps/unix/bsd/poll.c: Likewise.
14979 * sysdeps/unix/bsd/ptsname.c: Likewise.
14980 * sysdeps/unix/bsd/seekdir.c: Likewise.
14981 * sysdeps/unix/bsd/setegid.c: Likewise.
14982 * sysdeps/unix/bsd/seteuid.c: Likewise.
14983 * sysdeps/unix/bsd/setgid.c: Likewise.
14984 * sysdeps/unix/bsd/setrgid.c: Likewise.
14985 * sysdeps/unix/bsd/setruid.c: Likewise.
14986 * sysdeps/unix/bsd/setsid.c: Likewise.
14987 * sysdeps/unix/bsd/setuid.c: Likewise.
14988 * sysdeps/unix/bsd/sigaction.c: Likewise.
14989 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14990 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14991 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14992 * sysdeps/unix/bsd/telldir.c: Likewise.
14993 * sysdeps/unix/bsd/times.c: Likewise.
14994 * sysdeps/unix/bsd/usleep.c: Likewise.
14996 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14997 ($(objpfx)libbsd-compat.a): Remove rule.
14999 * include/features.h (__FAVOR_BSD): Do not define.
15000 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15001 features conflicting with POSIX.
15002 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15003 (_BSD_SOURCE): Remove description of not being a subset of other
15004 feature test macros.
15005 * manual/job.texi (getpgrp): Do not document BSD version.
15006 (getpgid): Do not document by reference to BSD getpgrp.
15007 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15008 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15009 * signal/signal.h [__FAVOR_BSD]: Likewise.
15010 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15011 instead of making contents conditional on [__FAVOR_BSD].
15012 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15014 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15018 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15022 values below 2**-450, not 2**-500.
15023 * math/auto-libm-test-in: Don't allow spurious underflow from
15025 * math/auto-libm-test-out: Regenerated.
15029 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15030 values of ha and hb and sort them after adjusting subnormal
15032 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15034 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15035 values of ea and eb and sort them after adjusting subnormal
15037 * math/auto-libm-test-in: Do not expect some hypot tests of
15038 subnormals to fail. Add more hypot tests.
15039 * math/auto-libm-test-out: Regenerated.
15041 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15044 * sysdeps/sh/s_fma.c: New file.
15045 * sysdeps/sh/s_fmaf.c: New file.
15046 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15048 * sysdeps/sh/Implies: Add sh/soft-fp.
15050 2013-12-16 Roland McGrath <roland@hack.frob.com>
15052 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15053 level of indirection to members `objname', `errstring', `malloced'.
15054 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15055 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15056 it as the __longjmp argument (just pass 1 instead).
15057 (_dl_catch_error): Initialize C with argument pointers and address of
15058 volatile local ERRCODE rather than copying values out of C at return.
15060 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15062 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15063 * math/auto-libm-test-out: Regenerated.
15064 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15065 (hypot_test_data): Likewise.
15066 (pow_test_data): Likewise.
15067 (pow_tonearest_test_data): Likewise.
15068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15070 (func_calc_desc): Add mpfr_ff_f union field.
15071 (FUNC_mpfr_ff_f): New macro.
15072 (test_functions): Add atan2, hypot and pow.
15073 (special_fill_min): New function.
15074 (special_fill_minus_min): Likewise.
15075 (special_fill_min_subnorm): Likewise.
15076 (special_fill_minus_min_subnorm): Likewise.
15077 (special_real_inputs): Add min, -min, min_subnorm and
15079 (calc_generic_results): Handle mpfr_ff_f.
15080 * sysdeps/i386/fpu/libm-test-ulps: Update.
15081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15083 2013-12-16 Will Newton <will.newton@linaro.org>
15085 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15086 (Aligned Memory Blocks): Add documentation for aligned_alloc
15087 and suggest it as an alternative to posix_memalign.
15088 (Hooks for Malloc): Document __memalign_hook is also called
15089 for aligned_alloc. (Summary of Malloc): Add summary for
15090 aligned alloc. Document __memalign_hook is also called
15093 2013-12-16 Will Newton <will.newton@linaro.org>
15095 * manual/memory.texi (Malloc Examples): Clarify default
15096 alignment documentation. Suggest posix_memalign rather
15097 than memalign or valloc.
15098 (Aligned Memory Blocks): Remove suggestion to use memalign
15099 or valloc. Remove obsolete comment about BSD.
15100 Document memalign errno values and mark the function obsolete.
15101 Document posix_memalign returned error codes. Mark valloc
15102 as obsolete. (Hooks for Malloc): __memalign_hook is also
15103 called for posix_memalign and valloc.
15104 (Summary of Malloc): Add posix_memalign to function summary.
15105 __memalign_hook is also called for posix_memalign and valloc.
15107 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15109 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15113 (sloww): Use mynumber union. Expand ternary operator into
15114 if-else statements.
15115 (cslow): use mynumber union.
15117 2013-12-16 Allan McRae <allan@archlinux.org>
15119 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15120 * configure: Regenerated.
15122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15125 * configure.ac: Added --enable-maintainer-mode. Check for
15126 autoconf when enabled.
15127 * configure: Regenerated.
15129 * nscd/nscd.service: New file.
15130 * nscd/nscd.tmpfiles: New file.
15132 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15135 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15136 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15137 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15138 (strstr): Add __strstr_sse2_unaligned ifunc.
15139 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15140 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15141 (strcasestr): Remove __strcasestr_sse42 ifunc.
15142 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15146 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15148 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15149 * sysdeps/sh/bits/fenv.h: ... here.
15150 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15154 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15157 hypotf multiarch implementations.
15158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15159 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15161 multiarch hypot for PPC64.
15162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15165 multiarch hypotf for PPC64.
15167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15168 modff multiarch implementations.
15169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15172 multiarch modf for PPC64.
15173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15176 multiarch modff for PPC64.
15178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15179 and logl multiarch implementations.
15180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15183 multiarch logb for PPC64.
15184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15187 multiarch logb for PPC64.
15188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15191 multiarch logb for PPC64.
15193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15194 isinff multiarch implementation.
15195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15199 multiarch isinf for PPC64.
15200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15203 multiarch isinff for PPC64.
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15206 finitef multiarch implementation.
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15211 multiarch finite for PPC64.
15212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15215 multiarch finitef for PPC64.
15217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15218 lrint multiarch implementation.
15219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15223 multiarch llrint for PPC64.
15224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15225 multiarch lrint for PPC64.
15227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15228 copysignf multiarch implementation.
15229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15234 multiarch copysign for PPC64.
15235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15236 multiarch copysignf for PPC64.
15238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15239 multiarch implementation.
15240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15248 multiarch llround for PPC64.
15249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15250 multiarch trunc for PPC64.
15251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15252 multiarch truncf for PPC64.
15254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15255 multiarch implementation.
15256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15264 multiarch llround for PPC64.
15265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15266 multiarch round for PPC64.
15267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15268 multiarch roundf for PPC64.
15270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15271 multiarch implementation.
15272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15280 multiarch llround for PPC64.
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15282 multiarch floor for PPC64.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15284 multiarch floorf for PPC64.
15286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15287 multiarch implementation.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15296 multiarch llround for PPC64.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15298 multiarch ceil for PPC64.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15300 multiarch ceilf for PPC64.
15302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15303 multiarch implementation.
15304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15311 multiarch llround for PPC64.
15312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15313 multiarch lround for PPC64.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15316 multiarch implementation.
15317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15324 multiarch isnan for PPC64.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15326 multiarch isnanf for PPC64.
15328 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15329 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15330 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15331 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15332 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15335 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15336 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15341 multiarch implementations.
15342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15343 (__libc_ifunc_impl_list): Likewise.
15344 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15346 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15347 multiarch stpcpy for PPC64.
15349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15350 multiarch implementations.
15351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15352 (__libc_ifunc_impl_list): Likewise.
15353 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15354 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15355 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15356 multiarch strcpy for PPC64.
15358 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15359 redefine function name.
15360 (_wordcopy_fwd_dest_aligned): Likewise.
15361 (_wordcopy_bwd_aligned): Likewise.
15362 (_wordcopy_bwd_dest_aligned): Likewise.
15363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15364 multiarch implementations.
15365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15366 (__libc_ifunc_impl_list): Likewise.
15367 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15368 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15369 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15370 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15371 multiarch wcscpy for PPC64.
15373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15374 multiarch implementations.
15375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15376 (__libc_ifunc_impl_list): Likewise.
15377 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15378 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15379 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15381 multiarch wcscpy for PPC64.
15383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15384 multiarch implementations.
15385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15386 (__libc_ifunc_impl_list): Likewise.
15387 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15388 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15389 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15390 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15391 multiarch wcsrchr for PPC64.
15393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15394 multiarch implementations.
15395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15396 (__libc_ifunc_impl_list): Likewise.
15397 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15398 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15399 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15400 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15401 multiarch wcschr for PPC64.
15403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15404 multiarch implementations.
15405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15406 (__libc_ifunc_impl_list): Likewise.
15407 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15408 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15409 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15410 multiarch strchrnul for PPC64.
15412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15415 (__libc_ifunc_impl_list): Likewise.
15416 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15417 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15418 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15419 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15425 (__libc_ifunc_impl_list): Likewise.
15426 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15427 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15428 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15429 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15433 multiarch implementations.
15434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15435 (__libc_ifunc_impl_list): Likewise.
15436 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15437 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15438 strncasecmp for PPC64.
15439 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15440 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15441 multiarch strncasecmp_l for PPC64.
15443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15444 multiarch implementations.
15445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15446 (__libc_ifunc_impl_list): Likewise.
15447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15449 multiarch strcasecmp for PPC64.
15450 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15453 multiarch strcasecmp_l for PPC64.
15455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15458 (__libc_ifunc_impl_list): Likewise.
15459 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15461 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15467 (__libc_ifunc_impl_list): Likewise.
15468 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15469 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15470 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15476 (__libc_ifunc_impl_list): Likewise.
15477 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15478 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15479 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15480 rawmemrchr for PPC64.
15482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15485 (__libc_ifunc_impl_list): Likewise.
15486 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15487 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15488 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15494 (__libc_ifunc_impl_list): Likewise.
15495 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15496 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15497 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15503 (__libc_ifunc_impl_list): Likewise.
15504 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15505 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15506 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15509 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15510 avoid cretion of __bzero symbol.
15511 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15513 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15515 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15518 multiarch implementations.
15519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15520 (__libc_ifunc_impl_list): Likewise.
15521 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15523 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15524 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15526 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15528 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15529 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15530 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15532 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15534 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15538 (__libc_ifunc_impl_list): Likewise.
15539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15542 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15546 multiarch for POWER/PPC64.
15547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15548 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15555 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15558 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15559 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15560 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15561 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15562 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15563 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15565 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15566 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15567 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15568 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15569 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15570 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15571 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15572 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15581 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15585 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * benchtests/Makefile (bench): Add exp2 and log2.
15588 (LDLIBS-bench-exp2): Add -lm.
15589 (LDLIBS-bench-log2): Likewise.
15590 * benchtests/exp2-inputs: New inputs file.
15591 * benchtests/log2-inputs: New inputs file.
15592 * benchtests/log-inputs: Add new inputs.
15593 * benchtests/tan-inputs: Likewise.
15595 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15597 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15599 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15600 (csloww2): ... from here.
15602 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15603 instead of structures.
15604 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15605 (POLYNOMIAL): Likewise.
15606 (TAYLOR_SLOW): Likewise.
15612 (sloww1); Likewise.
15613 (sloww2): Likewise.
15614 (bsloww1): Likewise.
15615 (bsloww2): Likewise.
15616 (cslow2): Likewise.
15617 (csloww): Likewise.
15618 (csloww1): Likewise.
15619 (csloww2): Likewise.
15621 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15623 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15624 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15625 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15626 * malloc/hooks.c (realloc_check): Likewise.
15628 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15629 * malloc/arena.c: Remove PER_THREAD conditional.
15630 [!PER_THREAD]: Remove code.
15631 (ptmalloc_unlock_all2): Likewise.
15632 (ptmalloc_init): Likewise.
15633 (_int_new_arena): Likewise.
15634 (arena_get2): Likewise.
15635 * malloc/hooks.c (__malloc_get_state): Likewise.
15636 (__malloc_set_state): Likewise.
15637 * malloc/malloc.c: Likewise.
15638 (struct malloc_state): Likewise.
15639 (struct malloc_par): Likewise.
15640 (__libc_realloc): Likewise.
15641 (__libc_mallopt): Likewise.
15643 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15645 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15647 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15649 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15650 macro to a function. Check for zero perturb_byte.
15651 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15653 * malloc/malloc.c: (force_reg): Remove.
15654 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15655 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15656 force_reg by atomic_forced_read.
15657 * malloc/arena.c (ptmalloc_init): Likewise.
15658 * malloc/hooks.c (top_check): Likewise.
15660 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15664 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15668 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15670 * math/auto-libm-test-in: Add tests of lgamma.
15671 * math/auto-libm-test-out: Regenerated.
15672 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15673 (M_LOG_2_SQRT_PIl): Likewise.
15674 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15677 (func_calc_desc): Add mpfr_f_f1 union field.
15678 (ARGS1): New macro.
15686 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15687 (test_functions): Add lgamma.
15688 (calc_generic_results): Handle mpfr_f_f1.
15689 * sysdeps/i386/fpu/libm-test-ulps: Update.
15690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15694 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15695 __mpn_add_n for PowerPC64/POWER7.
15696 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15697 __mpn_sub_n for PowerPC64/POWER7.
15699 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15700 __mpn_addmul_1 for PowerPC64.
15701 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15702 __mpn_submul_1 for PowerPC64.
15703 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15705 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15708 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15711 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15713 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15715 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15717 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15718 add multiarch folders.
15719 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15720 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15721 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15722 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15723 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15724 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15725 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15726 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15727 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15728 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15729 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15738 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15744 multiarch __ieee754_hypot for PowerPC32.
15745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15750 multiarch __ieee754_hypotf for PowerPC32.
15752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15753 long_double_symbol only if __logbl is defined.
15754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15755 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15757 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15759 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15761 path for implementation.
15762 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15765 logb, and logbl multiarch implementations for PowerPC32.
15766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15771 multiarch logb for PowerPC32.
15772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15777 multiarch logbf for PowerPC32.
15778 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15782 multiarch logbl implementation for PowerPC32.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15785 and modff multiarch implementations.
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15791 multiarch modf for PowerPC32.
15792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15797 multiarch modff for PowerPC32.
15799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15800 and lrintf multiarch implementations.
15801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15806 multiarch lrint for PowerPC32.
15807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15808 file: multiarch lrintf for PowerPC32.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15811 and lroundf multiarch implementations.
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15819 multiarch lround for PowerPC32.
15820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15821 file: multiarch lroundf for PowerPC32.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15824 copysign and copysignf multiarch implementations.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15830 file: multiarch copysign for PowerPC32.
15831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15832 file: multiarch copysignf for PowerPC32.
15834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15835 and truncf multiarch implementations.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15841 multiarch trunc for PowerPC32.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15847 multiarch truncf for PowerPC32.
15849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15850 and roundf multiarch implementations.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15856 multiarch round for PowerPC32.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15862 multiarch roundf for PowerPC32.
15864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15865 and floorf multiarch implementations.
15866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15871 multiarch floor for PowerPC32.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15877 multiarch floorf for PowerPC32.
15879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15880 and ceilf multiarch implementations.
15881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15886 multiarch ceil for PowerPC32.
15887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15892 multiarch ceilf for PowerPC32.
15894 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15896 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15897 FINITEF is defined.
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15899 and finitef multiarch implementations.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15905 multiarch finite for PowerPC32.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15909 file: multiarch finitef for PowerPC32.
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15912 and isinff multiarch implementations.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15918 multiarch isinf for PowerPC32.
15919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15922 multiarch isinff for PowerPC32.
15924 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15925 alias when __isnan is defined.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15927 and isnanf multiarch implementations.
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15937 multiarch isnan for PowerPC32.
15938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15943 multiarch isnanf for PowerPC32.
15945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15946 and sqrtf multiarch implementations.
15947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15952 multiarch sqrt for PowerPC32.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15958 multiarch sqrtf for PowerPC32.
15960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15961 and llroundf multiarch implementations.
15962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15969 file: multiarch llround for PowerPC32.
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15971 file: multiarch llroundf for PowerPC32.
15973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15974 multiarch PowerPC32 fpu implementations.
15975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15980 multiarch llrint for PowerPC32.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15990 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15997 multiarch wordcopy for PPC32.
15998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16001 (__libc_ifunc_impl_list): Likewise.
16002 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16003 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16005 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16006 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16007 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16009 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16017 multiarch wcscpy for PPC32.
16018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16021 (__libc_ifunc_impl_list): Likewise.
16022 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16023 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16024 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16025 sysdeps/powerpc/power6/wcscpy.c.
16027 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16035 multiarch wcsrchr for PPC32.
16036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16039 (__libc_ifunc_impl_list): Likewise.
16040 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16041 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16042 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16043 sysdeps/powerpc/power6/wcsrchr.c.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16051 multiarch wcschr for PPc32.
16052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16055 (__libc_ifunc_impl_list): Likewise.
16056 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16057 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16058 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16059 sysdeps/powerpc/power6/wcschr.c.
16061 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16065 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16066 file: multiarch strchr for PPC32.
16067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16070 (__libc_ifunc_impl_list): Likewise.
16072 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16074 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16076 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16079 multiarch strchrnul for PPC32.
16080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16083 (__libc_ifunc_impl_list): Likewise.
16085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16088 multiarch strncasecmp for PPC32.
16089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16092 multiarch strncasecmp_l for PPC32.
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16094 strncasecmp multiarch objects.
16095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16096 (__libc_ifunc_impl_list): Likewise.
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16101 multiarch strncasecmp for PPC32.
16102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16105 multiarch strcasecmp_l for PPC32.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16109 (__libc_ifunc_impl_list): Likewise.
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16116 multiarch strncmp for PPC32.
16117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16120 (__libc_ifunc_impl_list): Likewise.
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16123 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16130 (__libc_ifunc_impl_list): Likewise.
16132 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16134 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16136 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16140 (__libc_ifunc_impl_list): Likewise.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16147 multiarch rawmemchr for PPC32.
16148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16151 (__libc_ifunc_impl_list): Likewise.
16153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16158 file: memrchr multiarch for PPC32.
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16162 (__libc_ifunc_impl_list): Likewise.
16164 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16167 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16169 multiarch memchr for PPC32.
16170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16173 (__libc_ifunc_impl_list): Likewise.
16175 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16176 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16178 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16181 file: multiarch mempcpy for PPC32.
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16185 (__libc_ifunc_impl_list): Likewise.
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16191 multiarch bzero for PPC32.
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16197 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16198 file: multiarch memset for PPC32.
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16201 memset multiarch objects.
16202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16203 (__libc_ifunc_impl_list): Likewise.
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16214 (__libc_ifunc_impl_list): Likewise.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16225 multiarch memcpy for PPC32.
16226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16229 (__libc_ifunc_impl_list): Likewise.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16232 support multiarch for POWER/PPC32.
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16237 Implies file to make multiarch folder appers before the fpu and
16238 default folder for power4 configuration.
16240 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16242 * scripts/bench.pl: Append volatile keyword to type.
16244 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16246 * sysdeps/sh/sotruss-lib.c: New file.
16247 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16249 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16253 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16256 * math/w_tgamma.c: Include <errno.h>.
16257 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16258 * math/w_tgammaf.c: Include <errno.h>.
16259 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16260 * math/w_tgammal.c: Include <errno.h>.
16261 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16262 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16263 underflow. Add more tgamma tests.
16264 * math/auto-libm-test-out: Regenerated.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16268 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16269 sin, sinh, tan, tanh, tgamma, y0 and y1.
16270 * math/auto-libm-test-out: Regenerated.
16271 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16272 (TEST_COND_x86): Likewise.
16273 (M_E2l): Remove macro.
16275 (M_2_SQRT_PIl): Likewise.
16276 (M_SQRT_PIl): Likewise.
16277 (M_1_DIV_El): Likewise.
16278 (log_test_data): Use AUTO_TESTS_f_f.
16279 (log10_test_data): Likewise.
16280 (log1p_test_data): Likewise.
16281 (log2_test_data): Likewise.
16282 (sin_test_data): Likewise.
16283 (sin_tonearest_test_data): Likewise.
16284 (sin_towardzero_test_data): Likewise.
16285 (sin_downward_test_data): Likewise.
16286 (sin_upward_test_data): Likewise.
16287 (sinh_test_data): Likewise.
16288 (sinh_tonearest_test_data): Likewise.
16289 (sinh_towardzero_test_data): Likewise.
16290 (sinh_downward_test_data): Likewise.
16291 (sinh_upward_test_data): Likewise.
16292 (tan_test_data): Likewise.
16293 (tan_tonearest_test_data): Likewise.
16294 (tan_towardzero_test_data): Likewise.
16295 (tan_downward_test_data): Likewise.
16296 (tan_upward_test_data): Likewise.
16297 (tanh_test_data): Likewise.
16298 (tgamma_test_data): Likewise.
16299 (y0_test_data): Likewise.
16300 (y1_test_data): Likewise.
16301 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16302 (special_real_inputs): Add pi/4.
16303 * sysdeps/i386/fpu/libm-test-ulps: Update.
16304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16306 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16308 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16309 "longjmp_target" static probes.
16310 (__longjmp): Rename to __longjmp_symbol.
16311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16312 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16313 on which longjmp to generate.
16314 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16315 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16318 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16320 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16321 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16324 __longjmp_symbol based on which __longjmp to generate.
16325 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16327 (setjmp): Rename to setjmp_symbol.
16328 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16329 (_setjmp): Rename to _setjmp_symbol.
16330 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16331 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16332 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16333 which setjmp to generate.
16334 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16335 "longjmp_target" static probes.
16337 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16339 * benchtests/README: Add note about output arguments.
16340 * benchtests/bench-sincos.c: Remove file.
16341 * benchtests/sincos-inputs: New file.
16342 * scripts/bench.pl: Identify output arguments and define
16343 static variables for them.
16345 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16348 * Makefile (INSTALL): Add install-plain.texi as the primary
16350 * manual/install-plain.texi: New file.
16351 * manual/install.texi: Include node directive only for
16352 non-plaintext output.
16354 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16356 * stdlib/longlong.h: Update from GCC.
16360 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16361 * math/w_j0f.c (y0f): Likewise.
16362 * math/w_j0l.c (__y0l): Likewise.
16363 * math/w_j1.c (y1): Likewise.
16364 * math/w_j1f.c (y1f): Likewise.
16365 * math/w_j1l.c (__y1l): Likewise
16366 * math/w_jn.c (yn): Likewise.
16367 * math/w_jnf.c (ynf): Likewise.
16368 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16369 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16370 value for Bessel function domain errors outside _SVID_ mode.
16371 Adjust sign of return value for yn (negative integer, 0).
16372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16373 by zero in return for negative x and set sign appropriately for
16375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16377 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16378 expectations in error cases.
16379 (y1_test_data): Likewise.
16380 (yn_test_data): Likewise.
16381 * sysdeps/i386/fpu/libm-test-ulps: Update.
16382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16384 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16386 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16387 "64" to "64-v1". Add "64-v2".
16388 (abi-64-options): Rename to ...
16389 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16390 (abi-64-condition): Rename to ...
16391 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16392 (abi-64-ld-soname): Rename to ...
16393 (abi-64-v1-ld-soname): ... this.
16394 (abi-64-v2-options): Define.
16395 (abi-64-v2-condition): Likewise.
16396 (abi-64-v2-ld-soname): Likewise.
16397 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16398 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16403 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16404 Alan Modra <amodra@gmail.com>
16406 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16407 New versions for use with the ELFv2 ABI.
16408 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16409 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16411 (struct La_ppc64v2_retval): Likewise.
16412 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16413 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16414 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16415 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16416 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16418 Do not save or restore CR.
16419 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16420 (_dl_profile_resolve): Do no save or restore CR. Support extended
16421 return values for ELFv2 ABI. Fix location of FPR return registers.
16422 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16423 updated values for _CALL_ELF == 2.
16424 (La_regs, La_retval, int_retval): Likewise.
16426 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16428 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16429 (FRAME_MIN_SIZE_PARM): Likewise.
16430 (FRAME_BACKCHAIN): Likewise.
16431 (FRAME_CR_SAVE): Likewise.
16432 (FRAME_LR_SAVE): Likewise.
16433 (FRAME_TOC_SAVE): Likewise.
16434 (FRAME_PARM_SAVE): Likewise.
16435 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16436 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16437 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16438 (call_mcount_parm_offset): New macro.
16439 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16440 (PROF): Use symbolic stack frame offsets.
16441 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16442 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16443 Redefine in terms of FRAME_MIN_SIZE.
16444 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16445 (_dl_profile_resolve): Likewise. Update comment.
16446 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16447 symbols stack frame offsets.
16448 (__sigsetjmp): Likewise.
16449 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16450 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16451 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16452 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16455 (FRAME_BACKCHAIN): Remove.
16456 (FRAME_CR_SAVE): Likewise.
16457 (FRAME_LR_SAVE): Likewise.
16458 (FRAME_COMPILER_DW): Likewise.
16459 (FRAME_LINKER_DW): Likewise.
16460 (FRAME_TOC_SAVE): Likewise.
16461 (FRAME_PARM_SAVE): Likewise.
16462 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16463 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16464 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16466 (CHECK_SP): Use symbolic stack frame offsets.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16468 zone" instead of caller's parameter save area for temp storage.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16470 Likewise. Also, use symbolic stack frame offsets.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16472 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16473 our own stack frame instead of the caller's.
16474 (__socket): Use symbolic stack frame offsets.
16476 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16477 Alan Modra <amodra@gmail.com>
16479 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16481 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16482 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16483 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16485 (elf_machine_fixup_plt): Call it.
16486 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16488 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16490 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16491 r2 before calling target.
16493 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16494 Alan Modra <amodra@gmail.com>
16496 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16497 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16498 versions of macros to support ELFv2 ABI.
16499 (LOCALENTRY): New macro.
16500 (ENTRY, EALIGN): Use it.
16501 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16502 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16503 fall through into ENTRY entry point.
16504 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16505 Only define if _CALL_ELF != 2.
16507 (elf_machine_matches_host): Verify ABI version matches.
16508 (RTLD_START): Use LOCALENTRY.
16509 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16510 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16511 (PLT_ENTRY_WORDS): New macro.
16512 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16513 (elf_machine_runtime_setup): Support ELFv2 ABI.
16514 (elf_machine_fixup_plt): Likewise.
16515 (elf_machine_plt_conflict): Likewise.
16516 (resolve_ifunc): Likewise.
16517 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16521 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16523 (makecontext): Support ELFv2 ABI.
16524 * elf/elf.h (EF_PPC64_ABI): Define.
16526 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16528 * sysdeps/powerpc/powerpc64/sysdep.h
16529 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16530 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16531 (ENTRY) [ASSEMBLER]: ... but instead here ...
16532 (EALIGN) [ASSEMBLER]: ... and here.
16533 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16534 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16535 (ENTRY_2) [!ASSEMBLER]: Use it.
16536 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16537 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16539 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16542 Use PPC64_LOAD_FUNCPTR.
16544 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16546 2013-12-04 Alan Modra <amodra@gmail.com>
16548 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16549 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16550 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16551 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16554 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16555 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16556 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16557 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16558 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16560 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16563 (__makecontext): Fix incorrect CFI when backtracing out of
16564 context created via makecontext.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16566 (__setcontext): Fix incorrect CFI during switch to new context.
16567 (__novec_setcontext): Likewise.
16569 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16572 * time/strptime_l.c (__strptime_internal): Allow modifiers
16574 * time/tst-strptime.c (day_tests): Add testcase.
16576 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16578 * scripts/bench.pl: Skip over blank lines.
16580 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16583 * manual/time.texi (Calendar Time): Clarify what timezone functions
16586 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16590 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16592 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16594 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16595 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16596 * debug/memset_chk.c (__memset_chk): Likewise.
16597 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16598 * debug/strncpy_chk.c: Likewise.
16600 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16605 (__ieee754_exp): For possibly underflowing results, check size of
16606 result and force underflow exception if required.
16607 * math/auto-libm-test-in: Add more tests of exp.
16608 * math/auto-libm-test-out: Regenerated.
16609 * sysdeps/i386/fpu/libm-test-ulps: Update.
16610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16613 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16614 * math/w_exp2f.c (__exp2f): Likewise.
16615 * math/w_exp2l.c (__exp2l): Likewise.
16616 * math/auto-libm-test-in: Do not allow missing errno on exp2
16618 * math/auto-libm-test-out: Regenerated.
16620 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16623 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16624 handle filename validation.
16625 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16628 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16631 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16632 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16633 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16635 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16637 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16639 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16640 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16641 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16642 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16643 Add more erfc tests.
16644 * math/auto-libm-test-out: Regenerated.
16645 * sysdeps/i386/fpu/libm-test-ulps: Update.
16646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16648 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16649 exp2, expm1, j0 and j1.
16650 * math/auto-libm-test-out: Regenerated.
16651 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16652 (erfc_test_data): Likewise.
16653 (exp_test_data): Likewise.
16654 (exp_tonearest_test_data): Likewise.
16655 (exp_towardzero_test_data): Likewise.
16656 (exp_downward_test_data): Likewise.
16657 (exp_upward_test_data): Likewise.
16658 (exp10_test_data): Likewise.
16659 (exp2_test_data): Likewise.
16660 (expm1_test_data): Likewise.
16661 (j0_test_data): Likewise.
16662 (j1_test_data): Likewise.
16663 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16664 (input_flag_type): Add flag_xfail_rounding.
16665 (input_flags): Add xfail-rounding.
16666 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16667 (output_for_one_input_case): Handle flag_xfail_rounding.
16668 * sysdeps/i386/fpu/libm-test-ulps: Update.
16669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16671 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16674 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16677 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16680 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16681 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16682 (STAP_PROBE0): New macro.
16683 (STAP_PROBE1): Likewise.
16684 (STAP_PROBE2): Likewise.
16685 (STAP_PROBE3): Likewise.
16686 (STAP_PROBE4): Likewise.
16688 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16690 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16692 2013-12-02 Steve Ellcey <sellcey@mips.com>
16694 * benchtests/Makefile (bench): Add sqrt.
16695 (LDLIBS-bench-sqrt): New.
16696 * benchtests/sqrt-input: New.
16698 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16700 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16701 (GAIH_EAI): Likewise.
16702 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16703 (gaih_inet): Likewise.
16704 (getaddrinfo): Don't use GAIH_EAI.
16706 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16707 (struct gaih): Remove definition.
16709 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16711 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16712 Use HERRNOP directly.
16714 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16718 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16720 * math/gen-auto-libm-tests.c (test_functions): Add more
16721 single-argument functions.
16722 (special_fill_pi_2): New function.
16723 (special_fill_minus_pi_2): Likewise.
16724 (special_fill_pi_6): Likewise.
16725 (special_fill_minus_pi_6): Likewise.
16726 (special_fill_pi_3): Likewise.
16727 (special_fill_2pi_3): Likewise.
16728 (special_fill_e): Likewise.
16729 (special_fill_1_e): Likewise.
16730 (special_fill_e_minus_1): Likewise.
16731 (special_real_inputs): Add more special inputs.
16732 (output_for_one_input_case): Do not require ERANGE on underflow to
16733 zero if round-to-nearest result does not underflow to zero, unless
16734 exact results required.
16735 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16736 atan, atanh, cbrt, cos and cosh.
16737 * math/auto-libm-test-out: Regenerated.
16738 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16739 (acos_tonearest_test_data): Likewise.
16740 (acos_towardzero_test_data): Likewise.
16741 (acos_downward_test_data): Likewise.
16742 (acos_upward_test_data): Likewise.
16743 (acosh_test_data): Likewise.
16744 (asin_test_data): Likewise.
16745 (asin_tonearest_test_data): Likewise.
16746 (asin_towardzero_test_data): Likewise.
16747 (asin_upward_test_data): Likewise.
16748 (asinh_test_data): Likewise.
16749 (atan_test_data): Likewise.
16750 (atanh_test_data): Likewise.
16751 (cbrt_test_data): Likewise.
16752 (cos_test_data): Likewise.
16753 (cos_tonearest_test_data): Likewise.
16754 (cos_towardzero_test_data): Likewise.
16755 (cos_downward_test_data): Likewise.
16756 (cos_upward_test_data): Likewise.
16757 (cosh_test_data): Likewise.
16758 (cosh_tonearest_test_data): Likewise.
16759 (cosh_towardzero_test_data): Likewise.
16760 (cosh_downward_test_data): Likewise.
16761 (cosh_upward_test_data): Likewise.
16762 * sysdeps/i386/fpu/libm-test-ulps: Update.
16763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16765 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16768 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16769 * math/w_exp10f.c (__exp10f): Likewise.
16770 * math/w_exp10l.c (__exp10l): Likewise.
16771 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16772 errno settings in existing tests.
16775 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16776 precision control set to double precision.
16777 * sysdeps/i386/fpu/w_sqrt.c: New file.
16778 * math/auto-libm-test-in: Add more tests.
16779 * math/auto-libm-test-out: Update.
16781 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16782 (sqrt_test_tonearest): New function.
16783 (sqrt_towardzero_test_data): New variable.
16784 (sqrt_test_towardzero): New function.
16785 (sqrt_downward_test_data): New variable.
16786 (sqrt_test_downward): New function.
16787 (sqrt_upward_test_data): New variable.
16788 (sqrt_test_upward): New function.
16789 (main): Call the new functions.
16791 * math/gen-auto-libm-tests.c: New file.
16792 * math/auto-libm-test-in: Likewise.
16793 * math/auto-libm-test-out: New generated file.
16794 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16796 (%beautify): Add generated representations of zero.
16797 (top level): Set $auto_input and call parse_auto_input.
16798 (beautify): Remove trailing "f" from hex float constants.
16799 (parse_args): Handle XFAIL_TEST.
16800 (convert_condition): New function.
16801 (or_value): Likewise.
16802 (or_cond_value): Likewise.
16803 (generate_testfile): Handle AUTO_TESTS_* lines.
16804 (parse_auto_input): New function.
16805 * math/libm-test.inc (XFAIL_TEST): New macro.
16806 (ERRNO_UNCHANGED): Update value.
16807 (ERRNO_EDOM): Likewise.
16808 (ERRNO_ERANGE): Likewise.
16809 (IGNORE_RESULT): Likewise.
16810 (TEST_COND_flt_32): New macro.
16811 (TEST_COND_dbl_64): Likewise.
16812 (TEST_COND_ldbl_96_intel): Likewise.
16813 (TEST_COND_ldbl_96_m68k): Likewise.
16814 (TEST_COND_ldbl_128): Likewise.
16815 (TEST_COND_ldbl_128ibm): Likewise.
16816 (TEST_COND_long32): Likewise.
16817 (TEST_COND_long64): Likewise.
16818 (TEST_COND_before_rounding): Likewise.
16819 (TEST_COND_after_rounding): Likewise.
16820 (enable_test): Handle XFAIL_TEST flag.
16821 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16822 with finite results.
16823 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16824 auto-libm-test-out.
16826 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16827 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16830 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16831 __tls_get_addr_internal instead of __tls_get_offset in order to
16832 avoid GOT pointer dependency. Make rtld export
16833 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16834 __tls_get_addr since we are a __tls_get_offset platform.
16835 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16836 GOT pointer being set up before.
16837 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16839 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16841 * manual/math.texi (Errors in Math Functions): Document accuracy
16845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16846 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16862 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16863 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16864 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16865 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16866 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16868 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16870 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16872 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16873 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16874 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16875 atomic-feupdateenv and flt-rounds.
16876 * sysdeps/powerpc/nofpu/Versions (libc): Add
16877 __atomic_feholdexcept, __atomic_feclearexcept,
16878 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16880 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16881 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16882 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16887 * manual/arith.texi (FP Exceptions): Document that exceptions may
16888 not be raised when matherr is used.
16889 (Math Error Reporting): Document overflow in directed rounding
16890 modes. Document that errno may not be set when finite values are
16891 returned on overflow. Document intent to set errno on underflow
16892 only for underflow to zero.
16895 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16896 round-to-nearest then adjust result for other rounding modes.
16897 * include/fenv.h (fegetround): Use libm_hidden_proto.
16898 * math/fegetround.c (fegetround): Use libm_hidden_def.
16899 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16900 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16901 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16904 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16905 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16906 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16907 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16909 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16912 * nss/Versions (libnss_files): Add
16913 _nss_files_gethostbyname3_r.
16914 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16916 (HOST_DB_LOOKUP): Remove macro.
16917 (_nss_files_gethostbyname_r): Implement function without the
16918 HOST_DB_LOOKUP macro.
16919 (_nss_files_gethostbyname2_r): Likewise.
16921 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16923 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16925 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16927 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16928 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16931 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16933 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16934 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16935 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16936 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16937 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16938 __fe_nomask_env_priv and attribute_hidden.
16939 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16940 (libc_feupdateenv_test_ppc): Likewise.
16941 (libc_feresetround_ppc): Likewise.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16943 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16944 compat_symbol macro.
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16946 (__fe_nomask_env): Likewise.
16947 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16949 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16951 * string/Makefile: Remove ifunc tests.
16952 * string/test-string.h: Define TEST_IFUNC.
16953 * string/test-bcopy-ifunc.c: Remove.
16954 * string/test-bzero-ifunc.c: Likewise.
16955 * string/test-memccpy-ifunc.c: Likewise.
16956 * string/test-memchr-ifunc.c: Likewise.
16957 * string/test-memcmp-ifunc.c: Likewise.
16958 * string/test-memcpy-ifunc.c: Likewise.
16959 * string/test-memmem-ifunc.c: Likewise.
16960 * string/test-memmove-ifunc.c: Likewise.
16961 * string/test-mempcpy-ifunc.c: Likewise.
16962 * string/test-memrchr-ifunc.c: Likewise.
16963 * string/test-memset-ifunc.c: Likewise.
16964 * string/test-rawmemchr-ifunc.c: Likewise.
16965 * string/test-stpcpy-ifunc.c: Likewise.
16966 * string/test-stpncpy-ifunc.c: Likewise.
16967 * string/test-strcasecmp-ifunc.c: Likewise.
16968 * string/test-strcasestr-ifunc.c: Likewise.
16969 * string/test-strcat-ifunc.c: Likewise.
16970 * string/test-strchr-ifunc.c: Likewise.
16971 * string/test-strchrnul-ifunc.c: Likewise.
16972 * string/test-strcmp-ifunc.c: Likewise.
16973 * string/test-strcpy-ifunc.c: Likewise.
16974 * string/test-strcspn-ifunc.c: Likewise.
16975 * string/test-strlen-ifunc.c: Likewise.
16976 * string/test-strncasecmp-ifunc.c: Likewise.
16977 * string/test-strncat-ifunc.c: Likewise.
16978 * string/test-strncmp-ifunc.c: Likewise.
16979 * string/test-strncpy-ifunc.c: Likewise.
16980 * string/test-strnlen-ifunc.c: Likewise.
16981 * string/test-strpbrk-ifunc.c: Likewise.
16982 * string/test-strrchr-ifunc.c: Likewise.
16983 * string/test-strspn-ifunc.c: Likewise.
16984 * string/test-strstr-ifunc.c: Likewise.
16986 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16988 * benchtests/Makefile: Remove ifunc tests.
16989 * benchtests/bench-string.h: Define TEST_IFUNC.
16990 * benchtests/bench-bcopy-ifunc.c: Remove.
16991 * benchtests/bench-bzero-ifunc.c: Likewise.
16992 * benchtests/bench-memccpy-ifunc.c: Likewise.
16993 * benchtests/bench-memchr-ifunc.c: Likewise.
16994 * benchtests/bench-memcmp-ifunc.c: Likewise.
16995 * benchtests/bench-memcpy-ifunc.c: Likewise.
16996 * benchtests/bench-memmem-ifunc.c: Likewise.
16997 * benchtests/bench-memmove-ifunc.c: Likewise.
16998 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16999 * benchtests/bench-memrchr-ifunc.c: Likewise.
17000 * benchtests/bench-memset-ifunc.c: Likewise.
17001 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17002 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17003 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17004 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17005 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17006 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17007 * benchtests/bench-strcat-ifunc.c: Likewise.
17008 * benchtests/bench-strchr-ifunc.c: Likewise.
17009 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17010 * benchtests/bench-strcmp-ifunc.c: Likewise.
17011 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17012 * benchtests/bench-strcpy-ifunc.c: Likewise.
17013 * benchtests/bench-strcspn-ifunc.c: Likewise.
17014 * benchtests/bench-strlen-ifunc.c: Likewise.
17015 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17016 * benchtests/bench-strncat-ifunc.c: Likewise.
17017 * benchtests/bench-strncmp-ifunc.c: Likewise.
17018 * benchtests/bench-strncpy-ifunc.c: Likewise.
17019 * benchtests/bench-strnlen-ifunc.c: Likewise.
17020 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17021 * benchtests/bench-strrchr-ifunc.c: Likewise.
17022 * benchtests/bench-strsep-ifunc.c: Likewise.
17023 * benchtests/bench-strspn-ifunc.c: Likewise.
17024 * benchtests/bench-strstr-ifunc.c: Likewise.
17026 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17028 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17032 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17033 * rt/aio.h: Likewise.
17034 * sysdeps/gnu/bits/utmp.h: Likewise.
17035 * sysdeps/gnu/bits/utmpx.h: Likewise.
17036 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17037 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17038 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17039 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17040 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17041 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17042 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17043 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17044 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17046 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17047 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17048 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17050 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17051 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17052 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17053 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17054 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17055 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17056 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17057 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17058 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17059 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17060 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17062 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17063 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17067 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17068 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17070 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17071 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17074 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17075 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17076 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17077 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17079 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17082 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17083 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17085 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17087 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17088 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17091 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17094 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17095 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17096 (__fesetround): Remove define.
17097 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17098 rounding and exceptions handling.
17099 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17100 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17101 (__fe_nomask_env): Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17103 __fegetround instead of fegetround.
17104 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17107 2013-11-21 Roland McGrath <roland@hack.frob.com>
17109 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17112 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17114 2013-11-21 Meador Inge <meadori@codesourcery.com>
17117 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17118 (encrypt_r): Likewise.
17119 * malloc/obstack.h (obstack_free): Likewise.
17120 * posix/unistd.h (encrypt): Likewise.
17122 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17124 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17125 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17126 DL_CALL_DT_FINI() that call the functions directly.
17127 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17128 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17129 * elf/dl-fini.c: Likewise.
17131 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17133 * malloc/hooks.c (memalign_check): Add alignment rounding.
17134 * malloc/malloc.c (_mid_memalign): New function.
17135 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17136 Implement by calling _mid_memalign.
17137 * manual/probes.texi (Memory Allocation Probes): Remove
17138 memory_valloc_retry and memory_pvalloc_retry.
17140 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17142 * locale/programs/locarchive.c (open_archive): Add const
17143 qualifier to ARCHIVEFNAME and copy default fname to
17147 * libio/tst-widetext.input: Rename Oriya to Odia.
17148 * locale/iso-639.def: Likewise.
17150 * manual/probes.texi (Mathematical Function Probes): Add
17151 documentation for sin, cos, asin and acos probes.
17152 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17153 (__sin32): Add slowasin probe.
17154 (__cos32): Add slowacos probe.
17155 (__mpsin): Add slowsin probe.
17156 (__mpcos): Add slowcos probe.
17158 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17161 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17162 thread-local __sim_exceptions_thread and global
17163 __sim_exceptions_global.
17164 (__sim_disabled_exceptions): Change to thread-local
17165 __sim_disabled_exceptions_thread and global
17166 __sim_disabled_exceptions_global.
17167 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17168 and global __sim_round_mode_global.
17169 (__simulate_exceptions): Use thread-local floating-point state and
17170 set global state from it as needed.
17171 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17172 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17173 __sim_round_mode_thread.
17174 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17175 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17176 and global __sim_exceptions_global.
17177 (__sim_disabled_exceptions): Change to thread-local
17178 __sim_disabled_exceptions_thread and global
17179 __sim_disabled_exceptions_global.
17180 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17181 and global __sim_round_mode_global.
17182 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17183 (SIM_SET_GLOBAL): Likewise.
17184 * sysdeps/powerpc/soft-fp/sfp-machine.h
17185 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17186 __sim_round_mode_thread.
17187 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17188 __sim_disabled_exceptions_thread.
17189 (__sim_exceptions): Change to __sim_exceptions_thread.
17190 (__sim_disabled_exceptions): Change to
17191 __sim_disabled_exceptions_thread.
17192 (__sim_round_mode): Change to __sim_round_mode_thread.
17193 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17194 thread-local floating-point state and set global state from it as
17196 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17197 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17198 (__sim_disabled_exceptions): Remove extern declaration.
17199 (feenableexcept): Use thread-local floating-point state and set
17200 global state from it as needed.
17201 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17202 extern declaration.
17203 (__sim_disabled_exceptions): Likewise.
17204 (__sim_round_mode): Likewise.
17205 (__fegetenv): Use thread-local floating-point state.
17206 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17207 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17208 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17209 floating-point state and set global state from it as needed.
17210 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17211 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17212 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17214 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17215 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17217 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17218 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17219 Use __sim_round_mode_thread.
17220 * math/test-fenv-tls.c: New file.
17221 * math/Makefile (tests): Add test-fenv-tls.
17222 ($(objpfx)test-fenv-tls): Depend on
17223 $(common-objpfx)nptl/libpthread.so.
17225 2013-11-19 Andreas Schwab <schwab@suse.de>
17227 * locale/programs/locale.c (show_info): Decode wordarray elements.
17228 * locale/categories.def (LC_MONETARY): Add element for
17229 _NL_MONETARY_CRNCYSTR.
17230 * locale/C-monetary.c (conversion_rate): New variable.
17231 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17234 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17236 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17237 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17239 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17241 * elf/Makefile (tst-auxv): New test.
17242 * elf/tst-auxv.c: New
17243 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17245 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17247 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17248 (hidden_proto): Caller changed.
17249 (hidden_tls_proto): New macro.
17250 (libc_hidden_tls_proto): Likewise.
17251 (rtld_hidden_tls_proto): Likewise.
17252 (libm_hidden_tls_proto): Likewise.
17253 (libresolv_hidden_tls_proto): Likewise.
17254 (librt_hidden_tls_proto): Likewise.
17255 (libdl_hidden_tls_proto): Likewise.
17256 (libnss_files_hidden_tls_proto): Likewise.
17257 (libnsl_hidden_tls_proto): Likewise.
17258 (libnss_nisplus_hidden_tls_proto): Likewise.
17259 (libutil_hidden_tls_proto): Likewise.
17261 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17264 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17265 (decompose_rpath): Defer expansion to fillin_rpath.
17266 (_dl_init_paths): Pass linkmap to fillin_rpath.
17268 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17270 * benchtests/Makefile: Add strsep.
17271 * benchtests/bench-strsep.c: New file: strsep benchtest.
17272 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17274 2013-11-18 Andreas Schwab <schwab@suse.de>
17276 * locale/programs/locale.c (show_info) [case byte]: Check for
17277 '\377' instead of '\177'.
17278 * locale/C-monetary.c (not_available): Always use "\377".
17279 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17280 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17281 detect unavailable sign_posn locale elements.
17282 * locale/localeconv.c (__localeconv): For grouping and
17283 mon_grouping handle "\177" and "\377" like no grouping.
17284 (INT_ELEM): New macro. Use it to set all numeric members.
17285 * locale/programs/ld-monetary.c (monetary_read)
17286 <tok_mon_grouping>: Normalize single -1 to the empty string.
17287 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17290 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17294 when we match (nil).
17295 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17297 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17299 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17300 (NO_TEST_INLINE): Update value.
17301 (ERRNO_UNCHANGED): Likewise.
17302 (ERRNO_EDOM): Likewise.
17303 (ERRNO_ERANGE): Likewise.
17304 (IGNORE_RESULT): Likewise.
17305 (check_float_internal): Check signs of NaN results if
17306 TEST_NAN_SIGN used.
17307 (check_complex): Pass TEST_NAN_SIGN flag through to second
17308 check_float_internal call.
17309 (copysign_test_data): Add tests with quiet NaNs as second
17310 argument. Use TEST_NAN_SIGN.
17311 (fabs_test_data): Add test of negative quiet NaN argument. Use
17313 (signbit_test_data): Add tests of quiet NaN argument.
17314 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17316 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17318 (parse_args): Handle function results specified as IGNORE.
17319 * math/libm-test.inc (IGNORE_RESULT): New macro.
17320 (check_float_internal): Do not check numerical result if flag
17322 (check_complex): Pass through IGNORE_RESULT to second
17323 check_float_internal call.
17324 (check_int): Do not check numerical result if flag IGNORE_RESULT
17326 (check_long): Likewise.
17327 (check_bool): Likewise.
17328 (check_longlong): Likewise.
17329 (lrint_test_data): Add tests of infinite and NaN arguments.
17330 (lrint_tonearest_test_data): Likewise.
17331 (lrint_towardzero_test_data): Likewise.
17332 (lrint_downward_test_data): Likewise.
17333 (lrint_upward_test_data): Likewise.
17334 (llrint_test_data): Likewise.
17335 (llrint_tonearest_test_data): Likewise.
17336 (llrint_towardzero_test_data): Likewise.
17337 (llrint_downward_test_data): Likewise.
17338 (llrint_upward_test_data): Likewise.
17339 (lround_test_data): Likewise.
17340 (llround_test_data): Likewise.
17342 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17343 (ERRNO_UNCHANGED): Update value.
17344 (ERRNO_EDOM): Likewise.
17345 (ERRNO_ERANGE): Likewise.
17346 (NO_TEST_INLINE_FLOAT): New macro.
17347 (NO_TEST_INLINE_DOUBLE): Likewise.
17348 (enable_test): New function.
17349 (RUN_TEST_f_f): Check enable_test before running test.
17350 (RUN_TEST_2_f): Likewise.
17351 (RUN_TEST_fff_f): Likewise.
17352 (RUN_TEST_c_f): Likewise.
17353 (RUN_TEST_f_f1): Likewise.
17354 (RUN_TEST_fF_f1): Likewise.
17355 (RUN_TEST_fI_f1): Likewise.
17356 (RUN_TEST_ffI_f1): Likewise.
17357 (RUN_TEST_c_c): Likewise.
17358 (RUN_TEST_cc_c): Likewise.
17359 (RUN_TEST_f_i): Likewise.
17360 (RUN_TEST_f_i_tg): Likewise.
17361 (RUN_TEST_ff_i_tg): Likewise.
17362 (RUN_TEST_f_b): Likewise.
17363 (RUN_TEST_f_b_tg): Likewise.
17364 (RUN_TEST_f_l): Likewise.
17365 (RUN_TEST_f_L): Likewise.
17366 (RUN_TEST_fFF_11): Likewise.
17367 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17369 (cosh_test_data): Likewise.
17370 (exp_test_data): Likewise.
17371 (expm1_test_data): Likewise.
17372 (hypot_test_data): Likewise.
17373 (pow_test_data): Likewise.
17374 (sinh_test_data): Likewise.
17375 (tanh_test_data): Likewise.
17376 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17379 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17380 tests with quiet NaN input and output.
17381 (acosh_test_data): Likewise.
17382 (asin_test_data): Likewise.
17383 (asinh_test_data): Likewise.
17384 (atan_test_data): Likewise.
17385 (atanh_test_data): Likewise.
17386 (atan2_test_data): Likewise.
17387 (cbrt_test_data): Likewise.
17388 (cos_test_data): Likewise.
17389 (cosh_test_data): Likewise.
17390 (erf_test_data): Likewise.
17391 (erfc_test_data): Likewise.
17392 (exp_test_data): Likewise.
17393 (exp10_test_data): Likewise.
17394 (exp2_test_data): Likewise.
17395 (expm1_test_data): Likewise.
17396 (hypot_test_data): Likewise.
17397 (j0_test_data): Likewise.
17398 (j1_test_data): Likewise.
17399 (jn_test_data): Likewise.
17400 (lgamma_test_data): Likewise.
17401 (log_test_data): Likewise.
17402 (log10_test_data): Likewise.
17403 (log1p_test_data): Likewise.
17404 (log2_test_data): Likewise.
17405 (pow_test_data): Likewise.
17406 (scalb_test_data): Likewise.
17407 (sin_test_data): Likewise.
17408 (sincos_test_data): Likewise.
17409 (sinh_test_data): Likewise.
17410 (tan_test_data): Likewise.
17411 (tanh_test_data): Likewise.
17412 (tgamma_test_data): Likewise.
17413 (y0_test_data): Likewise.
17414 (y1_test_data): Likewise.
17415 (yn_test_data): Likewise.
17418 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17419 argument being NaN and avoid computations with second argument in
17421 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17422 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17425 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17427 * locale/iso-639.def: Add Chitwani Tharu (the).
17429 2013-11-14 Andreas Schwab <schwab@suse.de>
17431 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17432 word instead of empty string.
17434 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17437 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17439 (__fe_nomask_env): Likewise.
17441 2013-11-13 Steve Ellcey <sellcey@mips.com>
17443 * benchtests/bench-timing.h: Include time.h.
17445 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17448 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17450 * sysdeps/unix/sysv/linux/configure: Regenerated.
17452 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17455 * stdlib/strtod_l.c (round_and_return): Do not consider
17456 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17457 exponent one less than half the least subnormal exponent.
17458 * stdlib/test-strtod-round-data: Add more tests.
17459 * stdlib/tst-strtod-round.c (tests): Regenerated.
17461 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17464 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17465 (__fe_mask_env): Likewise.
17466 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17467 libm_hidden_proto and add function prototype.
17468 (__fe_mask_env): Add function prototype.
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17470 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17472 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17474 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17476 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17479 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17481 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17483 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17484 of htab_find_slot().
17486 2013-11-11 David S. Miller <davem@davemloft.net>
17489 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17490 symbol in the non-vis3 case in static builds.
17491 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17492 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17494 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17496 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17499 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17502 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17504 * benchtests/Makefile: Add bench-strtod.
17505 * benchtests/bench-strtod.c: New file: strtod benchtest
17507 2013-11-11 Andreas Schwab <schwab@suse.de>
17510 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17511 terminating NUL in key length.
17513 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17516 Add artificial ODP entry for vDSO symbol for PPC64.
17517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17518 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17520 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17523 * nss/getent.c (services_keys): Recognize services starting with digit.
17525 2013-11-06 David S. Miller <davem@davemloft.net>
17528 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17529 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17531 2013-11-06 Will Newton <will.newton@linaro.org>
17533 * manual/memory.texi (Malloc Examples): Remove register
17534 keyword from examples.
17536 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17538 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17540 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17543 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17544 depending on [__GCC_IEC_559 > 0].
17545 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17546 depending on [__GCC_IEC_559_COMPLEX > 0].
17548 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17550 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17553 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17555 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17557 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17560 * malloc/malloc (malloc_info): Do not handle first bin as
17563 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17565 * locale/iso-639.def: Add Central Nahuatl (nhn).
17567 2013-11-01 Bruno Haible <bruno@clisp.org>
17570 * manual/math.texi (BSD Random): Specify range upper bound as
17573 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17575 * locale/iso-639.def: Add Meadow Mari (mhr).
17577 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17579 [BZ #14752], [BZ #15763]
17580 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17582 * rt/tst_shm.c: Add test for escaping directory.
17584 2013-10-31 Andreas Schwab <schwab@suse.de>
17587 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17588 followed by 'x' as part of digit sequence.
17589 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17591 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17594 * configure.ac: allow GNU Make 4.0 and greater.
17595 * configure: Regenerated.
17597 2013-10-30 Will Newton <will.newton@linaro.org>
17600 * malloc/hooks.c (memalign_check): Limit alignment to the
17601 maximum representable power of two.
17602 * malloc/malloc.c (__libc_memalign): Likewise.
17603 * malloc/tst-memalign.c (do_test): Add test for very
17604 large alignment values.
17605 * malloc/tst-posix_memalign.c (do_test): Likewise.
17607 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17610 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17611 (munmap_chunk): Likewise.
17612 (mremap_chunk): Likewise.
17614 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17617 * stdlib/div.c (div): Remove obsolete code.
17618 * stdlib/ldiv.c (ldiv): Likewise.
17619 * stdlib/lldiv.c (lldiv): Likewise.
17621 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17624 * nss/nss_files/files-XXX.c (get_contents_ret): New
17626 (get_contents): New function.
17627 (internal_getent): Use it. Expand size of LINEBUFLEN.
17629 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17631 * configure.in: Moved to ...
17632 * configure.ac: ... here. Change reference to configure.in
17634 * sysdeps/arm/preconfigure.ac: ... here.
17635 configure.in to configure.ac.
17636 * sysdeps/gnu/configure.in: Moved to ...
17637 * sysdeps/gnu/configure.ac: ... here.
17638 * sysdeps/i386/configure.in: Moved to ...
17639 * sysdeps/i386/configure.ac: ... here.
17640 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17641 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17642 * sysdeps/mach/configure.in: Moved to ...
17643 * sysdeps/mach/configure.ac: ... here.
17644 * sysdeps/mach/hurd/configure.in: Moved to ...
17645 * sysdeps/mach/hurd/configure.ac: ... here.
17646 * sysdeps/powerpc/configure.in: Moved to ...
17647 * sysdeps/powerpc/configure.ac: ... here.
17648 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17649 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17650 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17651 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17652 * sysdeps/s390/s390-32/configure.in: Moved to ...
17653 * sysdeps/s390/s390-32/configure.ac: ... here.
17654 * sysdeps/s390/s390-64/configure.in: Moved to ...
17655 * sysdeps/s390/s390-64/configure.ac: ... here.
17656 * sysdeps/sh/configure.in: Moved to ...
17657 * sysdeps/sh/configure.ac: ... here.
17658 * sysdeps/sparc/configure.in: Moved to ...
17659 * sysdeps/sparc/configure.ac: ... here.
17660 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17661 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17662 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17663 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17664 * sysdeps/x86_64/configure.in: Moved to ...
17665 * sysdeps/x86_64/configure.ac: ... here.
17666 * sysdeps/x86_64/preconfigure.in: Moved to ...
17667 * sysdeps/x86_64/preconfigure.ac: ... here.
17668 * aclocal.m4: Change reference to configure.in to configure.ac.
17669 * config.h.in: Likewise.
17670 * manual/install.texi: Likewise.
17671 * manual/maint.texi: Likewise.
17672 * Makefile: Likewise.
17673 * malloc/Makefile: Likewise.
17674 * nscd/Makefile: Likewise.
17675 * Makeconfig: Change reference to configure.in and
17676 preconfigure.in to configure.ac and preconfigure.ac
17678 * INSTALL: Regenerated.
17679 * configure: Likewise.
17680 * sysdeps/gnu/configure: Likewise.
17681 * sysdeps/i386/configure: Likewise.
17682 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17683 * sysdeps/mach/configure: Likewise.
17684 * sysdeps/mach/hurd/configure: Likewise.
17685 * sysdeps/powerpc/configure: Likewise.
17686 * sysdeps/powerpc/powerpc32/configure: Likewise.
17687 * sysdeps/powerpc/powerpc64/configure: Likewise.
17688 * sysdeps/s390/s390-32/configure: Likewise.
17689 * sysdeps/s390/s390-64/configure: Likewise.
17690 * sysdeps/sh/configure: Likewise.
17691 * sysdeps/sparc/configure: Likewise.
17692 * sysdeps/unix/sysv/linux/configure: Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17694 * sysdeps/x86_64/configure: Likewise.
17695 * sysdeps/x86_64/preconfigure: Likewise.
17697 2013-10-29 Andreas Schwab <schwab@suse.de>
17699 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17701 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17703 * benchtests/pow-inputs: Add new inputs.
17705 * benchtests/exp-inputs: Add new inputs.
17707 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17708 conditional check for return value.
17709 (__cos32): Likewise.
17711 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17713 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17714 to provide a boost for large inputs with word alignment.
17715 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17716 implementation based on optimized PPC64 strcpy.
17717 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17718 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17719 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17720 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17722 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17725 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17727 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17730 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17731 * time/tst-strptime.c (day_tests): Add testcase.
17733 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17736 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17738 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17741 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17742 MAP_FAILED on error.
17744 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17747 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17748 heap for large requests.
17750 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17753 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17754 result if the result has no associated interface.
17755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17756 interface for all 127.X.Y.Z addresses.
17758 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17760 * locale/iso-639.def: Add Ligurian (lij)
17762 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17765 * sunrpc/rpc_main.c: Document rpcgen -5.
17767 2013-10-19 Michael Stahl <mstahl@redhat.com>
17769 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17771 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17774 * posix/glob.c: Match only directories when trailing slash is present.
17775 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17776 (main): Add testcase.
17778 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17781 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17783 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17785 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17786 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17787 AUTH_DES and cindex for FIPS 140-2.
17788 (DES Encryption): Add cindex FIPS 46-3.
17790 * locale/locarchive.h (struct locarhandle): Add fname.
17791 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17792 if an optional argument was specified to --list-archive,
17794 * locale/programs/locarchive.c (show_archive_content): Take new
17795 argument fname and pass it via ah.fname to open_archive.
17796 * locale/programs/localedef.h: Update decl.
17797 (open_archive): If AH->fname is non-null, open that file
17798 rather than the default file name, and don't ignore ENOENT.
17799 (create_archive): Set AH.fname to NULL.
17800 (delete_locales_from_archive): Likewise.
17801 (add_locales_to_archive): Likewise.
17802 * locale/programs/locfile.c (write_all_categories): Likewise.
17804 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17805 Aldy Hernandez <aldyh@redhat.com>
17807 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17808 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17809 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17810 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17811 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17814 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17815 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17819 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17820 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17821 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17823 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17829 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17830 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17832 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17833 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17834 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17835 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17837 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17838 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17839 * sysdeps/powerpc/preconfigure: Likewise.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17842 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17843 Replace contents of file by #include of <fenv_libc.h>.
17844 * sysdeps/powerpc/soft-fp/sfp-machine.h
17845 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17847 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17860 Allow copysignl PLT reference to be missing.
17862 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17863 Joseph Myers <joseph@codesourcery.com
17866 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17868 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17870 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17872 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17873 * elf/tst-tls1.c: Likewise.
17874 * elf/tst-tls10.h: Likewise.
17875 * elf/tst-tls14.c: Likewise.
17876 * elf/tst-tls2.c: Likewise.
17877 * elf/tst-tls3.c: Likewise.
17878 * elf/tst-tls4.c: Likewise.
17879 * elf/tst-tls5.c: Likewise.
17880 * elf/tst-tls6.c: Likewise.
17881 * elf/tst-tls7.c: Likewise.
17882 * elf/tst-tls8.c: Likewise.
17883 * elf/tst-tls9.c: Likewise.
17884 * elf/tst-tlsmod1.c: Likewise.
17885 * elf/tst-tlsmod13.c: Likewise.
17886 * elf/tst-tlsmod13a.c: Likewise.
17887 * elf/tst-tlsmod14a.c: Likewise.
17888 * elf/tst-tlsmod16a.c: Likewise.
17889 * elf/tst-tlsmod16b.c: Likewise.
17890 * elf/tst-tlsmod2.c: Likewise.
17891 * elf/tst-tlsmod3.c: Likewise.
17892 * elf/tst-tlsmod4.c: Likewise.
17893 * elf/tst-tlsmod5.c: Likewise.
17894 * elf/tst-tlsmod6.c: Likewise.
17896 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17899 * malloc/malloc.c: remove checks for statistics.
17901 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17904 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17905 * inet/tst-network.c: Add testcase.
17907 2013-10-17 Andreas Schwab <schwab@suse.de>
17910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17911 to determine canonical name.
17913 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17915 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17916 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17974 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17977 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17978 make result into a quiet NaN.
17980 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17982 * soft-fp/adddf3.c: Fix horizontal whitespace.
17983 * soft-fp/addsf3.c: Likewise.
17984 * soft-fp/addtf3.c: Likewise.
17985 * soft-fp/divdf3.c: Likewise.
17986 * soft-fp/divsf3.c: Likewise.
17987 * soft-fp/divtf3.c: Likewise.
17988 * soft-fp/double.h: Likewise.
17989 * soft-fp/eqdf2.c: Likewise.
17990 * soft-fp/eqsf2.c: Likewise.
17991 * soft-fp/eqtf2.c: Likewise.
17992 * soft-fp/extenddftf2.c: Likewise.
17993 * soft-fp/extended.h: Likewise.
17994 * soft-fp/extendsfdf2.c: Likewise.
17995 * soft-fp/extendsftf2.c: Likewise.
17996 * soft-fp/extendxftf2.c: Likewise.
17997 * soft-fp/fixdfdi.c: Likewise.
17998 * soft-fp/fixdfsi.c: Likewise.
17999 * soft-fp/fixdfti.c: Likewise.
18000 * soft-fp/fixsfdi.c: Likewise.
18001 * soft-fp/fixsfsi.c: Likewise.
18002 * soft-fp/fixsfti.c: Likewise.
18003 * soft-fp/fixtfdi.c: Likewise.
18004 * soft-fp/fixtfsi.c: Likewise.
18005 * soft-fp/fixtfti.c: Likewise.
18006 * soft-fp/fixunsdfdi.c: Likewise.
18007 * soft-fp/fixunsdfsi.c: Likewise.
18008 * soft-fp/fixunsdfti.c: Likewise.
18009 * soft-fp/fixunssfdi.c: Likewise.
18010 * soft-fp/fixunssfsi.c: Likewise.
18011 * soft-fp/fixunssfti.c: Likewise.
18012 * soft-fp/fixunstfdi.c: Likewise.
18013 * soft-fp/fixunstfsi.c: Likewise.
18014 * soft-fp/fixunstfti.c: Likewise.
18015 * soft-fp/floatdidf.c: Likewise.
18016 * soft-fp/floatdisf.c: Likewise.
18017 * soft-fp/floatditf.c: Likewise.
18018 * soft-fp/floatsidf.c: Likewise.
18019 * soft-fp/floatsisf.c: Likewise.
18020 * soft-fp/floatsitf.c: Likewise.
18021 * soft-fp/floattidf.c: Likewise.
18022 * soft-fp/floattisf.c: Likewise.
18023 * soft-fp/floattitf.c: Likewise.
18024 * soft-fp/floatundidf.c: Likewise.
18025 * soft-fp/floatundisf.c: Likewise.
18026 * soft-fp/floatunditf.c: Likewise.
18027 * soft-fp/floatunsidf.c: Likewise.
18028 * soft-fp/floatunsisf.c: Likewise.
18029 * soft-fp/floatunsitf.c: Likewise.
18030 * soft-fp/floatuntidf.c: Likewise.
18031 * soft-fp/floatuntisf.c: Likewise.
18032 * soft-fp/floatuntitf.c: Likewise.
18033 * soft-fp/fmadf4.c: Likewise.
18034 * soft-fp/fmasf4.c: Likewise.
18035 * soft-fp/fmatf4.c: Likewise.
18036 * soft-fp/gedf2.c: Likewise.
18037 * soft-fp/gesf2.c: Likewise.
18038 * soft-fp/getf2.c: Likewise.
18039 * soft-fp/ledf2.c: Likewise.
18040 * soft-fp/lesf2.c: Likewise.
18041 * soft-fp/letf2.c: Likewise.
18042 * soft-fp/muldf3.c: Likewise.
18043 * soft-fp/mulsf3.c: Likewise.
18044 * soft-fp/multf3.c: Likewise.
18045 * soft-fp/negdf2.c: Likewise.
18046 * soft-fp/negsf2.c: Likewise.
18047 * soft-fp/negtf2.c: Likewise.
18048 * soft-fp/op-1.h: Likewise.
18049 * soft-fp/op-2.h: Likewise.
18050 * soft-fp/op-4.h: Likewise.
18051 * soft-fp/op-8.h: Likewise.
18052 * soft-fp/op-common.h: Likewise.
18053 * soft-fp/quad.h: Likewise.
18054 * soft-fp/single.h: Likewise.
18055 * soft-fp/soft-fp.h: Likewise.
18056 * soft-fp/sqrtdf2.c: Likewise.
18057 * soft-fp/sqrtsf2.c: Likewise.
18058 * soft-fp/sqrttf2.c: Likewise.
18059 * soft-fp/subdf3.c: Likewise.
18060 * soft-fp/subsf3.c: Likewise.
18061 * soft-fp/subtf3.c: Likewise.
18062 * soft-fp/truncdfsf2.c: Likewise.
18063 * soft-fp/trunctfdf2.c: Likewise.
18064 * soft-fp/trunctfsf2.c: Likewise.
18065 * soft-fp/trunctfxf2.c: Likewise.
18066 * soft-fp/unorddf2.c: Likewise.
18067 * soft-fp/unordsf2.c: Likewise.
18068 * soft-fp/unordtf2.c: Likewise.
18070 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18073 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18075 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18077 * elf/dl-libc.c: Clear initfini list after freeing.
18079 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18081 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18082 * soft-fp/addsf3.c: Likewise.
18083 * soft-fp/addtf3.c: Likewise.
18084 * soft-fp/divdf3.c: Likewise.
18085 * soft-fp/divsf3.c: Likewise.
18086 * soft-fp/divtf3.c: Likewise.
18087 * soft-fp/double.h: Likewise.
18088 * soft-fp/eqdf2.c: Likewise.
18089 * soft-fp/eqsf2.c: Likewise.
18090 * soft-fp/eqtf2.c: Likewise.
18091 * soft-fp/extenddftf2.c: Likewise.
18092 * soft-fp/extended.h: Likewise.
18093 * soft-fp/extendsfdf2.c: Likewise.
18094 * soft-fp/extendsftf2.c: Likewise.
18095 * soft-fp/extendxftf2.c: Likewise.
18096 * soft-fp/fixdfdi.c: Likewise.
18097 * soft-fp/fixdfsi.c: Likewise.
18098 * soft-fp/fixdfti.c: Likewise.
18099 * soft-fp/fixsfdi.c: Likewise.
18100 * soft-fp/fixsfsi.c: Likewise.
18101 * soft-fp/fixsfti.c: Likewise.
18102 * soft-fp/fixtfdi.c: Likewise.
18103 * soft-fp/fixtfsi.c: Likewise.
18104 * soft-fp/fixtfti.c: Likewise.
18105 * soft-fp/fixunsdfdi.c: Likewise.
18106 * soft-fp/fixunsdfsi.c: Likewise.
18107 * soft-fp/fixunsdfti.c: Likewise.
18108 * soft-fp/fixunssfdi.c: Likewise.
18109 * soft-fp/fixunssfsi.c: Likewise.
18110 * soft-fp/fixunssfti.c: Likewise.
18111 * soft-fp/fixunstfdi.c: Likewise.
18112 * soft-fp/fixunstfsi.c: Likewise.
18113 * soft-fp/fixunstfti.c: Likewise.
18114 * soft-fp/floatdidf.c: Likewise.
18115 * soft-fp/floatdisf.c: Likewise.
18116 * soft-fp/floatditf.c: Likewise.
18117 * soft-fp/floatsidf.c: Likewise.
18118 * soft-fp/floatsisf.c: Likewise.
18119 * soft-fp/floatsitf.c: Likewise.
18120 * soft-fp/floattidf.c: Likewise.
18121 * soft-fp/floattisf.c: Likewise.
18122 * soft-fp/floattitf.c: Likewise.
18123 * soft-fp/floatundidf.c: Likewise.
18124 * soft-fp/floatundisf.c: Likewise.
18125 * soft-fp/floatunsidf.c: Likewise.
18126 * soft-fp/floatunsisf.c: Likewise.
18127 * soft-fp/floatuntidf.c: Likewise.
18128 * soft-fp/floatuntisf.c: Likewise.
18129 * soft-fp/floatuntitf.c: Likewise.
18130 * soft-fp/fmadf4.c: Likewise.
18131 * soft-fp/fmasf4.c: Likewise.
18132 * soft-fp/fmatf4.c: Likewise.
18133 * soft-fp/gedf2.c: Likewise.
18134 * soft-fp/gesf2.c: Likewise.
18135 * soft-fp/getf2.c: Likewise.
18136 * soft-fp/ledf2.c: Likewise.
18137 * soft-fp/lesf2.c: Likewise.
18138 * soft-fp/letf2.c: Likewise.
18139 * soft-fp/muldf3.c: Likewise.
18140 * soft-fp/mulsf3.c: Likewise.
18141 * soft-fp/multf3.c: Likewise.
18142 * soft-fp/negdf2.c: Likewise.
18143 * soft-fp/negsf2.c: Likewise.
18144 * soft-fp/negtf2.c: Likewise.
18145 * soft-fp/op-1.h: Likewise.
18146 * soft-fp/op-2.h: Likewise.
18147 * soft-fp/op-4.h: Likewise.
18148 * soft-fp/op-8.h: Likewise.
18149 * soft-fp/op-common.h: Likewise.
18150 * soft-fp/quad.h: Likewise.
18151 * soft-fp/single.h: Likewise.
18152 * soft-fp/soft-fp.h: Likewise.
18153 * soft-fp/sqrtdf2.c: Likewise.
18154 * soft-fp/sqrtsf2.c: Likewise.
18155 * soft-fp/sqrttf2.c: Likewise.
18156 * soft-fp/subdf3.c: Likewise.
18157 * soft-fp/subsf3.c: Likewise.
18158 * soft-fp/subtf3.c: Likewise.
18159 * soft-fp/truncdfsf2.c: Likewise.
18160 * soft-fp/trunctfdf2.c: Likewise.
18161 * soft-fp/trunctfsf2.c: Likewise.
18162 * soft-fp/trunctfxf2.c: Likewise.
18163 * soft-fp/unorddf2.c: Likewise.
18164 * soft-fp/unordsf2.c: Likewise.
18165 * soft-fp/unordtf2.c: Likewise.
18167 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18170 * misc/error.c (error_tail): Fix possible buffer overflow.
18172 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18175 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18178 2013-10-14 P. J. McDermott <pj@pehjota.net>
18181 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18182 testing pipefail option.
18184 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18186 * soft-fp/double.h: Indent preprocessor directives inside #if.
18187 * soft-fp/extended.h: Likewise.
18188 * soft-fp/op-2.h: Likewise.
18189 * soft-fp/op-4.h: Likewise.
18190 * soft-fp/op-common.h: Likewise.
18191 * soft-fp/quad.h: Likewise.
18192 * soft-fp/single.h: Likewise.
18193 * soft-fp/soft-fp.h: Likewise.
18195 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18197 * iconv/iconv_prog.c: Fix typos.
18198 * stdio-common/psiginfo-data.h: Likewise.
18200 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18203 * locale/setlocale.c: Fix typo.
18205 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18208 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18209 signaling NaN arguments.
18210 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18211 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18214 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18215 unordered operands.
18216 * soft-fp/gesf2.c (__gesf2): Likewise.
18217 * soft-fp/getf2.c (__getf2): Likewise.
18218 * soft-fp/ledf2.c (__ledf2): Likewise.
18219 * soft-fp/lesf2.c (__lesf2): Likewise.
18220 * soft-fp/letf2.c (__letf2): Likewise.
18222 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18223 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18224 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18225 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18226 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18227 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18228 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18229 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18230 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18231 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18232 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18233 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18234 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18235 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18236 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18237 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18238 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18239 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18240 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18241 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18242 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18243 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18244 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18245 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18246 * soft-fp/floattidf.c (__floattidf): Likewise.
18247 * soft-fp/floattisf.c (__floattisf): Likewise.
18248 * soft-fp/floattitf.c (__floattitf): Likewise.
18249 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18250 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18251 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18252 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18253 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18254 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18255 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18256 * soft-fp/gesf2.c (__gesf2): Likewise.
18257 * soft-fp/getf2.c (__getf2): Likewise.
18258 * soft-fp/ledf2.c (__ledf2): Likewise.
18259 * soft-fp/lesf2.c (__lesf2): Likewise.
18260 * soft-fp/letf2.c (__letf2): Likewise.
18262 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18263 Undefine and redefine.
18264 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18265 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18266 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18267 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18268 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18269 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18270 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18271 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18272 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18273 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18274 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18275 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18276 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18277 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18278 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18281 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18282 without decrementing exponent if mantissa >= that for the
18283 denominator, not >.
18284 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18285 denominator, not >. Decrement exponent in < case instead of
18286 incrementing in >= case.
18287 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18288 without decrementing exponent if mantissa >= that for the
18289 denominator, not >.
18291 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18292 computing saturated result for unsigned overflow.
18294 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18295 Jeff Law <law@redhat.com>
18297 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18298 (atan2Mp): Add systemtap probe marker.
18299 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18300 (__ieee754_log): Add systemtap probe marker.
18301 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18302 (atanMp): Add systemtap probe marker.
18303 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18304 (tanMp): Add systemtap probe marker.
18305 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18306 (__slowexp): Add systemtap probe marker.
18307 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18308 (__slowpow): Add systemtap probe marker.
18309 * manual/probes.texi: Document probes.
18311 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18314 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18316 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18318 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18319 written to buffer but not flushed.
18320 * libio/iofwrite_u.c: Likewise.
18321 * libio/iopadn.c: Return bytes returned even if EOF was
18323 * libio/iowpadn.c: Likewise.
18324 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18325 if _IO_padn does not write the whole buffer.
18326 [!COMPILE_WPRINTF] (PAD): Likewise.
18328 2013-10-10 David S. Miller <davem@davemloft.net>
18330 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18333 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18335 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18336 instead of FSF address.
18337 * soft-fp/fixdfti.c: Likewise.
18338 * soft-fp/fixsfti.c: Likewise.
18339 * soft-fp/fixtfti.c: Likewise.
18340 * soft-fp/fixunsdfti.c: Likewise.
18341 * soft-fp/fixunssfti.c: Likewise.
18342 * soft-fp/fixunstfti.c: Likewise.
18343 * soft-fp/floattidf.c: Likewise.
18344 * soft-fp/floattisf.c: Likewise.
18345 * soft-fp/floattitf.c: Likewise.
18346 * soft-fp/floatuntidf.c: Likewise.
18347 * soft-fp/floatuntisf.c: Likewise.
18348 * soft-fp/floatuntitf.c: Likewise.
18349 * soft-fp/trunctfxf2.c: Likewise.
18351 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18352 * soft-fp/fixdfti.c: Likewise.
18353 * soft-fp/fixsfti.c: Likewise.
18354 * soft-fp/fixtfti.c: Likewise.
18355 * soft-fp/fixunsdfti.c: Likewise.
18356 * soft-fp/fixunssfti.c: Likewise.
18357 * soft-fp/fixunstfti.c: Likewise.
18358 * soft-fp/floattidf.c: Likewise.
18359 * soft-fp/floattisf.c: Likewise.
18360 * soft-fp/floattitf.c: Likewise.
18361 * soft-fp/floatuntidf.c: Likewise.
18362 * soft-fp/floatuntisf.c: Likewise.
18363 * soft-fp/floatuntitf.c: Likewise.
18364 * soft-fp/trunctfxf2.c: Likewise.
18366 2013-10-10 David S. Miller <davem@davemloft.net>
18368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18370 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18372 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18373 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18374 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18375 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18376 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18377 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18378 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18381 for NaNs before doing comparisons on argument.
18382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18385 2013-10-10 Will Newton <will.newton@linaro.org>
18387 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18388 passed to _int_memalign does not overflow.
18390 2013-10-10 Torvald Riegel <triegel@redhat.com>
18392 * scripts/bench.pl: Add include-sources directive.
18393 * benchtests/README: Update documentation.
18395 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18397 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18398 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18399 instead of FP_INIT_ROUNDMODE.
18400 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18401 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18404 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18405 copy class of input value.
18406 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18407 not handle exceptions.
18408 * soft-fp/negsf2.c (__negsf2): Likewise.
18409 * soft-fp/negtf2.c (__negtf2): Likewise.
18410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18412 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18414 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18415 semicolon. From Linux kernel.
18417 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18421 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18424 * manual/socket.texi: Added statement about buffer
18425 for gethostbyname2_r.
18427 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18429 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18430 Use .p2align directive instead, throughout.
18431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18433 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18436 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18437 * sysdeps/x86_64/strchr.S: Likewise.
18438 * sysdeps/x86_64/strrchr.S: Likewise.
18440 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18442 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18444 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18446 * sysdeps/generic/math_private.h (__mpsin1): Remove
18448 (__mpcos1): Likewise.
18449 (__mpsin): New argument __range_reduce.
18450 (__mpcos): Likewise.
18451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18452 (slow): Use __mpsin and __mpcos.
18456 (sloww1): Likewise.
18457 (sloww2): Likewise.
18458 (bsloww): Likewise.
18459 (bsloww1): Likewise.
18460 (bsloww2): Likewise.
18461 (cslow2): Likewise.
18462 (csloww): Likewise.
18463 (csloww1): Likewise.
18464 (csloww2): Likewise.
18465 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18466 range_reduce. Merge in __mpsin1.
18467 (__mpcos): Likewise.
18468 (__mpsin1): Remove.
18469 (__mpcos1): Likewise.
18471 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18473 * locale/loadlocale.c (_nl_intern_locale_data): Use
18475 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18476 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18477 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18478 obstack data is appropriately aligned.
18479 (obstack_int32_grow_fast): Likewise.
18480 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18481 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18482 (add_locale_uint32_array): Likewise.
18484 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18486 * benchtests/Makefile: Remove ARGLIST and RET variables.
18487 ($(objpfx)bench-%.c): Pass only function name to the script.
18488 * benchtests/README: Update documentation.
18489 * benchtests/acos-inputs: Add new directives.
18490 * benchtests/acosh-inputs: Likewise.
18491 * benchtests/asin-inputs: Likewise.
18492 * benchtests/asinh-inputs: Likewise.
18493 * benchtests/atan-inputs: Likewise.
18494 * benchtests/atanh-inputs: Likewise.
18495 * benchtests/cos-inputs: Likewise.
18496 * benchtests/cosh-inputs: Likewise.
18497 * benchtests/exp-inputs: Likewise.
18498 * benchtests/log-inputs: Likewise.
18499 * benchtests/pow-inputs: Likewise.
18500 * benchtests/rint-inputs: Likewise.
18501 * benchtests/sin-inputs: Likewise.
18502 * benchtests/sinh-inputs: Likewise.
18503 * benchtests/tan-inputs: Likewise.
18504 * benchtests/tanh-inputs: Likewise.
18505 * scripts/bench.pl: Add support for new directives.
18507 2013-10-07 Alan Modra <amodra@gmail.com>
18509 * README: Fix careless merge.
18511 2013-10-05 Alan Modra <amodra@gmail.com>
18513 * NEWS: Mention powerpc64le support and bugs fixed.
18514 * README: Both big-endian and little-endian powerpc64 supported.
18516 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18518 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18519 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18520 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18521 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18523 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18525 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18528 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18531 Move -mhard-float appending from
18532 ports/sysdeps/powerpc/powerpc32/Makefile.
18533 [$(with-fp) = yes] (ASFLAGS): Likewise.
18534 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18535 * sysdeps/powerpc/nofpu: Move directory from
18536 ports/sysdeps/powerpc/nofpu.
18537 * sysdeps/powerpc/soft-fp: Move directory from
18538 ports/sysdeps/powerpc/soft-fp.
18539 * sysdeps/powerpc/powerpc32/405: Move directory from
18540 ports/sysdeps/powerpc/powerpc32/405.
18541 * sysdeps/powerpc/powerpc32/440: Move directory from
18542 ports/sysdeps/powerpc/powerpc32/440.
18543 * sysdeps/powerpc/powerpc32/464: Move directory from
18544 ports/sysdeps/powerpc/powerpc32/464.
18545 * sysdeps/powerpc/powerpc32/476: Move directory from
18546 ports/sysdeps/powerpc/powerpc32/476.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18550 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18557 * README: Update for powerpc-*-linux-gnu software floating point
18560 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18561 case to powerpc/powerpc32*.
18562 * sysdeps/unix/sysv/linux/configure: Regenerated.
18564 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18565 (_FPU_MASK_OM): Define as 0x04.
18566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18574 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18580 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18581 and setcontext_e500.
18583 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18585 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18587 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18589 * manual/threads.texi (Default Thread Attributes): Fix typo.
18591 2013-10-04 Will Newton <will.newton@linaro.org>
18593 * malloc/Makefile: Add tst-memalign.
18594 * malloc/tst-memalign.c: New file.
18596 * malloc/tst-posix_memalign.c: Add comments.
18597 (do_test): Add comments and call free on all potentially
18598 allocated pointers. Add space after cast.
18600 * malloc/tst-pvalloc.c: Add comments.
18601 (do_test): Add comments and call free on all potentially
18602 allocated pointers. Remove duplicate check for NULL pointer.
18603 Add space after cast.
18605 * malloc/tst-valloc.c: Add comments.
18606 (do_test): Add comments and call free on all potentially
18607 allocated pointers. Remove duplicate check for NULL pointer.
18608 Add space after cast.
18610 2013-10-04 Alan Modra <amodra@gmail.com>
18612 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18613 Use stdint types in rather than __attribute__((mode())).
18614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18616 2013-10-04 Alan Modra <amodra@gmail.com>
18618 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18619 Correct handling of unaligned relocs for little-endian.
18620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18622 2013-10-04 Alan Modra <amodra@gmail.com>
18624 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18625 * configure: Regenerate.
18626 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18627 * shlib-versions: Likewise.
18629 2013-10-04 Alan Modra <amodra@gmail.com>
18631 * string/tester.c (test_memrchr): Increment reported test cycle.
18633 2013-10-04 Alan Modra <amodra@gmail.com>
18635 * string/test-memcpy.c (do_one_test): When reporting errors, print
18636 string address and don't overrun end of string.
18638 2013-10-04 Alan Modra <amodra@gmail.com>
18640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18641 insrdi. Make better use of reg selection to speed exit slightly.
18642 Schedule entry path a little better. Remove useless "are we done"
18643 checks on entry to main loop. Handle wrapping around zero address.
18644 Correct main loop count. Handle single left-over word from main
18645 loop inline rather than by using loop_small. Remove extra word
18646 case in loop_small caused by wrong loop count. Add little-endian
18648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18653 support. Avoid rlwimi.
18654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18656 2013-10-04 Alan Modra <amodra@gmail.com>
18658 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18659 insrdi. Formatting.
18660 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18661 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18662 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18663 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18665 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18667 2013-10-04 Alan Modra <amodra@gmail.com>
18669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18673 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18678 use of regs. Use power7 mtocrf. Tidy function tails.
18680 2013-10-04 Alan Modra <amodra@gmail.com>
18682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18683 Formatting. Consistently use rXXX register defines or rN defines.
18684 Use early exit labels that avoid restoring unused non-volatile regs.
18685 Make cr field use more consistent with rWORDn compares. Rename
18686 regs used as shift registers for unaligned loop, using rN defines
18687 for short lifetime/multiple use regs.
18688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18690 addi 1,1,64 to pop stack frame. Simplify return value code.
18691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18693 2013-10-04 Alan Modra <amodra@gmail.com>
18695 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18696 support. Correct typos, formatting. Optimize tail. Use insrdi
18697 rather than rlwimi.
18698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18700 little-endian support. Correct typos.
18701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18702 rather than rlwimi.
18703 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18704 in loop and entry code to keep "and." results.
18705 (strchr): Add little-endian support. Comment. Move cntlzd
18707 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18709 2013-10-04 Alan Modra <amodra@gmail.com>
18711 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18712 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18713 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18714 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18716 2013-10-04 Alan Modra <amodra@gmail.com>
18718 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18719 (rTMP): Define as r11.
18720 (strcmp): Add little-endian support. Optimise tail.
18721 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18722 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18723 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18729 2013-10-04 Alan Modra <amodra@gmail.com>
18731 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18732 little-endian support. Remove unnecessary "are we done" tests.
18733 Handle "s" wrapping around zero and extremely large "size".
18734 Correct main loop count. Handle single left-over word from main
18735 loop inline rather than by using small_loop. Correct comments.
18736 Delete "zero" tail, use "end_max" instead.
18737 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18739 2013-10-04 Alan Modra <amodra@gmail.com>
18741 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18742 support. Don't branch over align.
18743 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18744 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18745 support. Rearrange tmp reg use to suit. Comment.
18746 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18748 2013-10-04 Alan Modra <amodra@gmail.com>
18750 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18752 2013-10-04 Alan Modra <amodra@gmail.com>
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18755 conditional form of branch and link when obtaining pc.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18758 2013-10-04 Alan Modra <amodra@gmail.com>
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18765 2013-10-04 Alan Modra <amodra@gmail.com>
18767 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18768 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18769 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18772 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18773 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18774 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18775 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18776 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18778 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18779 Alistair Popple <alistair@ozlabs.au.ibm.com>
18780 Alan Modra <amodra@gmail.com>
18783 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18784 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18785 _dl_hwcap access for little-endian.
18786 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18787 destroy vmx regs when saving unaligned.
18788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18790 destroy vmx regs when saving unaligned.
18792 2013-10-04 Alan Modra <amodra@gmail.com>
18794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18795 Don't use a union to pack hi/low value.
18797 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18799 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18804 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18807 2013-10-04 Alan Modra <amodra@gmail.com>
18809 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18810 constants to usual value for .cst8 section, and remove redundant
18812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18813 constant for 0x1p52. Load little-endian words of double from
18814 correct stack offsets.
18816 2013-10-04 Alan Modra <amodra@gmail.com>
18818 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18819 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18820 words of double from correct stack offsets.
18821 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18822 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18823 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18828 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18829 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18833 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18834 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18835 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18836 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18837 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18839 2013-10-04 Alan Modra <amodra@gmail.com>
18841 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18842 64-bit int/double union.
18843 (_FPU_SETCW): Likewise.
18844 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18845 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18847 2013-10-04 Alan Modra <amodra@gmail.com>
18849 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18850 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18852 2013-10-04 Alan Modra <amodra@gmail.com>
18854 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18855 use vector int constants.
18856 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18858 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18860 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18861 array with long long.
18862 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18863 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18864 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18867 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18868 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18869 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18871 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18872 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18873 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18874 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18876 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18878 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18879 (__signbit): Likewise. Correct for little-endian.
18880 (__signbitl): Call __signbit.
18881 (lrint): Correct for little-endian.
18882 (lrintf): Call lrint.
18884 2013-10-04 Alan Modra <amodra@gmail.com>
18886 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18887 union 32-bit int array member with 64-bit int array.
18888 (t515, tm256): Double rather than long double.
18889 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18891 2013-10-04 Alan Modra <amodra@gmail.com>
18893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18895 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18897 version of math_ldbl.h.
18899 2013-10-04 Alan Modra <amodra@gmail.com>
18901 [BZ #15734], [BZ #15735]
18902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18903 all uses of ieee875 long double macros and unions. Simplify test
18904 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18905 ldbl_extract_mantissa value for ix,iy exponents. Properly
18906 normalize after ldbl_extract_mantissa, and don't add hidden bit
18907 already handled. Don't treat low word of ieee854 mantissa like
18908 low word of IBM long double and mask off bit when testing for
18910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18911 all uses of ieee875 long double macros and unions. Simplify tests
18912 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18913 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18914 two1022, instead use their values. Recognise that tests for large
18915 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18916 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18917 Rewrite all uses of ieee875 long double macros and unions. Simplify
18918 test for 0.0L and nan. Correct negation.
18919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18920 ieee875 long double macros and unions. Correct output for large
18921 magnitude x. Correct absolute value calculation.
18922 (__erfcl): Likewise.
18923 * math/libm-test.inc: Add tests for errors discovered in IBM long
18924 double versions of fmodl, remainderl, erfl and erfcl.
18926 2013-10-04 Alan Modra <amodra@gmail.com>
18928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18929 all uses of ieee854 long double macros and unions. Simplify tests
18930 for long doubles that are fully specified by the high double.
18931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18933 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18934 Remove dead code too.
18935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18936 (__ieee754_ynl): Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18940 Remove dead code too.
18941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18951 Comment on variable precision.
18952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18961 2013-10-04 Alan Modra <amodra@gmail.com>
18963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18965 all uses of ieee854 long double macros and unions.
18966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18979 Simplify sign and nan test too.
18980 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18985 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18995 2013-10-04 Alan Modra <amodra@gmail.com>
18997 * stdio-common/printf_size.c (__printf_size): Don't use
18998 union ieee854_long_double in fpnum union.
18999 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19000 signbit macro to retrieve sign from long double.
19001 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19002 retrieve sign from long double.
19003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19004 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19007 * math/test-misc.c (main): Don't use union ieee854_long_double.
19009 2013-10-04 Alan Modra <amodra@gmail.com>
19012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19014 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19015 calculation. Remove unnecessary test for denormal exponent.
19016 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19017 Correct handling of denormals. Avoid undefined shift behaviour.
19018 Correct normalisation of low mantissa when low double is denormal.
19019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19020 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19021 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19022 Correct normalisation of low mantissa. Test for overflow of high
19023 mantissa and normalise.
19024 (ldbl_nearbyint): Use more readable constant for two52.
19025 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19026 (__mpn_construct_long_double): Fix test for overflow of high
19027 mantissa and correct normalisation. Avoid undefined shift.
19029 2013-10-04 Alan Modra <amodra@gmail.com>
19031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19032 (union ibm_extended_long_double): Define as an array of ieee754_double.
19033 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19035 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19045 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19047 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19048 page size instead of calling getpagesize.
19050 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19051 (LOCFILE_ALIGN_MASK): Likewise.
19052 (LOCFILE_ALIGN_UP): Likewise.
19053 (LOCFILE_ALIGNED_P): Likewise.
19054 * locale/programs/ld-collate.c (collate_output): Use the new
19055 macros instead of __alignof__ (int32_t).
19056 * locale/weight.h (findidx): Likewise.
19058 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19061 * manual/string.texi: Fix strncat and wcsncat.
19063 2013-10-03 Brooks Moses <bmoses@google.com>
19066 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19067 * Makerules: ...here, and adjust associated comments.
19069 2013-10-02 Will Newton <will.newton@linaro.org>
19071 * malloc/Makefile: Add tst-pvalloc.
19072 * malloc/tst-pvalloc.c: New file.
19074 2013-10-02 Will Newton <will.newton@linaro.org>
19076 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19077 improve test coverage.
19079 2013-10-02 Will Newton <will.newton@linaro.org>
19081 * malloc/Makefile: Add tst-posix_memalign.
19082 * malloc/tst-posix_memalign.c: New file.
19084 2013-10-01 Eric Blake <eblake@redhat.com>
19086 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19087 Use __THROWNL rather than __THROW on static functions.
19089 2013-09-30 Petr Machata <pmachata@redhat.com>
19091 * elf/elf.h (R_AARCH64_ABS16): New macro.
19092 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19093 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19094 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19095 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19096 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19097 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19098 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19099 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19100 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19101 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19102 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19103 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19104 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19105 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19106 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19107 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19108 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19109 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19110 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19111 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19112 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19113 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19114 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19115 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19116 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19117 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19118 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19119 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19120 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19121 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19122 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19123 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19124 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19125 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19126 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19127 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19128 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19129 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19130 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19131 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19132 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19133 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19134 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19135 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19136 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19137 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19138 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19139 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19140 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19141 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19142 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19143 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19144 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19145 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19146 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19147 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19148 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19149 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19150 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19151 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19152 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19153 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19154 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19155 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19156 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19157 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19158 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19159 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19160 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19161 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19162 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19163 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19164 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19165 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19166 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19167 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19168 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19169 (R_AARCH64_TLSDESC_LDR): Likewise.
19170 (R_AARCH64_TLSDESC_ADD): Likewise.
19171 (R_AARCH64_TLSDESC_CALL): Likewise.
19173 2013-09-30 Andreas Schwab <schwab@suse.de>
19176 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19177 the nss database lookup.
19178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19181 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19183 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19185 2013-09-28 P. J. McDermott <pj@pehjota.net>
19187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19188 ${Bash-specific parameter/pattern/string} parameter expansion.
19189 * sysdeps/unix/make-syscalls.sh: Likewise.
19191 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19193 * sysdeps/sh/stackguard-macros.h: New file.
19195 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19199 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19202 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19204 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19206 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19207 Fix thread ID register.
19209 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19211 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19212 [POSIX || UNIX98]: Require rather than permitting all symbols from
19214 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19215 element of struct sched_param.
19216 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19217 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19218 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19219 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19222 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19224 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19225 argument calculation.
19227 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19229 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19231 [POSIX] (pthread_attr_t): Do not require type.
19232 [POSIX] (pthread_cond_t): Likewise.
19233 [POSIX] (pthread_condattr_t): Likewise.
19234 [POSIX] (pthread_key_t): Likewise.
19235 [POSIX] (pthread_mutex_t): Likewise.
19236 [POSIX] (pthread_mutexattr_t): Likewise.
19237 [POSIX] (pthread_once_t): Likewise.
19238 [POSIX] (pthread_t): Likewise.
19239 [POSIX-based standards] (pthread_atfork): Expect function.
19241 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19242 Richard Sandiford <richard@codesourcery.com>
19244 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19245 (swap_endianness_p): New extern variable.
19246 (set_big_endian): New inline function.
19247 (maybe_swap_uint32): Likewise.
19248 (maybe_swap_uint32_array): Likewise.
19249 (maybe_swap_uint32_obstack): Likewise.
19250 * locale/programs/locfile.c: Include <stdbool.h>.
19251 (swap_endianness_p): New variable.
19252 (add_locale_uint32): Call maybe_swap_uint32.
19253 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19254 (write_locale_data): Call maybe_swap_uint32_array.
19255 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19257 (obstack_int32_grow_fast): Likewise.
19258 (output_weightwc): Call maybe_swap_uint32_obstack.
19259 (collate_output): Likewise.
19260 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19261 (OPT_LITTLE_ENDIAN): Likewise.
19262 (options): Add --little-endian and --big-endian options.
19263 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19264 * locale/programs/locarchive.c: Include "locfile.h".
19268 (create_archive): Use the new macros to access fields of
19269 structures directly mapped from or written to locale archives.
19270 (oldlocrecentcmp): Likewise.
19271 (enlarge_archive): Likewise.
19272 (insert_name): Likewise.
19273 (add_alias): Likewise.
19274 (add_locale): Likewise.
19275 (delete_locales_from_archive): Likewise.
19276 (show_archive_content): Likewise.
19277 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19280 2013-09-24 Roland McGrath <roland@hack.frob.com>
19282 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19283 http://www.gnu.org/doc/freemanuals.texi.
19284 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19286 2013-09-24 Will Newton <will.newton@linaro.org>
19288 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19291 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19293 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19296 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19298 * manual/threads.texi (POSIX Threads): Fix a typo.
19300 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19303 * string/tst-strcoll-overflow.c: New test case.
19304 * string/Makefile (xtests): Add tst-strcoll-overflow.
19305 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19306 cache if string sizes may cause integer overflow.
19309 * string/strcoll_l.c (coll_seq): New members rule, idx,
19310 save_idx and back_us.
19311 (get_next_seq_nocache): New function.
19312 (do_compare_nocache): New function.
19313 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19316 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19319 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19320 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19321 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19324 * elf/Makefile (tests): Add tst-ptrguard1.
19325 (tests-static): Add tst-ptrguard1-static.
19326 (tst-ptrguard1-ARGS): Define.
19327 (tst-ptrguard1-static-ARGS): Define.
19328 * elf/tst-ptrguard1.c: New file.
19329 * elf/tst-ptrguard1-static.c: New file.
19330 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19331 * sysdeps/i386/stackguard-macros.h: Likewise.
19332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19339 2013-09-23 Hector Marco <hecmargi@upv.es>
19340 Ismael Ripoll <iripoll@disca.upv.es>
19341 Carlos O'Donell <carlos@redhat.com>
19344 * sysdeps/generic/stackguard-macros.h: Define
19345 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19346 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19347 Define __pointer_chk_guard_local.
19348 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19349 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19351 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19354 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19356 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19358 * include/string.h (__ffs): Declare as hidden.
19359 * string/ffs.c (__ffs): Define as hidden.
19360 * sysdeps/i386/ffs.c (__ffs): Likewise.
19361 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19362 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19363 * sysdeps/s390/ffs.c (__ffs): Likewise.
19364 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19366 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19368 * NEWS: Mention malloc probes.
19370 * malloc/arena.c (new_heap): New memory_heap_new probe.
19371 (grow_heap): New memory_heap_more probe.
19372 (shrink_heap): New memory_heap_less probe.
19373 (heap_trim): New memory_heap_free probe.
19374 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19375 (systrim): New memory_sbrk_less probe.
19376 * manual/probes.texi: Document them.
19378 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19379 * manual/probes.texi: Document it.
19381 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19382 (__libc_realloc): Add memory_realloc_retry probe.
19383 (__libc_memalign): Add memory_memalign_retry probe.
19384 (__libc_valloc): Add memory_valloc_retry probe.
19385 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19386 (__libc_calloc): Add memory_calloc_retry probe.
19387 * manual/probes.texi: Document them.
19389 * malloc/arena.c (get_free_list): Add probe
19390 memory_arena_reuse_free_list.
19391 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19392 and memory_arena_reuse.
19393 (arena_get2) [!PER_THREAD]: Likewise.
19394 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19395 memory_arena_reuse_realloc.
19396 * manual/probes.texi: Document them.
19398 * malloc/malloc.c (__libc_free): Add
19399 memory_mallopt_free_dyn_thresholds probe.
19400 (__libc_mallopt): Add multiple memory_mallopt probes.
19401 * manual/probes.texi: Document them.
19403 * malloc/malloc.c: Include stap-probe.h.
19404 (__libc_mallopt): Add memory_mallopt probe.
19405 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19406 * manual/probes.texi: New.
19407 * manual/Makefile (chapters): Add probes.
19408 * manual/threads.texi: Set next node.
19410 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19412 [BZ #15963, #13985]
19413 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19414 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19415 Add `Chinese' to `nan' entry name.
19417 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19419 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19420 (POLYNOMIAL): Likewise.
19421 (TAYLOR_SINCOS): Likewise.
19422 (TAYLOR_SLOW): Likewise.
19423 (__sin): Use TAYLOR_SINCOS.
19425 (slow): Use TAYLOR_SLOW.
19427 (bsloww): Likewise.
19428 (csloww): Likewise.
19430 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19432 * stdlib/strtod_l.c: Fix buffer overrun.
19434 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19436 * benchtests/Makefile (bench): Add sincos.
19437 * benchtests/bench-sincos.c: New file.
19439 * math/libm-test.inc (cos_test_data): New test inputs.
19440 (sin_test_data): Likewise.
19442 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19448 (sloww1): Likewise.
19449 (sloww2): Likewise.
19450 (bsloww1): Likewise.
19451 (bsloww2): Likewise.
19452 (cslow2): Likewise.
19453 (csloww1): Likewise.
19454 (csloww2): Likewise.
19456 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19465 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19467 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19468 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19469 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19470 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19471 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19472 * elf/cache.c (print_entry): Handle the new cache flags.
19474 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19475 Aldy Hernandez <aldyh@redhat.com>
19477 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19478 Change condition to [_SOFT_FLOAT].
19479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19491 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19494 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19497 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19499 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19500 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19501 (__longjmp): Use LOAD_GP to load saved GPRs.
19502 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19503 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19504 (__sigsetjmp): Use SAVE_GP to save GPRs.
19506 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19507 Do not append -msoft-float.
19508 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19510 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19512 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19514 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19517 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19518 (_FPU_GETCW): Use initial "__" on variable and field names but not
19519 on macro parameter name.
19520 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19521 parentheses around reference to macro parameter.
19523 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19525 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19527 (ctype_startup): Use uint32_t in cast and sizeof for
19530 2013-09-11 Jia Liu <proljc@gmail.com>
19532 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19534 [__FreeBSD__]: Likewise.
19536 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19539 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19540 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19541 (strchr): Remove __strchr_sse42 ifunc selection.
19542 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19543 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19545 2013-09-11 Will Newton <will.newton@linaro.org>
19547 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19548 parameter to RES. Remove hardcoded 1000 value.
19549 * benchtests/bench-skeleton.c (main): Pass RES parameter
19550 to TIMING_INIT and multiply result by 1000.
19552 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19556 2013-09-11 Andreas Schwab <schwab@suse.de>
19558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19560 (O_TMPFILE) [__USE_GNU]: Define.
19561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19564 2013-09-11 Will Newton <will.newton@linaro.org>
19567 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19570 2013-09-11 Will Newton <will.newton@linaro.org>
19573 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19576 2013-09-11 Will Newton <will.newton@linaro.org>
19579 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19582 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19584 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19590 2013-09-10 Allan McRae <allan@archlinux.org>
19593 * manual/arith.texi (Parsing of Floats): Clarify
19597 * manual/install.texi (Running make install): Mention
19599 * INSTALL: Regenerated.
19601 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19603 * csu/init-first.c (_init): Remove the !SHARED condition around
19604 FPU control word initialization.
19605 * elf/dl-support.c (_dl_fpu_control): New variable.
19606 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19607 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19608 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19609 * math/test-fpucw-static.c: New file.
19610 * math/test-fpucw-ieee.c: New file.
19611 * math/test-fpucw-ieee-static.c: New file.
19612 * math/Makefile (tests): Add `test-fpucw-ieee' and
19614 (tests-static): New variable.
19615 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19617 [($(build-shared),yes)]
19618 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19620 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19623 2013-09-09 Allan McRae <allan@archlinux.org>
19626 * manual/string.texi (Collation Functions): Fix typo in
19628 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19631 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19634 * libio/memstream.c (open_memstream): Fix memory leak.
19635 * libio/wmemstream.c (open_wmemstream): Likewise.
19638 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19640 2013-09-09 Will Newton <will.newton@linaro.org>
19642 * malloc/Makefile: Add tst-realloc to tests.
19643 * malloc/tst-realloc.c: New file.
19645 2013-09-09 Allan McRae <allan@archlinux.org>
19648 * COPYING: Update from GNU website to fix FSF address.
19649 * COPYING.LIB: Likewise.
19651 2013-09-06 David S. Miller <davem@davemloft.net>
19653 * po/zh_TW.po: Update Chinese (traditional) translation from
19654 translation project.
19656 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19657 Joseph Myers <joseph@codesourcery.com>
19659 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19661 (obstack_chunk_alloc): New macro.
19662 (obstack_chunk_free): Likewise.
19663 (record_offset): New function.
19664 (init_locale_data): Likewise.
19665 (align_locale_data): Likewise.
19666 (add_locale_empty): Likewise.
19667 (add_locale_raw_data): Likewise.
19668 (add_locale_raw_obstack): Likewise.
19669 (add_locale_string): Likewise.
19670 (add_locale_wstring): Likewise.
19671 (add_locale_uint32): Likewise.
19672 (add_locale_uint32_array): Likewise.
19673 (add_locale_char): Likewise.
19674 (start_locale_structure): Likewise.
19675 (end_locale_structure): Likewise.
19676 (start_locale_prelude): Likewise.
19677 (end_locale_prelude): Likewise.
19678 (write_locale_data): Take locale_file structure rather than an
19680 * locale/programs/locfile.h: Include "obstack.h".
19681 (struct locale_file): Change to store locale file contents instead
19683 (init_locale_data): New prototype.
19684 (align_locale_data): Likewise.
19685 (add_locale_empty): Likewise.
19686 (add_locale_raw_data): Likewise.
19687 (add_locale_raw_obstack): Likewise.
19688 (add_locale_string): Likewise.
19689 (add_locale_wstring): Likewise.
19690 (add_locale_uint32): Likewise.
19691 (add_locale_uint32_array): Likewise.
19692 (add_locale_char): Likewise.
19693 (start_locale_structure): Likewise.
19694 (end_locale_structure): Likewise.
19695 (start_locale_prelude): Likewise.
19696 (end_locale_prelude): Likewise.
19697 (write_locale_data): Update prototype.
19698 * locale/programs/3level.h (struct TABLE): Remove result field.
19699 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19700 Use new locale_file interface.
19701 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19702 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19703 * locale/programs/ld-address.c (address_output): Use new
19704 locale_file interface.
19705 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19707 (collate_finish): Don't call collseq_table_finalize.
19708 (collate_output): Use new locale_file interface.
19709 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19711 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19712 (TABLE): Move defines earlier in file.
19713 (ELEMENT): Likewise.
19714 (DEFAULT): Likewise.
19715 (wctrans_table_add): Move macro and inline function earlier in
19717 (struct wctype_table): Move type earlier in file.
19718 (add_locale_wctype_table): New static prototype.
19719 (struct locale_ctype_t): Use logical types instead of struct iovec
19720 pointers for members.
19721 (ctype_output): Use new locale_file interface.
19722 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19723 new locale_file interface.
19724 (allocate_arrays): Update for use of new locale_file interface.
19725 * locale/programs/ld-identification.c (identification_output): Use
19726 new locale_file interface.
19727 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19728 * locale/programs/ld-messages.c (messages_output): Likewise.
19729 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19730 * locale/programs/ld-name.c (name_output): Likewise.
19731 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19732 * locale/programs/ld-paper.c (paper_output): Likewise.
19733 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19734 * locale/programs/ld-time.c (time_output): Likewise.
19736 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19738 * benchtests/Makefile: Add memrchr benchmark.
19739 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19740 benchmark as memrchr.
19741 * benchtests/bench-memrchr-ifunc.c: New file.
19742 * benchtests/bench-memrchr.c: New file.
19744 2013-09-06 Will Newton <will.newton@linaro.org>
19746 * benchtests/Makefile (string-bench): Add memcpy.
19748 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19749 Cong Wang <amwang@redhat.com>
19752 * sysdeps/unix/sysv/linux/bits/in.h
19753 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19754 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19755 before __USE_KERNEL_IPV6_DEFS uses.
19756 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19758 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19759 sockaddr_in6, or ipv6_mreq.
19761 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19763 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19764 memory access for final bytes in some large inputs.
19765 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19767 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19769 * string/test-memrchr.c: New file.
19770 * string/test-memrchr-ifunc.c: New file.
19771 * string/Makefile: Add new memrchr testcase.
19773 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19775 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19776 fanotify_init returns EPERM.
19778 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19780 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19782 (top level): Treat second token from macro or constant entries for
19783 allowed headers as allowed.
19784 * include/complex.h: Condition internal declarations on
19786 * include/fenv.h: Condition include of <stdbool.h> and internal
19787 declarations on [!_ISOMAC].
19789 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19792 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19794 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19796 * configure.in (--enable-versioning): Remove configure option.
19797 (libc_cv_asm_symver_directive): Remove configure test.
19798 (libc_cv_ld_version_script_option): Likewise.
19799 (VERSIONING): Remove variable and AC_SUBST.
19800 (DO_VERSIONING): Remove AC_DEFINE.
19801 * configure: Regenerated.
19802 * config.h.in (DO_VERSIONING): Remove macro.
19803 * Makerules [$(versioning) = yes]: Change conditionals to
19804 [$(build-shared) = yes].
19805 * config.make.in (versioning): Remove variable.
19806 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19807 [$(build-shared) = yes].
19808 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19809 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19810 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19811 [$(build-shared) = yes].
19812 * extra-lib.mk [$(versioning) = yes]: Likewise.
19813 * hurd/Makefile [$(versioning) = yes]: Likewise.
19814 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19816 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19818 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19819 [SHARED && !NO_HIDDEN].
19820 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19822 [SHARED && DO_VERSIONING]: Likewise..
19823 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19824 [$(build-shared) = yes].
19825 * manual/install.texi (--disable-versioning): Remove
19827 * INSTALL: Regenerated.
19828 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19830 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19831 [$(build-shared) = yes].
19832 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19833 * sysdeps/i386/i686/multiarch/strstr-c.c
19834 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19835 [SHARED && !NO_HIDDEN].
19836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19837 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19838 * sysdeps/powerpc/powerpc32/dl-machine.c
19839 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19840 * sysdeps/powerpc/powerpc32/sysdep.h
19841 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19842 to [SHARED && PIC && !NO_HIDDEN].
19843 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19844 conditional to [SHARED].
19846 2013-09-04 Will Newton <will.newton@linaro.org>
19848 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19849 * benchtests/bench-string.h: Include bench-timing.h instead
19850 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19851 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19852 call to HP_TIMING_DIFF_INIT.
19853 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19854 instead of hp-timing.h macros.
19855 * benchtests/bench-memchr.c: Likewise.
19856 * benchtests/bench-memcmp.c: Likewise.
19857 * benchtests/bench-memcpy.c: Likewise.
19858 * benchtests/bench-memmem.c: Likewise.
19859 * benchtests/bench-memmove.c: Likewise.
19860 * benchtests/bench-memset.c: Likewise.
19861 * benchtests/bench-rawmemchr.c: Likewise.
19862 * benchtests/bench-strcasecmp.c: Likewise.
19863 * benchtests/bench-strcasestr.c: Likewise.
19864 * benchtests/bench-strcat.c: Likewise.
19865 * benchtests/bench-strchr.c: Likewise.
19866 * benchtests/bench-strcmp.c: Likewise.
19867 * benchtests/bench-strcpy.c: Likewise.
19868 * benchtests/bench-strcpy_chk.c: Likewise.
19869 * benchtests/bench-strlen.c: Likewise.
19870 * benchtests/bench-strncasecmp.c: Likewise.
19871 * benchtests/bench-strncat.c: Likewise.
19872 * benchtests/bench-strncmp.c: Likewise.
19873 * benchtests/bench-strncpy.c: Likewise.
19874 * benchtests/bench-strnlen.c: Likewise.
19875 * benchtests/bench-strpbrk.c: Likewise.
19876 * benchtests/bench-strrchr.c: Likewise.
19877 * benchtests/bench-strspn.c: Likewise.
19878 * benchtests/bench-strstr.c: Likewise.
19880 2013-09-04 Will Newton <will.newton@linaro.org>
19882 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19884 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19888 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19889 * math/libm-test.inc (lgamma_test_data): Add more tests.
19890 * sysdeps/i386/fpu/libm-test-ulps: Update.
19891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19893 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19895 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19899 Add strcmp-sse2-unaligned
19900 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19902 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19904 * Versions.def (libc): Add GLIBC_2.19.
19906 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19908 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19909 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19911 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19915 intermediate calculations in recurrence.
19916 (__ieee754_ynf): Likewise.
19917 * math/libm-test.inc (jn_test_data): Do not allow spurious
19918 underflow exception. Add more tests.
19919 (yn_test_data): Add more tests.
19920 * sysdeps/i386/fpu/libm-test-ulps: Update.
19921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19923 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19927 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19929 * csu/init-first.c: Fix then/than typos.
19930 * locale/programs/ld-collate.c: Likewise.
19931 * locale/programs/linereader.h: Likewise.
19932 * manual/charset.texi: Likewise.
19933 * manual/filesys.texi: Likewise.
19934 * manual/stdio.texi: Likewise.
19935 * manual/string.texi: Likewise.
19936 * stdlib/fmtmsg.c: Likewise.
19937 * sysdeps/i386/stpncpy.S: Likewise.
19938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19939 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19941 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19943 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19945 * elf/dl-open.c: Fix typos.
19946 * iconvdata/gbbig5.c: Likewise.
19947 * iconvdata/iso-2022-jp.c: Likewise.
19948 * iconv/gconv_int.h: Likewise.
19949 * iconv/loop.c: Likewise.
19950 * nis/rpcsvc/nis.h: Likewise.
19951 * resolv/ns_name.c: Likewise.
19952 * stdio-common/vfscanf.c: Likewise.
19953 * streams/stropts.h: Likewise.
19954 * sunrpc/rpc_thread.c: Likewise.
19955 * sysdeps/i386/strpbrk.S: Likewise.
19956 * sysdeps/ieee754/k_standard.c: Likewise.
19957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19959 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19960 * sysdeps/mach/hurd/profil.c: Likewise.
19961 * sysdeps/s390/dl-procinfo.h: Likewise.
19962 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19963 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19964 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19965 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19968 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19970 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19973 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19975 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19976 aix specific files.
19977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19980 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19981 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19982 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19983 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19984 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19986 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19987 Roland McGrath <roland@hack.frob.com>
19989 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19990 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19992 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19994 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19995 __executable_start symbol instead of _start.
19997 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19999 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20000 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20002 * sysdeps/gnu/ldsodefs.h: ... this new file.
20004 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20005 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20006 instead of ELFOSABI_LINUX.
20008 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20009 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20010 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20011 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20013 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20014 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20018 (ibm_extended_long_double): Add ieee_nan member.
20019 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20020 (do_test): New function.
20022 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20024 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20025 functions, renamed from truncdfsf_test, trunctfsf_test,
20027 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20029 (do_test): Run all these.
20031 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20033 * argp/argp-help.c: Fix typos.
20034 * argp/argp-parse.c: Likewise.
20035 * debug/backtracesyms.c: Likewise.
20036 * elf/elf.h: Likewise.
20037 * malloc/malloc.c: Likewise.
20038 * nis/nis_print.c: Likewise.
20039 * resolv/res_comp.c: Likewise.
20040 * stdlib/stdlib.h: Likewise.
20041 * sunrpc/clnt_tcp.c: Likewise.
20042 * sunrpc/clnt_udp.c: Likewise.
20043 * sunrpc/clnt_unix.c: Likewise.
20044 * sysdeps/unix/bsd/ptsname.c: Likewise.
20045 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20053 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20055 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20060 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20063 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20064 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20065 ($(objpfx)bug-dl-leaf): New rule.
20066 ($(objpfx)bug-dl-leaf.so): Likewise.
20067 ($(objpfx)bug-dl-leaf.out): Likewise.
20068 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20069 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20070 * dlfcn/bug-dl-leaf.c: New test.
20071 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20072 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20073 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20074 (dlclose): Likewise.
20075 (dlmopen): Likewise.
20077 2013-08-27 Roland McGrath <roland@hack.frob.com>
20079 * include/netdb.h [!_ISOMAC]:
20080 Don't include <tls.h>.
20081 (h_errno, __libc_h_errno): Move declaration and macros out of
20084 * include/resolv.h [_RESOLV_H_]:
20085 Don't include <tls.h>.
20086 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20087 * resolv/res_libc.c: Don't include <tls.h>.
20088 (_res): Use __attribute__ ((nocommon)) in place of
20089 __attribute__ ((section (".bss"))).
20091 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20092 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20094 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20096 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20097 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20099 * resolv/res_mkquery.c: Include <sys/time.h>.
20101 * inet/ifreq.c: Moved to ...
20102 * sysdeps/unix/ifreq.c: ... here.
20103 * inet/ifreq.c: New file, true stub version.
20105 * socket/sa_len.c: New file.
20106 * socket/Makefile (aux): Add it.
20107 * sysdeps/unix/sysv/linux/Makefile
20108 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20109 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20110 and #include <socket/sa_len.c>.
20111 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20112 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20114 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20115 * bits/socket.h: ... here.
20117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20118 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20119 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20121 2013-08-27 Andreas Schwab <schwab@suse.de>
20124 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20125 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20126 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20127 * string/test-strcasecmp.c (test_main): Run tests in several
20129 * string/test-strncasecmp.c (test_main): Likewise.
20131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20132 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20133 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20135 (__strncasecmp_ssse3) [PIC]: Likewise.
20137 2013-08-26 Roland McGrath <roland@hack.frob.com>
20139 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20141 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20142 instead of explicitly declaring xdecrypt.
20143 * nis/nss_nis/nis-publickey.c: Likewise.
20145 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20148 * nscd/aicache.c: Include res_hconf.h.
20149 (addhstaiX): Initialize res_hconf.
20151 2013-08-26 Andreas Schwab <schwab@suse.de>
20153 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20154 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20156 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20158 * nscd/aicache.c (addhstaiX): Fix indentation.
20160 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20162 * configure.ac: Quote $build_pt_chown test.
20163 * configure: Regenerated.
20165 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20168 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20169 * math/s_cexpf.c (__cexpf): Likewise.
20170 * math/s_cexpl.c (__cexpl): Likewise.
20171 * math/libm-test.inc (cexp_test_data): Correct expected return
20172 value for NaN + i0. Add another test.
20174 2013-08-22 David S. Miller <davem@davemloft.net>
20176 * po/ca.po: Update Catalan translation from translation project.
20177 * po/uk.po: Add Ukrainian translations from translation project.
20179 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20182 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20183 is infinite, not alongside NaN test.
20184 * math/s_fdimf.c (__fdimf): Likewise.
20185 * math/s_fdiml.c (__fdiml): Likewise.
20186 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20187 errno is unchanged.
20189 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20191 * argp/argp-help.c: Fix typos.
20192 * crypt/speeds.c: Likewise.
20193 * csu/check_fds.c: Likewise.
20194 * elf/dl-load.c: Likewise.
20195 * elf/dl-open.c: Likewise.
20196 * elf/reldep3.c: Likewise.
20197 * elf/reldep.c: Likewise.
20198 * elf/sprof.c: Likewise.
20199 * iconv/iconv_charmap.c: Likewise.
20200 * iconv/skeleton.c: Likewise.
20201 * iconv/strtab.c: Likewise.
20202 * io/lockf64.c: Likewise.
20203 * libio/libioP.h: Likewise.
20204 * resolv/gai_notify.c: Likewise.
20205 * resolv/ns_name.c: Likewise.
20206 * resolv/ns_samedomain.c: Likewise.
20207 * resolv/res_send.c: Likewise.
20208 * stdlib/random.c: Likewise.
20209 * sunrpc/rpc/xdr.h: Likewise.
20210 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20212 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20213 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20218 * sysdeps/mach/hurd/check_fds.c: Likewise.
20219 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20220 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20221 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20223 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20224 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20225 * sysdeps/pthread/aio_notify.c: Likewise.
20226 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20227 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20228 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20230 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20232 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20234 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20235 version if bit_Slow_SSE4_2 is set.
20236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20239 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20242 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20243 trampoline stack frame information.
20244 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20246 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20247 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20248 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20249 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20250 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20251 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20253 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20254 interrupting a syscall and set with option SA_SIGINFO.
20256 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20259 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20260 argument is infinite.
20261 * math/s_cprojf.c (__cprojf): Likewise.
20262 * math/s_cprojl.c (__cprojl): Likewise.
20263 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20264 * math/libm-test.inc (cproj_test_data): Add more tests.
20266 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20268 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20269 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20270 size. Use __ffs to determine corresponding shift.
20272 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20273 Roland McGrath <roland@hack.frob.com>
20275 * Makefile (INSTALL): Remove trailing blank lines from output of
20278 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20280 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20281 Align 32 bit compat elf_greg to 8 bytes.
20283 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20285 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20287 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20289 * string/strcoll_l.c (coll_seq): New structure.
20290 (get_next_seq_cached): New function.
20291 (get_next_seq): New function.
20292 (do_compare): New function.
20293 (STRCOLL): Use GNU style definition. Simplify implementation
20294 by using get_next_seq, get_next_seq_cached and do_compare.
20296 2013-08-16 Florian Weimer <fweimer@redhat.com>
20300 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20302 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20304 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20305 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20306 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20308 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20309 GETDENTS_64BIT_ALIGNED.
20310 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20311 * manual/filesys.texi (Reading/Closing Directory): Document
20312 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20314 * manual/conf.texi (Limits for Files): Add portability note to
20315 NAME_MAX, PATH_MAX.
20316 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20318 2013-08-13 Andreas Schwab <schwab@suse.de>
20321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20323 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20324 LDBL_MAX_EXP >= 16384]: Add tests for it.
20326 2013-08-12 David S. Miller <davem@davemloft.net>
20328 * version.h (RELEASE): Set to "development".
20329 (VERSION): Set to "2.18.90".
20330 * NEWS: Add 2.19 section.
20332 2013-08-03 David S. Miller <davem@davemloft.net>
20334 * po/ko.po: Update Korean translation from translation project.
20336 2013-08-01 David S. Miller <davem@davemloft.net>
20338 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20339 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20342 2013-07-30 David S. Miller <davem@davemloft.net>
20344 * po/fr.po: Update French translation from translation project.
20346 2013-07-28 David S. Miller <davem@davemloft.net>
20348 * po/cs.po: Update Czech translation from translation project.
20350 * po/sv.po: Update Swedish translation from translation project.
20352 2013-07-27 David S. Miller <davem@davemloft.net>
20354 * po/eo.po: Update Esperanto translation from translation project.
20356 * po/vi.po: Update Vietnamese translation from translation project.
20358 * po/de.po: Update German translation from translation project.
20360 2013-07-26 David S. Miller <davem@davemloft.net>
20362 * po/bg.po: Update Bulgarian translation from translation project.
20364 * po/nl.po: Update Dutch translation from translation project.
20365 * po/pl.po: Update Polish translation from translation project.
20366 * po/ru.po: Update Russian translation from translation project.
20368 2013-07-24 David S. Miller <davem@davemloft.net>
20370 * po/libc.pot: Update.
20372 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20375 variable page size.
20376 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20377 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20380 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20382 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20384 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20385 Andreas Schwab <schwab@suse.de>
20386 Roland McGrath <roland@hack.frob.com>
20387 Joseph Myers <joseph@codesourcery.com>
20388 Carlos O'Donell <carlos@redhat.com>
20391 * config.h.in: Define HAVE_PT_CHOWN.
20392 * config.make.in (build-pt-chown): New variable.
20393 * configure.in (--enable-pt_chown): New configure option.
20394 * configure: Regenerate.
20395 * login/Makefile: Include Makeconfig. Build pt_chown only if
20396 build-pt-chown is enabled.
20397 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20398 pt_chown to fix pty ownership.
20399 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20401 * manual/install.texi (Configuring and compiling): Mention
20402 --enable-pt_chown. Add @findex for grantpt.
20403 * INSTALL: Regenerate.
20405 2013-07-20 David S. Miller <davem@davemloft.net>
20407 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20408 difference between 32-bit and 64-bit.
20410 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20413 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20414 Avoid system header dependency with -ffreestanding.
20415 ($(objpfx)bits/syscall%d): Likewise.
20417 2013-07-13 David S. Miller <davem@davemloft.net>
20419 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20420 underflows from atanl/atan2l due to bug 15319.
20421 (casinh_test_data): Likewise.
20423 2013-07-07 David S. Miller <davem@davemloft.net>
20425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20427 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20429 * sysdeps/i386/fpu/libm-test-ulps: Update.
20430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20432 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20434 * configure.in (--enable-lock-elision): Fix message text.
20435 * INSTALL: Regenerate.
20436 * configure: Regenerate.
20438 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20442 2013-07-03 Andreas Jaeger <aj@suse.de>
20444 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20446 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20447 (ptrace_peeksiginfo_args): Add.
20448 (__ptrace_peeksiginfo_flags): Add.
20449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20453 2013-07-03 Allan McRae <allan@archlinux.org>
20455 * sysdeps/i386/fpu/libm-test-ulps: Update.
20457 2013-07-02 David S. Miller <davem@davemloft.net>
20459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20461 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20465 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20467 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20470 2013-07-02 Andi Kleen <ak@linux.intel.com>
20472 * config.h.in (ENABLE_LOCK_ELISION): Add.
20473 * configure.in (--enable-lock-elision): Add option.
20474 * manual/install.texi: Document --enable lock elision.
20475 * configure: Regenerate
20476 * INSTALL: Regenerate.
20478 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20480 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20481 SSE4.2 strcasecmp for libc.a.
20482 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20484 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20487 * soft-fp/op-common.h (_FP_FMA): New macro.
20488 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20489 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20490 (_FP_MUL_MEAT_1_imm): ... here.
20491 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20492 (_FP_MUL_MEAT_1_wide): ... here.
20493 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20494 (_FP_MUL_MEAT_1_hard): ... here.
20495 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20496 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20497 (_FP_MUL_MEAT_2_wide): ... here.
20498 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20499 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20500 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20501 (_FP_MUL_MEAT_2_gmp): ... here.
20502 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20503 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20504 (_FP_MUL_MEAT_4_wide): ... here.
20505 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20506 (_FP_MUL_MEAT_4_gmp): ... here.
20507 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20508 (_FP_WFRACBITS_DW_S): Likewise.
20509 (_FP_WFRACXBITS_DW_S): Likewise.
20510 (_FP_HIGHBIT_DW_S): Likewise.
20511 (FP_FMA_S): Likewise.
20512 (_FP_FRAC_HIGH_DW_S): Likewise.
20513 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20514 (_FP_WFRACBITS_DW_D): Likewise.
20515 (_FP_WFRACXBITS_DW_D): Likewise.
20516 (_FP_HIGHBIT_DW_D): Likewise.
20517 (FP_FMA_D): Likewise.
20518 (_FP_FRAC_HIGH_DW_D): Likewise.
20519 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20520 (_FP_WFRACBITS_DW_E): Likewise.
20521 (_FP_WFRACXBITS_DW_E): Likewise.
20522 (_FP_HIGHBIT_DW_E): Likewise.
20523 (FP_FMA_E): Likewise.
20524 (_FP_FRAC_HIGH_DW_E): Likewise.
20525 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20526 (_FP_WFRACBITS_DW_Q): Likewise.
20527 (_FP_WFRACXBITS_DW_Q): Likewise.
20528 (_FP_HIGHBIT_DW_Q): Likewise.
20529 (FP_FMA_Q): Likewise.
20530 (_FP_FRAC_HIGH_DW_Q): Likewise.
20531 * soft-fp/fmasf4.c: New file.
20532 * soft-fp/fmadf4.c: Likewise.
20533 * soft-fp/fmatf4.c: Likewise.
20535 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20538 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20542 (index_Slow_SSE4_2): Likewise.
20543 (index_Prefer_PMINUB_for_stringop): Likewise.
20544 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20545 bit_Slow_SSE4_2 is set.
20546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20549 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20551 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20552 rtld_global._dl_hwcap2.
20553 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20556 POWER8 feature descriptions defined in _dl_hwcap2.
20557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20558 string handling for POWER8 feature bits.
20559 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20560 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20561 _dl_powerpc_cap_flags.
20562 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20563 * sysdeps/powerpc/rtld-global-offsets.sym
20564 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20565 _dl_hwcap2 in the rtld_global_ro structure.
20567 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20569 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20570 hardware capabilities in support of AT_HWCAP2.
20571 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20572 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20574 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20575 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20576 explicitly the unknown a_type display mechanism is used.
20577 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20578 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20580 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20581 to macro prototype for AT_HWCAP2 support.
20582 * sysdeps/i386/dl-procinfo.h: Likewise.
20583 * sysdeps/s390/dl-procinfo.h: Likewise.
20584 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20585 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20586 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20587 return -1 for unknown a_type display fallback.
20588 * sysdeps/sparc/dl-procinfo.h: Likewise.
20589 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20590 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20592 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20594 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20595 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20597 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20600 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20601 mprotect making __stack_prot writable.
20603 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20604 Joseph Myers <joseph@codesourcery.com>
20606 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20607 as being properly aligned.
20609 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20611 * dlfcn/modstatic5.c: New file.
20612 * dlfcn/tststatic5.c: New file.
20613 * dlfcn/Makefile (tests): Add tststatic5.
20614 (tests-static): Likewise.
20615 (modules-names): Add modstatic5.
20616 (tststatic5-ENV): New variable.
20617 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20620 * elf/dl-support.c (_dl_main_map): New variable.
20621 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20622 (_dl_nns, _dl_load_adds): Set to 1.
20623 (_dl_initial_searchlist): Refer to _dl_main_map.
20624 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20625 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20626 call to _dl_get_origin.
20627 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20629 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20630 * dlfcn/modstatic3.c: New file.
20631 * dlfcn/tststatic3.c: New file.
20632 * dlfcn/tststatic4.c: New file.
20633 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20634 (tests-static): Likewise.
20635 (modules-names): Add modstatic3.
20636 (tststatic3-ENV, tststatic4-ENV): New variables.
20637 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20638 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20640 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20642 * configure.in (CC): Require GCC version 4.4 or later.
20643 * configure: Regenerated.
20644 * manual/install.texi (Tools for Compilation): Update GCC version
20646 * INSTALL: Regenerated.
20648 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20651 * string/test-memcmp.c (check2): New.
20652 (main): Call check2.
20654 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20656 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20659 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20661 (dl_open_worker) [!SHARED]: ... here.
20663 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20665 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20667 2013-06-25 Richard Henderson <rth@redhat.com>
20669 * locale/programs/locarchive.c: Include <libc-internal.h>
20671 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20673 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20674 trailing whitespace removed.
20676 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20679 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20680 * locale/programs/locarchive.c: Include libc-mmap.h.
20681 (prepare_address_space): Take two new outputs (the mmap base and len).
20682 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20684 (create_archive): Declare new mmap base and len values for
20685 prepare_address_space, and store the result in ah.
20686 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20687 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20688 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20689 Declare new mmap base and len values for
20690 prepare_address_space, and store the result in new_ah.
20691 (open_archive): Declare new mmap base and len values for
20692 prepare_address_space, and store the result in ah.
20693 (close_archive): If ah->mmap_base is not NULL, use that and
20694 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20695 * sysdeps/generic/libc-mmap.h: New file.
20697 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20699 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20700 (ALIGN_UP): Likewise.
20701 (PTR_ALIGN_DOWN): Likewise.
20702 (PTR_ALIGN_UP): Likewise.
20704 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20706 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20707 entry mapped to PPC_PLATFORM_POWER8.
20708 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20710 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20711 (_dl_string_platform): Add case for exporting platform position for
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20714 search path to sysdeps/powerpc/powerpc32/power8 directory.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20716 search path to sysdeps/powerpc/powerpc64/power8 directory.
20717 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20718 power7 directories.
20719 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20720 power7 directories.
20722 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 * INSTALL: Regenerate.
20726 * nscd/connections.c (nscd_init): Fix comment.
20728 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20730 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20733 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20734 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20736 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20738 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20740 (DL_DST_REQ_STATIC): Remove macro.
20742 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20745 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20746 with a shift of 0 bits.
20748 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20750 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20753 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20756 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20758 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20760 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20761 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20762 accepts -fno-tree-loop-distribute-patterns.
20763 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20764 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20766 * string/memset.c (memset): Likewise.
20767 * string/test-memmove.c (simple_memmove): Disable loop transformation
20769 * string/test-memset.c (simple_memset): Likewise.
20770 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20771 * benchtests/bench-memset.c (simple_memset): Likewise.
20772 * configure: Regenerated.
20774 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20776 * math/test-misc.c (main): Ignore fesetround failure when failures
20777 of subsequent rounding tests would be ignored.
20780 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20781 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20782 * math/fegetenv.c (__fegetenv): Return 0.
20783 * math/fegetexcept.c (fegetexcept): Return 0.
20784 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20786 * math/feholdexcpt.c (feholdexcept): Return 0.
20787 * math/fesetenv.c (__fesetenv): Return 0.
20788 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20789 argument FE_TONEAREST.
20790 * math/feupdateenv.c (__feupdateenv): Return 0.
20791 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20793 2013-06-18 Roland McGrath <roland@hack.frob.com>
20795 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20796 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20797 ($(objpfx)rtld-%.os rules): Use them.
20799 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20801 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20804 2013-06-17 Roland McGrath <roland@hack.frob.com>
20806 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20807 length of target pattern, then descending length of dependency pattern.
20808 * configure.in (AWK): Require gawk 3.1.2 or newer.
20809 * manual/install.texi (Tools for Compilation): Say that we do.
20810 * configure: Regenerated.
20812 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20813 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20814 * scripts/sysd-rules.awk: ... this new script.
20815 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20816 than a glob-style pattern.
20818 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20820 * math/test-misc.c (main): Do not treat incorrectly rounded
20821 conversions as failure unless ROUNDING_TESTS passes.
20823 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20826 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20827 restore exception state around main square root computation, then
20828 check for inexactness explicitly.
20830 * math/libm-test.inc (fma_test_data): Add another test.
20832 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20834 * manual/threads.texi (Non-POSIX Extensions): New document
20835 node. Document pthread_getattr_default_np and
20836 pthread_setattr_default_np.
20838 * Versions.def (libpthread): Add GLIBC_2.18.
20839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20859 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20862 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20864 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20865 H.J. Lu <hjl.tools@gmail.com>
20868 * sysdeps/x86_64/rtld-memset.c: Remove file.
20869 * sysdeps/x86_64/rtld-memset.S: New file.
20871 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20873 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20874 (test_in_one_mode): Take arguments for whether the rounding mode
20875 is supported for each floating-point type.
20876 (do_test): Pass new arguments to test_in_one_mode using
20879 2013-06-13 Roland McGrath <roland@hack.frob.com>
20881 * posix/tst-waitid.c (do_test): Distinguish different instances of
20882 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20883 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20884 before entering the kernel for waitpid.
20886 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20888 * NEWS: Fix note on clock function precision. Text by Roland
20891 2013-06-13 Roland McGrath <roland@hack.frob.com>
20893 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20894 it into place only when and if the sanity check passes.
20896 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20898 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20899 output for whether conversion result is exact. Take argument
20900 indicating whether type is IBM long double.
20901 (round_for_all): Change need_exact field to ibm_ld.
20902 * stdlib/tst-strtod-round.c (struct exactness): New type.
20903 (struct test): Change bool ld_ok field to struct exactness exact.
20904 (TEST): Update all definitions for change to field.
20905 (tests): Regenerate array contents.
20906 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20907 field value. Check for IBM long double here.
20908 (do_test): Update calls to test_in_one_mode.
20910 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20913 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20914 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20916 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20919 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20920 generated by the compiler on loop optimizations.
20921 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20922 general definitions.
20924 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20926 * math/bug-nextafter.c: Include <math-tests.h>.
20927 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20929 * math/bug-nexttoward.c: Include <math-tests.h>.
20930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20932 * math/test-misc.c: Include <math-tests.h>.
20933 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20936 2013-06-12 Andreas Jaeger <aj@suse.de>
20938 * po/ia.po: Update Interlingua translation from translation
20941 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20943 * include/fenv.h: Include stdbool.h.
20944 (struct rm_ctx): New structure.
20945 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20947 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20948 (SET_RESTORE_ROUNDF): Likewise.
20949 (SET_RESTORE_ROUNDL): Likewise.
20950 (SET_RESTORE_ROUND_NOEX): Likewise.
20951 (SET_RESTORE_ROUND_NOEXF): Likewise.
20952 (SET_RESTORE_ROUND_NOEXL): Likewise.
20953 (SET_RESTORE_ROUND_53BIT): Likewise.
20954 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20955 (libc_feresetround_noexf_ctx): Likewise.
20956 (libc_feresetround_noexl_ctx): Likewise.
20957 (libc_feholdsetround_53bit_ctx): Likewise.
20958 (libc_feresetround_53bit_ctx): Likewise.
20959 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20960 (libc_feholdexcept_setround_sse_ctx): New function.
20961 (libc_fesetenv_sse_ctx): Likewise.
20962 (libc_feupdateenv_sse_ctx): Likewise.
20963 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20964 (libc_feholdexcept_setround_387_ctx): Likewise.
20965 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20966 (libc_feholdsetround_387_prec_ctx): Likewise.
20967 (libc_feholdsetround_387_ctx): Likewise.
20968 (libc_feholdsetround_387_53bit_ctx): Likewise.
20969 (libc_feholdsetround_sse_ctx): Likewise.
20970 (libc_feresetround_sse_ctx): Likewise.
20971 (libc_feresetround_387_ctx): Likewise.
20972 (libc_feupdateenv_387_ctx): Likewise.
20973 (libc_feholdexcept_setroundf_ctx): Define macro.
20974 (libc_fesetenvf_ctx): Likewise.
20975 (libc_feupdateenvf_ctx): Likewise.
20976 (libc_feholdsetroundf_ctx): Likewise.
20977 (libc_feresetroundf_ctx): Likewise.
20978 (libc_feholdexcept_setround_ctx): Likewise.
20979 (libc_fesetenv_ctx): Likewise.
20980 (libc_feupdateenv_ctx): Likewise.
20981 (libc_feholdsetround_ctx): Likewise.
20982 (libc_feresetround_ctx): Likewise.
20983 (libc_feholdexcept_setroundl_ctx): Likewise.
20984 (libc_feupdateenvl_ctx): Likewise.
20985 (libc_feholdsetroundl_ctx): Likewise.
20986 (libc_feresetroundl_ctx): Likewise.
20987 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20988 (libc_feresetround_53bit_ctx): Likewise.
20990 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20992 * locale/iso-639.def: Convert to UTF-8.
20994 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20996 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20997 (EXCEPTION_TESTS_double): Likewise.
20998 (EXCEPTION_TESTS_long_double): Likewise.
20999 (EXCEPTION_TESTS): Likewise.
21000 * math/libm-test.inc (test_exceptions): Only test exceptions if
21001 EXCEPTION_TESTS (FLOAT).
21003 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21005 * benchtests/Makefile (string-bench): Add strcpy_chk and
21007 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21008 * benchtests/bench-stpcpy_chk.c: New file.
21009 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21010 * benchtests/bench-strcpy_chk.c: New file.
21011 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21013 (do_test): Likewise.
21015 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21018 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21019 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21020 with tabs where appropriate.
21021 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21023 [PPC_PLATFORM_PPC440]: Likewise.
21024 [PPC_PLATFORM_PPC464]: Likewise.
21025 [PPC_PLATFORM_PPC476]: Likewise.
21026 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21027 ppc464, and ppc476 platform strings merging from ports/
21030 2013-06-11 Andreas Schwab <schwab@suse.de>
21033 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21034 (from_ucs4_idx): Regenerate.
21035 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21036 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21037 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21038 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21039 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21040 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21041 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21042 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21043 from FROM_LOOP and TO_LOOP specific macros.
21044 (BODY): Handle combining characters.
21045 * iconvdata/BIG5HKSCS.irreversible: Update.
21046 * iconvdata/BIG5HKSCS.precomposed: New file.
21047 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21049 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21053 * include/sys/time.h: Fix indentation and add copyright header.
21055 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21056 (do_test): Likewise.
21057 * string/test-memchr.c (do_one_test): Likewise.
21058 (do_test): Likewise.
21059 * string/test-memcmp.c (do_one_test): Likewise.
21060 (do_test): Likewise.
21061 * string/test-memcpy.c (do_one_test): Likewise.
21062 (do_test): Likewise.
21063 * string/test-memmem.c (do_one_test): Likewise.
21064 (do_test): Likewise.
21065 (do_random_tests): Likewise.
21066 * string/test-memmove.c (do_one_test): Likewise.
21067 (do_test): Likewise.
21068 * string/test-memset.c (do_one_test): Likewise.
21069 (do_test): Likewise.
21070 * string/test-rawmemchr.c (do_one_test): Likewise.
21071 (do_test): Likewise.
21072 * string/test-strcasecmp.c (do_one_test): Likewise.
21073 (do_test): Likewise.
21074 * string/test-strcasestr.c (do_one_test): Likewise.
21075 (do_test): Likewise.
21076 * string/test-strcat.c (do_one_test): Likewise.
21077 (do_test): Likewise.
21078 * string/test-strchr.c (do_one_test): Likewise.
21079 (do_test): Likewise.
21080 * string/test-strcmp.c (do_one_test): Likewise.
21081 (do_test): Likewise.
21082 * string/test-strcpy.c (do_one_test): Likewise.
21083 (do_test): Likewise.
21084 * string/test-string.h: Likewise.
21085 (test_init): Likewise.
21086 * string/test-strlen.c (do_one_test): Likewise.
21087 (do_test): Likewise.
21088 * string/test-strncasecmp.c (do_one_test): Likewise.
21089 (do_test): Likewise.
21090 * string/test-strncat.c (do_one_test): Likewise.
21091 (do_test): Likewise.
21092 * string/test-strncmp.c (do_one_test): Likewise.
21093 (do_test_limit): Likewise.
21094 (do_test): Likewise.
21095 * string/test-strncpy.c (do_one_test): Likewise.
21096 (do_test): Likewise.
21097 * string/test-strnlen.c (do_one_test): Likewise.
21098 (do_test): Likewise.
21099 * string/test-strpbrk.c (do_one_test): Likewise.
21100 (do_test): Likewise.
21101 * string/test-strrchr.c (do_one_test): Likewise.
21102 (do_test): Likewise.
21103 * string/test-strspn.c (do_one_test): Likewise.
21104 (do_test): Likewise.
21105 * string/test-strstr.c (do_one_test): Likewise.
21106 (do_test): Likewise.
21108 * benchtests/Makefile (string-bench): Add string benchmarks.
21109 * benchtests/bench-bcopy-ifunc.c: New file.
21110 * benchtests/bench-bcopy.c: New file.
21111 * benchtests/bench-bzero-ifunc.c: New file.
21112 * benchtests/bench-bzero.c: New file.
21113 * benchtests/bench-memccpy-ifunc.c: New file.
21114 * benchtests/bench-memccpy.c: New file.
21115 * benchtests/bench-memchr-ifunc.c: New file.
21116 * benchtests/bench-memchr.c: New file.
21117 * benchtests/bench-memcmp-ifunc.c: New file.
21118 * benchtests/bench-memcmp.c: New file.
21119 * benchtests/bench-memmem-ifunc.c: New file.
21120 * benchtests/bench-memmem.c: New file.
21121 * benchtests/bench-memmove-ifunc.c: New file.
21122 * benchtests/bench-memmove.c: New file.
21123 * benchtests/bench-mempcpy-ifunc.c: New file.
21124 * benchtests/bench-mempcpy.c: New file.
21125 * benchtests/bench-memset-ifunc.c: New file.
21126 * benchtests/bench-memset.c: New file.
21127 * benchtests/bench-rawmemchr-ifunc.c: New file.
21128 * benchtests/bench-rawmemchr.c: New file.
21129 * benchtests/bench-stpcpy-ifunc.c: New file.
21130 * benchtests/bench-stpcpy.c: New file.
21131 * benchtests/bench-stpncpy-ifunc.c: New file.
21132 * benchtests/bench-stpncpy.c: New file.
21133 * benchtests/bench-strcasecmp-ifunc.c: New file.
21134 * benchtests/bench-strcasecmp.c: New file.
21135 * benchtests/bench-strcasestr-ifunc.c: New file.
21136 * benchtests/bench-strcasestr.c: New file.
21137 * benchtests/bench-strcat-ifunc.c: New file.
21138 * benchtests/bench-strcat.c: New file.
21139 * benchtests/bench-strchr-ifunc.c: New file.
21140 * benchtests/bench-strchr.c: New file.
21141 * benchtests/bench-strchrnul-ifunc.c: New file.
21142 * benchtests/bench-strchrnul.c: New file.
21143 * benchtests/bench-strcmp-ifunc.c: New file.
21144 * benchtests/bench-strcmp.c: New file.
21145 * benchtests/bench-strcpy-ifunc.c: New file.
21146 * benchtests/bench-strcpy.c: New file.
21147 * benchtests/bench-strcspn-ifunc.c: New file.
21148 * benchtests/bench-strcspn.c: New file.
21149 * benchtests/bench-strlen-ifunc.c: New file.
21150 * benchtests/bench-strlen.c: New file.
21151 * benchtests/bench-strncasecmp-ifunc.c: New file.
21152 * benchtests/bench-strncasecmp.c: New file.
21153 * benchtests/bench-strncat-ifunc.c: New file.
21154 * benchtests/bench-strncat.c: New file.
21155 * benchtests/bench-strncmp-ifunc.c: New file.
21156 * benchtests/bench-strncmp.c: New file.
21157 * benchtests/bench-strncpy-ifunc.c: New file.
21158 * benchtests/bench-strncpy.c: New file.
21159 * benchtests/bench-strnlen-ifunc.c: New file.
21160 * benchtests/bench-strnlen.c: New file.
21161 * benchtests/bench-strpbrk-ifunc.c: New file.
21162 * benchtests/bench-strpbrk.c: New file.
21163 * benchtests/bench-strrchr-ifunc.c: New file.
21164 * benchtests/bench-strrchr.c: New file.
21165 * benchtests/bench-strspn-ifunc.c: New file.
21166 * benchtests/bench-strspn.c: New file.
21167 * benchtests/bench-strstr-ifunc.c: New file.
21168 * benchtests/bench-strstr.c: New file.
21170 * benchtests/Makefile: Disable parallel execution of targets.
21171 (string-bench): Add memcpy.
21172 (benchset): New variable to store a list of benchmark sets.
21173 (bench-func): Renamed from bench.
21174 (bench-set): New target.
21175 (bench): Depend on bench-func and bench-set.
21176 * benchtests/README: Add section on benchmark sets.
21177 * benchtests/bench-memcpy-ifunc.c: New file.
21178 * benchtests/bench-memcpy.c: New file.
21179 * benchtests/bench-string.h: New file.
21181 2013-06-11 Andreas Schwab <schwab@suse.de>
21184 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21185 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21186 values in the triple.
21187 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21188 terminator in the group key.
21190 2013-06-11 Andreas Jaeger <aj@suse.de>
21192 * po/zh_TW.po: Update Chinese (traditional) translation from
21193 translation project.
21195 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21197 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21198 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21199 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21201 (clock_getcpuclockid): Likewise.
21202 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21203 Add weak_alias and libc_hidden_def.
21204 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21205 * rt/clock_gettime.c (clock_gettime): Rename to
21206 __clock_gettime. Add weak_alias and libc_hidden_def.
21207 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21208 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21209 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21210 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21211 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21213 * rt/clock_settime.c (clock_settime): Rename to
21214 __clock_settime. Add weak_alias and libc_hidden_def.
21215 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21217 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21219 * mach/err_boot.sub: Remove trailing whitespace.
21220 * mach/err_ipc.sub: Likewise.
21221 * mach/err_mach.sub: Likewise.
21223 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21224 (ROUNDING_TESTS_double): Likewise.
21225 (ROUNDING_TESTS_long_double): Likewise.
21226 (ROUNDING_TESTS): Likewise.
21227 * math/libm-test.inc: Include <math-tests.h>.
21228 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21229 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21230 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21231 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21233 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21235 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21238 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21240 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21241 otherwise empty TRANS lines.
21242 * sysdeps/gnu/errlist.c: Regenerated.
21244 * catgets/gencat.c (error_print): Use (void) in function
21246 * crypt/crypt_util.c (__init_des): Likewise.
21247 * crypt/speeds.c (Stop): Likewise.
21249 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21250 * inet/ruserpass.c (token): Likewise.
21251 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21252 * intl/localealias.c (extend_alias_table): Likewise.
21253 * intl/plural-exp.c (init_germanic_plural): Likewise.
21254 * libio/fcloseall.c (__fcloseall): Likewise.
21255 * libio/genops.c (_IO_flush_all): Likewise.
21256 (_IO_flush_all_linebuffered): Likewise.
21257 (_IO_cleanup): Likewise.
21258 (_IO_iter_begin): Likewise.
21259 (_IO_iter_end): Likewise.
21260 (_IO_list_lock): Likewise.
21261 (_IO_list_unlock): Likewise.
21262 (_IO_list_resetlock): Likewise.
21263 * libio/getchar.c (getchar): Likewise.
21264 * libio/getchar_u.c (getchar_unlocked): Likewise.
21265 * libio/getwchar.c (getwchar): Likewise.
21266 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21267 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21268 * login/getpt.c (__getpt): Likewise.
21269 * login/tst-utmp.c (main): Likewise.
21270 * malloc/hooks.c (__malloc_check_init): Likewise.
21271 * malloc/malloc.c (__malloc_stats): Likewise.
21272 * malloc/mtrace.c (tr_break): Likewise.
21273 (mtrace): Likewise.
21274 (muntrace): Likewise.
21275 * misc/fstab.c (endfsent): Likewise.
21276 * misc/getclktck.c (__getclktck): Likewise.
21277 * misc/getdtsz.c (__getdtablesize): Likewise.
21278 * misc/gethostid.c (gethostid): Likewise.
21279 * misc/getpagesize.c (__getpagesize): Likewise.
21280 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21281 (__get_nprocs): Likewise.
21282 (__get_phys_pages): Likewise.
21283 (__get_avphys_pages): Likewise.
21284 * misc/getttyent.c (getttyent): Likewise.
21285 (setttyent): Likewise.
21286 (endttyent): Likewise.
21287 * misc/getusershell.c (getusershell): Likewise.
21288 (endusershell): Likewise.
21289 (setusershell): Likewise.
21290 (initshells): Likewise.
21291 * misc/hsearch.c (__hdestroy): Likewise.
21292 * misc/sync.c (sync): Likewise.
21293 * misc/syslog.c (closelog_internal): Likewise.
21294 (closelog): Likewise.
21295 * misc/ttyslot.c (ttyslot): Likewise.
21296 * misc/vhangup.c (vhangup): Likewise.
21297 * posix/fork.c (__fork): Likewise.
21298 * posix/getegid.c (__getegid): Likewise.
21299 * posix/geteuid.c (__geteuid): Likewise.
21300 * posix/getgid.c (__getgid): Likewise.
21301 * posix/getpid.c (__getpid): Likewise.
21302 * posix/getppid.c (__getppid): Likewise.
21303 * posix/getuid.c (__getuid): Likewise.
21304 * posix/pause.c (pause): Likewise.
21305 * posix/setpgrp.c (setpgrp): Likewise.
21306 * posix/setsid.c (__setsid): Likewise.
21307 * posix/test-vfork.c (noop): Likewise.
21308 * resolv/gethnamaddr.c (_endhtent): Likewise.
21309 (_gethtent): Likewise.
21310 (ht_endhostent): Likewise.
21311 (gethostent): Likewise.
21312 (dns_service): Likewise.
21313 * stdlib/drand48.c (drand48): Likewise.
21314 * stdlib/lrand48.c (lrand48): Likewise.
21315 * stdlib/mrand48.c (mrand48): Likewise.
21316 * stdlib/rand.c (rand): Likewise.
21317 * stdlib/random.c (__random): Likewise.
21318 * stdlib/setenv.c (clearenv): Likewise.
21319 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21320 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21321 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21322 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21323 (__get_nprocs): Likewise.
21324 (__get_phys_pages): Likewise.
21325 (__get_avphys_pages): Likewise.
21326 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21327 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21328 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21329 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21330 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21331 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21332 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21333 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21334 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21335 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21336 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21337 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21338 * sysdeps/posix/clock.c (clock): Likewise.
21339 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21340 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21341 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21342 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21343 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21345 (__get_nprocs_conf): Likewise.
21346 (__get_phys_pages): Likewise.
21347 (__get_avphys_pages): Likewise.
21348 * time/clock.c (clock): Likewise.
21349 * time/tzset.c (__tzname_max): Likewise.
21351 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21353 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21354 (__bswap_32): Do not use "register".
21355 * crypt/crypt.c (_ufc_doit_r): Likewise.
21356 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21357 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21358 * gmon/gmon.c (__monstartup): Likewise.
21359 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21360 * hurd/hurdmalloc.c (more_memory): Likewise.
21361 (malloc): Likewise.
21363 (realloc): Likewise.
21364 (malloc_fork_prepare): Likewise.
21365 (malloc_fork_parent): Likewise.
21366 (malloc_fork_child): Likewise.
21367 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21368 (_svcauth_des): Likewise.
21369 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21370 * inet/inet_net.c (inet_network): Likewise.
21371 * inet/inet_netof.c (inet_netof): Likewise.
21372 * inet/rcmd.c (__validuser2_sa): Likewise.
21373 * io/fts.c (fts_open): Likewise.
21374 (fts_load): Likewise.
21375 (fts_close): Likewise.
21376 (fts_read): Likewise.
21377 (fts_children): Likewise.
21378 (fts_build): Likewise.
21379 (fts_stat): Likewise.
21380 (fts_sort): Likewise.
21381 (fts_alloc): Likewise.
21382 (fts_lfree): Likewise.
21383 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21384 (_IO_file_xsgetn): Likewise.
21385 (_IO_file_xsgetn_mmap): Likewise.
21386 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21387 (_IO_cookie_write): Likewise.
21388 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21389 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21390 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21391 * malloc/obstack.c (_obstack_begin): Likewise.
21392 (_obstack_begin_1): Likewise.
21393 (_obstack_newchunk): Likewise.
21394 (_obstack_allocated_p): Likewise.
21395 (obstack_free): Likewise.
21396 (_obstack_memory_used): Likewise.
21397 * misc/getttyent.c (getttynam): Likewise.
21398 (getttyent): Likewise.
21401 * misc/getusershell.c (initshells): Likewise.
21402 * misc/syslog.c (__vsyslog_chk): Likewise.
21403 * misc/ttyslot.c (ttyslot): Likewise.
21404 * nis/nis_hash.c (__nis_hash): Likewise.
21405 * posix/fnmatch_loop.c (FCT): Likewise.
21406 * posix/getconf.c (print_all): Likewise.
21408 * posix/getopt.c (exchange): Likewise.
21409 * posix/glob.c (globfree): Likewise.
21410 (prefix_array): Likewise.
21411 (__glob_pattern_type): Likewise.
21412 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21413 (NS_GET32): Likewise.
21414 (NS_PUT16): Likewise.
21415 (NS_PUT32): Likewise.
21416 * resolv/gethnamaddr.c (getanswer): Likewise.
21417 (gethostbyname2): Likewise.
21418 (gethostbyaddr): Likewise.
21419 (_gethtent): Likewise.
21420 (_gethtbyname2): Likewise.
21421 (_gethtbyaddr): Likewise.
21422 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21423 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21424 * resolv/res_init.c (__res_vinit): Likewise.
21425 (net_mask): Likewise.
21426 * resolv/res_mkquery.c (outchar): Likewise.
21428 * stdio-common/printf_fp.c (outchar): Likewise.
21430 * stdio-common/printf_fphex.c (outchar): Likewise.
21432 * stdio-common/printf_size.c (outchar): Likewise.
21434 * stdio-common/test_rdwr.c (main): Likewise.
21435 * stdio-common/tfformat.c (matches): Likewise.
21436 * stdio-common/vfprintf.c (outchar): Likewise.
21437 (printf_unknown): Likewise.
21438 (buffered_vfprintf): Likewise.
21439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21440 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21441 (ReadFile): Likewise.
21442 * stdlib/qsort.c (SWAP): Likewise.
21443 (_quicksort): Likewise.
21444 * stdlib/setenv.c (__add_to_environ): Likewise.
21445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21446 * stdlib/strtol_l.c (__strtol_l): Likewise.
21447 * stdlib/tst-strtod.c (main): Likewise.
21448 * stdlib/tst-strtol.c (main): Likewise.
21449 * stdlib/tst-strtoll.c (main): Likewise.
21450 * string/bits/string2.h (__strcmp_cc): Likewise.
21451 (__strcmp_cg): Likewise.
21452 (__strcspn_c1): Likewise.
21453 (__strcspn_c2): Likewise.
21454 (__strcspn_c3): Likewise.
21455 (__strspn_c1): Likewise.
21456 (__strspn_c2): Likewise.
21457 (__strspn_c3): Likewise.
21458 (__strsep_1c): Likewise.
21459 (__strsep_2c): Likewise.
21460 (__strsep_3c): Likewise.
21461 * string/memccpy.c (__memccpy): Likewise.
21462 * string/stpcpy.c (__stpcpy): Likewise.
21463 * string/strcmp.c (strcmp): Likewise.
21464 * string/strrchr.c (strrchr): Likewise.
21465 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21467 * sysdeps/mach/hurd/getcwd.c
21468 (_hurd_canonicalize_directory_name_internal): Likewise.
21469 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21470 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21471 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21472 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21473 Likewise, in both definitions.
21474 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21476 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21477 64] (__bswap_64): Likewise.
21478 * time/test_time.c (main): Likewise.
21479 * time/tzfile.c (__tzfile_read): Likewise.
21480 (__tzfile_compute): Likewise.
21481 * time/tzset.c (__tzset_parse_tz): Likewise.
21482 (tzset_internal): Likewise.
21483 (compute_change): Likewise.
21484 * wcsmbs/wcscat.c (__wcscat): Likewise.
21485 * wcsmbs/wcschr.c (wcschr): Likewise.
21486 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21487 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21488 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21489 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21490 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21491 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21492 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21494 * wcsmbs/wmemset.c (wmemset): Likewise.
21496 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21498 * scripts/config.guess: Update to version 2013-05-16.
21499 * scripts/config.sub: Update to version 2013-04-24.
21500 * scripts/install-sh: Update to version 2011-11-20.07.
21501 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21502 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21504 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21506 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21507 * elf/sln.c: Likewise.
21508 * hurd/hurd/ioctl.h: Likewise.
21509 * hurd/hurdmalloc.c: Likewise.
21510 * hurd/xattr.c: Likewise.
21511 * include/shlib-compat.h: Likewise.
21512 * inet/ruserpass.c: Likewise.
21513 * libio/iofgets_u.c: Likewise.
21514 * libio/iofgetws_u.c: Likewise.
21515 * locale/programs/ld-identification.c: Likewise.
21516 * locale/programs/ld-time.c: Likewise.
21517 * mach/msg-destroy.c: Likewise.
21518 * nss/nss_files/files-netgrp.c: Likewise.
21519 * resolv/res_data.c: Likewise.
21520 * soft-fp/op-1.h: Likewise.
21521 * soft-fp/op-2.h: Likewise.
21522 * soft-fp/op-4.h: Likewise.
21523 * soft-fp/op-common.h: Likewise.
21524 * stdio-common/printf_fphex.c: Likewise.
21525 * stdlib/strtod_l.c: Likewise.
21526 * sunrpc/rpc/clnt.h: Likewise.
21527 * sysdeps/generic/framestate.c: Likewise.
21528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21529 * sysdeps/i386/bsd-setjmp.S: Likewise.
21530 * sysdeps/i386/__longjmp.S: Likewise.
21531 * sysdeps/i386/setjmp.S: Likewise.
21532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21533 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21549 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21550 * sysdeps/ieee754/support.c: Likewise.
21551 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21552 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21553 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21554 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21555 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21556 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21557 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21558 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21559 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21560 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21561 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21562 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21563 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21564 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21565 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21566 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21567 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21570 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21572 * posix/transbug.c: Remove executable mode.
21574 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21576 * crypt/speeds.c: Remove trailing whitespace.
21577 * dlfcn/default.c: Likewise.
21578 * elf/ifuncdep2.c: Likewise.
21579 * elf/ifuncmain1.c: Likewise.
21580 * elf/ifuncmain1vis.c: Likewise.
21581 * elf/testobj.h: Likewise.
21582 * elf/tst-stackguard1.c: Likewise.
21583 * gmon/sys/gmon.h: Likewise.
21584 * hurd/hurdmsg.c: Likewise.
21585 * hurd/new-fd.c: Likewise.
21586 * hurd/ports-get.c: Likewise.
21587 * iconvdata/ibm1008_420.c: Likewise.
21588 * inet/tst-getni1.c: Likewise.
21589 * inet/tst-getni2.c: Likewise.
21590 * libio/ioungetc.c: Likewise.
21591 * libio/wfiledoalloc.c: Likewise.
21592 * manual/libm-err-tab.pl: Likewise.
21593 * math/w_dremf.c: Likewise.
21594 * misc/ftruncate.c: Likewise.
21595 * posix/bug-glob2.c: Likewise.
21596 * posix/tst-pcre.c: Likewise.
21597 * posix/wait4.c: Likewise.
21598 * resolv/README: Likewise.
21599 * resolv/res_debug.h: Likewise.
21600 * resolv/tst-inet_ntop.c: Likewise.
21601 * setjmp/bug269-setjmp.c: Likewise.
21602 * soft-fp/extended.h: Likewise.
21603 * soft-fp/op-1.h: Likewise.
21604 * soft-fp/op-2.h: Likewise.
21605 * soft-fp/op-4.h: Likewise.
21606 * soft-fp/op-8.h: Likewise.
21607 * soft-fp/testit.c: Likewise.
21608 * stdio-common/bug16.c: Likewise.
21609 * stdlib/random.c: Likewise.
21610 * sunrpc/rpcsvc/rquota.x: Likewise.
21611 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21640 * sysdeps/ieee754/s_lib_version.c: Likewise.
21641 * sysdeps/mach/hurd/check_fds.c: Likewise.
21642 * sysdeps/mach/hurd/getsockname.c: Likewise.
21643 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21644 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21645 * sysdeps/powerpc/bits/link.h: Likewise.
21646 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21647 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21648 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21649 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21650 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21651 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21652 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21653 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21654 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21655 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21656 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21657 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21658 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21659 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21660 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21661 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21667 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21669 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21670 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21674 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21677 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21679 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21680 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21681 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21682 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21683 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21684 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21685 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21686 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21687 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21688 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21689 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21691 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21692 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21693 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21694 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21695 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21698 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21699 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21701 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21702 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21704 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21707 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21708 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21709 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21710 * sysdeps/powerpc/sysdep.h: Likewise.
21711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21712 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21713 * sysdeps/sh/dl-trampoline.S: Likewise.
21714 * sysdeps/sh/memset.S: Likewise.
21715 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21716 * sysdeps/sh/strlen.S: Likewise.
21717 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21718 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21719 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21720 * sysdeps/sparc/sparc32/rem.S: Likewise.
21721 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21722 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21723 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21724 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21725 * sysdeps/sparc/sparc32/urem.S: Likewise.
21726 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21728 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21729 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21730 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21731 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21732 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21733 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21734 * sysdeps/unix/bsd/times.c: Likewise.
21735 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21736 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21740 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21741 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21742 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21744 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21747 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21749 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21750 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21751 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21752 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21753 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21754 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21755 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21756 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21757 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21758 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21759 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21760 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21761 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21763 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21764 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21765 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21766 * sysdeps/x86_64/strcspn.S: Likewise.
21768 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21770 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21771 generated file. Regenerate properly from gen-translit.pl.
21772 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21773 locale/C-translit.h.
21775 2013-06-05 Andreas Schwab <schwab@suse.de>
21778 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21779 week as 6 instead of -1.
21780 * time/tst-strptime.c (day_tests): Add test case.
21782 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21784 * sysdeps/generic/math_private.h
21785 (libc_feholdexcept_setround_53bit): Replace with
21786 libc_feholdsetround_53bit.
21787 (libc_feupdateenv_53bit): Replace with
21788 libc_feresetround_53bit.
21789 (SET_RESTORE_ROUND_53BIT): Adjust.
21791 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21793 * string/test-strchrnul.c: Add copyright header.
21795 * posix/tst-getaddrinfo4.c: Increase test timeout.
21797 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21800 * math/libm-test.inc (MAX_EXP): Remove
21802 (ulp): Use MIN_EXP - MANT_DIG.
21803 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21805 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21807 * po/be.po: Revert last change.
21808 * po/zh_CN.po: Likewise.
21809 * po/header.pot: Likewise.
21811 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21813 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21814 link-libc-deps to empty as target-specific variable.
21815 * Makerules (link-libc-args): New variable.
21816 (libc-for-link): Likewise.
21817 (link-libc-deps): Likewise.
21818 (lib%.so): Depend on $(link-libc-deps). Link with
21820 (build-module): Link with $(link-libc-args).
21821 (build-module-asneeded): Likewise.
21822 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21824 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21825 target-specific variable.
21826 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21827 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21828 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21830 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21832 ($(objpfx)libpcprofile.so): Likewise.
21833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21835 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21836 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21837 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21839 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21840 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21841 * login/Makefile ($(objpfx)libutil.so): Likewise.
21842 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21843 * math/Makefile ($(objpfx)libm.so): Likewise.
21844 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21845 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21846 variable instead of depending directly on libc.
21847 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21848 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21850 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21852 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21853 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21854 ($(objpfx)libanl.so): Likewise.
21855 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21857 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21859 * sysdeps/i386/fpu/Makefile: Remove file.
21860 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21861 ($(objpfx)libm.so): Remove dependency on ld.so.
21863 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21866 * nis/yp_xdr.c (XDRMAXNAME): Define.
21867 (XDRMAXRECORD): Define.
21868 (xdr_domainname): Use XDRMAXNAME.
21869 (xdr_mapname): Likewise.
21870 (xdr_peername): Likewise.
21871 (xdr_keydat): Use XDRMAXRECORD.
21872 (xdr_valdat): Likewise.
21874 2013-05-30 Jeff Law <law@redhat.com>
21877 * manual/errno.texi (ESTALE): Update to account for more than
21878 just NFS file systems.
21879 * sysdeps/gnu/errlist.c: Regenerated.
21881 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 * elf/Makefile (tests): Add tst-null-argv.
21885 (modules-names): Add tst-null-argv-lib.
21886 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21887 (tst-null-argv-ENV): Set environment for tst-null-argv.
21888 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21889 (RTLD_PROGNAME): New macro.
21890 * elf/tst-null-argv.c: New test case.
21891 * elf/tst-null-argv-lib.c: Library for test case.
21892 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21893 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21894 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21895 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21896 * elf/dl-init.c (call_init): Likewise.
21897 (_dl_init): Likewise.
21898 * elf/dl-load.c (print_search_path): Likewise.
21899 (_dl_map_object): Likewise.
21900 * elf/dl-lookup.c (do_lookup_x): Likewise.
21901 (add_dependency): Likewise.
21902 (_dl_lookup_symbol_x): Likewise.
21903 (_dl_debug_bindings): Likewise.
21904 * elf/dl-open.c (_dl_show_scope): Likewise.
21905 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21906 * elf/dl-version.c (match_symbol): Likewise.
21907 (_dl_check_map_versions): Likewise.
21908 * elf/rtld.c (dl_main): Likewise.
21909 (print_unresolved): Use RTLD_PROGNAME.
21910 (print_missing_version): Likewise.
21911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21912 (elf_machine_rela): Likewise.
21913 * sysdeps/powerpc/powerpc32/dl-machine.c
21914 (__process_machine_rela): Likewise.
21915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21921 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21928 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21930 * po/be.po: Add descriptive title.
21931 * po/zh_CN.po: Likewise.
21932 * po/header.pot: Likewise.
21934 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21936 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21938 (enlarge_archive): Likewise.
21940 2013-05-28 Ben North <ben@redfrontdoor.org>
21942 * manual/arith.texi (frexp): It is the magnitude of the return
21943 value which lies in [0.5, 1), not the return value itself.
21945 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21949 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21951 * stdio-common/bug26.c (main): Correct fscanf template.
21953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21954 declare _dl_skip_args.
21956 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21959 * manual/platform.texi: Add missing @end deftypefun.
21961 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21965 bit of mantissa of 2^16382.
21966 * math/libm-test.inc (hypot_test_data): Add more tests.
21968 * math/libm-test.inc: Add drem and pow10 to list of tested
21970 (pow10_test): New function.
21971 (drem_test): Likewise.
21972 (drem_test_tonearest): Likewise.
21973 (drem_test_towardzero): Likewise.
21974 (drem_test_downward): Likewise.
21975 (drem_test_upward): Likewise.
21976 (main): Call the new functions.
21978 * math/libm-test.inc (finite_test_data): Remove.
21979 (finite_test): Run tests from isfinite_test_data.
21980 (gamma_test_data): Remove.
21981 (gamma_test): Run tests from lgamma_test_data.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21987 * manual/platform.texi: Add PowerPC PPR function set documentation.
21988 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21991 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21993 * math/libm-test.inc (MAX_EXP): Define.
21995 (ulp): New function.
21996 (check_float_internal): Use ULPDIFF.
21997 (cpow_test): Disable failing test.
21998 (check_ulp): Test ulp() implemetnation.
21999 (main): Call check_ulp before starting tests.
22001 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22003 * math/gen-libm-test.pl (generate_testfile): Do not handle
22004 START_DATA and END_DATA.
22005 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22007 (acos_tonearest_test_data): Likewise.
22008 (acos_towardzero_test_data): Likewise.
22009 (acos_downward_test_data): Likewise.
22010 (acos_upward_test_data): Likewise.
22011 (acosh_test_data): Likewise.
22012 (asin_test_data): Likewise.
22013 (asin_tonearest_test_data): Likewise.
22014 (asin_towardzero_test_data): Likewise.
22015 (asin_downward_test_data): Likewise.
22016 (asin_upward_test_data): Likewise.
22017 (asinh_test_data): Likewise.
22018 (atan_test_data): Likewise.
22019 (atanh_test_data): Likewise.
22020 (atan2_test_data): Likewise.
22021 (cabs_test_data): Likewise.
22022 (cacos_test_data): Likewise.
22023 (cacosh_test_data): Likewise.
22024 (carg_test_data): Likewise.
22025 (casin_test_data): Likewise.
22026 (casinh_test_data): Likewise.
22027 (catan_test_data): Likewise.
22028 (catanh_test_data): Likewise.
22029 (cbrt_test_data): Likewise.
22030 (ccos_test_data): Likewise.
22031 (ccosh_test_data): Likewise.
22032 (ceil_test_data): Likewise.
22033 (cexp_test_data): Likewise.
22034 (cimag_test_data): Likewise.
22035 (clog_test_data): Likewise.
22036 (clog10_test_data): Likewise.
22037 (conj_test_data): Likewise.
22038 (copysign_test_data): Likewise.
22039 (cos_test_data): Likewise.
22040 (cos_tonearest_test_data): Likewise.
22041 (cos_towardzero_test_data): Likewise.
22042 (cos_downward_test_data): Likewise.
22043 (cos_upward_test_data): Likewise.
22044 (cosh_test_data): Likewise.
22045 (cosh_tonearest_test_data): Likewise.
22046 (cosh_towardzero_test_data): Likewise.
22047 (cosh_downward_test_data): Likewise.
22048 (cosh_upward_test_data): Likewise.
22049 (cpow_test_data): Likewise.
22050 (cproj_test_data): Likewise.
22051 (creal_test_data): Likewise.
22052 (csin_test_data): Likewise.
22053 (csinh_test_data): Likewise.
22054 (csqrt_test_data): Likewise.
22055 (ctan_test_data): Likewise.
22056 (ctan_tonearest_test_data): Likewise.
22057 (ctan_towardzero_test_data): Likewise.
22058 (ctan_downward_test_data): Likewise.
22059 (ctan_upward_test_data): Likewise.
22060 (ctanh_test_data): Likewise.
22061 (ctanh_tonearest_test_data): Likewise.
22062 (ctanh_towardzero_test_data): Likewise.
22063 (ctanh_downward_test_data): Likewise.
22064 (ctanh_upward_test_data): Likewise.
22065 (erf_test_data): Likewise.
22066 (erfc_test_data): Likewise.
22067 (exp_test_data): Likewise.
22068 (exp_tonearest_test_data): Likewise.
22069 (exp_towardzero_test_data): Likewise.
22070 (exp_downward_test_data): Likewise.
22071 (exp_upward_test_data): Likewise.
22072 (exp10_test_data): Likewise.
22073 (exp2_test_data): Likewise.
22074 (expm1_test_data): Likewise.
22075 (fabs_test_data): Likewise.
22076 (fdim_test_data): Likewise.
22077 (finite_test_data): Likewise.
22078 (floor_test_data): Likewise.
22079 (fma_test_data): Likewise.
22080 (fma_towardzero_test_data): Likewise.
22081 (fma_downward_test_data): Likewise.
22082 (fma_upward_test_data): Likewise.
22083 (fmax_test_data): Likewise.
22084 (fmin_test_data): Likewise.
22085 (fmod_test_data): Likewise.
22086 (fpclassify_test_data): Likewise.
22087 (frexp_test_data): Likewise.
22088 (gamma_test_data): Likewise.
22089 (hypot_test_data): Likewise.
22090 (ilogb_test_data): Likewise.
22091 (isfinite_test_data): Likewise.
22092 (isgreater_test_data): Likewise.
22093 (isgreaterequal_test_data): Likewise.
22094 (isinf_test_data): Likewise.
22095 (isless_test_data): Likewise.
22096 (islessequal_test_data): Likewise.
22097 (islessgreater_test_data): Likewise.
22098 (isnan_test_data): Likewise.
22099 (isnormal_test_data): Likewise.
22100 (issignaling_test_data): Likewise.
22101 (isunordered_test_data): Likewise.
22102 (j0_test_data): Likewise.
22103 (j1_test_data): Likewise.
22104 (jn_test_data): Likewise.
22105 (ldexp_test_data): Likewise.
22106 (lgamma_test_data): Likewise.
22107 (lrint_test_data): Likewise.
22108 (lrint_tonearest_test_data): Likewise.
22109 (lrint_towardzero_test_data): Likewise.
22110 (lrint_downward_test_data): Likewise.
22111 (lrint_upward_test_data): Likewise.
22112 (llrint_test_data): Likewise.
22113 (llrint_tonearest_test_data): Likewise.
22114 (llrint_towardzero_test_data): Likewise.
22115 (llrint_downward_test_data): Likewise.
22116 (llrint_upward_test_data): Likewise.
22117 (log_test_data): Likewise.
22118 (log10_test_data): Likewise.
22119 (log1p_test_data): Likewise.
22120 (log2_test_data): Likewise.
22121 (logb_test_data): Likewise.
22122 (logb_downward_test_data): Likewise.
22123 (lround_test_data): Likewise.
22124 (llround_test_data): Likewise.
22125 (modf_test_data): Likewise.
22126 (nearbyint_test_data): Likewise.
22127 (nextafter_test_data): Likewise.
22128 (nexttoward_test_data): Likewise.
22129 (pow_test_data): Likewise.
22130 (pow_tonearest_test_data): Likewise.
22131 (pow_towardzero_test_data): Likewise.
22132 (pow_downward_test_data): Likewise.
22133 (pow_upward_test_data): Likewise.
22134 (remainder_test_data): Likewise.
22135 (remainder_tonearest_test_data): Likewise.
22136 (remainder_towardzero_test_data): Likewise.
22137 (remainder_downward_test_data): Likewise.
22138 (remainder_upward_test_data): Likewise.
22139 (remquo_test_data): Likewise.
22140 (rint_test_data): Likewise.
22141 (rint_tonearest_test_data): Likewise.
22142 (rint_towardzero_test_data): Likewise.
22143 (rint_downward_test_data): Likewise.
22144 (rint_upward_test_data): Likewise.
22145 (round_test_data): Likewise.
22146 (scalb_test_data): Likewise.
22147 (scalbn_test_data): Likewise.
22148 (scalbln_test_data): Likewise.
22149 (signbit_test_data): Likewise.
22150 (sin_test_data): Likewise.
22151 (sin_tonearest_test_data): Likewise.
22152 (sin_towardzero_test_data): Likewise.
22153 (sin_downward_test_data): Likewise.
22154 (sin_upward_test_data): Likewise.
22155 (sincos_test_data): Likewise.
22156 (sinh_test_data): Likewise.
22157 (sinh_tonearest_test_data): Likewise.
22158 (sinh_towardzero_test_data): Likewise.
22159 (sinh_downward_test_data): Likewise.
22160 (sinh_upward_test_data): Likewise.
22161 (sqrt_test_data): Likewise.
22162 (tan_test_data): Likewise.
22163 (tan_tonearest_test_data): Likewise.
22164 (tan_towardzero_test_data): Likewise.
22165 (tan_downward_test_data): Likewise.
22166 (tan_upward_test_data): Likewise.
22167 (tanh_test_data): Likewise.
22168 (tgamma_test_data): Likewise.
22169 (trunc_test_data): Likewise.
22170 (y0_test_data): Likewise.
22171 (y1_test_data): Likewise.
22172 (yn_test_data): Likewise.
22173 (significand_test_data): Likewise.
22175 * math/gen-libm-test.pl (@functions): Remove variable.
22176 (generate_testfile): Don't handle START and END lines.
22177 * math/libm-test.inc (START): New macro.
22179 (END_COMPLEX): Likewise.
22180 (acos_test): Use END macro without arguments.
22181 (acos_test_tonearest): Likewise.
22182 (acos_test_towardzero): Likewise.
22183 (acos_test_downward): Likewise.
22184 (acos_test_upward): Likewise.
22185 (acosh_test): Likewise.
22186 (asin_test): Likewise.
22187 (asin_test_tonearest): Likewise.
22188 (asin_test_towardzero): Likewise.
22189 (asin_test_downward): Likewise.
22190 (asin_test_upward): Likewise.
22191 (asinh_test): Likewise.
22192 (atan_test): Likewise.
22193 (atanh_test): Likewise.
22194 (atan2_test): Likewise.
22195 (cabs_test): Likewise.
22196 (cacos_test): Use END_COMPLEX macro without arguments.
22197 (cacosh_test): Likewise.
22198 (carg_test): Use END macro without arguments.
22199 (casin_test): Use END_COMPLEX macro without arguments.
22200 (casinh_test): Likewise.
22201 (catan_test): Likewise.
22202 (catanh_test): Likewise.
22203 (cbrt_test): Use END macro without arguments.
22204 (ccos_test): Use END_COMPLEX macro without arguments.
22205 (ccosh_test): Likewise.
22206 (ceil_test): Use END macro without arguments.
22207 (cexp_test): Use END_COMPLEX macro without arguments.
22208 (cimag_test): Use END macro without arguments.
22209 (clog_test): Use END_COMPLEX macro without arguments.
22210 (clog10_test): Likewise.
22211 (conj_test): Likewise.
22212 (copysign_test): Use END macro without arguments.
22213 (cos_test): Likewise.
22214 (cos_test_tonearest): Likewise.
22215 (cos_test_towardzero): Likewise.
22216 (cos_test_downward): Likewise.
22217 (cos_test_upward): Likewise.
22218 (cosh_test): Likewise.
22219 (cosh_test_tonearest): Likewise.
22220 (cosh_test_towardzero): Likewise.
22221 (cosh_test_downward): Likewise.
22222 (cosh_test_upward): Likewise.
22223 (cpow_test): Use END_COMPLEX macro without arguments.
22224 (cproj_test): Likewise.
22225 (creal_test): Use END macro without arguments.
22226 (csin_test): Use END_COMPLEX macro without arguments.
22227 (csinh_test): Likewise.
22228 (csqrt_test): Likewise.
22229 (ctan_test): Likewise.
22230 (ctan_test_tonearest): Likewise.
22231 (ctan_test_towardzero): Likewise.
22232 (ctan_test_downward): Likewise.
22233 (ctan_test_upward): Likewise.
22234 (ctanh_test): Likewise.
22235 (ctanh_test_tonearest): Likewise.
22236 (ctanh_test_towardzero): Likewise.
22237 (ctanh_test_downward): Likewise.
22238 (ctanh_test_upward): Likewise.
22239 (erf_test): Use END macro without arguments.
22240 (erfc_test): Likewise.
22241 (exp_test): Likewise.
22242 (exp_test_tonearest): Likewise.
22243 (exp_test_towardzero): Likewise.
22244 (exp_test_downward): Likewise.
22245 (exp_test_upward): Likewise.
22246 (exp10_test): Likewise.
22247 (exp2_test): Likewise.
22248 (expm1_test): Likewise.
22249 (fabs_test): Likewise.
22250 (fdim_test): Likewise.
22251 (finite_test): Likewise.
22252 (floor_test): Likewise.
22253 (fma_test): Likewise.
22254 (fma_test_towardzero): Likewise.
22255 (fma_test_downward): Likewise.
22256 (fma_test_upward): Likewise.
22257 (fmax_test): Likewise.
22258 (fmin_test): Likewise.
22259 (fmod_test): Likewise.
22260 (fpclassify_test): Likewise.
22261 (frexp_test): Likewise.
22262 (gamma_test): Likewise.
22263 (hypot_test): Likewise.
22264 (ilogb_test): Likewise.
22265 (isfinite_test): Likewise.
22266 (isgreater_test): Likewise.
22267 (isgreaterequal_test): Likewise.
22268 (isinf_test): Likewise.
22269 (isless_test): Likewise.
22270 (islessequal_test): Likewise.
22271 (islessgreater_test): Likewise.
22272 (isnan_test): Likewise.
22273 (isnormal_test): Likewise.
22274 (issignaling_test): Likewise.
22275 (isunordered_test): Likewise.
22276 (j0_test): Likewise.
22277 (j1_test): Likewise.
22278 (jn_test): Likewise.
22279 (ldexp_test): Likewise.
22280 (lgamma_test): Likewise.
22281 (lrint_test): Likewise.
22282 (lrint_test_tonearest): Likewise.
22283 (lrint_test_towardzero): Likewise.
22284 (lrint_test_downward): Likewise.
22285 (lrint_test_upward): Likewise.
22286 (llrint_test): Likewise.
22287 (llrint_test_tonearest): Likewise.
22288 (llrint_test_towardzero): Likewise.
22289 (llrint_test_downward): Likewise.
22290 (llrint_test_upward): Likewise.
22291 (log_test): Likewise.
22292 (log10_test): Likewise.
22293 (log1p_test): Likewise.
22294 (log2_test): Likewise.
22295 (logb_test): Likewise.
22296 (logb_test_downward): Likewise.
22297 (lround_test): Likewise.
22298 (llround_test): Likewise.
22299 (modf_test): Likewise.
22300 (nearbyint_test): Likewise.
22301 (nextafter_test): Likewise.
22302 (nexttoward_test): Likewise.
22303 (pow_test): Likewise.
22304 (pow_test_tonearest): Likewise.
22305 (pow_test_towardzero): Likewise.
22306 (pow_test_downward): Likewise.
22307 (pow_test_upward): Likewise.
22308 (remainder_test): Likewise.
22309 (remainder_test_tonearest): Likewise.
22310 (remainder_test_towardzero): Likewise.
22311 (remainder_test_downward): Likewise.
22312 (remainder_test_upward): Likewise.
22313 (remquo_test): Likewise.
22314 (rint_test): Likewise.
22315 (rint_test_tonearest): Likewise.
22316 (rint_test_towardzero): Likewise.
22317 (rint_test_downward): Likewise.
22318 (rint_test_upward): Likewise.
22319 (round_test): Likewise.
22320 (scalb_test): Likewise.
22321 (scalbn_test): Likewise.
22322 (scalbln_test): Likewise.
22323 (signbit_test): Likewise.
22324 (sin_test): Likewise.
22325 (sin_test_tonearest): Likewise.
22326 (sin_test_towardzero): Likewise.
22327 (sin_test_downward): Likewise.
22328 (sin_test_upward): Likewise.
22329 (sincos_test): Likewise.
22330 (sinh_test): Likewise.
22331 (sinh_test_tonearest): Likewise.
22332 (sinh_test_towardzero): Likewise.
22333 (sinh_test_downward): Likewise.
22334 (sinh_test_upward): Likewise.
22335 (sqrt_test): Likewise.
22336 (tan_test): Likewise.
22337 (tan_test_tonearest): Likewise.
22338 (tan_test_towardzero): Likewise.
22339 (tan_test_downward): Likewise.
22340 (tan_test_upward): Likewise.
22341 (tanh_test): Likewise.
22342 (tgamma_test): Likewise.
22343 (trunc_test): Likewise.
22344 (y0_test): Likewise.
22345 (y1_test): Likewise.
22346 (yn_test): Likewise.
22347 (significand_test): Likewise.
22349 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22352 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22354 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22357 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22358 __ppc_mdoio and __ppc_mdoom.
22359 * manual/platform.texi: Document new functions __ppc_yield,
22360 __ppc_mdoio and __ppc_mdoom.
22362 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22364 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22365 (main): Mention "tls" pseudo-hwcap is legacy.
22366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22368 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22370 * math/gen-libm-test.pl (parse_args): Output only string of
22371 arguments as text for test name, not full call or descriptions of
22372 tests for extra outputs.
22373 (generate_testfile): Do not pass function name to parse_args.
22374 Generate this_func variable from START.
22375 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22377 (struct test_ff_f_data): Likewise.
22378 (test_ff_f_data_nexttoward): Likewise.
22379 (struct test_fi_f_data): Likewise.
22380 (struct test_fl_f_data): Likewise.
22381 (struct test_if_f_data): Likewise.
22382 (struct test_fff_f_data): Likewise.
22383 (struct test_c_f_data): Likewise.
22384 (struct test_f_f1_data): Likewise. Remove field extra_name.
22385 (struct test_fF_f1_data): Likewise.
22386 (struct test_ffI_f1_data): Likewise.
22387 (struct test_c_c_data): Rename test_name field to arg_str.
22388 (struct test_cc_c_data): Likewise.
22389 (struct test_f_i_data): Likewise.
22390 (struct test_ff_i_data): Likewise.
22391 (struct test_f_l_data): Likewise.
22392 (struct test_f_L_data): Likewise.
22393 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22395 (COMMON_TEST_SETUP): New macro.
22396 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22397 (COMMON_TEST_CLEANUP): Likewise.
22398 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22399 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22401 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22402 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22404 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22405 (RUN_TEST_fff_f): Take argument string. Call new setup and
22407 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22408 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22410 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22411 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22414 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22417 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22420 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22423 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22425 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22426 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22428 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22429 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22431 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22432 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22434 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22435 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22437 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22438 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22440 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22441 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22443 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22444 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22446 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22447 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22449 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22450 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22452 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22454 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22456 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22457 to _sifields.sigfault.
22458 (si_addr_lsb): Define new macro.
22459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22461 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22463 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22466 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22468 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22470 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22471 loading the domain.
22473 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22475 * math/gen-libm-test.pl (parse_args): Do not include expected
22476 result in test name.
22477 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22484 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22486 * benchtests/Makefile: Sort function entries.
22488 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22489 tanh, asinh, acosh, atanh.
22490 * benchtests/acos-inputs: New file.
22491 * benchtests/acosh-inputs: New file.
22492 * benchtests/asin-inputs: New file.
22493 * benchtests/asinh-inputs: New file.
22494 * benchtests/atanh-inputs: New file.
22495 * benchtests/cosh-inputs: New file.
22496 * benchtests/log-inputs: New file.
22497 * benchtests/sinh-inputs: New file.
22498 * benchtests/tanh-inputs: New file.
22500 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22503 * posix/tst-getaddrinfo4.c: New test.
22504 * posix/Makefile (tests): Add it.
22506 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22509 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22510 when no services were used.
22511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22512 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22514 2013-05-21 Andreas Schwab <schwab@suse.de>
22517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22518 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22520 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22521 redundant variable declarations and reallocation of buffer when
22522 parsing as IPv6 address. Always set NSS status when called from
22523 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22524 buffer too small. Correct computation of needed size.
22525 * nss/Makefile (tests): Add test-digits-dots.
22526 * nss/test-digits-dots.c: New test.
22528 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22530 * benchtests/Makefile: Remove instructions for adding
22532 * benchtests/README: New file to explain how to execute and
22533 enhance the benchmark tests.
22535 2013-05-21 Andreas Schwab <schwab@suse.de>
22538 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22539 * setjmp/tst-sigsetjmp.c: New test.
22541 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22543 * sysdeps/x86_64/memset.S (memset): New implementation.
22544 (__bzero): Likewise.
22545 (__memset_tail): New function.
22547 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22549 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22550 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22551 __memcpy_sse2_unaligned ifunc selection.
22552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22553 Add memcpy-sse2-unaligned.S.
22554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22555 Add: __memcpy_sse2_unaligned.
22557 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22561 math_force_eval before restoring floating-point envrionment.
22562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22567 (__nearbyintl): Use math_force_eval before restoring
22568 floating-point environment.
22569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22571 * math/gen-libm-test.pl (special_functions): Remove.
22572 (parse_args): Don't handle TEST_extra. Handle functions with no
22574 * math/libm-test.inc (struct test_sincos_data): Replace with
22575 struct test_fFF_11_data.
22576 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22577 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22578 (sincos_test_data): Change element type to struct
22579 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22580 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22581 RUN_TEST_LOOP_sincos.
22582 * math/README.libm-test: Don't mention special handling of
22583 individual functions.
22584 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 * math/gen-libm-test.pl (get_variable): Remove function.
22592 (parse_args): Don't show pointer parameters to call in test
22593 names. Use "extra output N" in test names for extra outputs
22594 rather than naming variables.
22596 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22599 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22600 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22601 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22603 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22605 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22608 * math/gen-libm-test.pl (@tests): Remove variable.
22609 ($count): Likewise.
22610 (new_test): Remove function.
22611 (show_exceptions): New function.
22612 (special_functions): Use show_exceptions instead of new_test.
22613 (parse_args): Likewise.
22614 (generate_testfile): Pass only function name in generated call to
22615 print_max_error or print_complex_max_error.
22616 (get_ulps): Do not handle complex tests specially.
22617 (output_test): Rename to ...
22618 (get_all_ulps_for_test): ... this. Return a string rather than
22619 printing to a file. Require ulps to be present.
22620 (output_ulps): Generate arrays rather than #defines.
22621 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22622 (struct ulp_data): New type.
22623 (BUILD_COMPLEX_ULP): Remove macro.
22624 (compare_ulp_data): New function.
22625 (find_ulps): Likewise.
22626 (find_test_ulps): Likewise.
22627 (find_function_ulps): Likewise.
22628 (find_complex_function_ulps): Likewise.
22629 (print_max_error): Determine allowed ulps using
22630 find_function_ulps.
22631 (print_complex_max_error): Determine allowed ulps using
22632 find_complex_function_ulps.
22633 (check_float_internal): Determine max ulps using find_test_ulps.
22634 (check_float): Do not take max_ulp parameter. Update call to
22635 check_float_internal.
22636 (check_complex): Likewise.
22637 (check_int): Do not take max_ulp parameter.
22638 (check_long): Likewise.
22639 (check_bool): Likewise.
22640 (check_longlong): Likewise.
22641 (struct test_f_f_data): Remove max_ulp field.
22642 (struct test_ff_f_data): Likewise.
22643 (struct test_ff_f_data_nexttoward): Likewise.
22644 (struct test_fi_f_data): Likewise.
22645 (struct test_fl_f_data): Likewise.
22646 (struct test_if_f_data): Likewise.
22647 (struct test_fff_f_data): Likewise.
22648 (struct test_c_f_data): Likewise.
22649 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22650 (struct test_fF_f1_data): Likewise.
22651 (struct test_ffI_f1_data): Likewise.
22652 (struct test_c_c_data): Remove max_ulp field.
22653 (struct test_cc_c_data): Likewise.
22654 (struct test_f_i_data): Likewise.
22655 (struct test_ff_i_data): Likewise.
22656 (struct test_f_l_data): Likewise.
22657 (struct test_f_L_data): Likewise.
22658 (struct test_sincos_data): Likewise.
22659 (RUN_TEST_f_f): Do not handle ulps.
22660 (RUN_TEST_LOOP_f_f): Likewise.
22661 (RUN_TEST_2_f): Likewise.
22662 (RUN_TEST_LOOP_2_f): Likewise.
22663 (RUN_TEST_fff_f): Likewise.
22664 (RUN_TEST_LOOP_fff_f): Likewise.
22665 (RUN_TEST_c_f): Likewise.
22666 (RUN_TEST_LOOP_c_f): Likewise.
22667 (RUN_TEST_f_f1): Likewise.
22668 (RUN_TEST_LOOP_f_f1): Likewise.
22669 (RUN_TEST_fF_f1): Likewise.
22670 (RUN_TEST_LOOP_fF_f1): Likewise.
22671 (RUN_TEST_fI_f1): Likewise.
22672 (RUN_TEST_LOOP_fI_f1): Likewise.
22673 (RUN_TEST_ffI_f1): Likewise.
22674 (RUN_TEST_LOOP_ffI_f1): Likewise.
22675 (RUN_TEST_c_c): Likewise.
22676 (RUN_TEST_LOOP_c_c): Likewise.
22677 (RUN_TEST_cc_c): Likewise.
22678 (RUN_TEST_LOOP_cc_c): Likewise.
22679 (RUN_TEST_f_i): Likewise.
22680 (RUN_TEST_LOOP_f_i): Likewise.
22681 (RUN_TEST_f_i_tg): Likewise.
22682 (RUN_TEST_LOOP_f_i_tg): Likewise.
22683 (RUN_TEST_ff_i_tg): Likewise.
22684 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22685 (RUN_TEST_f_b): Likewise.
22686 (RUN_TEST_LOOP_f_b): Likewise.
22687 (RUN_TEST_f_b_tg): Likewise.
22688 (RUN_TEST_LOOP_f_b_tg): Likewise.
22689 (RUN_TEST_f_l): Likewise.
22690 (RUN_TEST_LOOP_f_l): Likewise.
22691 (RUN_TEST_f_L): Likewise.
22692 (RUN_TEST_LOOP_f_L): Likewise.
22693 (RUN_TEST_sincos): Likewise.
22694 (RUN_TEST_LOOP_sincos): Likewise.
22696 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22700 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22701 main case of finite arguments, set rounding mode to FE_TONEAREST
22702 and discard exceptions.
22703 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22705 (remainder_tonearest_test_data): New variable.
22706 (remainder_test_tonearest): New function.
22707 (remainder_towardzero_test_data): New variable.
22708 (remainder_test_towardzero): New function.
22709 (remainder_downward_test_data): New variable.
22710 (remainder_test_downward): New function.
22711 (remainder_upward_test_data): New variable.
22712 (remainder_test_upward): New function.
22713 (main): Call the new test functions.
22715 * math/libm-test.inc (struct test_f_f1_data): Remove field
22717 (struct test_fF_f1_data): Likewise.
22718 (struct test_ffI_f1_data): Likewise.
22719 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22720 based on value of EXTRA_EXPECTED.
22721 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22722 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22723 EXTRA_VAR based on value of EXTRA_EXPECTED.
22724 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22725 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22726 EXTRA_VAR based on value of EXTRA_EXPECTED.
22727 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22728 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22729 EXTRA_VAR based on value of EXTRA_EXPECTED.
22730 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22731 * math/gen-libm-test.pl (parse_args): Don't output initializers
22732 for extra output values.
22734 * math/libm-test.inc (check_int): Expect result to be exactly
22735 equal to expected value and do not handle ulps.
22736 (check_long): Likewise.
22737 (check_longlong): Likewise.
22739 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22741 (cimag_test_data): Likewise.
22742 (conj_test_data): Likewise.
22743 (copysign_test_data): Likewise.
22744 (cproj_test_data): Likewise.
22745 (creal_test_data): Likewise.
22746 (fabs_test_data): Likewise.
22747 (fdim_test_data): Likewise.
22748 (finite_test_data): Likewise.
22749 (floor_test_data): Likewise.
22750 (fmax_test_data): Likewise.
22751 (fmin_test_data): Likewise.
22752 (fmod_test_data): Likewise.
22753 (fpclassify_test_data): Likewise.
22754 (frexp_test_data): Likewise.
22755 (ilogb_test_data): Likewise.
22756 (isfinite_test_data): Likewise.
22757 (isgreater_test_data): Likewise.
22758 (isgreaterequal_test_data): Likewise.
22759 (isinf_test_data): Likewise.
22760 (isless_test_data): Likewise.
22761 (islessequal_test_data): Likewise.
22762 (islessgreater_test_data): Likewise.
22763 (isnan_test_data): Likewise.
22764 (isnormal_test_data): Likewise.
22765 (issignaling_test_data): Likewise.
22766 (isunordered_test_data): Likewise.
22767 (ldexp_test_data): Likewise.
22768 (lrint_test_data): Likewise.
22769 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22770 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22771 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22772 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22773 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22774 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22776 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22777 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22778 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22779 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22781 (lrint_downward_test_data): Test for "inexact" exceptions.
22782 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22783 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22784 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22786 (lrint_upward_test_data): Test for "inexact" exceptions.
22787 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22789 (llrint_test_data): Test for "inexact" exceptions.
22790 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22791 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22792 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22793 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22794 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22795 (llrint_downward_test_data): Test for "inexact" exceptions.
22796 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22797 (llrint_upward_test_data): Test for "inexact" exceptions.
22798 (logb_test_data): Likewise.
22799 (logb_downward_test_data): Likewise.
22800 (nextafter_test_data): Likewise.
22801 (nexttoward_test_data): Likewise.
22802 (remainder_test_data): Likewise.
22803 (remquo_test_data): Likewise.
22804 (scalbn_test_data): Likewise.
22805 (scalbln_test_data): Likewise.
22806 (signbit_test_data): Likewise.
22807 (sqrt_test_data): Likewise.
22808 (significand_test_data): Likewise.
22810 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22813 * benchtests/bench-modf.c (struct args): Mark arg0 as
22815 * scripts/bench.pl: Mark members of struct args as volatile.
22817 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22820 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22821 negative infinity on POWER6 or lower.
22822 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22824 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22827 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22828 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22829 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22830 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22831 (_FP_SETQNAN): New macro.
22832 (_FP_SETQNAN_SEMIRAW): Likewise.
22833 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22834 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22835 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22836 (FP_EXTEND): Use _FP_FRAC_SNANP.
22837 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22838 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22845 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22847 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22848 with DIVIDE_BY_ZERO_EXCEPTION.
22849 (gamma_test_data): Likewise.
22850 (lgamma_test_data): Likewise.
22851 (log_test_data): Likewise.
22852 (log10_test_data): Likewise.
22853 (log2_test_data): Likewise.
22854 (tgamma_test_data): Likewise.
22856 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22857 (acos_test_tonearest): Likewise.
22858 (acos_test_towardzero): Likewise.
22859 (acos_test_downward): Likewise.
22860 (acos_test_upward): Likewise.
22861 (acosh_test): Likewise.
22862 (asin_test): Likewise.
22863 (asin_test_tonearest): Likewise.
22864 (asin_test_towardzero): Likewise.
22865 (asin_test_downward): Likewise.
22866 (asin_test_upward): Likewise.
22867 (asinh_test): Likewise.
22868 (atan_test): Likewise.
22869 (atanh_test): Likewise.
22870 (atan2_test): Likewise.
22871 (cabs_test): Likewise.
22872 (cacos_test): Likewise.
22873 (cacosh_test): Likewise.
22874 (casin_test): Likewise.
22875 (casinh_test): Likewise.
22876 (catan_test): Likewise.
22877 (catanh_test): Likewise.
22878 (cbrt_test): Likewise.
22879 (ccos_test): Likewise.
22880 (ccosh_test): Likewise.
22881 (cexp_test): Likewise.
22882 (clog_test): Likewise.
22883 (clog10_test): Likewise.
22884 (cos_test): Likewise.
22885 (cos_test_tonearest): Likewise.
22886 (cos_test_towardzero): Likewise.
22887 (cos_test_downward): Likewise.
22888 (cos_test_upward): Likewise.
22889 (cosh_test): Likewise.
22890 (cosh_test_tonearest): Likewise.
22891 (cosh_test_towardzero): Likewise.
22892 (cosh_test_downward): Likewise.
22893 (cosh_test_upward): Likewise.
22894 (cpow_test): Likewise.
22895 (csin_test): Likewise.
22896 (csinh_test): Likewise.
22897 (csqrt_test): Likewise.
22898 (ctan_test): Likewise.
22899 (ctan_test_tonearest): Likewise.
22900 (ctan_test_towardzero): Likewise.
22901 (ctan_test_downward): Likewise.
22902 (ctan_test_upward): Likewise.
22903 (ctanh_test): Likewise.
22904 (ctanh_test_tonearest): Likewise.
22905 (ctanh_test_towardzero): Likewise.
22906 (ctanh_test_downward): Likewise.
22907 (ctanh_test_upward): Likewise.
22908 (erf_test): Likewise.
22909 (erfc_test): Likewise.
22910 (exp_test): Likewise.
22911 (exp_test_tonearest): Likewise.
22912 (exp_test_towardzero): Likewise.
22913 (exp_test_downward): Likewise.
22914 (exp_test_upward): Likewise.
22915 (exp10_test): Likewise.
22916 (exp2_test): Likewise.
22917 (expm1_test): Likewise.
22918 (fmod_test): Likewise.
22919 (gamma_test): Likewise.
22920 (hypot_test): Likewise.
22921 (j0_test): Likewise.
22922 (j1_test): Likewise.
22923 (jn_test): Likewise.
22924 (lgamma_test): Likewise.
22925 (log_test): Likewise.
22926 (log10_test): Likewise.
22927 (log1p_test): Likewise.
22928 (log2_test): Likewise.
22929 (logb_test_downward): Likewise.
22930 (pow_test): Likewise.
22931 (pow_test_tonearest): Likewise.
22932 (pow_test_towardzero): Likewise.
22933 (pow_test_downward): Likewise.
22934 (pow_test_upward): Likewise.
22935 (remainder_test): Likewise.
22936 (remquo_test): Likewise.
22937 (sin_test): Likewise.
22938 (sin_test_tonearest): Likewise.
22939 (sin_test_towardzero): Likewise.
22940 (sin_test_downward): Likewise.
22941 (sin_test_upward): Likewise.
22942 (sincos_test): Likewise.
22943 (sinh_test): Likewise.
22944 (sinh_test_tonearest): Likewise.
22945 (sinh_test_towardzero): Likewise.
22946 (sinh_test_downward): Likewise.
22947 (sinh_test_upward): Likewise.
22948 (sqrt_test): Likewise.
22949 (tan_test): Likewise.
22950 (tan_test_tonearest): Likewise.
22951 (tan_test_towardzero): Likewise.
22952 (tan_test_downward): Likewise.
22953 (tan_test_upward): Likewise.
22954 (tanh_test): Likewise.
22955 (tgamma_test): Likewise.
22956 (y0_test): Likewise.
22957 (y1_test): Likewise.
22958 (yn_test): Likewise.
22960 * math/gen-libm-test.pl (adjust_arg): Remove function.
22961 (special_function): Remove argument $in_func. Only handle
22962 generating output for tables of tests, not inside functions.
22963 (parse_args): Likewise.
22964 (generate_testfile): Remove variable $in_func. Update call to
22966 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22967 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22968 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22969 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22970 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22971 (MAX_VALUE_INIT): Rename macro to max_value.
22972 (MIN_VALUE_INIT): Rename macro to min_value.
22973 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22974 (plus_zero): Remove variable.
22975 (minus_zero): Likewise.
22976 (plus_infty): Likewise.
22977 (minus_infty): Likewise.
22978 (qnan_value): Likewise.
22979 (max_value): Likewise.
22980 (min_value): Likewise.
22981 (min_subnorm_value): Likewise.
22983 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22985 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22986 uint64_t or uint32_t usage.
22987 * crypt/sha256-block.c: Likewise.
22988 * crypt/sha256-crypt.c: Likewise.
22989 * crypt/sha256.c: Likewise.
22990 * crypt/sha512-block.c: Likewise.
22991 * crypt/sha512-crypt.c: Likewise.
22992 * crypt/sha512.c: Likewise.
22993 * debug/backtrace-tst.c: Likewise.
22994 * debug/pcprofiledump.c: Likewise.
22995 * elf/cache.c: Likewise.
22996 * elf/dl-cache.c: Likewise.
22997 * elf/dl-misc.c: Likewise.
22998 * elf/dl-profile.c: Likewise.
22999 * elf/dl-support.c: Likewise.
23000 * elf/ldconfig.c: Likewise.
23001 * elf/sprof.c: Likewise.
23002 * iconv/dummy-repertoire.c: Likewise.
23003 * iconv/iconv_charmap.c: Likewise.
23004 * iconv/skeleton.c: Likewise.
23005 * iconvdata/8bit-generic.c: Likewise.
23006 * iconvdata/cp737.h: Likewise.
23007 * iconvdata/cp775.h: Likewise.
23008 * iconvdata/ibm1008.h: Likewise.
23009 * iconvdata/ibm1025.h: Likewise.
23010 * iconvdata/ibm1046.h: Likewise.
23011 * iconvdata/ibm1097.h: Likewise.
23012 * iconvdata/ibm1112.h: Likewise.
23013 * iconvdata/ibm1122.h: Likewise.
23014 * iconvdata/ibm1123.h: Likewise.
23015 * iconvdata/ibm1124.h: Likewise.
23016 * iconvdata/ibm1129.h: Likewise.
23017 * iconvdata/ibm1130.h: Likewise.
23018 * iconvdata/ibm1132.h: Likewise.
23019 * iconvdata/ibm1133.h: Likewise.
23020 * iconvdata/ibm1137.h: Likewise.
23021 * iconvdata/ibm1140.h: Likewise.
23022 * iconvdata/ibm1141.h: Likewise.
23023 * iconvdata/ibm1142.h: Likewise.
23024 * iconvdata/ibm1143.h: Likewise.
23025 * iconvdata/ibm1144.h: Likewise.
23026 * iconvdata/ibm1145.h: Likewise.
23027 * iconvdata/ibm1146.h: Likewise.
23028 * iconvdata/ibm1147.h: Likewise.
23029 * iconvdata/ibm1148.h: Likewise.
23030 * iconvdata/ibm1149.h: Likewise.
23031 * iconvdata/ibm1153.h: Likewise.
23032 * iconvdata/ibm1154.h: Likewise.
23033 * iconvdata/ibm1155.h: Likewise.
23034 * iconvdata/ibm1156.h: Likewise.
23035 * iconvdata/ibm1157.h: Likewise.
23036 * iconvdata/ibm1158.h: Likewise.
23037 * iconvdata/ibm1160.h: Likewise.
23038 * iconvdata/ibm1161.h: Likewise.
23039 * iconvdata/ibm1162.h: Likewise.
23040 * iconvdata/ibm1163.h: Likewise.
23041 * iconvdata/ibm1164.h: Likewise.
23042 * iconvdata/ibm1166.h: Likewise.
23043 * iconvdata/ibm1167.h: Likewise.
23044 * iconvdata/ibm12712.h: Likewise.
23045 * iconvdata/ibm1390.h: Likewise.
23046 * iconvdata/ibm1399.h: Likewise.
23047 * iconvdata/ibm16804.h: Likewise.
23048 * iconvdata/ibm4517.h: Likewise.
23049 * iconvdata/ibm4899.h: Likewise.
23050 * iconvdata/ibm4909.h: Likewise.
23051 * iconvdata/ibm4971.h: Likewise.
23052 * iconvdata/ibm5347.h: Likewise.
23053 * iconvdata/ibm803.h: Likewise.
23054 * iconvdata/ibm856.h: Likewise.
23055 * iconvdata/ibm901.h: Likewise.
23056 * iconvdata/ibm902.h: Likewise.
23057 * iconvdata/ibm9030.h: Likewise.
23058 * iconvdata/ibm9066.h: Likewise.
23059 * iconvdata/ibm921.h: Likewise.
23060 * iconvdata/ibm922.h: Likewise.
23061 * iconvdata/ibm9448.h: Likewise.
23062 * iconvdata/isiri-3342.h: Likewise.
23063 * iconvdata/jis0201.h: Likewise.
23064 * include/link.h: Likewise.
23065 * include/netdb.h: Likewise.
23066 * inet/check_native.c: Likewise.
23067 * inet/check_pf.c: Likewise.
23068 * inet/getipv4sourcefilter.c: Likewise.
23069 * inet/getnameinfo.c: Likewise.
23070 * inet/getsourcefilter.c: Likewise.
23071 * inet/htonl.c: Likewise.
23072 * inet/setipv4sourcefilter.c: Likewise.
23073 * inet/setsourcefilter.c: Likewise.
23074 * inet/test-inet6_opt.c: Likewise.
23075 * inet/tst-network.c: Likewise.
23076 * locale/C-collate.c: Likewise.
23077 * locale/C-ctype.c: Likewise.
23078 * locale/C-time.c: Likewise.
23079 * locale/C-translit.h: Likewise.
23080 * locale/loadarchive.c: Likewise.
23081 * locale/programs/3level.h: Likewise.
23082 * locale/programs/charmap.c: Likewise.
23083 * locale/programs/charmap.h: Likewise.
23084 * locale/programs/ld-address.c: Likewise.
23085 * locale/programs/ld-collate.c: Likewise.
23086 * locale/programs/ld-ctype.c: Likewise.
23087 * locale/programs/ld-identification.c: Likewise.
23088 * locale/programs/ld-measurement.c: Likewise.
23089 * locale/programs/ld-messages.c: Likewise.
23090 * locale/programs/ld-monetary.c: Likewise.
23091 * locale/programs/ld-name.c: Likewise.
23092 * locale/programs/ld-numeric.c: Likewise.
23093 * locale/programs/ld-paper.c: Likewise.
23094 * locale/programs/ld-telephone.c: Likewise.
23095 * locale/programs/ld-time.c: Likewise.
23096 * locale/programs/linereader.c: Likewise.
23097 * locale/programs/locale.c: Likewise.
23098 * locale/programs/locarchive.c: Likewise.
23099 * locale/programs/locfile.h: Likewise.
23100 * locale/programs/repertoire.c: Likewise.
23101 * locale/programs/simple-hash.c: Likewise.
23102 * locale/programs/simple-hash.h: Likewise.
23103 * malloc/memusage.c: Likewise.
23104 * malloc/memusagestat.c: Likewise.
23105 * nis/nis_defaults.c: Likewise.
23106 * nis/nis_hash.c: Likewise.
23107 * nis/nis_print.c: Likewise.
23108 * nis/nis_xdr.c: Likewise.
23109 * nscd/connections.c: Likewise.
23110 * nscd/hstcache.c: Likewise.
23111 * nscd/nscd_gethst_r.c: Likewise.
23112 * nscd/nscd_getserv_r.c: Likewise.
23113 * nscd/nscd_helper.c: Likewise.
23114 * nscd/servicescache.c: Likewise.
23115 * nss/makedb.c: Likewise.
23116 * nss/nss_db/db-XXX.c: Likewise.
23117 * nss/nss_db/db-initgroups.c: Likewise.
23118 * nss/nss_db/db-netgrp.c: Likewise.
23119 * nss/nss_files/files-network.c: Likewise.
23120 * nss/nss_files/files-parse.c: Likewise.
23121 * posix/bug-regex5.c: Likewise.
23122 * posix/fnmatch_loop.c: Likewise.
23123 * posix/regcomp.c: Likewise.
23124 * posix/regexec.c: Likewise.
23125 * posix/tst-rfc3484-2.c: Likewise.
23126 * posix/tst-rfc3484-3.c: Likewise.
23127 * posix/tst-rfc3484.c: Likewise.
23128 * resolv/nss_dns/dns-canon.c: Likewise.
23129 * resolv/nss_dns/dns-network.c: Likewise.
23130 * resolv/res_init.c: Likewise.
23131 * resolv/res_mkquery.c: Likewise.
23132 * resolv/tst-aton.c: Likewise.
23133 * stdlib/cxa_atexit.c: Likewise.
23134 * stdlib/cxa_finalize.c: Likewise.
23135 * stdlib/gen-fpioconst.c: Likewise.
23136 * stdlib/strtol_l.c: Likewise.
23137 * string/tst-endian.c: Likewise.
23138 * sunrpc/auth_des.c: Likewise.
23139 * sunrpc/clnt_udp.c: Likewise.
23140 * sunrpc/rtime.c: Likewise.
23141 * sunrpc/svcauth_des.c: Likewise.
23142 * sunrpc/xdr.c: Likewise.
23143 * sunrpc/xdr_intXX_t.c: Likewise.
23144 * sunrpc/xdr_rec.c: Likewise.
23145 * sysdeps/generic/ldconfig.h: Likewise.
23146 * sysdeps/generic/ldsodefs.h: Likewise.
23147 * sysdeps/generic/memusage.h: Likewise.
23148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23158 * sysdeps/posix/getaddrinfo.c: Likewise.
23159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23163 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23164 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23165 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23166 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23167 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23169 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23170 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23171 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23172 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23174 * sysdeps/x86_64/dl-tls.h: Likewise.
23175 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23176 * time/alt_digit.c: Likewise.
23177 * time/era.c: Likewise.
23178 * wcsmbs/tst-c16c32-1.c: Likewise.
23180 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23182 * math/libm-test.inc (struct test_sincos_data): New type.
23183 (RUN_TEST_LOOP_sincos): New macro.
23184 (sincos_test_data): New variable.
23185 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23187 2013-05-16 Richard Henderson <rth@redhat.com>
23189 * math/atest-exp2.c (LIMB64): New macro.
23190 (CONSTSZ): New macro.
23191 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23193 (print_mpn_fp): ... to function scope.
23194 (read_mpn_hex): Remove.
23195 (get_log2): Remove.
23196 (exp2_mpn): Use mp_log2.
23197 (main): Use mp_exp1.
23199 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23201 * math/libm-test.inc: Remove comment about not testing "inexact"
23203 (INEXACT_EXCEPTION): New macro.
23204 (NO_INEXACT_EXCEPTION): Likewise.
23205 (INVALID_EXCEPTION_OK): Update value.
23206 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23207 (OVERFLOW_EXCEPTION_OK): Likewise.
23208 (UNDERFLOW_EXCEPTION_OK): Likewise.
23209 (IGNORE_ZERO_INF_SIGN): Likewise.
23210 (ERRNO_UNCHANGED): Likewise.
23211 (ERRNO_EDOM): Likewise.
23212 (ERRNO_ERANGE): Likewise.
23213 (test_exceptions): Handle testing "inexact" exceptions.
23214 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23215 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23216 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23217 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23219 (rint_towardzero_test_data): Likewise.
23220 (rint_downward_test_data): Likewise.
23221 (rint_upward_test_data): Likewise.
23223 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23224 with OVERFLOW_EXCEPTION.
23225 (exp10_test_data): Likewise.
23226 (exp2_test_data): Likewise.
23227 (expm1_test_data): Likewise.
23228 (lgamma_test_data): Likewise.
23229 (pow_test_data): Likewise.
23230 (tgamma_test_data): Likewise.
23231 (yn_test_data): Remove duplicate test of overflow.
23233 * math/libm-test.inc (struct test_cc_c_data): New type.
23234 (RUN_TEST_LOOP_cc_c): New macro.
23235 (cpow_test_data): New variable.
23236 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23238 * math/libm-test.inc (struct test_f_L_data): New type.
23239 (RUN_TEST_LOOP_f_L): New macro.
23240 (llrint_test_data): New variable.
23241 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23242 (llrint_tonearest_test_data): New variable.
23243 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23244 (llrint_towardzero_test_data): New variable.
23245 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23246 (llrint_downward_test_data): New variable.
23247 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23248 (llrint_upward_test_data): New variable.
23249 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23250 (llround_test_data): New variable.
23251 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23253 2013-05-13 Peter Collingbourne <pcc@google.com>
23255 * math/atest-exp2.c (get_log2): Remove const attribute.
23257 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23259 * math/libm-test.inc (struct test_f_l_data): New type.
23260 (RUN_TEST_LOOP_f_l): New macro.
23261 (lrint_test_data): New variable.
23262 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23263 (lrint_tonearest_test_data): New variable.
23264 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23265 (lrint_towardzero_test_data): New variable.
23266 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23267 (lrint_downward_test_data): New variable.
23268 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23269 (lrint_upward_test_data): New variable.
23270 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23271 (lround_test_data): New variable.
23272 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23274 2013-05-15 Peter Collingbourne <pcc@google.com>
23276 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23277 (EXTRACT_WORDS64) Use where appropriate.
23278 (INSERT_WORDS64) Likewise.
23280 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23281 constraints with x constraints.
23282 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23284 * malloc/obstack.c (_obstack_compat): Add initializer.
23286 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23289 si_trapno and add si_addr_lsb to _sifields.sigfault.
23290 (si_trapno): Remove macro.
23291 (si_addr_lsb): Define new macro.
23292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23294 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23296 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23297 instead of TEST_f_l.
23298 (llrint_test_tonearest): Likewise.
23299 (llrint_test_towardzero): Likewise.
23300 (llrint_test_downward): Likewise.
23301 (llrint_test_upward): Likewise.
23302 (llround_test): Likewise.
23304 * math/libm-test.inc (struct test_f_i_data): Add comment.
23305 (RUN_TEST_LOOP_f_b): New macro.
23306 (RUN_TEST_LOOP_f_b_tg): Likewise.
23307 (finite_test_data): New variable.
23308 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23309 (isfinite_test_data): New variable.
23310 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23311 (isinf_test_data): New variable.
23312 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23313 (isnan_test_data): New variable.
23314 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23315 (isnormal_test_data): New variable.
23316 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23317 (issignaling_test_data): New variable.
23318 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23319 (signbit_test_data): New variable.
23320 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23322 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23323 with INVALID_EXCEPTION.
23324 (acosh_test_data): Likewise.
23325 (asin_test_data): Likewise.
23326 (atanh_test_data): Likewise.
23327 (fmod_test_data): Likewise.
23328 (log_test_data): Likewise.
23329 (log10_test_data): Likewise.
23330 (log2_test_data): Likewise.
23331 (pow_test_data): Likewise.
23332 (sqrt_test_data): Likewise.
23333 (y0_test_data): Likewise.
23334 (y1_test_data): Likewise.
23335 (yn_test_data): Likewise.
23337 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23340 * math/libm-test.inc (struct test_ff_i_data): New type.
23341 (RUN_TEST_LOOP_ff_i_tg): New macro.
23342 (isgreater_test_data): New variable.
23343 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23344 (isgreaterequal_test_data): New variable.
23345 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23346 (isless_test_data): New variable.
23347 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23348 (islessequal_test_data): New variable.
23349 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23350 (islessgreater_test_data): New variable.
23351 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23352 (isunordered_test_data): New variable.
23353 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23355 2013-05-14 David S. Miller <davem@davemloft.net>
23357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23359 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23361 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23363 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23365 (struct test_f_i_data): Change type of max_ulp to int.
23367 * math/libm-test.inc (test_ffI_f1_data): New type.
23368 (RUN_TEST_LOOP_ffI_f1): New macro.
23369 (remquo_test_data): New variable.
23370 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23372 * setjmp/tst-setjmp-fp.c: New file.
23373 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23374 (link-libm): New variable.
23375 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23377 * math/libm-test.inc (struct test_f_i_data): New type.
23378 (RUN_TEST_LOOP_f_i): New macro.
23379 (RUN_TEST_LOOP_f_i_tg): Likewise.
23380 (fpclassify_test_data): New variable.
23381 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23382 (ilogb_test_data): New variable.
23383 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23385 * math/libm-test.inc (scalbln_test): Correct function name in END
23388 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23389 (RUN_TEST_LOOP_fI_f1): New macro.
23390 (frexp_test_data): New variable.
23391 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23393 * math/libm-test.inc (struct test_fF_f1_data): New type.
23394 (RUN_TEST_LOOP_fF_f1): New macro.
23395 (modf_test_data): New variable.
23396 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23398 * math/libm-test.inc (struct test_f_f1_data): New type.
23399 (RUN_TEST_LOOP_f_f1): New macro.
23400 (gamma_test_data): New variable.
23401 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23402 (lgamma_test_data): New variable.
23403 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23405 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23408 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23409 (main): Comment "tls" pseudo-hwcap.
23411 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23413 * math/libm-test.inc (struct test_fl_f_data): New type.
23414 (RUN_TEST_LOOP_fl_f): New variable.
23415 (scalbln_test_data): New variable.
23416 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23418 * math/libm-test.inc (struct test_fi_f_data): New type.
23419 (RUN_TEST_LOOP_fi_f): New macro.
23420 (ldexp_test_data): New variable.
23421 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23422 (scalbn_test_data): New variable.
23423 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23425 * math/libm-test.inc (struct test_c_f_data): New type.
23426 (RUN_TEST_LOOP_c_f): New macro.
23427 (cabs_test_data): New variable.
23428 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23429 (carg_test_data): New variable.
23430 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23431 (cimag_test_data): New variable.
23432 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23433 (creal_test_data): New variable.
23434 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23436 * math/libm-test.inc (struct test_if_f_data): New type.
23437 (RUN_TEST_LOOP_if_f): New macro.
23438 (jn_test_data): New variable.
23439 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23440 (yn_test_data): New variable.
23441 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23443 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23445 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23447 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23448 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23450 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23452 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23453 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23454 (bench-deps): Add bench-timing.h.
23455 * benchtests-bench-skeleton.c: Include bench-timing.h.
23456 (main): Use TIMING_* macros instead of clock_gettime.
23457 * benchtests/bench-timing.h: New file.
23460 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23461 Renamed from _LIB_VERSION.
23462 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23464 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23466 * math/libm-test.inc (struct test_fff_f_data): New type.
23467 (RUN_TEST_LOOP_fff_f): New macro.
23468 (fma_test_data): New variable.
23469 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23470 (fma_towardzero_test_data): New variable.
23471 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23472 (fma_downward_test_data): New variable.
23473 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23474 (fma_upward_test_data): New variable.
23475 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23477 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23478 (struct test_c_c_data): New type.
23479 (RUN_TEST_LOOP_c_c): New macro.
23480 (cacos_test_data): New variable.
23481 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23482 (cacosh_test_data): New variable.
23483 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23484 (casin_test_data): New variable.
23485 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23486 (casinh_test_data): New variable.
23487 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23488 (catan_test_data): New variable.
23489 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23490 (catanh_test_data): New variable.
23491 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23492 (ccos_test_data): New variable.
23493 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23494 (ccosh_test_data): New variable.
23495 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23496 (cexp_test_data): New variable.
23497 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23498 (clog_test_data): New variable.
23499 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23500 (clog10_test_data): New variable.
23501 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23502 (conj_test_data): New variable.
23503 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23504 (cproj_test_data): New variable.
23505 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23506 (csin_test_data): New variable.
23507 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23508 (csinh_test_data): New variable.
23509 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23510 (csqrt_test_data): New variable.
23511 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23512 (ctan_test_data): New variable.
23513 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23514 (ctan_tonearest_test_data): New variable.
23515 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23516 (ctan_towardzero_test_data): New variable.
23517 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23518 (ctan_downward_test_data): New variable.
23519 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23520 (ctan_upward_test_data): New variable.
23521 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23522 (ctanh_test_data): New variable.
23523 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23524 (ctanh_tonearest_test_data): New variable.
23525 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23526 (ctanh_towardzero_test_data): New variable.
23527 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23528 (ctanh_downward_test_data): New variable.
23529 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23530 (ctanh_upward_test_data): New variable.
23531 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23532 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23535 * math/libm-test.inc (struct test_ff_f_data): New type.
23536 (struct test_ff_f_data_nexttoward): Likewise.
23537 (RUN_TEST_LOOP_2_f): New macro.
23538 (RUN_TEST_LOOP_ff_f): Likewise.
23539 (atan2_test_data): New variable.
23540 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23541 (copysign_test_data): New variable.
23542 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23543 (fdim_test_data): New variable.
23544 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23545 (fmax_test_data): New variable.
23546 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23547 (fmin_test_data): New variable.
23548 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23549 (fmod_test_data): New variable.
23550 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23551 (hypot_test_data): New variable.
23552 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23553 (nextafter_test_data): New variable.
23554 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23555 (nexttoward_test_data): New variable.
23556 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23557 (pow_test_data): New variable.
23558 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23559 (pow_tonearest_test_data): New variable.
23560 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23561 (pow_towardzero_test_data): New variable.
23562 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23563 (pow_downward_test_data): New variable.
23564 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23565 (pow_upward_test_data): New variable.
23566 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23567 (remainder_test_data): New variable.
23568 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23569 (scalb_test_data): New variable.
23570 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23571 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23575 * math/libm-test.inc (fma_test): Use max_value instead of local
23577 (nextafter_test): Likewise.
23579 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23580 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23581 (acos_downward_test_data): New variable.
23582 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23583 (acos_upward_test_data): New variable.
23584 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23585 (acosh_test_data): New variable.
23586 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23587 (asin_test_data): New variable.
23588 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23589 (asin_tonearest_test_data): New variable.
23590 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23591 (asin_towardzero_test_data): New variable.
23592 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23593 (asin_downward_test_data): New variable.
23594 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23595 (asin_upward_test_data): New variable.
23596 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23597 (asinh_test_data): New variable.
23598 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23599 (atan_test_data): New variable.
23600 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23601 (atanh_test_data): New variable.
23602 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23603 (cbrt_test_data): New variable.
23604 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23605 (ceil_test_data): New variable.
23606 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23607 (cos_test_data): New variable.
23608 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23609 (cos_tonearest_test_data): New variable.
23610 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23611 (cos_towardzero_test_data): New variable.
23612 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23613 (cos_downward_test_data): New variable.
23614 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23615 (cos_upward_test_data): New variable.
23616 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23617 (cosh_test_data): New variable.
23618 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23619 (cosh_tonearest_test_data): New variable.
23620 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23621 (cosh_towardzero_test_data): New variable.
23622 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23623 (cosh_downward_test_data): New variable.
23624 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23625 (cosh_upward_test_data): New variable.
23626 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23627 (erf_test_data): New variable.
23628 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23629 (erfc_test_data): New variable.
23630 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23631 (exp_test_data): New variable.
23632 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23633 (exp_tonearest_test_data): New variable.
23634 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23635 (exp_towardzero_test_data): New variable.
23636 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23637 (exp_downward_test_data): New variable.
23638 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23639 (exp_upward_test_data): New variable.
23640 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23641 (exp10_test_data): New variable.
23642 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23643 (exp2_test_data): New variable.
23644 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23645 (expm1_test_data): New variable.
23646 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23647 (fabs_test_data): New variable.
23648 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23649 (floor_test_data): New variable.
23650 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23651 (j0_test_data): New variable.
23652 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23653 (j1_test_data): New variable.
23654 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23655 (log_test_data): New variable.
23656 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23657 (log10_test_data): New variable.
23658 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23659 (log1p_test_data): New variable.
23660 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23661 (log2_test_data): New variable.
23662 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23663 (logb_test_data): New variable.
23664 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23665 (logb_downward_test_data): New variable.
23666 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23667 (nearbyint_test_data): New variable.
23668 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23669 (rint_test_data): New variable.
23670 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23671 (rint_tonearest_test_data): New variable.
23672 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23673 (rint_towardzero_test_data): New variable.
23674 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23675 (rint_downward_test_data): New variable.
23676 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23677 (rint_upward_test_data): New variable.
23678 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23679 (round_test_data): New variable.
23680 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23681 (sin_test_data): New variable.
23682 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23683 (sin_tonearest_test_data): New variable.
23684 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23685 (sin_towardzero_test_data): New variable.
23686 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23687 (sin_downward_test_data): New variable.
23688 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23689 (sin_upward_test_data): New variable.
23690 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23691 (sinh_test_data): New variable.
23692 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23693 (sinh_tonearest_test_data): New variable.
23694 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23695 (sinh_towardzero_test_data): New variable.
23696 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23697 (sinh_downward_test_data): New variable.
23698 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23699 (sinh_upward_test_data): New variable.
23700 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23701 (sqrt_test_data): New variable.
23702 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23703 (tan_test_data): New variable.
23704 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23705 (tan_tonearest_test_data): New variable.
23706 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23707 (tan_towardzero_test_data): New variable.
23708 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23709 (tan_downward_test_data): New variable.
23710 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23711 (tan_upward_test_data): New variable.
23712 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23713 (tanh_test_data): New variable.
23714 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23715 (tgamma_test_data): New variable.
23716 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23717 (trunc_test_data): New variable.
23718 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23719 (y0_test_data): New variable.
23720 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23721 (y1_test_data): New variable.
23722 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23723 (significand_test_data): New variable.
23724 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23726 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23729 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23731 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23733 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23735 2013-05-10 Andreas Jaeger <aj@suse.de>
23738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23739 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23741 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23743 * math/gen-libm-test.pl (adjust_arg): New function.
23744 (special_functions): Handle generating output in both functions
23746 (parse_args): Likewise.
23747 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23748 $in_func argument to parse_args.
23749 * math/libm-test.inc (struct test_f_f_data): New type.
23750 (IF_ROUND_INIT_): New macro.
23751 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23755 (ROUND_RESTORE_): Likewise.
23756 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23757 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23758 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23759 (ROUND_RESTORE_FE_UPWARD): Likewise.
23760 (RUN_TEST_LOOP_f_f): New macro.
23761 (acos_test_data): New variable.
23762 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23763 (acos_tonearest_test_data): New variable.
23764 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23766 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23768 * benchtests/bench-skeleton.c (startup): Fix coding style.
23770 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23773 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23774 negative infinity argument.
23775 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23776 negative infinity argument.
23777 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23778 negative infinity argument.
23779 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23782 2013-05-10 Florian Weimer <fweimer@redhat.com>
23784 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23785 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23786 * iconv/iconv_prog.c (main): Likewise.
23787 * locale/programs/charmap-dir.c (charmap_readdir)
23788 (fopen_uncompressed): Likewise.
23789 * locale/programs/locfile.c (siblings_uncached)
23790 (write_locale_data): Use lstat64 instead of lstat.
23791 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23794 2013-05-10 Andreas Jaeger <aj@suse.de>
23797 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23799 Include <locale.h>.
23801 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23803 * elf/dl-close.c (_dl_close_worker): Add comments.
23805 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23810 (__ieee754_rem_pio2l): Update comments.
23813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23815 (__ieee754_rem_pio2l): Update comments.
23817 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23818 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23820 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23823 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23824 (M_PI_34_LOG10El): Likewise.
23825 (M_PI2_LOG10El): Likewise.
23826 (M_PI4_LOG10El): Likewise.
23827 (M_PI_LOG10El): Likewise.
23829 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23833 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23835 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23836 (MINUS_ZERO_INIT): Likewise.
23837 (PLUS_INFTY_INIT): Likewise.
23838 (MINUS_INFTY_INIT): Likewise.
23839 (QNAN_VALUE_INIT): Likewise.
23840 (MAX_VALUE_INIT): Likewise.
23841 (MIN_VALUE_INIT): Likewise.
23842 (MIN_SUBNORM_VALUE_INIT): Likewise.
23843 (plus_zero): Initialize with PLUS_ZERO_INIT.
23844 (minus_zero): Initialize with MINUS_ZERO_INIT.
23845 (plus_infty): Initialize with PLUS_INFTY_INIT.
23846 (minus_infty): Initialize with MINUS_INFTY_INIT.
23847 (qnan_value): Initialize with QNAN_VALUE_INIT.
23848 (max_value): Initialize with MAX_VALUE_INIT.
23849 (min_value): Initialize with MIN_VALUE_INIT.
23850 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23852 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23853 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23854 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23855 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23857 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23858 (RUN_TEST_2_f): Likewise.
23859 (RUN_TEST_ff_f): Likewise.
23860 (RUN_TEST_fi_f): Likewise.
23861 (RUN_TEST_fl_f): Likewise.
23862 (RUN_TEST_fff_f): Likewise.
23863 (RUN_TEST_c_f): Likewise.
23864 (RUN_TEST_f_f1): Likewise.
23865 (RUN_TEST_fF_f1): Likewise.
23866 (RUN_TEST_fI_f1): Likewise.
23867 (RUN_TEST_ffI_f1): Likewise.
23868 (RUN_TEST_c_c): Likewise.
23869 (RUN_TEST_cc_c): Likewise.
23870 (RUN_TEST_f_i): Likewise.
23871 (RUN_TEST_f_i_tg): Likewise.
23872 (RUN_TEST_ff_i_tg): Likewise.
23873 (RUN_TEST_f_b): Likewise.
23874 (RUN_TEST_f_b_tg): Likewise.
23875 (RUN_TEST_f_l): Likewise.
23876 (RUN_TEST_f_L): Likewise.
23877 (RUN_TEST_sincos): Likewise.
23878 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23879 whether to show exceptions. Do not include ");\n" in return
23881 (special_functions): Output call to RUN_TEST_sincos instead of
23882 check_float calls. Update calls to new_test.
23883 (parse_args): Output call to single RUN_TEST_* macro instead of
23884 check_* calls and other assignments. Update calls to new_test.
23890 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23891 input to result for tgamma overflow.
23892 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23893 (gamma_coeff): New variable.
23894 (NCOEFF): New macro.
23895 (gamma_positive): New function.
23896 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23897 underflow here. Use gamma_positive instead of exp (lgamma) for
23899 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23900 (gamma_coeff): New variable.
23901 (NCOEFF): New macro.
23902 (gammaf_positive): New function.
23903 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23904 underflow here. Use gamma_positive instead of exp (lgamma) for
23906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23907 (gamma_coeff): New variable.
23908 (NCOEFF): New macro.
23909 (gammal_positive): New function.
23910 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23911 underflow here. Use gamma_positive instead of exp (lgamma) for
23913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23914 (gamma_coeff): New variable.
23915 (NCOEFF): New macro.
23916 (gammal_positive): New function.
23917 (__ieee754_gammal_r): Handle positive infinity, overflow and
23918 underflow here. Handle NaN the same as positive infinity. Remove
23919 check x < 0xffffffff for negative integers. Use gamma_positive
23920 instead of exp (lgamma) for other arguments.
23921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23922 (gamma_coeff): New variable.
23923 (NCOEFF): New macro.
23924 (gammal_positive): New function.
23925 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23926 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23931 * sysdeps/generic/math_private.h (__gamma_productf): New
23933 (__gamma_product): Likewise.
23934 (__gamma_productl): Likewise.
23935 * math/Makefile (libm-calls): Add gamma_product.
23936 * math/libm-test.inc (tgamma_test): Add more tests.
23937 * sysdeps/i386/fpu/libm-test-ulps: Update.
23938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23940 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23942 * benchtests/bench-skeleton.c (main): Preheat CPU.
23944 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23946 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23948 2013-05-07 Roland McGrath <roland@hack.frob.com>
23950 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23951 and _dl_skip_args_internal.
23953 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23955 * manual/message.texi (Message Translation): Talk about users.
23956 Message to key mapping impacts design.
23958 2013-05-06 Roland McGrath <roland@hack.frob.com>
23960 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23962 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23964 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23965 * sysdeps/wordsize-64/glob64.c: ... here.
23967 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23968 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23971 * debug/getlogin_r_chk.c: Moved to ...
23972 * login/getlogin_r_chk.c: ... here.
23973 * debug/Makefile (routines): Move getlogin_r_chk to ...
23974 * login/Makefile (routines): ... here.
23975 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23976 * login/Versions (libc: GLIBC_2.4): ... here.
23978 * io/poll.c (__poll): Renamed from poll.
23979 Add libc_hidden_def.
23980 (poll): Define as weak alias.
23982 * debug/ptsname_r_chk.c: Moved to ...
23983 * login/ptsname_r_chk.c: ... here.
23984 * debug/Makefile (routines): Move ptsname_r_chk to ...
23985 * login/Makefile (routines): ... here.
23986 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23987 * login/Versions (libc: GLIBC_2.4): ... here.
23989 * posix/getlogin.c: Moved to ...
23990 * login/getlogin.c: ... here.
23991 * posix/getlogin_r.c: Moved to ...
23992 * login/getlogin_r.c: ... here.
23993 * posix/getlogin_r.c: Moved to ...
23994 * login/getlogin_r.c: ... here.
23995 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23996 * login/Makefile (routines): ... here.
23997 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23998 * login/Versions (libc: GLIBC_2.0): ... here.
24000 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24001 (setrlimit): Define as weak alias.
24003 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24004 Call __ names for open, ftruncate, and close.
24005 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24006 (truncate): Define as weak alias.
24008 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24010 * math/gen-libm-test.pl (parse_args): Initialize x before each
24011 test of frexp, modf and remquo.
24013 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24014 test signgam value.
24016 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24020 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24024 2013-05-06 Roland McGrath <roland@hack.frob.com>
24026 * elf/dl-writev.h: New file.
24027 * elf/dl-misc.c: Include it.
24028 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24029 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24031 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24033 * math/libm-test.inc (noXFails): Remove variable.
24034 (noXPasses): Likewise.
24035 (BUILD_COMPLEX_INT): Remove macro.
24036 (print_screen): Remove xfail argument.
24037 (print_screen_max_error): Likewise.
24038 (update_stats): Likewise.
24039 (print_max_error): Likewise. Update calls to other affected
24041 (print_complex_max_error): Likewise.
24042 (test_single_exception): Update calls to print_screen.
24043 (test_single_errno): Likewise.
24044 (check_float_internal): Remove xfail argument. Update calls to
24045 other affected functions.
24046 (check_float): Likewise.
24047 (check_complex): Likewise.
24048 (check_int): Likewise.
24049 (check_long): Likewise.
24050 (check_bool): Likewise.
24051 (check_longlong): Likewise.
24052 (main): Don't print noXFails and noXPasses.
24053 * math/gen-libm-test.pl (top level): Don't mention expected
24054 failure handling in comment.
24055 (new_test): Don't handle expected failures.
24056 (parse_args): Don't mention expected failure handling in comment.
24057 (generate_testfile): Don't handle expected failures.
24058 (parse_ulps): Likewise.
24059 (print_ulps_file): Likewise.
24060 (get_failure): Remove function.
24061 (output_test): Don't handle expected failures.
24062 * make/README.libm-test: Don't mention expected failure handling.
24064 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24065 (minus_zero): Likewise.
24066 (plus_infty): Likewise.
24067 (minus_infty): Likewise.
24068 (qnan_value): Likewise.
24069 (max_value): Likewise.
24070 (min_value): Likewise.
24071 (min_subnorm_value): Likewise.
24072 (initialize): Do not initialize those variables dynamically.
24074 2013-05-03 Roland McGrath <roland@hack.frob.com>
24076 * io/open.c (__open_2): Moved to ...
24077 * io/open_2.c: ... this new file.
24078 * io/open64.c (__open64_2): Moved to ...
24079 * io/open64_2.c: ... this new file.
24080 * io/openat.c (__openat_2): Moved to ...
24081 * io/openat_2.c: ... this new file.
24082 * io/openat64.c (__openat64_2): Moved to ...
24083 * io/openat64_2.c: ... this new file.
24084 * io/Makefile (routines): Add them.
24085 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24086 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24087 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24088 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24089 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24090 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24091 (__openat64): Add hidden_ver.
24092 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24093 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24095 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24096 Separately conditionalize setting of GLRO(dl_sysinfo) so
24097 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24098 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24100 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24103 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24105 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24107 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24108 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24109 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24111 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24113 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24114 test signgam value.
24116 * math/libm-test.inc (hypot_test): Do not use
24117 IGNORE_ZERO_INF_SIGN.
24119 2013-05-03 Andreas Jaeger <aj@suse.de>
24121 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24124 (PF_MAX): Adjust for VSOCK change.
24126 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24130 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24133 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24134 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24135 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24137 2013-05-02 David S. Miller <davem@davemloft.net>
24139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24141 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24143 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24145 2013-05-01 Roland McGrath <roland@hack.frob.com>
24147 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24149 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24152 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24153 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24154 Use __attribute__ ((__gnu_inline__)).
24155 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24156 Don't use __attribute__ ((__gnu_inline__)).
24158 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24161 * math/s_catan.c (__catan): Handle small real or imaginary part of
24162 input specially to avoid spurious underflow.
24163 * math/s_catanf.c (__catanf): Likewise.
24164 * math/s_catanh.c (__catanh): Likewise.
24165 * math/s_catanhf.c (__catanhf): Likewise.
24166 * math/s_catanhl.c (__catanhl): Likewise.
24167 * math/s_catanl.c (__catanl): Likewise.
24168 * math/libm-test.inc (catan_test): Add more tests.
24169 (catanh_test): Likewise.
24170 * sysdeps/i386/fpu/libm-test-ulps: Update.
24171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24173 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24177 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24180 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24181 accurately for denominator in atan2.
24182 * math/s_catanf.c (__catanf): Likewise.
24183 * math/s_catanh.c (__catanh): Likewise.
24184 * math/s_catanhf.c (__catanhf): Likewise.
24185 * math/s_catanhl.c (__catanhl): Likewise.
24186 * math/s_catanl.c (__catanl): Likewise.
24187 * math/libm-test.inc (catan_test): Add more tests.
24188 (catanh_test): Likewise.
24189 * sysdeps/i386/fpu/libm-test-ulps: Update.
24190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24192 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24194 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24196 * benchtests/Makefile (bench): Remove slow benchmarks.
24197 * benchtests/atan-inputs: Add slow benchmark inputs.
24198 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24199 (BENCH_FUNC): Accept variant offset.
24201 * benchtests/bench-skeleton.c (main): Run benchmark for each
24203 * benchtests/cos-inputs: Add slow benchmark inputs.
24204 * benchtests/exp-inputs: Likewise.
24205 * benchtests/pow-inputs: Likewise.
24206 * benchtests/sin-inputs: Likewise.
24207 * benchtests/slowatan-inputs: Remove.
24208 * benchtests/slowatan.c: Remove.
24209 * benchtests/slowcos-inputs: Remove.
24210 * benchtests/slowcos.c: Remove.
24211 * benchtests/slowexp-inputs: Remove.
24212 * benchtests/slowexp.c: Remove.
24213 * benchtests/slowpow-inputs: Remove.
24214 * benchtests/slowpow.c: Remove.
24215 * benchtests/slowsin-inputs: Remove.
24216 * benchtests/slowsin.c: Remove.
24217 * benchtests/slowtan-inputs: Remove.
24218 * benchtests/slowtan.c: Remove.
24219 * benchtests/tan-inputs: Add slow benchmark inputs.
24220 * scripts/bench.pl: Parse comments and directives.
24222 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24224 ($(objpfx)bench-%.c): Remove *-ITER.
24225 * benchtests/bench-modf.c: Remove definition of ITER.
24226 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24227 (main): Loop for DURATION seconds instead of fixed number of
24229 * scripts/bench.pl: Don't expect iterations in parameters.
24231 2013-04-29 Roland McGrath <roland@hack.frob.com>
24233 * io/fchdir.c (__fchdir): Renamed from fchdir.
24234 (fchdir): Define as weak alias.
24236 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24238 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24239 (ERRNO_EDOM): Likewise.
24240 (ERRNO_ERANGE): Likewise.
24241 (noErrnoTests): New variable.
24242 (init_max_error): Set errno to 0.
24243 (test_single_errno): New function.
24244 (test_errno): Likewise.
24245 (check_float_internal): Call test_errno. Set errno to 0.
24246 (check_complex): Refer to errno tests in comment.
24247 (check_int): Call test_errno. Set errno to 0.
24248 (check_long): Likewise.
24249 (check_bool): Likewise.
24250 (check_longlong): Likewise.
24251 (cos_test): Use ERRNO_* flags for errno tests instead of
24253 (expm1_test): Likewise.
24254 (fmod_test): Likewise.
24255 (ilogb_test): Likewise.
24256 (lgamma_test): Likewise.
24257 (pow_test): Likewise.
24258 (remainder_test): Likewise.
24259 (sin_test): Likewise.
24260 (tan_test): Likewise.
24261 (yn_test): Likewise.
24262 (initialize): Set errno to 0.
24263 (main): Print number of errno tests.
24264 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24266 2013-04-29 Andreas Jaeger <aj@suse.de>
24269 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24273 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24274 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24278 * stdlib/random.c (__initstate): Return NULL if
24282 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24283 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24286 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24290 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24292 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24293 of individual tests.
24294 (casin_test): Likewise.
24295 (casinh_test): Likewise.
24297 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24300 * math/s_catan.c (__catan): Handle arguments with large real or
24301 imaginary part separately without squaring.
24302 * math/s_catanf.c (__catanf): Likewise.
24303 * math/s_catanh.c (__catanh): Likewise.
24304 * math/s_catanhf.c (__catanhf): Likewise.
24305 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24307 (__catanhl): Handle arguments with large real or imaginary part
24308 separately without squaring.
24309 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24311 (__catanl): Handle arguments with large real or imaginary part
24312 separately without squaring.
24313 * math/libm-test.inc (catan_test): Add more tests.
24314 (catanh_test): Likewise.
24315 * sysdeps/i386/fpu/libm-test-ulps: Update.
24316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24318 2013-04-27 Andreas Jaeger <aj@suse.de>
24321 * stdlib/stdlib.h: Update guards for qecvt.
24322 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24325 2013-04-27 Allan McRae <allan@archlinux.org>
24327 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24332 * math/s_catan.c: Include <float.h>.
24333 (__catan): Ensure underflow exception occurs for underflowed
24335 * math/s_catanf.c: Include <float.h>.
24336 (__catanf): Ensure underflow exception occurs for underflowed
24338 * math/s_catanh.c: Include <float.h>.
24339 (__catanh): Ensure underflow exception occurs for underflowed
24341 * math/s_catanhf.c: Include <float.h>.
24342 (__catanhf): Ensure underflow exception occurs for underflowed
24344 * math/s_catanhl.c: Include <float.h>.
24345 (__catanhl): Ensure underflow exception occurs for underflowed
24347 * math/s_catanl.c: Include <float.h>.
24348 (__catanl): Ensure underflow exception occurs for underflowed
24350 * math/libm-test.inc (catan_test): Add more tests.
24351 (catanh_test): Likewise.
24354 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24355 underflowed result.
24356 * math/s_ccoshf.c (__ccoshf): Likewise.
24357 * math/s_ccoshl.c (__ccoshl): Likewise.
24358 * math/s_csin.c (__csin): Likewise.
24359 * math/s_csinf.c (__csinf): Likewise.
24360 * math/s_csinh.c (__csinh): Likewise.
24361 * math/s_csinhf.c (__csinhf): Likewise.
24362 * math/s_csinhl.c (__csinhl): Likewise.
24363 * math/s_csinl.c (__csinl): Likewise.
24364 * math/libm-test.inc (ccos_test): Add more tests.
24365 (ccosh_test): Likewise.
24366 (csin_test): Likewise.
24367 (csinh_test): Likewise.
24369 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24371 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24372 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24373 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24374 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24375 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24376 powerpc/power5+/fpu folders.
24377 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24380 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24384 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24386 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24387 additions to variable.
24388 [$(config-machine) = x86_64] (modules-names): Likewise.
24389 ($(objpfx)tst-audit3): Remove dependency.
24390 ($(objpfx)tst-audit3.out): Likewise.
24391 ($(objpfx)tst-audit4): Likewise.
24392 ($(objpfx)tst-audit4.out): Likewise.
24393 ($(objpfx)tst-audit5): Likewise.
24394 ($(objpfx)tst-audit5.out): Likewise.
24395 ($(objpfx)tst-audit6): Likewise.
24396 ($(objpfx)tst-audit6.out): Likewise.
24397 ($(objpfx)tst-audit7): Likewise.
24398 ($(objpfx)tst-audit7.out): Likewise.
24399 (tst-audit3-ENV): Remove variable.
24400 (tst-audit4-ENV): Likewise.
24401 (tst-audit5-ENV): Likewise.
24402 (tst-audit6-ENV): Likewise.
24403 (tst-audit7-ENV): Likewise.
24404 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24405 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24406 addition to variable.
24407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24412 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24413 tst-audit3, tst-audit4 and tst-audit5.
24414 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24415 tst-audit6 and tst-audit7.
24416 [$(subdir) = elf] (modules-names): Add audit modules for those
24418 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24419 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24420 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24421 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24422 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24423 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24424 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24425 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24426 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24427 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24428 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24429 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24430 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24431 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24432 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24433 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24435 [$(subdir) = elf && $(config-cflags-avx) = yes]
24436 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24437 [$(subdir) = elf && $(config-cflags-avx) = yes]
24438 (CFLAGS-tst-auditmod4a.c): Likewise.
24439 [$(subdir) = elf && $(config-cflags-avx) = yes]
24440 (CFLAGS-tst-auditmod4b.c): Likewise.
24441 [$(subdir) = elf && $(config-cflags-avx) = yes]
24442 (CFLAGS-tst-auditmod6b.c): Likewise.
24443 [$(subdir) = elf && $(config-cflags-avx) = yes]
24444 (CFLAGS-tst-auditmod6c.c): Likewise.
24445 [$(subdir) = elf && $(config-cflags-avx) = yes]
24446 (CFLAGS-tst-auditmod7b.c): Likewise.
24447 * elf/tst-audit3.c: Move to ...
24448 * sysdeps/x86_64/tst-audit3.c: ... here.
24449 * elf/tst-audit4.c: Move to ...
24450 * sysdeps/x86_64/tst-audit4.c: ... here.
24451 * elf/tst-audit5.c: Move to ...
24452 * sysdeps/x86_64/tst-audit5.c: ... here.
24453 * elf/tst-audit6.c: Move to ...
24454 * sysdeps/x86_64/tst-audit6.c: ... here.
24455 * elf/tst-audit7.c: Move to ...
24456 * sysdeps/x86_64/tst-audit7.c: ... here.
24457 * elf/tst-auditmod3a.c: Move to ...
24458 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24459 * elf/tst-auditmod3b.c: Move to ...
24460 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24461 * elf/tst-auditmod4a.c: Move to ...
24462 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24463 * elf/tst-auditmod4b.c: Move to ...
24464 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24465 * elf/tst-auditmod5a.c: Move to ...
24466 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24467 * elf/tst-auditmod5b.c: Move to ...
24468 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24469 * elf/tst-auditmod6a.c: Move to ...
24470 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24471 * elf/tst-auditmod6b.c: Move to ...
24472 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24473 * elf/tst-auditmod6c.c: Move to ...
24474 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24475 * elf/tst-auditmod7a.c: Move to ...
24476 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24477 * elf/tst-auditmod7b.c: Move to ...
24478 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24480 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24483 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24484 define unconditionally.
24485 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24486 define unconditionally.
24487 (INT8_C, INT16_C, etc.): Likewise.
24489 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24491 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24492 __ehdr_start with hidden visibility.
24494 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24496 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24498 * math/libm-test.inc (cos_test): Use accurate hex constants.
24499 (sincost_test): Likewise.
24501 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24503 * math/libm-test.inc (catan_test): Add more tests.
24504 (catanh_test): Likewise.
24506 * math/s_catanf.c (__catanf): Use suffixed floating-point
24508 * math/s_catanhf.c (__catanhf): Likewise.
24509 * math/s_catanhl.c (__catanhl): Likewise.
24510 * math/s_catanl.c (__catanl): Likewise.
24513 * math/s_catan.c (__catan): Calculate imaginary part of result
24514 with log1p not log unless computing log of number close to 0.
24515 * math/s_catanf.c (__catanf): Likewise.
24516 * math/s_catanl.c (__catanl): Likewise.
24517 * math/s_catanh.c (__catanh): Calculate real part of result with
24518 log1p not log unless computing log of number close to 0.
24519 * math/s_catanhf.c (__catanhf): Likewise.
24520 * math/s_catanhl.c (__catanhl): Likewise.
24521 * math/libm-test.inc (catan_test): Add more tests.
24522 (catanh_test): Likewise.
24523 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24526 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24528 * benchtests/Makefile: Mention files in which fast and slow
24529 paths of math functions are implemented.
24531 2013-04-23 Roland McGrath <roland@hack.frob.com>
24533 * sysdeps/posix/timespec_get.c: New file.
24535 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24539 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24541 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24542 powerpc/power5/fpu folders.
24543 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24544 * benchtests/Makefile: Add modf testcase.
24545 * benchtests/bench-modf.c: New file: Benchmark test for mo
24547 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24550 * time/Makefile (tests): Add tst-strptime-whitespace.
24551 * time/strptime_l.c (get_number): Use ISSPACE.
24552 (__strptime_internal): Likewise.
24553 * time/tst-strptime-whitespace.c: New test case.
24555 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24557 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24559 (_nss_files_init): Set it here.
24561 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24564 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24567 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24569 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24571 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24576 2013-04-21 David S. Miller <davem@davemloft.net>
24578 * po/ru.po: Update Russion translation from translation project.
24580 2013-04-17 Adam Conrad <adconrad@0c3.net>
24582 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24585 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24587 * configure.in: Remove i386 configure warning. Remove i386 case.
24588 * configure: Regenerate.
24589 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24590 Add example to error message.
24591 * sysdeps/i386/configure: Regenerate.
24593 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24595 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24597 * benchtests/cos-inputs: New file.
24598 * benchtests/slowcos-inputs: New file.
24599 * benchtests/slowcos.c: New file.
24600 * benchtests/slowtan-inputs: New file.
24601 * benchtests/slowtan.c: New file.
24602 * benchtests/tan-inputs: New file.
24604 2013-04-16 Roland McGrath <roland@hack.frob.com>
24606 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24609 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24611 * benchtests/Makefile: Include cppflags-iterator.mk to add
24612 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24614 * Makefile.in (bench-clean): New target.
24615 * benchtests/Makefile (bench-clean): Likewise.
24617 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24619 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24621 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24623 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24625 2013-04-15 Andreas Schwab <schwab@suse.de>
24627 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24629 * nscd/pwdcache.c (cache_addpw): Likewise.
24630 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24633 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24635 * benchtests/Makefile (bench): Write all output to
24636 bench-out.tmp together.
24638 2013-04-15 Andreas Schwab <schwab@suse.de>
24640 * nscd/nscd.c (main): Don't fork again after closing files.
24642 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24644 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24646 * benchtests/Rules (bench-deps): Collect dependencies into a
24647 single variable. Add Makefile to dependencies.
24648 ($(objpfx)bench-%.c): Depend on bench-deps.
24650 2013-04-12 Roland McGrath <roland@hack.frob.com>
24651 Xavier Roche <roche+kml2@exalead.com>
24654 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24655 just that it's a file descriptor.
24656 * manual/llio.texi (Synchronizing AIO Operations): Update description
24657 for EBADF error from aio_fsync.
24659 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24661 * Rules (bench): Move target definition...
24662 * benchtests/Makefile: ... here.
24664 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24666 * math/libm-test.inc (cos_test): Fix PI/2 test.
24667 (sincos_test): Likewise.
24668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24669 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24671 2013-04-11 Andreas Schwab <schwab@suse.de>
24674 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24675 accept exponent character only when digits were seen.
24676 * stdio-common/Makefile (tests): Add bug26.
24677 * stdio-common/bug26.c: New file.
24680 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24683 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24685 * Makeconfig (rtld-prefix): Define built linker prefix.
24686 * Rules (run-bench): Use it.
24687 * math/Makefile (run-regen-ulps): Likewise.
24689 * Rules (bench): Remove eval.
24691 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24692 Roland McGrath <roland@hack.frob.com>
24693 Ondrej Bilka <neleai@seznam.cz>
24696 * time/getdate.c: Include ctype.h and alloca.h.
24697 (__getdate_r): Trim leading and trailing spaces of input.
24698 * time/tst-getdate.c (tests): Add tests with leading and
24701 2013-04-08 Roland McGrath <roland@hack.frob.com>
24704 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24705 when computing value.
24707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24709 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24710 Use testrun.sh to run libm tests.
24713 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24715 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24718 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24720 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24722 * Makefile.in (regen-ulps): New target.
24723 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24724 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24725 [ifneq (no,$(PERL)] (regen-ulps): New target.
24726 [ifeq (no,$(PERL)] (regen-ulps): New target.
24727 * math/libm-test.inc (ulps_file_name): Define.
24728 (output_dir): New variable.
24729 (options): Add "output-dir" option.
24730 (parse_opt): Handle 'o' case.
24731 (main): If output_dir is non-NULL use it as a prefix
24733 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24735 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24737 [BZ #10060, #10062]
24738 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24739 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24740 fail configure if __sync_val_compare_and_swap is not inlined.
24741 * sysdeps/i386/configure: Regenerate.
24742 * configure.in: Build for i686 when configured for i386.
24743 * configure: Regenerate.
24744 * README: Remove i386 reference.
24746 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24748 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24751 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24753 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24754 (lmsnanval): New variables.
24755 (F): Add conversion tests.
24756 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24757 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24759 * stdio-common/tstdiomisc.c (F): Properly collect individual
24762 [BZ #14686, #15336]
24763 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24764 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24765 Instead, use input NaN values or generate a qNaN by arithmetic
24766 operation. Also fix bugs to comply with the standard.
24767 * math/libm-test.inc (remainder_test): Add more tests.
24769 [BZ #15335, #15342]
24770 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24772 input NaN values or generate a qNaN by arithmetic operation.
24774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24777 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24780 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24783 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24784 underflowed result.
24785 * math/s_cexpf.c (__cexpf): Likewise.
24786 * math/s_cexpl.c (__cexpl): Likewise.
24787 * math/libm-test.inc (cexp_test): Add more tests.
24789 2013-04-03 Andreas Schwab <schwab@suse.de>
24792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24793 order arrays from heap if bigger than alloca cutoff.
24795 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24797 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24798 (SNAN_TESTS_double): Refer to GCC PR56831.
24799 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24802 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24804 * Rules (bench): Move bench.out after the run is complete.
24806 * Rules (bench): Echo currently running benchmark.
24808 * benchtests/Makefile (bench): Add atan and slowatan.
24809 * benchtests/atan-inputs: New file.
24810 * benchtests/slowatan-inputs: New file.
24811 * benchtests/slowatan.c: New file.
24813 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24818 * sysdeps/unix/sysv/linux/kernel-features.h
24819 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24820 __ASSUME_XFS_RESTRICTED_CHOWN.
24821 * sysdeps/unix/sysv/linux/pathconf.c
24822 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24823 Save and restore errno.
24825 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24828 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24829 arguments using __kernel_casinh.
24830 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24831 arguments using __kernel_casinhf.
24832 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24833 arguments using __kernel_casinhl.
24834 * math/libm-test.inc (cacosh_test): Add more tests.
24835 * sysdeps/i386/fpu/libm-test-ulps: Update.
24836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24838 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24840 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24843 * bench/Makefile (bench): Add sin and slowsin.
24844 * benchtests/sin-inputs: New file.
24845 * benchtests/slowsin-inputs: New file.
24846 * benchtests/slowsin.c: New file.
24848 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24849 (bench): Add slowexp and slowpow.
24850 (exp-ITER): Increase iterations.
24851 (pow-ITER): Likewise.
24852 * benchtests/exp-inputs: Change input.
24853 * benchtests/pow-inputs: Likewise.
24854 * benchtests/slowexp-inputs: New file.
24855 * benchtests/slowexp.c: New file.
24856 * benchtests/slowpow-inputs: New file.
24857 * benchtests/slowpow.c: New file.
24859 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24861 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24863 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24864 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24866 * benchtests/Makefile: Add rint benchtest.
24867 * benchtests/rint-inputs: Input for rint benchtest.
24869 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24871 * Versions.def (libm): Add GLIBC_2.18.
24872 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24873 hidden libm prototypes.
24874 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24875 * math/Makefile (libm-calls): Add s_issignaling.
24876 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24877 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24878 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24880 * math/math.h [__USE_GNU] (issignaling): New macro.
24881 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24882 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24884 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24887 * manual/arith.texi (issignaling): New section.
24888 * manual/libm-err-tab.pl (@all_functions): Update comment.
24889 * math/gen-libm-test.pl (parse_args): Apply special handling for
24891 * math/libm-test.inc (print_float, issignaling_test): New
24893 (check_float_internal): Add issignaling checks.
24894 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24895 default definition.
24896 * sysdeps/powerpc/math-tests.h: New file.
24897 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24899 * math/test-snan.c (TEST_FUNC): Likewise.
24901 2013-03-30 David S. Miller <davem@davemloft.net>
24903 * po/de.po: Update from translation team.
24905 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24909 imaginary part less than 1.0 and real part less than 0.5
24911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24913 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24914 (cacos_test): Add more tests.
24915 (casin_test): Likewise.
24916 (casinh_test): Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Update.
24918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24920 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24922 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24923 ONE with its value.
24925 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24926 (__pow_mp): Replace ONE and MONE with their values.
24927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24932 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24934 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24936 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24937 (__pow_mp): Replace ZERO and MZERO with their values.
24938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24943 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24946 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24948 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24950 2013-03-28 Roland McGrath <roland@hack.frob.com>
24952 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24953 Declare with __attribute__ ((weak)).
24954 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24955 Call __call_tls_dtors only if it's not NULL.
24957 2013-03-28 Roland McGrath <roland@hack.frob.com>
24959 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24960 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24961 magic __ehdr_start linker symbol if it's defined.
24962 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24963 them up here if it was already done.
24965 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24966 (_dl_aux_init): Use const in cast when setting it.
24967 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24968 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24969 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24973 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24974 * csu/libc-tls.c: Nor here.
24975 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24977 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24978 (__libc_message): Never call vsyslog.
24980 2013-03-28 Alan Modra <amodra@gmail.com>
24982 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24984 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24987 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24994 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24997 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24998 Don't add gid passed as argument.
25000 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25002 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25005 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25006 imaginary part between 1.0 and 1.5 and real part less than 0.5
25008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25010 * math/libm-test.inc (cacos_test): Add more tests.
25011 (casin_test): Likewise.
25012 (casinh_test): Likewise.
25013 * sysdeps/i386/fpu/libm-test-ulps: Update.
25014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25016 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25018 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25021 (denorm): Likewise.
25022 (__dbl_mp): Likewise.
25023 (add_magnitudes): Likewise.
25024 (sub_magnitudes): Likewise.
25032 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25034 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25035 (__dubcos): Likewise.
25036 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25037 (__ieee754_acos): Likewise.
25038 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25039 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25040 (__exp1): Likewise.
25041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25044 (my_log2): Likewise.
25045 (checkint): Likewise.
25046 * sysdeps/ieee754/dbl-64/e_remainder.c
25047 (__ieee754_remainder): Likewise.
25048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25050 (bsloww): Likewise.
25051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25055 MANTISSA_STORE_T to store computations on mantissa. Use
25056 macros for rounding and division.
25057 (denorm): Likewise.
25058 (__dbl_mp): Likewise.
25059 (add_magnitudes): Likewise.
25060 (sub_magnitudes): Likewise.
25063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25064 powers of two in terms of TWOPOW macro.
25065 (mp_no): Make type of mantissa as MANTISSA_T.
25066 [!RADIXI]: Define RADIXI.
25067 [!TWO52]: Define TWO52.
25068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25070 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25073 llroundl symbol when building for PPC32.
25075 2013-03-24 Mark H Weaver <mhw@netris.org>
25077 * manual/arith.texi (Normalization Functions): Fix prototypes for
25078 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25080 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25084 high value to check if expl overflow.
25085 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25086 to check for underflow and overflow.
25087 * math/libm-test.inc: Add exp test.
25089 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25092 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25095 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25097 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25100 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25102 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25103 wrap blocks consisting of several statements.
25105 * sysdeps/generic/math-tests.h: New file.
25106 * sysdeps/i386/fpu/math-tests.h: Likewise.
25107 * math/test-snan.c: Include it.
25108 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25110 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25114 (__ieee754_j0l): Do not improve calculations using cos of twice
25115 input for inputs above LDBL_MAX / 2.0L.
25116 (__ieee754_y0l): Likewise.
25117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25118 (__ieee754_j1l): Do not improve calculations using cos of twice
25119 input for inputs above LDBL_MAX / 2.0L.
25120 (__ieee754_y1l): Likewise.
25121 * math/libm-test.inc (j0_test): Add another test.
25122 (j1_test): Likewise.
25123 (y0_test): Likewise.
25124 (y1_test): Likewise.
25125 * sysdeps/i386/fpu/libm-test-ulps: Update.
25127 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25129 * Rules ($(objpfx)bench-%.c): Include code from a C source
25132 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25136 imaginary part 1.0 and real part less than 0.5 specially.
25137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25139 * math/libm-test.inc (cacos_test): Add more tests.
25140 (casin_test): Likewise.
25141 (casinh_test): Likewise.
25142 * sysdeps/i386/fpu/libm-test-ulps: Update.
25143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25145 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25148 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25150 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25152 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25153 * config.make.in (config-cflags-sse4): Remove variable.
25154 (config-cflags-avx): Likewise.
25155 (config-cflags-sse2avx): Likewise.
25156 (config-cflags-novzeroupper): Likewise.
25157 (config-asflags-i686): Likewise.
25158 (have-mfma4): Likewise.
25159 (have-as-vis3): Likewise.
25161 * configure.in (MIG): Do not AC_SUBST.
25162 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25163 (libc_cv_cc_sse4): Do not AC_SUBST.
25164 (libc_cv_cc_avx): Likewise.
25165 (libc_cv_cc_sse2avx): Likewise.
25166 (libc_cv_cc_novzeroupper): Likewise.
25167 (libc_cv_cc_fma4): Likewise.
25168 (libc_cv_as_i686): Likewise.
25169 (libc_cv_sparc_as_vis3): Likewise.
25170 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25172 (config-asflags-i686): Likewise.
25173 (config-cflags-avx): Likewise.
25174 (config-cflags-sse2avx): Likewise.
25175 (have-mfma4): Likewise.
25176 (config-cflags-novzeroupper): Likewise.
25177 * sysdeps/mach/configure.in (MIG): Likewise.
25178 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25179 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25181 (config-cflags-avx): Likewise.
25182 (config-cflags-sse2avx): Likewise.
25183 (have-mfma4): Likewise.
25184 (config-cflags-novzeroupper): Likewise.
25185 * configure: Regenerated.
25186 * sysdeps/i386/configure: Likewise.
25187 * sysdeps/mach/configure: Likewise.
25188 * sysdeps/sparc/configure: Likewise.
25189 * sysdeps/x86_64/configure: Likewise.
25191 2013-03-20 Roland McGrath <roland@hack.frob.com>
25194 * locale/programs/localedef.c (options): Put N_ translation marker
25195 on argument names, not just descriptions.
25197 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25199 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25201 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25204 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25206 2013-03-19 Roland McGrath <roland@hack.frob.com>
25208 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25209 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25210 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25211 [!BEFORE_ABORT] (before_abort): New function.
25212 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25213 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25214 (writev_for_fatal): New function.
25215 (WRITEV_FOR_FATAL): New macro; call that.
25216 (backtrace_and_maps): New function.
25217 (BEFORE_ABORT): New macro; call that.
25218 (struct str_list): Type removed.
25219 (__libc_message, __libc_fatal): Functions removed.
25220 Include <sysdeps/posix/libc_fatal.c> instead.
25222 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25224 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25226 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25229 2013-03-19 Andreas Schwab <schwab@suse.de>
25231 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25232 * sysdeps/gnu/configure: Regenerate.
25234 * configure.in: Substitute libc_cv_rtlddir.
25235 * configure: Regenerate.
25236 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25237 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25238 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25239 * elf/Makefile (install-others, CFLAGS-interp.c)
25240 (ldso_install, common-ldd-rewrite): Likewise.
25241 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25242 $(inst_slibdir)/$(rtld-installed-name).
25243 * scripts/rellns-sh: Add -p option.
25244 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25247 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25249 * manual/nptl.texi: Renamed to ...
25250 * manual/threads.texi: ... this.
25251 * manual/Makefile (chapters): Update.
25253 2013-03-18 Roland McGrath <roland@hack.frob.com>
25256 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25257 on argument names, not just descriptions.
25258 * malloc/memusagestat.c (options): Likewise.
25259 * nss/getent.c (options): Likewise.
25261 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25264 * iconv/iconv_prog.c (options): Put N_ translation marker
25265 on argument names, not just descriptions.
25266 * iconv/iconvconfig.c (options): Likewise.
25268 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25270 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25271 implementation which is faster on all x86_64 architectures.
25272 Tested on AMD, Intel Nehalem, SNB, IVB.
25273 * sysdeps/x86_64/strnlen.S: Likewise.
25275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25276 Remove all multiarch strlen and strnlen versions.
25277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25278 Remove strlen and strnlen related parts.
25280 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25281 Inline strlen part.
25282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25284 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25287 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25288 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25291 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25293 * manual/memory.texi (Malloc Tunable Parameters):
25294 Sort parameters alphabetically. Add comments for missing entries.
25296 2013-03-17 David S. Miller <davem@davemloft.net>
25298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25300 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25304 for arguments at most half maximum finite value.
25305 * math/libm-test.inc (j0_test): Add more tests.
25306 (j1_test): Likewise.
25307 (y0_test): Likewise.
25308 (y1_test): Likewise.
25309 * sysdeps/i386/fpu/libm-test-ulps: Update.
25310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25313 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25314 1 / x and functions P and Q for arguments above 0x1p256L.
25315 (__ieee754_y0l): Likewise.
25316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25317 (__ieee754_y1l): Likewise.
25318 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25319 (j1_test): Likewise.
25320 (y0_test): Likewise.
25321 (y1_test): Likewise.
25323 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25325 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25328 2013-03-15 Roland McGrath <roland@hack.frob.com>
25330 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25331 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25332 zero since it's initialized to EXEC_PAGESIZE.
25334 * sysdeps/unix/sysv/linux/ldsodefs.h
25335 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25336 * sysdeps/generic/ldsodefs.h: ... here.
25338 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25340 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25342 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25344 * math/test-snan.c: Renamed from
25345 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25346 * math/Makefile (tests): Add test-snan.
25347 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25350 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25351 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25353 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25354 __builtin_nan family of functions.
25355 * math/libm-test.inc (initialize): Initialize qnan_value with
25356 __builtin_nan family of functions.
25357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25359 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25361 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25362 storage class. Initialize qNaN_var and sNaN_var with
25363 __builtin_nan and __builtin_nans families of functions,
25366 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25367 (sqrt_test): Remove duplicate test with qNaN input.
25368 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25369 (round_test, signbit_test, significand_test): Note missing +/-Inf
25370 as well as qNaN tests.
25372 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25373 qNaN_var. Fix a few strings, too.
25374 * math/libm-test.inc (nan_value): Rename to qnan_value.
25375 * math/gen-libm-test.pl (%beautify): Adjust to that.
25376 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25377 * math/test-misc.c (main): Likewise.
25378 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25379 to __qnan_bytes, and __qnan_union, respectively.
25380 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25382 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25383 and lqnanval, respectively.
25384 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25385 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25387 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25389 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25390 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25393 * math/test-misc.c (main): Fix copy'n'pastos.
25394 * misc/tst-efgcvt.c (special): Likewise.
25396 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25397 Remove declarations.
25399 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25402 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25403 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25404 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25406 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25408 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25409 macro to return vdso values correctly in IFUNC implementations.
25410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25411 Optimization by using IFUNC.
25413 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25414 Richard Henderson <rth@redhat.com>
25415 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25417 * Makefile.in (bench): New target.
25418 * NEWS: Mention the benchmark framework.
25419 * Rules (bench): Likewise.
25420 (binaries-bench): Generate binaries for functions to
25422 * benchtests/Makefile: New makefile for benchmark tests.
25423 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25425 * benchtests/exp-inputs: New input file for EXP function.
25426 * benchtests/pow-inputs: New input file for POW function.
25427 * scripts/bench.pl: New script to generate source files for
25428 benchmark programs.
25430 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25432 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25434 computations on mantissa. Use macros for rounding and
25436 (denorm): Likewise.
25437 (__dbl_mp): Likewise.
25438 (add_magnitudes): Likewise.
25439 (sub_magnitudes): Likewise.
25442 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25443 powers of two in terms of TWOPOW macro.
25444 (mp_no): Make type of mantissa as MANTISSA_T.
25445 [!RADIXI]: Define RADIXI.
25446 [!TWO52]: Define TWO52.
25447 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25449 * manual/nptl.texi (cindex): Modify threads to pthreads.
25451 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25453 * sysdeps/x86_64/preconfigure: Regenerated.
25455 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25458 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25460 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25461 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25463 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25464 * math/libm-test.inc (j0_test): Do not allow one spurious
25465 underflow exception.
25466 (y1_test): Likewise.
25468 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25470 * manual/Makefile (chapters): Add nptl.
25471 * manual/debug.texi (Debugging Support): Add link to Threads
25473 * manual/nptl.texi: New file.
25475 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25477 2013-03-14 Petr Baudis <pasky@ucw.cz>
25479 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25480 for non-NULL pointer before the memory validity test. Pointed
25481 out by Holger Brunck <holger.brunck@keymile.com>.
25483 2013-03-13 Andreas Schwab <schwab@suse.de>
25485 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25488 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25490 * timezone/zic.c: Update from tzcode 2013b.
25492 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25494 * manual/install.texi (Configuring and compiling):
25495 Mention i686 and i586.
25496 * INSTALL: Regenerate.
25498 2013-03-12 Roland McGrath <roland@hack.frob.com>
25500 * sysdeps/init_array/elf-init.c: New file.
25502 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25503 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25505 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25506 __gmon_start__ as global, but as static with a .preinit_array pointer.
25507 * sysdeps/init_array/gmon-start.c: New file. Use that.
25508 * sysdeps/init_array/crti.S: New file, empty except for comments.
25509 * sysdeps/init_array/crtn.S: Likewise.
25511 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25513 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25516 Remove Prefer_SSE_for_memop.
25517 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25518 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25519 HAS_PREFER_SSE_FOR_MEMOP.
25520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25523 Remove bzero, memset ifunc support.
25524 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25526 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25527 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25529 2013-03-11 Andreas Schwab <schwab@suse.de>
25532 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25535 (GLIBC_2.16): Remove pthread_atfork.
25537 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25539 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25540 (ptestcases.h): Likewise.
25542 2013-03-08 Roland McGrath <roland@hack.frob.com>
25544 * Makeconfig ($(common-objpfx)config.status): Depend on
25545 sysdeps/*/preconfigure{,.in} too.
25547 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25549 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25550 (__free_hook): Use void * instead of __malloc_ptr_t.
25551 (__malloc_hook): Likewise.
25552 (__realloc_hook): Likewise.
25553 (__memalign_hook): Likewise.
25554 (__after_morecore_hook): Likewise.
25555 * malloc/arena.c (save_malloc_hook): Likewise.
25556 (save_free_hook): Likewise.
25557 * malloc/hooks.c (malloc_hook_ini): Likewise.
25558 (realloc_hook_ini): Likewise.
25559 (memalign_hook_ini): Likewise.
25560 * malloc/malloc.c (malloc_hook_ini): Likewise.
25561 (realloc_hook_ini): Likewise.
25562 (memalign_hook_ini): Likewise.
25563 (__free_hook): Likewise.
25564 (__malloc_hook): Likewise.
25565 (__realloc_hook): Likewise.
25566 (__memalign_hook): Likewise.
25567 (__libc_malloc): Likewise.
25568 (__libc_free): Likewise.
25569 (__libc_realloc): Likewise.
25570 (__libc_memalign): Likewise.
25571 (__libc_valloc): Likewise.
25572 (__libc_pvalloc): Likewise.
25573 (__libc_calloc): Likewise.
25574 (__posix_memalign): Likewise.
25575 * malloc/morecore.c (__sbrk): Likewise.
25576 (__default_morecore): Likewise.
25578 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25580 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25581 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25582 __malloc_ptrdiff_t.
25584 * malloc/malloc.h (__malloc_size_t): Remove macro.
25585 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25587 (old_memalign_hook): Likewise.
25588 (old_realloc_hook): Likewise.
25589 (struct hdr): Likewise.
25591 (mallochook): Likewise.
25592 (memalignhook): Likewise.
25593 (reallochook): Likewise.
25594 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25595 (tr_old_realloc_hook): Likewise.
25596 (tr_old_memalign_hook): Likewise.
25597 (tr_mallochook): Likewise.
25598 (tr_reallochook): Likewise.
25599 (tr_memalignhook): Likewise.
25601 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25604 default_ldbl_pack and using as default implementation.
25605 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25607 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25608 redundant definition.
25609 (ldbl_insert_mantissa): Likewise.
25610 (ldbl_canonicalize): Likewise.
25611 (ldbl_nearbyint): Likewise.
25612 (ldbl_pack): Rename to ldbl_pack_ppc.
25613 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25614 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25615 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25617 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25620 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25622 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25625 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25626 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25628 2013-03-07 Andreas Jaeger <aj@suse.de>
25630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25633 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25635 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25636 Include mpa.h and declare __MPEXP.
25637 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25638 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25639 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25641 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25645 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25646 (__slowpow): Use long double EXPL and LOGL functions to
25648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25649 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25656 intermediate variable to calculate exponent.
25658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25662 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25663 [!NO__SQR]: Define __sqr.
25664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25665 and NO__SQR. Remove all code except __mul and __sqr. Include
25666 sysdeps/ieee754/dbl-64/mpa.c.
25667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25670 * posix/Makefile (tests): Add tst-pathconf.
25671 * posix/tst-pathconf.c: New test case.
25672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25674 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25676 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25678 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25680 2013-03-06 Andreas Jaeger <aj@suse.de>
25682 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25683 definition via __MAP_ANONYMOUS.
25685 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25686 it's not part of Linux headers.
25688 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25689 (MAP_HUGE_MASK): Define.
25691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25693 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25697 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25704 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25705 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25707 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25708 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25709 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25715 Handle f2fs and efivarfs.
25717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25720 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25721 (EFIVARFS_MAGIC): Add.
25722 (F2FS_LINK_MAX): Add.
25724 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25726 * stdio-common/vfprintf.c: Replace __builtin_expect with
25729 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25732 * sysdeps/generic/bp-sym.h: Remove file.
25733 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25735 <bp-sym.h> and <bp-asm.h>.
25736 (__longjmp): Don't use BP_SYM.
25737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25739 (memcpy): Don't use BP_SYM.
25740 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25741 <bp-sym.h> and <bp-asm.h>.
25742 (memcpy): Don't use BP_SYM.
25743 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25745 (memcpy): Don't use BP_SYM.
25746 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25748 (memset): Don't use BP_SYM.
25749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25751 (__bzero): Don't use BP_SYM.
25752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25754 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25755 <bp-sym.h> and <bp-asm.h>.
25756 (memcmp): Don't use BP_SYM. Remove comment about bounded
25758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25759 <bp-sym.h> and <bp-asm.h>.
25760 (memcpy): Don't use BP_SYM.
25761 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25762 <bp-sym.h> and <bp-asm.h>.
25763 (memset): Don't use BP_SYM.
25764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25766 (__bzero): Don't use BP_SYM.
25767 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25768 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25770 <bp-sym.h> and <bp-asm.h>.
25771 (strncmp): Don't use BP_SYM. Remove comment about bounded
25773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25774 <bp-sym.h> and <bp-asm.h>.
25775 (memcpy): Don't use BP_SYM.
25776 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25777 <bp-sym.h> and <bp-asm.h>.
25778 (memset): Don't use BP_SYM.
25779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25781 (__bzero): Don't use BP_SYM.
25782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25785 <bp-sym.h> and <bp-asm.h>.
25786 (__memchr): Don't use BP_SYM.
25787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25788 <bp-sym.h> and <bp-asm.h>.
25789 (memcmp): Don't use BP_SYM. Remove comment about bounded
25791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25792 <bp-sym.h> and <bp-asm.h>.
25793 (memcpy): Don't use BP_SYM.
25794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25795 <bp-sym.h> and <bp-asm.h>.
25796 (__mempcpy): Don't use BP_SYM.
25797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25798 <bp-sym.h> and <bp-asm.h>.
25799 (__memrchr): Don't use BP_SYM.
25800 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25801 <bp-sym.h> and <bp-asm.h>.
25802 (memset): Don't use BP_SYM.
25803 (__bzero): Likewise.
25804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25805 <bp-sym.h> and <bp-asm.h>.
25806 (__rawmemchr): Don't use BP_SYM.
25807 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25808 <bp-sym.h> and <bp-asm.h>.
25809 (__STRCMP): Don't use BP_SYM.
25810 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25811 <bp-sym.h> and <bp-asm.h>.
25812 (strchr): Don't use BP_SYM.
25813 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25814 <bp-sym.h> and <bp-asm.h>.
25815 (__strchrnul): Don't use BP_SYM.
25816 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25817 <bp-sym.h> and <bp-asm.h>.
25818 (strlen): Don't use BP_SYM.
25819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25820 <bp-sym.h> and <bp-asm.h>.
25821 (strncmp): Don't use BP_SYM. Remove comment about bounded
25823 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25824 <bp-sym.h> and <bp-asm.h>.
25825 (__strnlen): Don't use BP_SYM.
25826 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25827 <bp-sym.h> and <bp-asm.h>.
25828 (__GI__setjmp): Don't use BP_SYM.
25829 (_setjmp): Likewise.
25830 (__sigsetjmp): Likewise.
25831 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25832 (L(start_addresses)): Don't use BP_SYM.
25833 (_start): Likewise.
25834 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25836 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25837 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25838 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25839 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25840 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25842 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25843 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25844 about bounded pointers.
25845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25847 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25850 about bounded pointers. Remove GKM FIXME comments.
25851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25852 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25854 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25855 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25856 Remove GKM FIXME comments.
25857 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25859 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25861 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25862 about bounded pointers. Remove GKM FIXME comment.
25863 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25865 (strncmp): Don't use BP_SYM. Remove comment about bounded
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25868 <bp-sym.h> and <bp-asm.h>.
25869 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25871 <bp-sym.h> and <bp-asm.h>.
25872 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25875 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25877 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25880 2013-03-05 David S. Miller <davem@davemloft.net>
25882 * po/es.po: Update from translation team.
25884 2013-03-05 Andreas Jaeger <aj@suse.de>
25886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25887 <bits/mman-linux.h>.
25888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25890 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25891 <bits/mman-linux.h> to end of file.
25892 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25895 <bits/mman-linux.h> to end of file.
25896 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25899 <bits/mman-linux.h> to end of file.
25901 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25902 (MCL_CURRENT, MCL_FUTURE): Define here.
25904 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25911 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25914 fourth parameter needed for rt_sigprocmask syscall.
25915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25918 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25920 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25922 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25925 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25926 comment about bounded pointers.
25927 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25928 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25930 2013-03-04 Andreas Jaeger <aj@suse.de>
25932 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25933 common definitions.
25935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25936 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25937 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25942 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25946 __ieee754_sqrl instead of __sqrl.
25948 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25950 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25951 * sysdeps/powerpc/fpu_control.h: ... here.
25952 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25953 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25954 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25955 * sysdeps/powerpc/bits/mathinline.h: ... here.
25957 2013-03-01 Roland McGrath <roland@hack.frob.com>
25959 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25960 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25961 to just [NEED_DL_SYSINFO_DSO].
25962 * elf/dl-support.c: Likewise.
25963 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25964 * elf/rtld.c (dl_main): Likewise.
25965 * elf/setup-vdso.h (setup_vdso): Likewise.
25966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25967 * sysdeps/unix/sysv/linux/dl-sysdep.c
25968 (_dl_discover_osversion): Likewise.
25970 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25972 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25973 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25975 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25977 * NEWS: Mention libm performance improvements and non-x86 PI
25980 * csu/libc-start.c (__pthread_initialize_minimal): Change
25981 function arguments.
25982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25984 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25987 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25988 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25989 <bp-sym.h> and <bp-asm.h>.
25990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25993 (memcpy): Don't use BP_SYM.
25994 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25996 (__mpn_add_n): Don't use BP_SYM.
25997 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25998 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26000 (__mpn_addmul_1): Don't use BP_SYM.
26001 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26002 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26004 (_setjmp): Don't use BP_SYM.
26005 (__novmx_setjmp): Likewise.
26006 (__GI__setjmp): Likewise.
26007 (__vmx_setjmp): Likewise.
26008 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26010 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26011 (__bzero): Don't use BP_SYM.
26012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26014 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26015 <bp-sym.h> and <bp-asm.h>.
26016 (memcpy): Don't use BP_SYM.
26017 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26018 <bp-sym.h> and <bp-asm.h>.
26019 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26021 <bp-sym.h> and <bp-asm.h>.
26022 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26023 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26025 (__mpn_lshift): Don't use BP_SYM.
26026 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26027 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26029 (memset): Don't use BP_SYM.
26030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26032 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26034 (__mpn_mul_1): Don't use BP_SYM.
26035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26037 <bp-sym.h> and <bp-asm.h>.
26038 (memcmp): Don't use BP_SYM.
26039 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26040 <bp-sym.h> and <bp-asm.h>.
26041 (memcpy): Don't use BP_SYM.
26042 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26043 <bp-sym.h> and <bp-asm.h>.
26044 (memset): Don't use BP_SYM.
26045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26046 <bp-sym.h> and <bp-asm.h>.
26047 (strncmp): Don't use BP_SYM.
26048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26049 <bp-sym.h> and <bp-asm.h>.
26050 (memcpy): Don't use BP_SYM.
26051 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26052 <bp-sym.h> and <bp-asm.h>.
26053 (memset): Don't use BP_SYM.
26054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26055 <bp-sym.h> and <bp-asm.h>.
26056 (__memchr): Don't use BP_SYM.
26057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (memcmp): Don't use BP_SYM.
26060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26061 <bp-sym.h> and <bp-asm.h>.
26062 (memcpy): Don't use BP_SYM.
26063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26064 <bp-sym.h> and <bp-asm.h>.
26065 (__mempcpy): Don't use BP_SYM.
26066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26067 <bp-sym.h> and <bp-asm.h>.
26068 (__memrchr): Don't use BP_SYM.
26069 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26070 <bp-sym.h> and <bp-asm.h>.
26071 (memset): Don't use BP_SYM.
26072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26073 <bp-sym.h> and <bp-asm.h>.
26074 (__rawmemchr): Don't use BP_SYM.
26075 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26076 <bp-sym.h> and <bp-asm.h>.
26077 (__STRCMP): Don't use BP_SYM.
26078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26079 <bp-sym.h> and <bp-asm.h>.
26080 (strchr): Don't use BP_SYM.
26081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26082 <bp-sym.h> and <bp-asm.h>.
26083 (__strchrnul): Don't use BP_SYM.
26084 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26085 <bp-sym.h> and <bp-asm.h>.
26086 (strlen): Don't use BP_SYM.
26087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26088 <bp-sym.h> and <bp-asm.h>.
26089 (strncmp): Don't use BP_SYM.
26090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26091 <bp-sym.h> and <bp-asm.h>.
26092 (__strnlen): Don't use BP_SYM.
26093 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26095 (__mpn_rshift): Don't use BP_SYM.
26096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26098 <bp-sym.h> and <bp-asm.h>.
26099 (__sigsetjmp): Don't use BP_SYM.
26100 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26101 (L(start_addresses)): Don't use BP_SYM.
26102 (_start): Likewise.
26103 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26105 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26106 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26107 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26108 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26110 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26113 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26118 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26120 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26124 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26128 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26130 (strncmp): Don't use BP_SYM,
26131 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26133 (__mpn_sub_n): Don't use BP_SYM.
26134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26135 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26137 (__mpn_submul_1): Don't use BP_SYM.
26138 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26140 <bp-sym.h> and <bp-asm.h>.
26141 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26143 <bp-sym.h> and <bp-asm.h>.
26144 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26147 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26150 Use ZK to minimize writes to Z.
26151 (sub_magnitudes): Simplify code a bit.
26152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26153 Use ZK to minimize writes to Z.
26154 (sub_magnitudes): Simplify code a bit.
26156 2013-02-27 Roland McGrath <roland@hack.frob.com>
26158 * csu/gmon-start.c: Add special exception to license text.
26160 2013-02-27 Richard Henderson <rth@redhat.com>
26162 * scripts/config.guess: Update from config.git.
26163 * scripts/config.sub: Likewise.
26165 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26169 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26171 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26173 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26175 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26177 2013-02-26 Roland McGrath <roland@hack.frob.com>
26179 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26180 [$(build-shared = yes].
26182 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26184 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26185 (__mul): Reduce iterations for calculating mantissa.
26187 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26189 (__mpranred): Likewise.
26192 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26193 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26195 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26197 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26198 Define __attribute__.
26200 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26202 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26204 * posix/regex_internal.h (__attribute): Remove.
26205 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26206 (re_string_context_at): Likewise.
26207 (bitset_not): Use __attribute__ and mark function as possibly
26209 (bitset_merge): Likewise.
26210 (bitset_mask): Likewise.
26211 (re_string_char_size_at): Likewise.
26212 (re_string_wchar_at): Likewise.
26213 (re_string_elem_size_at): Likewise.
26215 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26221 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26225 (denorm): Likewise.
26226 (__dbl_mp): Likewise.
26227 (add_magnitudes): Likewise.
26228 (sub_magnitudes): Likewise.
26232 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26235 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26238 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26242 up changes with default code.
26243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26246 2013-02-24 Allan McRae <allan@archlinux.org>
26248 * manual/socket.texi (The Internet Namespace): Order menu items
26249 to match that in the file.
26251 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26252 node listing of the info page menu.
26254 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26257 * sysdeps/i386/bp-asm.h: Remove file.
26258 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26259 (PARMS): Do not use macros from bp-asm.h.
26263 (__mpn_add_n): Do not use BP_SYM
26264 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26266 (PARMS): Do not use macros from bp-asm.h.
26269 (__mpn_addmul_1): Do not use BP_SYM
26270 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26272 (PARMS): Do not use macros from bp-asm.h.
26273 (SIGMSK): Likewise.
26274 (_setjmp): Likewise. Do not use BP_SYM.
26275 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26277 (PARMS): Do not use macros from bp-asm.h.
26278 (SIGMSK): Likewise.
26279 (setjmp): Likewise. Do not use BP_SYM.
26280 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26282 (PARMS): Do not use macros from bp-asm.h.
26283 (__frexp): Do not use BP_SYM.
26285 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26287 (PARMS): Do not use macros from bp-asm.h.
26288 (__frexpf): Do not use BP_SYM.
26289 (frexpf): Likewise.
26290 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26292 (PARMS): Do not use macros from bp-asm.h.
26293 (__frexpl): Do not use BP_SYM.
26294 (frexpl): Likewise.
26295 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26297 (PARMS): Do not use macros from bp-asm.h.
26298 (__remquo): Do not use BP_SYM.
26299 (remquo): Likewise.
26300 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26302 (PARMS): Do not use macros from bp-asm.h.
26303 (__remquof): Do not use BP_SYM.
26304 (remquof): Likewise.
26305 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26307 (PARMS): Do not use macros from bp-asm.h.
26308 (__remquol): Do not use BP_SYM.
26309 (remquol): Likewise.
26310 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26312 (PARMS): Do not use macros from bp-asm.h.
26315 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26316 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26318 (PARMS): Do not use macros from bp-asm.h.
26319 (strlen): Do not use BP_SYM.
26320 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26322 (PARMS): Do not use macros from bp-asm.h.
26326 (__mpn_add_n): Do not use BP_SYM.
26327 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26329 (PARMS): Do not use macros from bp-asm.h.
26332 (__mpn_addmul_1): Do not use BP_SYM.
26333 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26336 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26338 (PARMS): Do not use macros from bp-asm.h.
26341 (__mpn_lshift): Do not use BP_SYM.
26342 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26344 (PARMS): Do not use macros from bp-asm.h.
26348 (memcpy): Likewise. Do not use BP_SYM.
26349 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26350 libc_hidden_def and weak_alias.
26351 (mempcpy): Do not use BP_SYM in weak_alias.
26352 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26354 (PARMS): Do not use macros from bp-asm.h.
26357 [!BZERO_P] (CHR): Likewise.
26358 (memset): Likewise. Do not use BP_SYM.
26359 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26361 (PARMS): Do not use macros from bp-asm.h.
26364 (__mpn_mul_1): Do not use BP_SYM.
26365 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26367 (PARMS): Do not use macros from bp-asm.h.
26370 (__mpn_rshift): Do not use BP_SYM.
26371 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26373 (PARMS): Do not use macros from bp-asm.h.
26376 (strchr): Likewise. Do not use BP_SYM.
26377 (index): Do not use BP_SYM in weak_alias.
26378 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26380 (PARMS): Do not use macros from bp-asm.h.
26383 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26384 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26386 (PARMS): Do not use macros from bp-asm.h.
26387 (strlen): Do not use BP_SYM.
26388 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26390 (PARMS): Do not use macros from bp-asm.h.
26394 (__mpn_sub_n): Do not use BP_SYM.
26395 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26397 (PARMS): Do not use macros from bp-asm.h.
26400 (__mpn_submul_1): Do not use BP_SYM.
26401 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26403 (PARMS): Do not use macros from bp-asm.h.
26407 (__mpn_add_n): Do not use BP_SYM.
26408 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26411 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26413 (PARMS): Do not use macros from bp-asm.h.
26416 (memcmp): Do not use BP_SYM.
26417 (bcmp): Do not use BP_SYM in weak_alias.
26418 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26420 (PARMS): Do not use macros from bp-asm.h.
26424 (memcpy): Likewise. Do not use BP_SYM.
26425 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26427 (PARMS): Do not use macros from bp-asm.h.
26431 (memmove): Likewise. Do not use BP_SYM.
26432 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26434 (PARMS): Do not use macros from bp-asm.h.
26438 (__mempcpy): Likewise. Do not use BP_SYM.
26439 (mempcpy): Do not use BP_SYM in weak_alias.
26440 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26442 (PARMS): Do not use macros from bp-asm.h.
26445 [!BZERO_P] (CHR): Likewise.
26446 (memset): Likewise. Do not use BP_SYM.
26447 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26449 (PARMS): Do not use macros from bp-asm.h.
26451 (strcmp): Do not use BP_SYM.
26452 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26454 (PARMS): Do not use macros from bp-asm.h.
26457 [USE_AS_STRTOK_R] (SAVE): Likewise.
26458 (FUNCTION): Likewise. Do not use BP_SYM.
26459 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26461 (strtok_r): Likewise.
26462 (__GI___strtok_r): Likewise.
26463 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26464 (PARMS): Do not use macros from bp-asm.h.
26467 (__mpn_lshift): Do not use BP_SYM.
26468 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26472 (__memchr): Do not use BP_SYM.
26473 (memchr): Do not use BP_SYM in weak_alias.
26474 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26475 (PARMS): Do not use macros from bp-asm.h.
26478 (memcmp): Do not use BP_SYM.
26479 (bcmp): Do not use BP_SYM in weak_alias.
26480 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26481 (PARMS): Do not use macros from bp-asm.h.
26484 (__mpn_mul_1): Do not use BP_SYM.
26485 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26487 (PARMS): Do not use macros from bp-asm.h.
26490 (__rawmemchr): Do not use BP_SYM.
26491 (rawmemchr): Do not use BP_SYM in weak_alias.
26492 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26493 (PARMS): Do not use macros from bp-asm.h.
26496 (__mpn_rshift): Do not use BP_SYM.
26497 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26498 (PARMS): Do not use macros from bp-asm.h.
26499 (SIGMSK): Likewise.
26500 (__sigsetjmp): Likewise. Do not use BP_SYM.
26501 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26502 (_start): Do not use BP_SYM.
26503 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26504 (PARMS): Do not use macros from bp-asm.h.
26507 (__stpcpy): Likewise. Do not use BP_SYM.
26508 (stpcpy): Do not use BP_SYM in weak_alias.
26509 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26511 (PARMS): Do not use macros from bp-asm.h.
26515 (__stpncpy): Likewise. Do not use BP_SYM.
26516 (stpncpy): Do not use BP_SYM in weak_alias.
26517 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26518 (PARMS): Do not use macros from bp-asm.h.
26521 (strchr): Likewise. Do not use BP_SYM.
26522 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26524 (PARMS): Do not use macros from bp-asm.h.
26527 (__strchrnul): Likewise. Do not use BP_SYM.
26528 (strchrnul): Do not use BP_SYM in weak_alias.
26529 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26531 (PARMS): Do not use macros from bp-asm.h.
26533 (strcspn): Do not use BP_SYM.
26534 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26536 (PARMS): Do not use macros from bp-asm.h.
26539 (strpbrk): Likewise. Do not use BP_SYM.
26540 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26542 (PARMS): Do not use macros from bp-asm.h.
26545 (strrchr): Likewise. Do not use BP_SYM.
26546 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26547 (PARMS): Do not use macros from bp-asm.h.
26549 (strspn): Do not use BP_SYM.
26550 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26551 (PARMS): Do not use macros from bp-asm.h.
26555 (FUNCTION): Likewise. Do not use BP_SYM.
26556 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26558 (strtok_r): Likewise.
26559 (__GI___strtok_r): Likewise.
26560 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26561 (PARMS): Do not use macros from bp-asm.h.
26565 (__mpn_sub_n): Do not use BP_SYM.
26566 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26568 (PARMS): Do not use macros from bp-asm.h.
26571 (__mpn_submul_1): Do not use BP_SYM.
26572 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26574 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26576 (PARMS): Do not use macros from bp-asm.h.
26581 (__clone): Do not use BP_SYM.
26582 (clone): Do not use BP_SYM in weak_alias.
26583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26585 (PARMS): Do not use macros from bp-asm.h.
26587 (__mmap64): Do not use BP_SYM.
26588 (mmap64): Do not use BP_SYM in weak_alias.
26589 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26590 <bp-sym.h> and <bp-asm.h>.
26591 (PARMS): Do not use macros from bp-asm.h.
26592 (__posix_fadvise64_l64): Do not use BP_SYM.
26593 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26594 (PARMS): Do not use macros from bp-asm.h.
26596 (semtimedop): Do not use BP_SYM.
26597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26600 2013-02-21 Allan McRae <allan@archlinux.org>
26602 * manual/message.texi (Charset conversion in gettext):
26603 Move @end statement to beginning of line.
26605 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26613 (denorm): Likewise.
26614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26617 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26619 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26620 tail-call to the resolved function if pltexit isn't needed.
26622 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26625 or Y being zero as being unlikely.
26626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26629 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26631 * manual/nss.texi (System Databases and Name Service Switch):
26632 Remove frobnicate @pxref.
26634 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26636 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26637 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26639 2013-02-20 Petr Machata <pmachata@redhat.com>
26641 * elf/elf.h (R_ARM_TARGET1): New macro.
26642 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26643 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26644 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26645 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26646 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26647 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26648 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26649 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26650 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26651 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26652 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26653 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26654 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26655 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26656 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26657 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26658 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26659 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26660 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26661 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26662 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26663 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26664 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26665 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26666 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26667 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26668 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26669 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26670 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26671 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26672 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26673 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26674 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26675 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26676 (R_ARM_THM_GOT_BREL12): Likewise.
26677 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26678 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26679 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26680 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26681 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26682 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26683 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26684 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26685 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26687 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26690 __attribute_used__ to __attribute__ ((unused)).
26692 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26697 comment formatting.
26698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26700 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26703 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26705 (ENTER): Remove both macro definitions.
26707 (CHECK_BOUNDS_LOW): Likewise.
26708 (CHECK_BOUNDS_HIGH): Likewise.
26709 (CHECK_BOUNDS_BOTH): Likewise.
26710 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26711 (RETURN_BOUNDED_POINTER): Likewise.
26712 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26713 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26714 (POP_ERRNO_LOCATION_RETURN): Likewise.
26715 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26716 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26717 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26720 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26721 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26722 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26723 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26724 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26725 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26726 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26727 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26728 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26729 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26730 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26731 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26732 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26734 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26735 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26737 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26738 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26739 * sysdeps/i386/i586/memset.S (memset): Likewise.
26740 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26741 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26742 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26744 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26745 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26746 Change uses of L(2) to L(out).
26747 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26748 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26749 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26750 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26751 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26754 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26757 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26758 (RETURN): Do not use macro LEAVE.
26759 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26760 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26761 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26762 * sysdeps/i386/i686/memset.S (memset): Likewise.
26763 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26764 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26766 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26769 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26770 L(1_2) and L(1_3) into L(1).
26771 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26772 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26773 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26774 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26775 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26776 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26777 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26778 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26779 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26781 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26783 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26784 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26785 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26786 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26787 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26788 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26789 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26790 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26791 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26792 * sysdeps/i386/strspn.S (strspn): Likewise.
26793 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26795 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26796 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26798 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26799 L(1_3) into L(1_1).
26800 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26801 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26802 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26804 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26806 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26808 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26811 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26813 * math/atest-exp.c (exp_mpn): Remove ROUND.
26814 * math/atest-exp2.c (exp_mpn): Likewise.
26815 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26817 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26818 * stdlib/tst-tls-atexit-lib.c: Likewise.
26819 * stdlib/tst-tls-atexit.c: Likewise.
26821 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26823 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26824 and __attribute_alloc_size__.
26826 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26828 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26829 __attribute_alloc_size__.
26830 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26831 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26833 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26835 * include/programs/xmalloc.h: New file.
26836 * catgets/gencat.c: Include it.
26837 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26838 * elf/pldd.c: Likewise.
26839 * iconv/iconv_charmap.c: Likewise.
26840 * iconv/iconvconfig.c: Likewise.
26841 * iconv/strtab.c: Likewise.
26842 * locale/programs/locale.c: Likewise.
26843 * locale/programs/localedef.h: Likewise.
26844 * locale/programs/simple-hash.c: Likewise.
26845 * nscd/nscd.h: Likewise.
26846 * nss/makedb.c: Likewise.
26847 * sysdeps/generic/ldconfig.h: Likewise.
26849 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26851 * Versions.def: Add GLIBC_2.18.
26852 * include/link.h (struct link_map): New member l_tls_dtor_count.
26853 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26854 (__call_tls_dtors): Likewise.
26855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26856 __cxa_thread_atexit_impl.
26857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26873 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26874 (tests): Add test case tst-tls-atexit.
26875 (modules-names): Add shared library for tst-tls-atexit.
26876 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26877 (GLIBC_PRIVATE): Add __call_tls_dtors.
26878 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26880 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26881 * stdlib/tst-tls-atexit.c: New test case.
26882 * stdlib/tst-tls-atexit-lib.c: New test case.
26884 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26886 * elf/Versions (ld): Add _dl_find_dso_for_object.
26887 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26888 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26889 (dl_open_worker): Use _dl_find_dso_for_object.
26890 * elf/dl-sym.c (do_sym): Likewise.
26891 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26893 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26895 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26896 Syntactic changes only.
26897 (_dl_runtime_profile): Do a tail-call to the resolved function.
26899 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26902 * sysdeps/x86_64/bp-asm.h: Remove file.
26903 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26904 <bp-sym.h> and <bp-asm.h>.
26905 (__clone): Do not use BP_SYM.
26906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26907 <bp-sym.h> and <bp-asm.h>.
26908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26909 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26911 (_setjmp): Do not use BP_SYM.
26912 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26914 (setjmp): Do not use BP_SYM.
26915 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26917 (mempcpy): Do not use BP_SYM in weak_alias.
26918 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26920 (strchr): Do not use BP_SYM.
26921 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26923 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26924 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26925 (_start): Do not use BP_SYM.
26926 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26928 (strcat): Do not use BP_SYM.
26929 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26931 (STRCMP): Do not use BP_SYM.
26932 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26934 (STRCPY): Do not use BP_SYM.
26935 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26937 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26939 (FUNCTION): Do not use BP_SYM.
26940 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26942 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26944 2013-02-17 Andreas Jaeger <aj@suse.de>
26946 * time/Versions: Sort entries.
26947 * string/Versions: Likewise.
26948 * resolv/Versions: Likewise.
26949 * posix/Versions: Likewise.
26950 * iconv/Versions: Likewise.
26951 * elf/Versions: Likewise.
26952 * wcsmbs/Versions: Likewise.
26954 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26957 loop termination condition.
26959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26960 variable to calculate EZ.
26963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26964 the lower precision input.
26966 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26969 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26970 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26971 (run-via-rtld-prefix): Do not handle %-bp tests.
26972 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26973 (all-object-suffixes): Remove .ob.
26974 (bppfx): Remove variable.
26975 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26976 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26977 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26978 [$(build-bounded) = yes] (libtype.ob): Likewise.
26979 * Makerules (elide-routines.ob): Remove variable.
26980 (do-tests-clean): Do not handle *-bp.out.
26981 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26982 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26983 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26984 (tests): Do not include $(tests-bp.out).
26985 (xtests): Do not include $(xtests-bp.out).
26986 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26987 [$(build-bounded) = yes] ($(addprefix
26988 $(objpfx),$(binaries-bounded))): Remove rule.
26989 ($(objpfx)%-bp.out): Remove rule.
26990 * config.make.in (build-bounded): Remove variable.
26991 * crypt/Makefile [$(build-bounded) = yes]
26992 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26993 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26994 append to variable.
26995 [$(build-bounded) = yes] (install-lib): Likewise.
26996 [$(build-bounded) = yes] (generated): Likewise.
26997 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26999 * intl/Makefile [$(build-bounded) = yes]
27000 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27001 * math/Makefile [$(build-bounded) = yes]
27002 ($(tests:%=$(objpfx)%-bp): Likewise.
27003 * misc/Makefile [$(build-bounded) = yes]
27004 ($(objpfx)tst-tsearch-bp): Likewise.
27005 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27006 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27008 * string/Makefile (o-objects.ob): Remove variable.
27009 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27010 (CFLAGS-.ob): Remove variable.
27011 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27012 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27013 both definitions of variable.
27014 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27015 (ASFLAGS-.ob): Remove variable.
27017 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27020 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27021 Remove __BOUNDED_POINTERS__ from condition.
27022 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27023 * string/bits/string2.h [!__NO_STRING_INLINES &&
27024 !__BOUNDED_POINTERS__]: Likewise.
27025 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27027 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27028 Remove conditional code.
27029 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27030 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27031 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27035 * csu/libc-start.c: Do not include <bp-sym.h>.
27036 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27037 * elf/dl-open.c: Do not include <bp-sym.h>.
27038 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27039 * math/fegetenv.c: Do not include <bp-sym.h>.
27040 (fegetenv): Do not use BP_SYM in versioned symbols.
27041 * nptl/sysdeps/pthread/bits/libc-lockP.h
27042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27045 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27047 (__pthread_mutex_destroy): Likewise.
27048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27049 (__pthread_mutex_lock): Likewise.
27050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27051 (__pthread_mutex_trylock): Likewise.
27052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27053 (__pthread_mutex_unlock): Likewise.
27054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27055 (__pthread_mutexattr_init): Likewise.
27056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27057 (__pthread_mutexattr_destroy): Likewise.
27058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27059 (__pthread_mutexattr_settype): Likewise.
27060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27061 (__pthread_rwlock_init): Likewise.
27062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27063 (__pthread_rwlock_destroy): Likewise.
27064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27065 (__pthread_rwlock_rdlock): Likewise.
27066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27067 (__pthread_rwlock_tryrdlock): Likewise.
27068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27069 (__pthread_rwlock_wrlock): Likewise.
27070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27071 (__pthread_rwlock_trywrlock): Likewise.
27072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27073 (__pthread_rwlock_unlock): Likewise.
27074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27075 (__pthread_key_create): Likewise.
27076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27077 (__pthread_setspecific): Likewise.
27078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27079 (__pthread_getspecific): Likewise.
27080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27083 (_pthread_cleanup_push_defer): Likewise.
27084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27085 (_pthread_cleanup_pop_restore): Likewise.
27086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27087 (pthread_setcancelstate): Likewise.
27088 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27090 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27091 (memchr): Do not use BP_SYM in weak_alias.
27092 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27093 (fegetenv): Do not use BP_SYM in versioned symbols.
27094 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27095 (fesetenv): Do not use BP_SYM in versioned symbols.
27096 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27097 (feupdateenv): Do not use BP_SYM in versioned symbols.
27098 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27099 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27100 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27101 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27102 (open64): Do not use BP_SYM in weak_alias.
27103 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27104 (fegetenv): Do not use BP_SYM in versioned symbols.
27105 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27106 (fesetenv): Do not use BP_SYM in versioned symbols.
27107 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27108 (feupdateenv): Do not use BP_SYM in versioned symbols.
27109 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27110 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27111 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27112 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27113 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27114 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27117 (__libc_start_main): Do not use BP_SYM.
27119 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27122 redundant return line.
27124 (denorm): Likewise.
27125 (dbl_mp): Likewise.
27126 (sub_magnitudes): Likewise.
27132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27134 (denorm): Likewise.
27135 (dbl_mp): Likewise.
27136 (sub_magnitudes): Likewise.
27143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27146 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27150 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27152 of __mul for squares.
27153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27160 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27163 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27165 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27166 prototype or function definition. Rename ubp_* variables and
27167 parameters. Remove argv definitions conditional on
27168 [__BOUNDED_POINTERS__].
27169 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27170 * elf/dl-runtime.c (_dl_fixup): Likewise.
27171 * include/set-hooks.h (RUN_HOOK): Likewise.
27172 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27174 * string/strcpy.c (strcpy): Do not use __unbounded.
27175 * sysdeps/generic/frame.h (struct layout): Likewise.
27176 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27177 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27178 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27179 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27180 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27181 (__backtrace): Likewise.
27182 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27184 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27185 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27186 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27188 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27189 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27190 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27191 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27192 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27193 Do not use __unbounded.
27194 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27195 Rename __unboundedrlimits parameter to rlimits in prototype.
27196 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27197 Do not use __unbounded.
27198 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27199 not use __ptrvalue.
27200 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27201 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27202 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27203 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27204 __ptrvalue or __unbounded.
27205 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27206 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27208 (__new_msgctl): Do not use __ptrvalue.
27209 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27211 (__libc_msgrcv): Do not use __ptrvalue.
27212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27213 startup_info): Do not use __unbounded.
27214 (__libc_start_main): Likewise. Rename ubp_* variables and
27215 parameters. Remove argv definitions conditional on
27216 [__BOUNDED_POINTERS__].
27217 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27219 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27223 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27225 (__new_shmctl): Do not use __ptrvalue.
27226 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27227 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27229 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27231 (__libc_sigaction): Likewise.
27232 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27235 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27237 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27239 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27241 * string/mempcpy.c: Implement by calling memcpy.
27243 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27251 values in the mantissa.
27253 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27254 minimize writes to Z.
27255 (sub_magnitudes): Simplify code a bit.
27257 2013-02-12 Roland McGrath <roland@hack.frob.com>
27259 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27260 from the message. The linker prefixes all warnings with that already.
27262 2013-02-12 Andreas Schwab <schwab@suse.de>
27265 * posix/regexec.c (extend_buffers): Add parameter min_len.
27266 (check_matching): Pass minimum needed length.
27267 (clean_state_log_if_needed): Likewise.
27268 (get_subexp): Likewise.
27269 * posix/Makefile (tests): Add bug-regex34.
27270 (bug-regex34-ENV): Define.
27271 * posix/bug-regex34.c: New file.
27274 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27275 elements compare against the byte sequence of it, not its name.
27276 * posix/Makefile (tests): Add bug-regex35.
27277 (bug-regex35-ENV): Define.
27278 * posix/bug-regex35.c: New file.
27280 2013-02-11 Tom de Vries <tom@codesourcery.com>
27282 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27284 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27285 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27286 (CHECK_EOL): Add undef.
27288 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27290 * bits/stdlib-bsearch.h: New file.
27291 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27292 * stdlib/stdlib.h: Likewise.
27294 2013-02-11 Roland McGrath <roland@hack.frob.com>
27296 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27297 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27299 * manual/search.texi (Array Search Function): Add missing const in
27301 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27302 declaration to use rlim_t.
27303 (Basic Scheduling Functions): Remove erroneous const from
27304 sched_getparam prototype. Remove erroneous * from
27305 sched_get_priority_max and sched_get_priority_min prototypes.
27306 (Resource Usage): Fix summary @comment on vtimes to refer to
27307 sys/vtimes.h rather than vtimes.h.
27308 Add missing *s in vtimes prototype.
27309 (Limits on Resources): Fix ulimit prototype to return long int.
27310 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27311 prototypes to use long int rather than double.
27312 (BSD Random): Fix initstate and setstate to use char *, not void *.
27313 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27314 prototype to make second argument 'struct aiocb64 *const[]'.
27315 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27316 (Status of AIO Operations): Remove erroneous const in aio_return and
27317 aio_return64 prototypes.
27318 (Synchronizing I/O): Fix sync prototype to return void.
27319 * manual/startup.texi (Suboptions): Remove an erroneous const in
27320 getsubopt prototype.
27321 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27322 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27323 use size_t rather than int.
27324 (Scanning All Users): Likewise for getpwent_r.
27325 (Setting Groups): Add missing const to setgroups prototype.
27326 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27327 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27328 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27329 'const void *' rather than 'const char *'.
27330 (Host Address Functions): Likewise for inet_ntop.
27331 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27332 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27333 ssize_t for return value.
27334 (Sending Data): Likewise for send, sendto, sendmsg.
27335 (Socket Option Functions): Add a missing const in setsockopt prototype.
27336 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27337 use wchar_t for the argument.
27338 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27339 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27341 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27342 double/float/long double for second argument.
27343 Fix return types of significand, significandf, significandl.
27344 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27345 argument in fchmod prototype.
27346 (File Owner): Use uid_t and gid_t in fchown prototype.
27347 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27348 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27349 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27350 use 'const struct dirent **' as argument types to CMP function pointer
27352 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27353 (File Times): Fix summary magic @comment for struct utimbuf and utime
27354 to refer to utime.h, not time.h.
27355 * manual/string.texi (Argz Functions): Add missing const in
27356 argz_extract and argz_next prototypes.
27357 (Finding Tokens in a String): Likewise for basename.
27358 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27359 (Copying and Concatenation): Fix typo in wmemmove prototype.
27360 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27361 (Signal Stack): Remove erroneous const in sigstack prototype.
27362 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27364 (Simple Calendar Time): Likewise for stime.
27365 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27367 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27368 say sys/sysctl.h instead.
27369 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27370 and vsyslog prototypes.
27372 2013-02-11 Tom de Vries <tom@codesourcery.com>
27374 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27377 2013-02-11 Roland McGrath <roland@hack.frob.com>
27379 * misc/sys/mman.h: Fix typo in mremap comment.
27381 2013-02-08 Roland McGrath <roland@hack.frob.com>
27383 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27384 the '\0' terminator.
27386 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27389 * debug/segfault.c: Don't include <bp-checks.h>.
27390 * sysdeps/generic/bp-checks.h: Remove file.
27391 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27392 (__GETDENTS): Don't use CHECK_N.
27393 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27395 (__getgroups): Don't use CHECK_N.
27396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27397 (setgroups): Don't use CHECK_N.
27398 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27399 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27400 (__libc_msgrcv): Don't use CHECK_N.
27401 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27402 (__libc_msgsnd): Don't use CHECK_N.
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27405 (__libc_pread): Don't use CHECK_N.
27406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27407 include <bp-checks.h>.
27408 (__libc_pread64): Don't use CHECK_N.
27409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27410 include <bp-checks.h>.
27411 (__libc_pwrite): Don't use CHECK_N.
27412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27413 include <bp-checks.h>.
27414 (__libc_pwrite64): Don't use CHECK_N.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27417 (__libc_pread): Don't use CHECK_N.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27419 include <bp-checks.h>.
27420 (__libc_pread64): Don't use CHECK_N.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27422 include <bp-checks.h>.
27423 (__libc_pwrite): Don't use CHECK_N.
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27425 include <bp-checks.h>.
27426 (__libc_pwrite64): Don't use CHECK_N.
27427 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27428 (do_pread): Don't use CHECK_N.
27429 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27430 (do_pread64): Don't use CHECK_N.
27431 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27432 (do_pwrite): Don't use CHECK_N.
27433 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27434 (do_pwrite64): Don't use CHECK_N.
27435 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27436 (__libc_readv): Don't use CHECK_N.
27437 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27438 (semop): Don't use CHECK_N.
27439 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27441 (semtimedop): Don't use CHECK_N.
27442 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27443 (__libc_pread): Don't use CHECK_N.
27444 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27446 (__libc_pread64): Don't use CHECK_N.
27447 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27449 (__libc_pwrite): Don't use CHECK_N.
27450 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27452 (__libc_pwrite64): Don't use CHECK_N.
27453 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27455 (__libc_msgrcv): Don't use CHECK_N.
27456 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27457 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27458 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27459 (__libc_writev): Don't use CHECK_N.
27461 2013-02-08 Roland McGrath <roland@hack.frob.com>
27463 * string/strcpy.c: Removed unused variable.
27465 * Makeconfig (+sysdep-includes): Define with := rather than =.
27466 Use an existing include/ subdir of each sysdeps dir before it.
27468 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27470 * nscd/connection.c (register_traced_file): Comment function.
27471 [HAVE_INOTIFY] (union __inev): Define.
27472 [HAVE_INOTIFY] (inotify_check_files): New function.
27473 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27474 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27476 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27478 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27480 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27481 loaded if not already and that a failure is permanent.
27483 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27486 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27487 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27489 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27492 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27493 (CHECK_1_NULL_OK): Likewise.
27494 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27495 (__fxstat): Do not use CHECK_1.
27496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27498 (___fxstat64): Do not use CHECK_1.
27499 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27501 (__fxstatat): Do not use CHECK_1.
27502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27504 (__fxstatat64): Do not use CHECK_1.
27505 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27507 (__fxstat): Do not use CHECK_1.
27508 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27510 (__fxstatat): Do not use CHECK_1.
27511 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27513 (__getresgid): Do not use CHECK_1.
27514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27516 (__getresuid): Do not use CHECK_1.
27517 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27519 (__lxstat): Do not use CHECK_1.
27520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27522 (__old_msgctl): Do not use CHECK_1.
27523 (__new_msgctl): Likewise.
27524 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27526 (__new_setrlimit): Do not use CHECK_1.
27527 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27529 (__old_shmctl): Do not use CHECK_1.
27530 (__new_shmctl): Likewise.
27531 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27533 (__xstat): Do not use CHECK_1.
27534 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27535 (__lxstat): Do not use CHECK_1.
27536 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27538 (___lxstat64): Do not use CHECK_1.
27539 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27540 (__old_msgctl): Do not use CHECK_1.
27541 (__new_msgctl): Likewise.
27542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27544 (__gettimeofday): Do not use CHECK_1.
27545 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27546 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27547 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27549 (__gettimeofday): Do not use CHECK_1.
27550 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27551 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27552 (__new_shmctl): Do not use CHECK_1.
27553 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27555 (do_sigtimedwait): Do not use CHECK_1.
27556 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27558 (do_sigwaitinfo): Do not use CHECK_1.
27559 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27561 (msgctl): Do not use CHECK_1.
27562 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27564 (shmctl): Do not use CHECK_1.
27565 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27566 (ustat): Do not use CHECK_1.
27567 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27569 (__fxstat): Do not use CHECK_1.
27570 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27572 (__fxstatat): Do not use CHECK_1.
27573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27575 (__lxstat): Do not use CHECK_1.
27576 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27578 (__xstat): Do not use CHECK_1.
27579 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27580 (__xstat): Do not use CHECK_1.
27581 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27582 (___xstat64): Do not use CHECK_1.
27585 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27587 (CHECK_BOUNDS_HIGH): Likewise.
27588 * string/strcpy.c: Do not include <bp-checks.h>.
27589 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27591 2013-02-07 Roland McGrath <roland@hack.frob.com>
27593 * nscd/nscd-client.h (__nscd_drop_map_ref):
27594 Add __attribute__ ((unused)).
27595 * nis/nss-nisplus.h (niserr2nss): Likewise.
27597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27598 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27600 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27601 Remove inline keyword.
27602 * include/rounding-mode.h (round_away): Likewise.
27603 * libio/wfileops.c (adjust_wide_data): Likewise.
27604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27605 (__m128i_strloadu_tolower): Likewise.
27606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27607 (__m128i_strloadu_tolower): Likewise.
27608 * time/mktime.c (ydhms_diff): Likewise.
27609 * locale/elem-hash.h (elem_hash): Likewise.
27610 * locale/setlocale.c (setdata): Likewise.
27611 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27612 (re_string_wchar_at): Likewise.
27613 (bitset_not, bitset_merge, bitset_mask): Likewise.
27614 [!(__GNUC__ > 3)] (inline): Remove macro.
27615 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27616 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27617 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27618 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27619 * string/memcmp.c (memcmp_bytes): Likewise.
27620 * locale/programs/locarchive.c (compute_hashval): Likewise.
27621 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27622 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27623 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27624 * nss/getent.c (print_rpc, print_protocols): Likewise.
27625 (print_passwd, print_group, print_aliases): Likewise.
27626 * nis/nss-nisplus.h (niserr2nss): Likewise.
27627 * nscd/connections.c (restart_p): Likewise.
27628 Change return type to bool.
27630 2013-02-05 Roland McGrath <roland@hack.frob.com>
27632 * Makeconfig (all-Depend-files): Add existing
27633 $(sorted-subdirs:=/Depend) files.
27634 (all-subdirs): Remove nss.
27635 * sysdeps/unix/inet/Subdirs: Add it here instead.
27636 * hesiod/Depend: New file.
27638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27639 instead of calling alloca.
27641 * io/lseek.c (__lseek): Rename to __libc_lseek.
27642 Define __lseek as an alias.
27644 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27646 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27648 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27649 else clause and remove check for non-standard endianness.
27651 2013-02-04 David S. Miller <davem@davemloft.net>
27653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27655 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27658 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27659 (__ubp_memchr): Remove prototype.
27660 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27661 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27662 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27663 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27664 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27666 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27667 (__ubp_memchr): Likewise.
27668 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27669 (__ubp_memchr): Likewise.
27670 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27671 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27672 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27676 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27677 (__getcwd): Do not use CHECK_STRING.
27678 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27680 (__real_chown): Do not use CHECK_STRING.
27681 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27683 (fchownat): Do not use CHECK_STRING.
27684 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27686 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27688 (__lchown): Do not use CHECK_STRING.
27689 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27690 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27692 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27694 include <bp-checks.h>.
27695 (truncate64): Do not use CHECK_STRING.
27696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27698 (__real_chown): Do not use CHECK_STRING.
27699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27701 (__lchown): Do not use CHECK_STRING.
27702 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27704 (__chown): Do not use CHECK_STRING.
27705 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27707 (truncate64): Do not use CHECK_STRING.
27708 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27710 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27711 (__xmknod): Do not use CHECK_STRING.
27712 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27714 (__xmknodat): Do not use CHECK_STRING.
27715 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27716 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27718 2013-02-04 Andreas Schwab <schwab@suse.de>
27721 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27722 * include/netdb.h: Likewise for h_errno.
27723 * elf/tst-stackguard1.c: Include <tls.h>.
27725 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27727 * elf/link.h (struct link_map): Extend the l_addr comment.
27728 * include/link.h (struct link_map): Likewise.
27730 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27733 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27734 (BOUNDED_1): Remove macro.
27735 * debug/backtrace.c: Don't include <bp-checks.h>.
27736 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27737 (__backtrace): Likewise.
27738 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27740 (__backtrace): Don't use BOUNDED_1.
27741 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27743 (__backtrace): Don't use BOUNDED_1.
27744 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27745 (__backtrace): Don't use BOUNDED_1.
27746 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27747 (shmat): Don't use BOUNDED_N.
27749 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27752 * sysdeps/generic/bp-start.h: Remove file.
27753 * csu/libc-start.c: Don't include <bp-start.h>.
27754 (LIBC_START_MAIN): Set up __environ directly instead of using
27755 INIT_ARGV_and_ENVIRON.
27756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27760 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27762 (CHECK_FCNTL): Likewise.
27763 (CHECK_N_PAGES): Likewise.
27766 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27768 (CHECK_SIGSET_NULL_OK): Likewise.
27769 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27771 (sigpending): Don't use CHECK_SIGSET.
27772 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27774 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27775 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27777 (do_sigsuspend): Don't use CHECK_SIGSET.
27778 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27780 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27781 (do_sigwait): Don't use CHECK_SIGSET.
27782 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27785 include <bp-checks.h>.
27786 (sigpending): Don't use CHECK_SIGSET.
27787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27788 include <bp-checks.h>.
27789 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27790 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27792 (sigpending): Don't use CHECK_SIGSET.
27793 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27798 * sysdeps/generic/bp-semctl.h: Remove file.
27799 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27800 <bp-checks.h> and <bp-semctl.h>.
27801 (__old_semctl): Don't use CHECK_SEMCTL.
27802 (__new_semctl): Likewise.
27803 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27805 (__old_semctl): Don't use CHECK_SEMCTL.
27806 (__new_semctl): Likewise.
27807 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27808 <bp-checks.h> and <bp-semctl.h>.
27809 (__old_semctl): Don't use CHECK_SEMCTL.
27810 (__new_semctl): Likewise.
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27812 <bp-checks.h> and <bp-semctl.h>.
27813 (semctl): Don't use CHECK_SEMCTL.
27816 * Makerules (elide-bp-thunks): Remove variable.
27817 (elide-routines.oS): Don't use $(elide-bp-thunks).
27818 (elide-routines.os): Likewise.
27819 (elide-routines.o): Likewise.
27820 (elide-routines.op): Likewise.
27821 (elide-routines.og): Likewise.
27822 (objects): Don't use $(bp-thunks).
27823 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27825 (common-generated): Do not add s-proto-bp.d.
27826 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27829 Do not generate makefile rules for bounded-pointer thunks.
27830 * sysdeps/generic/bp-thunks.h: Remove file.
27831 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27832 * sysdeps/unix/s-proto-bp.S: Likewise.
27835 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27836 parts of result separately when argument is not close to line from
27837 -i to i and one part of argument is small.
27838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27840 * math/libm-test.inc (cacos_test): Add more tests.
27841 (casin_test): Likewise.
27842 (casinh_test): Likewise.
27843 * sysdeps/i386/fpu/libm-test-ulps: Update.
27844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27846 2013-01-31 David S. Miller <davem@davemloft.net>
27848 * po/de.po: Update from translation team.
27850 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27852 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27854 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27856 * configure.in (_AC_PROG_CC_C89): New definition.
27857 * configure: Regenerate.
27859 * configure.in (AC_PROG_CPP): New definition.
27860 * configure: Regenerate.
27862 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27864 * debug/tst-backtrace.h: New file.
27865 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27866 (ret): Remove variable.
27868 (FAIL): Remove macro.
27869 (NO_INLINE): Likewise.
27870 (fn1): Use match function instead of strstr.
27871 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27872 (ret): Remove variable.
27874 (FAIL): Remove macro.
27875 (NO_INLINE): Likewise.
27876 (fn): Use match function instead of strstr.
27877 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27878 (ret): Remove variable.
27880 (FAIL): Remove macro.
27881 (NO_INLINE): Likewise.
27882 (handle_signal): Use match function instead of strstr.
27883 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27884 (ret): Remove variable.
27886 (FAIL): Remove macro.
27887 (NO_INLINE): Likewise.
27888 (handle_signal): Use match function instead of strstr.
27890 2013-01-23 Roland McGrath <roland@hack.frob.com>
27892 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27894 2013-01-23 David S. Miller <davem@davemloft.net>
27896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27897 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27898 argument of CAS if possible.
27899 * sysdeps/sparc/sparc64/bits/atomic.h
27900 (__arch_compare_and_exchange_val_32_acq): Likewise.
27901 (__arch_compare_and_exchange_val_64_acq): Likewise.
27903 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27905 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27906 * sysdeps/posix/ulimit.c: ... this.
27907 Include <limits.h>.
27908 * sysdeps/unix/bsd/ulimit.c: Remove file.
27910 2013-01-23 Adam Conrad <adconrad@0c3.net>
27912 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27913 (LDFLAGS-tst-array5): Likewise.
27915 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27918 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27919 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27920 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27921 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27923 2013-01-21 David S. Miller <davem@davemloft.net>
27925 * sysdeps/sparc/backtrace.c: New file.
27926 * sysdeps/sparc/sparc32/backtrace.h: New file.
27927 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27928 * sysdeps/sparc/sparc64/backtrace.h: New file.
27929 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27930 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27933 2013-01-21 Andreas Schwab <schwab@suse.de>
27936 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27939 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27945 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27946 Mark Mitchell <mark@codesourcery.com>
27947 Tom de Vries <tom@codesourcery.com>
27948 Paul Pluzhnikov <ppluzhnikov@google.com>
27950 * debug/tst-backtrace2.c: New file.
27951 * debug/tst-backtrace3.c: Likewise.
27952 * debug/tst-backtrace4.c: Likewise.
27953 * debug/tst-backtrace5.c: Likewise.
27954 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27955 (CFLAGS-tst-backtrace3.c): Likewise.
27956 (CFLAGS-tst-backtrace4.c): Likewise.
27957 (CFLAGS-tst-backtrace5.c): Likewise.
27958 (LDFLAGS-tst-backtrace2): Likewise.
27959 (LDFLAGS-tst-backtrace3): Likewise.
27960 (LDFLAGS-tst-backtrace4): Likewise.
27961 (LDFLAGS-tst-backtrace5): Likewise.
27962 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27963 tst-backtrace4 and tst-backtrace5.
27965 2013-01-18 Anton Blanchard <anton@samba.org>
27966 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27969 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27971 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27973 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27974 "+r" and remove output regs list as redundant. Add explicit inline
27975 asm to specify register of return val to work around compiler codegen
27976 bug. Remove (int) cast on return value. Add return type parameter to
27977 use in macro so that this macro does not truncate return value for
27979 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27980 pass to INTERNAL_VSYSCALL_NCS.
27981 (INLINE_VSYSCALL): Add 'long int' as return type to
27982 INTERNAL_VSYSCALL_NCS macro invocation.
27983 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27984 INTERNAL_VSYSCALL_NCS macro invocation.
27985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27987 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27990 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27991 Fix application of SIMD FP exception mask.
27993 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27994 mp_no from a power of two.
27995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27996 __mpexp_twomm1. Use __pow_mp.
27998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28001 2013-01-17 David S. Miller <davem@davemloft.net>
28003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28005 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28008 * include/complex.h: Condition contents on [!_COMPLEX_H].
28009 (__kernel_casinhf): New prototype.
28010 (__kernel_casinh): Likewise.
28011 (__kernel_casinhl): Likewise.
28012 * math/Makefile (libm_calls): Add k_casinh.
28013 * math/k_casinh.c: New file.
28014 * math/k_casinhf.c: Likewise.
28015 * math/k_casinhl.c: Likewise.
28016 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28017 finite nonzero arguments.
28018 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28019 finite nonzero arguments.
28020 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28021 finite nonzero arguments.
28022 * math/s_casinh.c: Do not include <float.h>.
28023 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28024 * math/s_casinhf.c: Do not include <float.h>.
28025 (__casinhf): Move code for finite nonzero arguments to
28027 * math/s_casinhl.c: Do not include <float.h>.
28028 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28030 (__casinhl): Move code for finite nonzero arguments to
28032 * math/libm-test.inc (cacos_test): Add more tests.
28033 * sysdeps/i386/fpu/libm-test-ulps: Update.
28034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28036 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28038 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28039 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28040 [!HAVE_MREMAP]: Remove [defined linux] case.
28041 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28043 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28045 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28047 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28049 * elf/elf.h (R_386_SIZE32): New relocation.
28050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28052 (elf_machine_rela): Likewise.
28053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28054 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28056 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28058 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28059 (FP_FAST_FMA): Do not define.
28060 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28061 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28062 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28063 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28064 !_SOFT_FLOAT]: Likewise.
28065 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28066 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28069 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28072 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28073 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28076 2013-01-16 Andreas Schwab <schwab@suse.de>
28079 * include/stdlib.h (__mktemp): Add declaration.
28080 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28081 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28083 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28085 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28088 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28089 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28091 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28092 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28096 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28097 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28100 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28101 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28105 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28107 2013-01-15 David S. Miller <davem@davemloft.net>
28109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28110 trunc{,f} to libm-sysdep_routes.
28111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28122 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28125 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28126 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28129 nearbyint{,f} to libm-sysdep_routes.
28130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28147 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28148 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28150 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28151 libc_feholdexcept and libc_fesetenv.
28153 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28155 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28157 2013-01-14 David S. Miller <davem@davemloft.net>
28159 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28160 (SPARC_ASM_VIS2_IFUNC): Likewise.
28161 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28163 use of 'siam' instruction.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28197 routines to libm-sysdep_routines.
28198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28201 fdim/fdimf to libm-sysdep_routines.
28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28210 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28211 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28212 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28213 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28215 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28218 to optimize copies.
28220 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28225 local variable MPTWO.
28226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28229 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28231 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28234 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28236 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28238 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28240 * manual/pattern.texi (glob_t): Document gl_flags.
28241 (glob64_t): Likewise.
28243 2013-01-11 David S. Miller <davem@davemloft.net>
28245 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28246 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28247 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28248 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28249 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28250 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28251 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28252 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28253 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28254 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28256 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28260 sparc V9 rather than using V8 code.
28261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28264 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28266 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28269 2013-01-11 Roland McGrath <roland@hack.frob.com>
28271 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28272 not in the main loop.
28273 * configure: Regenerated.
28275 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28277 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28278 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28280 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28281 [!__GLIBC_HAVE_LONG_LONG] case.
28282 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28283 condition to just #else.
28284 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28285 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28286 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28287 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28289 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28290 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28291 #elif condition to just #else.
28292 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28293 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28294 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28295 #elif condition to just #else.
28297 2013-01-11 Steve Ellcey <sellcey@mips.com>
28299 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28300 (EF_MIPS_ARCH_64): Fix value.
28301 (EF_MIPS_ARCH_32R2): New.
28302 (EF_MIPS_ARCH_64R2): New.
28304 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28306 * Makeconfig (+link-pie-before-libc): New.
28307 (+link-pie-after-libc): Likewise.
28308 (+link-pie-tests): Likewise.
28309 (+link-pie): Rewritten.
28310 (link-before-libc): Remove $(config-LDFLAGS).
28311 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28312 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28313 (config-LDFLAGS): Renamed to ...
28314 (rtld-LDFLAGS): This.
28315 (rtld-tests-LDFLAGS): New macro.
28316 (link-libc-rpath-link): Likewise.
28317 (link-libc-tests-rpath-link): Likewise.
28318 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28319 (link-libc): Prepand $(link-libc-rpath-link).
28320 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28321 (test-program-prefix): New macro.
28322 (test-via-rtld-prefix): Likewise.
28323 (test-program-cmd): Likewise.
28324 (host-test-program-cmd): Likewise.
28325 * Makefile ($(common-objpfx)testrun.sh): Replace
28326 $(run-program-prefix) with $(test-program-prefix).
28327 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28329 ($(common-objpfx)shlib.lds): Likewise.
28330 (build-module-helper): Likewise.
28331 ($(common-objpfx)format.lds): Likewise.
28332 * Rules (binaries-pie-tests): New.
28333 (binaries-pie-notests): Likewise.
28334 (binaries-pie): Rewritten.
28335 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28336 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28337 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28338 (make-test-out): Replace $(host-built-program-cmd) with
28339 $(host-test-program-cmd).
28340 * config.make.in (build-hardcoded-path-in-tests): New variable.
28341 * configure.in (--enable-hardcoded-path-in-tests): New configure
28343 (hardcoded_path_in_tests): New AC_SUBST.
28344 * configure: Regenerated.
28345 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28346 $(built-program-cmd) with $(test-program-cmd).
28347 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28348 (test_program_cmd): This.
28349 * elf/Makefile ($(objpfx)order.out): Run test with
28350 $(test-program-prefix).
28351 ($(objpfx)order2.out): Likewise.
28352 ($(objpfx)tst-initorder.out): Likewise.
28353 ($(objpfx)tst-initorder2.out): Likewise.
28354 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28355 $(test-program-cmd).
28356 ($(objpfx)tst-array1-static.out): Likewise.
28357 ($(objpfx)tst-array2.out): Likewise.
28358 ($(objpfx)tst-array3.out): Likewise.
28359 ($(objpfx)tst-array4.out): Likewise.
28360 ($(objpfx)tst-array5.out): Likewise.
28361 ($(objpfx)tst-array5-static.out): Likewise.
28362 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28363 $(test-program-cmd).
28364 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28365 $(run-program-prefix) with $(test-program-prefix).
28366 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28367 (test_program_prefix): This.
28368 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28369 $(run-program-prefix) with $(test-program-prefix).
28370 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28371 (test_program_prefix): This.
28372 * iconvdata/tst-tables.sh: Likewise.
28373 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28374 $(run-program-prefix) with $(test-program-prefix).
28375 ($(objpfx)tst-translit.out): Likewise.
28376 ($(objpfx)tst-gettext2.out): Likewise.
28377 ($(objpfx)tst-gettext4.out): Likewise.
28378 ($(objpfx)tst-gettext6.out): Likewise.
28379 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28380 (test_program_prefix): This.
28381 * intl/tst-gettext2.sh: Likewise.
28382 * intl/tst-gettext4.sh Likewise.
28383 * intl/tst-gettext6.sh: Likewise.
28384 * intl/tst-translit.sh: Likewise.
28385 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28386 with $(test-program-cmd).
28387 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28388 $(run-program-prefix) with $(test-program-prefix).
28389 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28390 (test_program_prefix): This.
28391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28392 $(run-program-prefix) with $(test-program-prefix).
28393 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28394 (test_program_prefix): This.
28395 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28396 * posix/Makefile ($(objpfx)globtest.out): Replace
28397 $(run-via-rtld-prefix) and $(test-wrapper) with
28398 $(test-program-prefix) and $(test-via-rtld-prefix).
28399 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28400 $(test-program-prefix).
28401 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28402 $(host-test-program-cmd).
28403 (tst-spawn-ARGS): Likewise.
28404 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28405 $(test-program-prefix).
28406 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28407 (test_via_rtld_prefix): This.
28408 (test_wrapper): Renamed to ...
28409 (test_program_prefix): This.
28410 (run_program_prefix): Replaced by test_program_prefix.
28411 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28412 (test_program_prefix): This.
28413 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28414 with $(host-test-program-cmd).
28415 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28416 $(run-program-prefix) with $(test-program-prefix).
28417 ($(objpfx)tst-printf.out): Likewise.
28418 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28419 $(test-program-cmd).
28420 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28421 (test_program_prefix): This.
28422 * stdio-common/tst-unbputc.sh: Likewise.
28423 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28424 $(run-program-prefix) with $(test-program-prefix).
28425 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28426 (test_program_prefix): This.
28427 * string/Makefile ($(objpfx)tst-svc.out): Replace
28428 $(built-program-cmd) with $(test-program-cmd).
28430 2013-01-11 Andreas Jaeger <aj@suse.de>
28433 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28434 value. Sync with Linux 3.7.
28436 2013-01-10 David S. Miller <davem@davemloft.net>
28438 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28442 2013-01-10 Roland McGrath <roland@hack.frob.com>
28444 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28446 * configure: Regenerated.
28448 2013-01-10 David S. Miller <davem@davemloft.net>
28450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28451 sparc V9 rather than using V8 code.
28452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28455 2013-01-10 Roland McGrath <roland@hack.frob.com>
28457 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28458 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28459 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28460 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28461 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28462 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28463 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28464 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28465 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28466 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28467 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28468 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28469 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28470 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28471 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28472 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28473 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28474 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28475 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28476 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28477 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28478 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28479 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28480 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28481 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28482 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28483 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28485 2013-01-10 David S. Miller <davem@davemloft.net>
28487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28489 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28491 * posix/Makefile (tests-static): New variable.
28492 (tests): Add $(tests-static).
28493 (tst-exec-static-ARGS): New variable.
28494 (tst-spawn-static-ARGS): Likewise.
28495 * posix/tst-exec-static.c: New file.
28496 * posix/tst-spawn-static.c: Likewise.
28497 * posix/tst-exec.c: Support run directly.
28498 * posix/tst-spawn.c: Likewise.
28500 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28502 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28504 * math/bits/mathcalls.h (llrint): Likewise.
28505 (llround): Likewise.
28506 * stdlib/stdlib.h (struct drand48_data): Likewise.
28507 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28508 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28509 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28511 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28514 (elf_greg_t): Likewise.
28515 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28516 (__jmp_buf): Likewise.
28517 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28519 (llrint): Likewise, for all definitions.
28520 (llrintl): Likewise.
28522 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28523 Remove [__GNUC__] condition.
28524 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28525 condition to just [__USE_ISOC99].
28526 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28528 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28531 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28532 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28534 (_POSIX_V6_ILP32_OFF32): Likewise.
28535 (_XBS5_ILP32_OFF32): Likewise.
28536 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28537 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28539 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28541 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28544 doubles __mpexp_twomm1. Adjust usage.
28545 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28548 2013-01-10 Andreas Schwab <schwab@suse.de>
28551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28552 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28554 2013-01-09 David S. Miller <davem@davemloft.net>
28557 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28558 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28559 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28560 (TCP_FASTOPEN): Define.
28561 (tcp_repair_opt): New structure.
28562 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28564 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28565 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28566 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28567 (tcp_cookie_transactions): New structure.
28569 2013-01-09 Anton Blanchard <anton@samba.org>
28571 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28574 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28576 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28578 * include/features.h (__USE_ANSI): Remove.
28580 2013-01-09 Roland McGrath <roland@hack.frob.com>
28582 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28584 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28586 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28588 * sysdeps/s390/fpu/libm-test-ulps: Update.
28590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28596 (denorm): Likewise.
28597 (__mp_dbl): Likewise.
28598 (__dbl_mp): Likewise.
28599 (add_magnitudes): Likewise.
28600 (sub_magnitudes): Likewise.
28606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28610 (denorm): Likewise.
28611 (__mp_dbl): Likewise.
28612 (__dbl_mp): Likewise.
28613 (add_magnitudes): Likewise.
28614 (sub_magnitudes): Likewise.
28620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28624 (denorm): Likewise.
28625 (__mp_dbl): Likewise.
28626 (__dbl_mp): Likewise.
28627 (add_magnitudes): Likewise.
28628 (sub_magnitudes): Likewise.
28635 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28637 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28638 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28639 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28640 2 && __USE_EXTERN_INLINES]: Likewise.
28642 2013-01-08 Andreas Jaeger <aj@suse.de>
28645 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28647 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28650 2013-01-07 Anton Blanchard <anton@samba.org>
28652 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28654 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28655 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28658 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28659 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28668 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28670 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28675 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28676 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28678 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28681 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28682 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28687 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28696 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28698 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28699 (__MALLOC_PMT): Likewise.
28700 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28701 [__GNUC__], only on [_LIBC].
28702 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28703 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28704 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28705 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28706 forward declaration.
28707 (realloc_hook_ini): Likewise.
28708 (memalign_hook_ini): Likewise.
28709 (__libc_memalign): Do not use __MALLOC_PMT in variable
28711 (__libc_valloc): Likewise.
28712 (__libc_pvalloc): Likewise.
28713 (__libc_calloc): Likewise.
28714 (__posix_memalign): Likewise.
28717 * math/s_casinh.c: Include <float.h>.
28718 (__casinh): Do not do computation with squaring and square root
28719 for large arguments.
28720 * math/s_casinhf.c: Include <float.h>.
28721 (__casinhf): Do not do computation with squaring and square root
28722 for large arguments.
28723 * math/s_casinhl.c: Include <float.h>.
28724 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28725 (__casinhl): Do not do computation with squaring and square root
28726 for large arguments.
28727 * math/libm-test.inc (casin_test): Add more tests.
28728 (casinh_test): Likewise.
28729 * sysdeps/i386/fpu/libm-test-ulps: Update.
28730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28732 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28735 (__x86_64_raw_data_cache_size): Likewise.
28736 (__x86_64_data_cache_size_half): Likewise.
28737 (__x86_64_raw_data_cache_size_half): Likewise.
28738 (__x86_64_shared_cache_size): Likewise.
28739 (__x86_64_raw_shared_cache_size): Likewise.
28740 (__x86_64_shared_cache_size_half): Likewise.
28741 (__x86_64_raw_shared_cache_size_half): Likewise.
28742 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28744 (__x86_data_cache_size): This.
28745 (__x86_64_raw_data_cache_size): Renamed to ...
28746 (__x86_raw_data_cache_size): This.
28747 (__x86_64_data_cache_size_half): Renamed to ...
28748 (__x86_data_cache_size_half): This.
28749 (__x86_64_raw_data_cache_size_half): Renamed to ...
28750 (__x86_raw_data_cache_size_half): This.
28751 (__x86_64_shared_cache_size): Renamed to ...
28752 (__x86_shared_cache_size): This.
28753 (__x86_64_raw_shared_cache_size): Renamed to ...
28754 (__x86_raw_shared_cache_size): This.
28755 (__x86_64_shared_cache_size_half): Renamed to ...
28756 (__x86_shared_cache_size_half): This.
28757 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28758 (__x86_raw_shared_cache_size_half): This.
28759 * sysdeps/x86_64/memcpy.S: Updated.
28760 * sysdeps/x86_64/memset.S: Likewise.
28761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28765 2013-01-04 David S. Miller <davem@davemloft.net>
28767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28769 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28771 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28772 1 to avoid redefinition warning.
28773 (__USE_GNU): Don't define.
28774 (init_signaling_nan): Protoize.
28776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28778 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28780 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28782 (__cpymn): Likewise.
28783 (norm): Remove commented code.
28784 (denorm): Likewise.
28785 (__mp_dbl): Likewise.
28787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28788 (__cpymn): Likewise.
28789 (norm): Remove commented code.
28790 (denorm): Likewise.
28791 (__mp_dbl): Likewise.
28794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28795 mp_no value for 1.0 and 2.0.
28796 (norm): Use RADIXI instead of radixi.d.
28797 (denorm): Likewise.
28798 (__mul): Use 0.0 instead of zero.d.
28799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28800 mp_no value for 1.0 and 2.0.
28801 (norm): Use RADIXI instead of radixi.d.
28802 (denorm): Likewise.
28803 (__mul): Use 0.0 instead of zero.d.
28805 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28808 * math/s_casinh.c (__casinh): Reduce finite argument to first
28809 quadrant then set signs of results at the end.
28810 * math/s_casinhf.c (__casinhf): Likewise.
28811 * math/s_casinhl.c (__casinhl): Likewise.
28812 * math/libm-test.inc (casin_test): Add more tests.
28813 (casinh_test): Likewise.
28814 * sysdeps/i386/fpu/libm-test-ulps: Update.
28815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28817 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28819 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28821 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28823 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28825 (denorm): Likewise.
28826 (__mp_dbl): Likewise.
28829 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28830 and adjust the header comment.
28832 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28833 variable name from declaration.
28835 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28838 Initialize COMMON_CPUID_INDEX_7 element.
28839 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28840 (CPUID_RTM): Likewise.
28841 (HAS_RTM): Likewise.
28842 (COMMON_CPUID_INDEX_7): New enum.
28844 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28847 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28848 size is zero, record memory as freed.
28850 2013-01-03 Andreas Jaeger <aj@suse.de>
28852 * po/ia.po: Add new Interlingua translation.
28854 2012-01-03 Allan McRae <allan@archlinux.org>
28856 * locale/programs/localedef.c: Fix description of '--posix' flag.
28858 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28860 * NEWS: Update dates in second copyright notice.
28861 * README: Update copyright dates in example.
28862 * manual/libc.texinfo: Update copyright dates.
28863 * scripts/test-installation.pl: Update copyright date in --version
28866 * hurd/ctty-input.c: Fix copyright notice formatting.
28867 * hurd/ctty-output.c: Likewise.
28868 * hurd/dtable.c: Likewise.
28869 * hurd/hurd-raise.c: Likewise.
28870 * hurd/hurdprio.c: Likewise.
28871 * hurd/msgportdemux.c: Likewise.
28872 * misc/sys/file.h: Likewise.
28873 * misc/sys/ioctl.h: Likewise.
28874 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28875 * sysdeps/mach/hurd/chdir.c: Likewise.
28876 * sysdeps/mach/hurd/fchdir.c: Likewise.
28877 * sysdeps/mach/hurd/rename.c: Likewise.
28878 * sysdeps/mach/hurd/rmdir.c: Likewise.
28879 * sysdeps/mach/hurd/seekdir.c: Likewise.
28880 * sysdeps/mach/hurd/setsid.c: Likewise.
28881 * sysdeps/posix/wait3.c: Likewise.
28883 * All files with FSF copyright notices: Update copyright dates
28884 using scripts/update-copyrights.
28885 * intl/plural.c: Regenerated.
28886 * locale/programs/charmap-kw.h: Likewise.
28887 * locale/programs/locfile-kw.h: Likewise.
28889 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28895 calculation loop and add branch prediction.
28897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28898 check access beyond bounds of m1np.
28900 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28902 (__inv): Remove local variable MPTWO to use the global
28904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28908 MP3HALFS static const.
28910 2013-01-01 David S. Miller <davem@davemloft.net>
28912 * po/ca.po: Update from translation team.
28914 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28916 * scripts/update-copyrights: New file.
28917 * Makeconfig: Reformat copyright notice.
28918 * ctype/ctype.h: Likewise.
28919 * debug/swprintf_chk.c: Likewise.
28920 * elf/dl-cache.c: Likewise.
28921 * elf/dl-debug.c: Likewise.
28922 * elf/dl-object.c: Likewise.
28923 * grp/initgroups.c: Likewise.
28924 * hurd/Makefile: Likewise.
28925 * hurd/hurd/signal.h: Likewise.
28926 * hurd/hurdfault.c: Likewise.
28927 * hurd/hurdioctl.c: Likewise.
28928 * hurd/hurdlookup.c: Likewise.
28929 * hurd/intr-msg.c: Likewise.
28930 * iconv/gconv_open.c: Likewise.
28931 * libio/swprintf.c: Likewise.
28932 * locale/lc-ctype.c: Likewise.
28933 * locale/nl_langinfo.c: Likewise.
28934 * mach/Machrules: Likewise.
28935 * mach/Makefile: Likewise.
28936 * malloc/obstack.h: Likewise.
28937 * manual/Makefile: Likewise.
28938 * manual/tsort.awk: Likewise.
28939 * misc/bits/stab.def: Likewise.
28940 * nis/nis_print_group_entry.c: Likewise.
28941 * nis/nis_table.c: Likewise.
28942 * nis/nss_compat/compat-pwd.c: Likewise.
28943 * nis/nss_compat/compat-spwd.c: Likewise.
28944 * po/Makefile: Likewise.
28945 * posix/fnmatch.c: Likewise.
28946 * posix/regex.h: Likewise.
28947 * resolv/Makefile: Likewise.
28948 * resolv/nss_dns/dns-network.c: Likewise.
28949 * resolv/res_hconf.c: Likewise.
28950 * scripts/gen-sorted.awk: Likewise.
28951 * soft-fp/soft-fp.h: Likewise.
28952 * stdio-common/printf.h: Likewise.
28953 * stdlib/monetary.h: Likewise.
28954 * stdlib/random.c: Likewise.
28955 * stdlib/random_r.c: Likewise.
28956 * sysdeps/generic/Makefile: Likewise.
28957 * sysdeps/gnu/Makefile: Likewise.
28958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28986 * sysdeps/mach/hurd/errnos.awk: Likewise.
28987 * sysdeps/mach/hurd/fork.c: Likewise.
28988 * sysdeps/mach/hurd/getcwd.c: Likewise.
28989 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28990 * sysdeps/mach/hurd/mmap.c: Likewise.
28991 * sysdeps/mach/hurd/utimes.c: Likewise.
28992 * sysdeps/mach/hurd/xmknod.c: Likewise.
28993 * sysdeps/posix/profil.c: Likewise.
28994 * sysdeps/posix/readdir_r.c: Likewise.
28995 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28996 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29006 * sysdeps/pthread/lio_listio.c: Likewise.
29007 * sysdeps/sparc/dl-procinfo.h: Likewise.
29008 * sysdeps/unix/i386/sysdep.S: Likewise.
29009 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29010 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29011 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29012 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29014 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29015 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29016 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29017 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29018 * sysdeps/wordsize-32/divdi3.c: Likewise.
29019 * time/sys/time.h: Likewise.
29020 * wcsmbs/Makefile: Likewise.
29022 2013-01-01 David S. Miller <davem@davemloft.net>
29024 * po/fr.po: Update from translation team.
29026 * catgets/gencat.c: Update copyright year.
29027 * csu/version.c: Likewise.
29028 * debug/catchsegv.sh: Likewise.
29029 * debug/pcprofiledump.c: Likewise.
29030 * debug/xtrace.sh: Likewise.
29031 * elf/ldconfig.c: Likewise.
29032 * elf/ldd.bash.in: Likewise.
29033 * elf/pldd.c: Likewise.
29034 * elf/sotruss.ksh: Likewise.
29035 * elf/sprof.c: Likewise.
29036 * iconv/iconv_prog.c: Likewise.
29037 * iconv/iconvconfig.c: Likewise.
29038 * locale/programs/locale.c: Likewise.
29039 * locale/programs/localedef.c: Likewise.
29040 * login/programs/pt_chown.c: Likewise.
29041 * malloc/memusage.sh: Likewise.
29042 * malloc/memusagestat.c: Likewise.
29043 * malloc/mtrace.pl: Likewise.
29044 * nscd/nscd.c: Likewise.
29045 * nss/getent.c: Likewise.
29046 * nss/makedb.c: Likewise.
29047 * posix/getconf.c: Likewise.
29049 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29051 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29054 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29056 * math/bits/mathcalls.h (modf): Use __nonnull.
29058 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29060 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29061 (split): Use macro CN instead of the bare value.
29062 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29065 instead of the bare value.
29066 (power1): Likewise.
29068 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29074 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29076 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29078 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29079 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29081 2012-12-28 Andreas Jaeger <aj@suse.de>
29083 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29084 values are from Linux 3.7.
29086 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29087 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29089 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29091 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29096 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29097 variables with preprocessor constants.
29098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29099 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29100 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29102 2012-12-27 Bruno Haible <bruno@clisp.org>
29105 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29108 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29111 and use variable directly.
29112 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29114 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29121 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29122 include directive. Remove local variable MPONE.
29123 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29127 2012-12-25 David S. Miller <davem@davemloft.net>
29129 * version.h (RELEASE): Set to "development".
29130 (VERSION): Set to "2.17.90".
29131 * NEWS: Add 2.18 section.
29133 2012-12-21 David S. Miller <davem@davemloft.net>
29135 * po/hr.po: Update from translation team.
29137 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29139 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29141 2012-12-19 Steve Ellcey <sellcey@mips.com>
29143 * NEWS: Mention new memcpy for MIPS.
29145 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29147 * manual/contrib.texi (Contributors): Spelling correction.
29149 2012-12-15 David S. Miller <davem@davemloft.net>
29151 * po/ru.po: Update from translation team.
29153 2012-12-13 David S. Miller <davem@davemloft.net>
29155 * NEWS: Mention IFUNC testsuite enhancements.
29157 * po/pl.po: Update from translation team.
29158 * po/bg.po: Likewise.
29160 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29161 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29163 2012-12-11 David S. Miller <davem@davemloft.net>
29165 * po/sv.po: Update from translation team.
29167 * po/vi.po: Update from translation team.
29169 * po/cs.po: Update from translation team.
29171 * po/de.po: Update from translation team.
29172 * po/eo.po: Likewise.
29173 * po/nl.po: Likewise.
29175 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29178 * manual/argp.texi (Argp Helper Functions): Move node to follow
29179 Argp Parsing State.
29182 * manual/conf.texi (Limits on File System Capacity): Mention if
29183 terminating null is included in the max size.
29185 2012-12-10 Andreas Jaeger <aj@suse.de>
29187 * po/cs.po: Update from translation team.
29189 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29191 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29192 void pointer and cast to uintptr_t.
29193 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29195 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29196 * sysdeps/s390/s390-64/memset.S: Likewise.
29198 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29201 * menual/message.texi (Message Translation): Fix typos.
29202 (Helper programs for gettext): Likewise.
29204 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29207 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29210 2012-12-07 David S. Miller <davem@davemloft.net>
29212 * po/libc.pot: Update.
29214 2012-12-07 Richard Henderson <rth@redhat.com>
29217 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29218 normal/normal case to before the switch.
29219 (_FP_DIV): Likewise.
29221 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29222 Mike Frysinger <vapier@gentoo.org>
29224 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29225 check for __NR_fadvise64_64.
29227 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29229 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29230 0, not just to plain "0" as a statement.
29231 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29234 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29236 * NEWS: Use sourceware.org in Bugzilla URL.
29238 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29241 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29243 * stdio-common/tst-put-error.c (do_test): Add newline to the
29244 padded test to ensure flush.
29246 2012-12-05 Jeff Law <law@redhat.com>
29248 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29250 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29252 * README: Don't refer to ports add-on as distributed separately.
29253 Mention AArch64 in list of systems supported in the ports add-on.
29255 * LICENSES: Add more non-FSF copyright and license notices.
29257 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29260 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29262 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29263 10000 as width of padded output.
29265 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29267 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29270 variable LX with __attribute__ ((unused)).
29271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29276 with __attribute__ ((unused)).
29278 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29280 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29282 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29284 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29285 (CFLAGS-nldbl-acos.c): New variable.
29286 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29287 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29288 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29289 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29290 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29291 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29292 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29293 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29294 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29295 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29296 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29297 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29298 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29299 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29300 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29301 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29302 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29303 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29304 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29305 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29306 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29307 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29308 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29309 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29310 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29311 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29312 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29313 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29314 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29315 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29316 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29317 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29318 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29319 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29320 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29321 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29322 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29323 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29324 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29325 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29326 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29327 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29328 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29329 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29330 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29331 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29332 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29333 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29334 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29335 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29336 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29337 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29338 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29339 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29340 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29341 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29342 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29343 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29344 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29345 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29346 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29347 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29348 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29349 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29350 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29351 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29352 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29353 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29354 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29355 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29356 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29357 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29358 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29359 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29360 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29361 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29362 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29363 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29364 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29365 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29366 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29367 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29368 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29369 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29370 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29371 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29372 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29373 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29374 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29375 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29376 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29377 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29378 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29379 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29380 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29381 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29382 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29385 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29388 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29389 whole low double instead of just low 47 bits when splitting values
29392 2012-12-03 Allan McRae <allan@archlinux.org>
29394 * manual/stdio.texi (Predefined Printf Handlers): Remove
29395 @hsep and @vsep usage.
29397 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29399 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29400 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29402 2012-12-03 Jeff Law <law@redhat.com>
29404 * time/sys/time.h (settimeofday): Do not mark TV argument
29407 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29409 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29410 when currently writing and seek to current position when not.
29411 * libio/Makefile (tests): Remove bug-fclose1.
29412 * libio/bug-fclose1.c: Delete.
29414 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29416 * manual/arith.texi (feenableexcept): Fix typo.
29417 (fedisableexcept): Likewise.
29419 2012-11-30 Roland McGrath <roland@hack.frob.com>
29421 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29422 second, differently-typed declaration, rather than a cast.
29424 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29426 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29427 * include/rpc/svc.h: ... here.
29429 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29432 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29433 depending n and resplen2 to catch cases where answer
29436 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29439 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29441 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29445 2012-11-29 Roland McGrath <roland@hack.frob.com>
29447 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29449 2012-11-28 Jeff Law <law@redhat.com>
29452 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29453 dataset_temporary. Track alloca usage into alloca_used.
29454 If dataset is large allocate and release it via malloc/free.
29456 2012-06-04 Florian Weimer <fweimer@redhat.com>
29459 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29461 2012-11-28 David S. Miller <davem@davemloft.net>
29463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29465 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29468 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29469 of pi/2 rounded to nearest to 64 bits.
29470 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29471 nearest to 64 bits.
29472 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29475 2012-11-28 Jeff Law <law@redhat.com>
29476 Martin Osvald <mosvald@redhat.com>
29479 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29480 * sunrpc/svc.c: Include time.h.
29481 (__svc_accept_failed): New function.
29482 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29483 any reason other than EINTR, call __svc_accept_failed.
29484 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29485 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29487 2012-11-28 Andreas Schwab <schwab@suse.de>
29489 * scripts/abilist.awk: Also handle indirect functions in .opd
29492 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29495 * sysdeps/x86/fpu/powl_helper.c: New file.
29496 * sysdeps/x86/fpu/Makefile: Likewise.
29497 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29499 (__ieee754_powl): Use __powl_helper for finite arguments except
29500 integer exponents below 8.
29501 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29503 (__ieee754_powl): Use __powl_helper for finite arguments except
29504 integer exponents below 8.
29505 * math/libm-test.inc (pow_test): Add more tests and enable some
29506 previously disabled tests.
29507 * sysdeps/i386/fpu/libm-test-ulps: Update.
29508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29510 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29511 Carlos O'Donell <carlos_odonell@mentor.com>
29513 * nss/makedb.c (is_prime): Assert that input is odd and greater
29514 than 4. Note that fact in a comment too.
29515 (next_prime): Add 4 to input.
29517 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29520 * libio/Makefile (tests): Add test case tst-fwrite-error.
29521 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29522 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29523 * libio/tst-fwrite-error.c: New test case.
29525 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29527 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29528 before casting to void *.
29529 * include/libc-internal.h (__pointer_type): New macro.
29530 (__integer_if_pointer_type_sub): Likewise.
29531 (__integer_if_pointer_type): Likewise.
29532 (cast_to_integer): Likewise.
29533 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29534 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29535 before casting to atomic64_t.
29536 (atomic_exchange_acq): Likewise.
29537 (__arch_exchange_and_add_body): Likewise.
29538 (__arch_add_body): Likewise.
29539 (atomic_add_negative): Likewise.
29540 (atomic_add_zero): Likewise.
29542 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29544 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29545 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29546 (add_fdes): Likewise.
29547 (linear_search_fdes): Likewise.
29548 (binary_search_unencoded_fdes): Likewise.
29550 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29552 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29554 2012-11-24 Adam Conrad <adconrad@0c3.net>
29556 * configure.in: Autodetect C++ header directories.
29557 * configure: Regenerated.
29559 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29561 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29563 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29567 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29569 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29570 LDBL_MANT_DIG == 106]: Disable some tests.
29571 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29573 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29578 input for small inputs. Return +/- pi/2 for large inputs.
29579 * math/libm-test.inc (atan_test): Add more tests.
29581 * sysdeps/generic/unwind-dw2-fde-glibc.c
29582 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29583 __attribute__ ((unused)).
29586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29587 x * y if x and y are nonzero and z is zero.
29590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29591 nonzero exponents with absolute value below 0x1p-117 to +/-
29595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29596 up arguments below 2**-450, not just those below 2**-500.
29597 * math/libm-test.inc (hypot_test): Add another test.
29600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29601 Return a+b for ratio over 2**120, not 2**60.
29602 * math/libm-test.inc (hypot_test): Add another test.
29604 * math/libm-test.inc (clog_test): Use
29605 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29606 (clog10_test): Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29611 2012-11-22 Andreas Schwab <schwab@suse.de>
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29615 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29617 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29618 printf output with newline.
29620 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29623 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29624 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29625 -z nodlopen, -z initfirst and -z execstack support.
29626 * configure: Regenerated.
29628 * elf/elf.h (DF_1_NODIRECT): New macro.
29629 (DF_1_IGNMULDEF): Likewise.
29630 (DF_1_NOKSYMS): Likewise.
29631 (DF_1_NOHDR): Likewise.
29632 (DF_1_EDITED): Likewise.
29633 (DF_1_NORELOC): Likewise.
29634 (DF_1_SYMINTPOSE): Likewise.
29635 (DF_1_GLOBAUDIT): Likewise.
29636 (DF_1_SINGLETON): Likewise.
29637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29638 DT_1_SUPPORTED_MASK bits.
29639 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29641 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29643 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29645 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29647 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29651 (sendmmsg): Move declarations...
29652 * socket/sys/socket.h: ... here.
29653 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29654 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29656 * socket/recvmmsg.c: ... this new file.
29657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29658 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29659 definition of __sendmmsg hidden.
29660 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29661 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29662 Move ENOSYS stub into and include it from...
29663 * socket/sendmmsg.c: ... this new file.
29664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29665 (sysdep_routines): Move recvmmsg and sendmmsg...
29666 * socket/Makefile (routines): ... here.
29667 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29668 (GLIBC_PRIVATE): Add __sendmmsg.
29669 * include/sys/socket.h (__sendmmsg): Add declarations.
29670 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29673 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29676 variable I1 with __attribute__ ((unused)).
29677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29679 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29681 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29682 DUMMY variables with __attribute__ ((unused)).
29684 * bits/byteswap.h: Include <bits/types.h>.
29685 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29687 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29689 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29690 string_t. Do not manually set errno.
29691 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29692 length with __strnlen. Make sure to both set errno and return it on
29695 2012-11-19 David S. Miller <davem@davemloft.net>
29697 With help from Joseph Myers.
29698 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29699 very large arguments properly.
29700 * math/libm-test.inc (atan_test): New tests.
29701 (atan2_test): New tests.
29702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29705 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29708 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29711 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29712 [POSIX] (EADDRNOTAVAIL): Likewise.
29713 [POSIX] (EAFNOSUPPORT): Likewise.
29714 [POSIX] (EALREADY): Likewise.
29715 [POSIX] (ECONNABORTED): Likewise.
29716 [POSIX] (ECONNREFUSED): Likewise.
29717 [POSIX] (ECONNRESET): Likewise.
29718 [POSIX] (EDESTADDRREQ): Likewise.
29719 [POSIX] (EDQUOT): Likewise.
29720 [POSIX] (EHOSTUNREACH): Likewise.
29721 [POSIX] (EIDRM): Likewise.
29722 [POSIX] (EISCONN): Likewise.
29723 [POSIX] (ELOOP): Likewise.
29724 [POSIX] (EMULTIHOP): Likewise.
29725 [POSIX] (ENETDOWN): Likewise.
29726 [POSIX] (ENETUNREACH): Likewise.
29727 [POSIX] (ENOBUFS): Likewise.
29728 [POSIX] (ENODATA): Likewise.
29729 [POSIX] (ENOLINK): Likewise.
29730 [POSIX] (ENOMSG): Likewise.
29731 [POSIX] (ENOPROTOOPT): Likewise.
29732 [POSIX] (ENOSR): Likewise.
29733 [POSIX] (ENOSTR): Likewise.
29734 [POSIX] (ENOTCONN): Likewise.
29735 [POSIX] (ENOTSOCK): Likewise.
29736 [POSIX] (EOPNOTSUPP): Likewise.
29737 [POSIX] (EOVERFLOW): Likewise.
29738 [POSIX] (EPROTO): Likewise.
29739 [POSIX] (EPROTONOSUPPORT): Likewise.
29740 [POSIX] (EPROTOTYPE): Likewise.
29741 [POSIX] (ESTALE): Likewise.
29742 [POSIX] (ETIME): Likewise.
29743 [POSIX] (ETXTBSY): Likewise.
29744 [POSIX] (EWOULDBLOCK): Likewise.
29745 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29746 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29747 [POSIX] (SEEK_CUR): Likewise.
29748 [POSIX] (SEEK_END): Likewise.
29749 [POSIX || UNIX98] (mode_t): Do not require.
29750 [POSIX] (off_t): Likewise.
29751 [POSIX] (pid_t): Likewise.
29752 [POSIX] (sys/stat.h): Do not allow header.
29753 [POSIX] (unistd.h): Likewise.
29754 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29755 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29756 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29757 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29759 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29760 sigevent): Specify elements.
29761 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29763 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29764 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29766 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29767 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29768 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29769 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29770 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29771 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29772 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29773 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29774 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29776 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29777 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29778 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29779 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29781 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29783 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29785 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29787 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29789 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29790 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29791 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29792 Specify lower bound on value.
29793 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29794 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29795 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29796 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29797 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29799 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29800 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29802 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29804 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29805 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29806 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29807 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29808 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29809 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29810 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29821 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29823 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29826 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29830 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29832 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29835 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29842 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29843 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29844 specify as optional.
29845 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29848 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29849 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29850 [XPG3] (NL_LANGMAX): Likewise.
29851 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29852 [POSIX || XPG3] (NL_NMAX): Likewise.
29853 [POSIX || XPG3] (NL_SETMAX): Likewise.
29854 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29855 [XPG3] (NZERO): Likewise.
29856 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29857 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29858 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29859 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29860 (REG_ERANGE): Expect.
29861 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29863 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29864 Use (void) in prototype.
29865 [POSIX] (*_t): Allow.
29866 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29867 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29868 (WRDE_BADVAL): Expect.
29870 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29872 [XPG3 || XPG4] (O_RSYNC): Likewise.
29873 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29875 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29876 [XPG3 || XPG4] (sigqueue): Likewise.
29877 [XPG3 || XPG4] (sigtimedwait): Likewise.
29878 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29879 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29880 [XPG3 || XPG4] (vsnprintf): Likewise.
29881 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29883 [XPG3 || XPG4] (blksize_t): Likewise.
29884 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29886 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29887 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29888 [XPG3 || XPG4] (struct itimerspec): Likewise.
29889 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29890 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29891 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29892 [XPG3 || XPG4] (clockid_t): Likewise.
29893 [XPG3 || XPG4] (timer_t): Likewise.
29894 [XPG3 || XPG4] (clock_getres): Likewise.
29895 [XPG3 || XPG4] (clock_gettime): Likewise.
29896 [XPG3 || XPG4] (clock_settime): Likewise.
29897 [XPG3 || XPG4] (nanosleep): Likewise.
29898 [XPG3 || XPG4] (timer_create): Likewise.
29899 [XPG3 || XPG4] (timer_delete): Likewise.
29900 [XPG3 || XPG4] (timer_gettime): Likewise.
29901 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29902 [XPG3 || XPG4] (timer_settime): Likewise.
29903 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29904 [XPG3 || XPG4] (getlogin_r): Likewise.
29905 [XPG3 || XPG4] (pread): Likewise.
29906 [XPG3 || XPG4] (pthread_atfork): Likewise.
29907 [XPG3 || XPG4] (pwrite): Likewise.
29910 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29913 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29915 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29916 finalizing MALLSTREAM.
29918 * sysdeps/mach/hurd/syncfs.c: New file.
29920 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29923 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29924 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29925 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29926 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29927 (_nss_dns_gethostbyname4_r): Likewise.
29928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29929 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29931 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29934 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29936 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29938 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29939 * elf/cache.c (print_entry): Print ",AArch64" for
29942 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29943 * elf/cache.c (print_entry): Print ",hard-float" for
29946 2012-11-18 David S. Miller <davem@davemloft.net>
29948 With help from Joseph Myers.
29949 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29951 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29953 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29954 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29957 * math/libm-test.inc (y0_test): New tests.
29958 (y1_test): New tests.
29959 * sysdeps/i386/fpu/libm-test-ulps: Update.
29960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29963 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29965 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29967 * configure: Regenerated.
29969 2012-11-17 David S. Miller <davem@davemloft.net>
29972 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29973 nonzero exponents with absolute value below 0x1p-128 to +/-
29976 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29978 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29980 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29982 * posix/getconf-speclist.c: New file.
29983 * posix/posix-envs.def: Likewise.
29984 * posix/confstr.c (START_ENV_GROUP): New macro.
29985 (END_ENV_GROUP): Likewise.
29986 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29987 (KNOWN_PRESENT_ENV_STRING): Likewise.
29988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29989 (UNKNOWN_ENVIRONMENT): Likewise.
29990 (confstr): Include posix-envs.def instead of handling
29991 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29992 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29993 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29994 (END_ENV_GROUP): Likewise.
29995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29996 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29997 (UNKNOWN_ENVIRONMENT): Likewise.
29998 (__sysconf): Include posix-envs.def instead of handling associated
29999 cases directly here.
30000 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30001 preprocessing getconf-speclist.c rather than running getconf or
30002 generating empty file.
30004 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30006 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30008 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30011 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30013 2012-11-16 David S. Miller <davem@davemloft.net>
30015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30016 smaller than LDBL_EPSILON/2.0L, just return xm1.
30018 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30020 * elf/tst-array1.c (init): Set constructor priority to 1000.
30021 (fini): Set destructor priority to 1000.
30022 * elf/tst-array2dep.c: Likewise.
30024 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30027 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30028 (_IO_new_file_xsputn): Also return EOF if none of the input
30029 data was written when overflow failed.
30030 * libio/iopadn.c (_IO_padn): Likewise.
30031 * libio/iowpadn.c (_IO_wpadn): Likewise.
30032 * stdio-common/tst-put-error.c: Add copyright notice.
30033 (do_test): Add case for printing padded string.
30034 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30035 _IO_padn returned error.
30036 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30037 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30040 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30042 * libio/libioP.h: Add comment note that the references to C++
30043 bits are now obsolete.
30045 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30047 * math/libm-test.inc (check_complex): Use asprintf.
30049 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30051 * debug/pcprofiledump.c (print_version): Update copyright year.
30052 * malloc/memusagestat.c (print_version): Likewise.
30054 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30057 * elf/Makefile (tests): Add tst-audit8.
30058 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30059 ($(objpfx)tst-audit8.out): New target.
30060 (tst-audit8-ENV): New variable.
30061 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30062 audit if l_reloc_result is NULL.
30063 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30064 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30065 * elf/tst-audit8.c: New file.
30067 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30069 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30070 * misc/Makefile (CFLAGS-select.c): Define.
30071 * posix/Makefile (CFLAGS-pause.c): Define.
30073 2012-11-13 David S. Miller <davem@davemloft.net>
30075 * crypt/Makefile: Move test targets after toplevel Rules
30076 inclusion. Grab any necessary sysdep routines when linking.
30077 * crypt/md5.c (md5_process_block): Remove define, we will always
30078 name it __md5_process_block.
30079 (md5_finish_ctx): Update md5_process_block call.
30080 (md5_stream): Likewise.
30081 (md5_process_bytes): Likewise.
30082 (md5_process_block): Rename to __md5_process_block and move to ...
30083 * crypt/md5-block.c: ... here.
30084 * crypt/sha256.c (sha256_process_block): Move to ...
30085 * crypt/sha256-block.c: ... here.
30086 * crypt/sha512.c (sha512_process_block): Move to ...
30087 * crypt/sha512-block.c: ... here.
30088 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30090 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30091 * sysdeps/sparc/sparc64/multiarch/Makefile
30092 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30094 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30097 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30098 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30099 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30100 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30101 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30102 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30103 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30104 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30112 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30114 * timezone/tzselect.ksh: Update from tzcode git revision
30115 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30116 * timezone/zdump.c: Likewise.
30117 * timezone/zic.c: Likewise.
30118 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30119 in TZVERSION setting, not $(PKGVERSION).
30120 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30121 REPORT_BUGS_TO settings.
30124 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30127 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30130 detection to immediately after _FP_ROUND().
30131 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30134 2012-11-11 David S. Miller <davem@davemloft.net>
30136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30138 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30139 __close rather than their public counterparts.
30141 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30143 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30145 [UNIX98] (sem_timedwait): Do not expect.
30146 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30147 [XPG4 || UNIX98] (sockatmark): Do not expect.
30148 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30149 (clock_getcpuclockid): Do not expect.
30150 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30151 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30153 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30154 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30155 [UNIX98] (vwscanf): Likewise.
30156 [UNIX98] (vswscanf): Likewise.
30158 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30160 * timezone/version.h: Remove file.
30161 * timezone/README: Do not refer to version.h.
30162 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30163 $(objpfx)version.h.
30164 ($(objpfx)zdump.o): Likewise.
30165 ($(objpfx)version.h): New target.
30167 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30169 * timezone/README: Don't mention modification to tzselect.ksh.
30170 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30171 work on unmodified tzselect.ksh. Substitute version numbers in
30174 * Makefile (format-me): Remove.
30175 (INSTALL): Adjust indentation. Use commands directly instead of
30176 using $(format-me).
30178 * aclocal.m4 (ACX_PKGVERSION): New macro.
30179 (ACX_BUGURL): Likewise.
30180 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30181 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30182 (REPORT_BUGS_TO): Likewise.
30183 * configure: Regenerated.
30184 * config.h.in (PKGVERSION): New macro.
30185 (REPORT_BUGS_TO): Likewise.
30186 * config.make.in (PKGVERSION): New variable.
30187 (PKGVERSION_TEXI): Likewise.
30188 (REPORT_BUGS_TO): Likewise.
30189 (REPORT_BUGS_TEXI): Likewise.
30190 * Makefile (format-me): Use -I$(common-objpfx)manual.
30191 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30192 ($(common-objpfx)manual/%): New target.
30193 (manual/%): Remove target.
30194 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30195 (print_version): Use PKGVERSION.
30196 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30197 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30198 and REPORT_BUGS_TO.
30199 ($(objpfx)xtrace): Likewise.
30200 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30201 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30202 (print_version): Use PKGVERSION.
30203 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30204 (do_version): Use PKGVERSION.
30205 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30207 (common-ldd-rewrite): Likewise.
30208 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30209 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30210 (print_version): Use PKGVERSION.
30211 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30212 * elf/pldd.c (argp_program_bug_address): Remove variable.
30213 (more_help): New function.
30214 (argp): Use more_help.
30215 (print_version): Use PKGVERSION.
30216 * elf/sln.c (main): Use PKGVERSION.
30217 (usage): Use REPORT_BUGS_TO.
30218 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30219 (top level): Use PKGVERSION.
30220 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30221 (print_version): Use PKGVERSION.
30222 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30223 (print_version): Use PKGVERSION.
30224 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30225 (print_version): Use PKGVERSION.
30226 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30227 (print_version): Use PKGVERSION.
30228 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30229 (print_version): Use PKGVERSION.
30230 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30231 (print_version): Use PKGVERSION.
30232 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30234 ($(objpfx)memusage): Likewise.
30235 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30236 (do_version): Use PKGVERSION.
30237 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30238 (print_version): Use PKGVERSION.
30239 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30240 ($PKGVERSION): New variable.
30241 ($REPORT_BUGS_TO): Likewise.
30242 (usage): Use $REPORT_BUGS_TO.
30243 (top level): Use $PKGVERSION.
30244 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30245 ($(objpfx)pkgvers.texi): New rule.
30246 ($(objpfx)stamp-pkgvers): Likewise.
30247 * manual/install.texi: Include pkgvers.texi.
30248 (--with-pkgversion): Document new configure option.
30249 (--with-bugurl): Likewise.
30250 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30251 than necessarily for this particular distribution. Use
30252 REPORT_BUGS_TO for where to report bugs.
30253 * INSTALL: Regenerated.
30254 * manual/libc.texinfo: Include pkgvers.texi.
30255 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30256 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30257 (print_version): Use PKGVERSION.
30258 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30259 (print_version): Use PKGVERSION.
30260 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30261 (print_version): Use PKGVERSION.
30262 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30263 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30265 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30266 (print_version): Use PKGVERSION.
30267 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30268 (print_version): Use PKGVERSION.
30269 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30272 * timezone/checktab.awk: Update from tzcode 2012i.
30273 * timezone/ialloc.c: Likewise.
30274 * timezone/private.h: Likewise.
30275 * timezone/scheck.c: Likewise.
30276 * timezone/tzfile.h: Likewise.
30277 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30278 (TZVERSION): Hardcode tzcode version number.
30279 * timezone/zdump.c: Update from tzcode 2012i.
30280 * timezone/zic.c: Likewise.
30281 * timezone/version.h: New file.
30282 * timezone/README: Describe version.h. Update upstream location.
30285 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30286 (mktemp): Enable declaration.
30287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30304 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30305 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30306 for copies of such integer values.
30307 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30308 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30310 2012-11-09 Andreas Jaeger <aj@suse.de>
30312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30313 definitions and declarations that are provided by
30314 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30316 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30318 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30319 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30320 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30323 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30325 * elf/elf.h: Update comment before AArch64 relocations.
30327 2012-11-07 David S. Miller <davem@davemloft.net>
30329 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30330 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30331 (__start_context): Declare.
30332 (__makecontext_ret): Delete.
30333 (__makecontext): Hook up __start_context instead of
30335 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30336 (sysdep_routines): Add __start_context when in stdlib.
30338 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30340 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30341 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30342 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30344 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30345 (READELF): New variable. Use it instead of hardcoded "readelf".
30347 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30349 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30350 * sysdeps/x86/Makefile: Here.
30351 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30352 * sysdeps/x86/tst-xmmymm.sh: This.
30354 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30356 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30358 [UNIX98] (pthread_barrier_t): Do not expect.
30359 [UNIX98] (pthread_barrierattr_t): Likewise.
30360 [UNIX98] (pthread_spinlock_t): Likewise.
30361 [UNIX98] (pthread_barrier_destroy): Likewise.
30362 [UNIX98] (pthread_barrier_init): Likewise.
30363 [UNIX98] (pthread_barrier_wait): Likewise.
30364 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30365 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30366 [UNIX98] (pthread_barrierattr_init): Likewise.
30367 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30368 [UNIX98] (pthread_getcpuclockid): Likewise.
30369 [UNIX98] (pthread_mutex_timedlock): Likewise.
30370 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30371 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30372 [UNIX98] (pthread_sigmask): Likewise.
30373 [UNIX98] (pthread_spin_destroy): Likewise.
30374 [UNIX98] (pthread_spin_init): Likewise.
30375 [UNIX98] (pthread_spin_lock): Likewise.
30376 [UNIX98] (pthread_spin_trylock): Likewise.
30377 [UNIX98] (pthread_spin_unlock): Likewise.
30378 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30380 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30381 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30382 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30383 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30384 [XPG3 || XPG4] (pthread_key_t): Likewise.
30385 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30386 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30387 [XPG3 || XPG4] (pthread_once_t): Likewise.
30388 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30389 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30391 [XPG3 || XPG4] (pthread_t): Likewise.
30393 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30395 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30398 Change function return type to int.
30400 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30401 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30402 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30403 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30404 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30405 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30406 [!POSIX] (posix_madvise): Likewise.
30407 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30409 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30410 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30411 (mode_t): Likewise.
30412 (posix_mem_offset): Likewise.
30413 (posix_typed_mem_get_info): Likewise.
30414 (posix_typed_mem_open): Likewise.
30416 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30417 Change condition to [XOPEN2K8].
30419 * conform/conformtest.pl: Preprocess allow-header data with -x c
30420 instead of from stdin.
30421 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30422 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30423 [C99-based standards] (cerfc): Likewise.
30424 [C99-based standards] (cexp2): Likewise.
30425 [C99-based standards] (cexpm1): Likewise.
30426 [C99-based standards] (clog10): Likewise.
30427 [C99-based standards] (clog1p): Likewise.
30428 [C99-based standards] (clog2): Likewise.
30429 [C99-based standards] (clgamma): Likewise.
30430 [C99-based standards] (ctgamma): Likewise.
30431 [C99-based standards] (cerff): Likewise.
30432 [C99-based standards] (cerfcf): Likewise.
30433 [C99-based standards] (cexp2f): Likewise.
30434 [C99-based standards] (cexpm1f): Likewise.
30435 [C99-based standards] (clog10f): Likewise.
30436 [C99-based standards] (clog1pf): Likewise.
30437 [C99-based standards] (clog2f): Likewise.
30438 [C99-based standards] (clgammaf): Likewise.
30439 [C99-based standards] (ctgammaf): Likewise.
30440 [C99-based standards] (cerfl): Likewise.
30441 [C99-based standards] (cerfcl): Likewise.
30442 [C99-based standards] (cexp2l): Likewise.
30443 [C99-based standards] (cexpm1l): Likewise.
30444 [C99-based standards] (clog10l): Likewise.
30445 [C99-based standards] (clog1pl): Likewise.
30446 [C99-based standards] (clog2l): Likewise.
30447 [C99-based standards] (clgammal): Likewise.
30448 [C99-based standards] (ctgammal): Likewise.
30449 * conform/data/inttypes.h-data [C99-based standards]: Include
30450 stdint.h-data. Remove all expectations for stdint.h contents.
30451 [C99-based standards] (PRI*): Do not allow.
30452 [C99-based standards] (SCN*): Likewise.
30453 [C99-based standards] (*_t): Likewise.
30454 [C99-based-standards] (PRId8): Expect macro.
30455 [C99-based-standards] (PRIi8): Likewise.
30456 [C99-based-standards] (PRIo8): Likewise.
30457 [C99-based-standards] (PRIu8): Likewise.
30458 [C99-based-standards] (PRIx8): Likewise.
30459 [C99-based-standards] (PRIX8): Likewise.
30460 [C99-based-standards] (SCNd8): Likewise.
30461 [C99-based-standards] (SCNi8): Likewise.
30462 [C99-based-standards] (SCNo8): Likewise.
30463 [C99-based-standards] (SCNu8): Likewise.
30464 [C99-based-standards] (SCNx8): Likewise.
30465 [C99-based-standards] (PRIdLEAST8): Likewise.
30466 [C99-based-standards] (PRIiLEAST8): Likewise.
30467 [C99-based-standards] (PRIoLEAST8): Likewise.
30468 [C99-based-standards] (PRIuLEAST8): Likewise.
30469 [C99-based-standards] (PRIxLEAST8): Likewise.
30470 [C99-based-standards] (PRIXLEAST8): Likewise.
30471 [C99-based-standards] (SCNdLEAST8): Likewise.
30472 [C99-based-standards] (SCNiLEAST8): Likewise.
30473 [C99-based-standards] (SCNoLEAST8): Likewise.
30474 [C99-based-standards] (SCNuLEAST8): Likewise.
30475 [C99-based-standards] (SCNxLEAST8): Likewise.
30476 [C99-based-standards] (PRIdFAST8): Likewise.
30477 [C99-based-standards] (PRIiFAST8): Likewise.
30478 [C99-based-standards] (PRIoFAST8): Likewise.
30479 [C99-based-standards] (PRIuFAST8): Likewise.
30480 [C99-based-standards] (PRIxFAST8): Likewise.
30481 [C99-based-standards] (PRIXFAST8): Likewise.
30482 [C99-based-standards] (SCNdFAST8): Likewise.
30483 [C99-based-standards] (SCNiFAST8): Likewise.
30484 [C99-based-standards] (SCNoFAST8): Likewise.
30485 [C99-based-standards] (SCNuFAST8): Likewise.
30486 [C99-based-standards] (SCNxFAST8): Likewise.
30487 [C99-based-standards] (PRId16): Likewise.
30488 [C99-based-standards] (PRIi16): Likewise.
30489 [C99-based-standards] (PRIo16): Likewise.
30490 [C99-based-standards] (PRIu16): Likewise.
30491 [C99-based-standards] (PRIx16): Likewise.
30492 [C99-based-standards] (PRIX16): Likewise.
30493 [C99-based-standards] (SCNd16): Likewise.
30494 [C99-based-standards] (SCNi16): Likewise.
30495 [C99-based-standards] (SCNo16): Likewise.
30496 [C99-based-standards] (SCNu16): Likewise.
30497 [C99-based-standards] (SCNx16): Likewise.
30498 [C99-based-standards] (PRIdLEAST16): Likewise.
30499 [C99-based-standards] (PRIiLEAST16): Likewise.
30500 [C99-based-standards] (PRIoLEAST16): Likewise.
30501 [C99-based-standards] (PRIuLEAST16): Likewise.
30502 [C99-based-standards] (PRIxLEAST16): Likewise.
30503 [C99-based-standards] (PRIXLEAST16): Likewise.
30504 [C99-based-standards] (SCNdLEAST16): Likewise.
30505 [C99-based-standards] (SCNiLEAST16): Likewise.
30506 [C99-based-standards] (SCNoLEAST16): Likewise.
30507 [C99-based-standards] (SCNuLEAST16): Likewise.
30508 [C99-based-standards] (SCNxLEAST16): Likewise.
30509 [C99-based-standards] (PRIdFAST16): Likewise.
30510 [C99-based-standards] (PRIiFAST16): Likewise.
30511 [C99-based-standards] (PRIoFAST16): Likewise.
30512 [C99-based-standards] (PRIuFAST16): Likewise.
30513 [C99-based-standards] (PRIxFAST16): Likewise.
30514 [C99-based-standards] (PRIXFAST16): Likewise.
30515 [C99-based-standards] (SCNdFAST16): Likewise.
30516 [C99-based-standards] (SCNiFAST16): Likewise.
30517 [C99-based-standards] (SCNoFAST16): Likewise.
30518 [C99-based-standards] (SCNuFAST16): Likewise.
30519 [C99-based-standards] (SCNxFAST16): Likewise.
30520 [C99-based-standards] (PRId32): Likewise.
30521 [C99-based-standards] (PRIi32): Likewise.
30522 [C99-based-standards] (PRIo32): Likewise.
30523 [C99-based-standards] (PRIu32): Likewise.
30524 [C99-based-standards] (PRIx32): Likewise.
30525 [C99-based-standards] (PRIX32): Likewise.
30526 [C99-based-standards] (SCNd32): Likewise.
30527 [C99-based-standards] (SCNi32): Likewise.
30528 [C99-based-standards] (SCNo32): Likewise.
30529 [C99-based-standards] (SCNu32): Likewise.
30530 [C99-based-standards] (SCNx32): Likewise.
30531 [C99-based-standards] (PRIdLEAST32): Likewise.
30532 [C99-based-standards] (PRIiLEAST32): Likewise.
30533 [C99-based-standards] (PRIoLEAST32): Likewise.
30534 [C99-based-standards] (PRIuLEAST32): Likewise.
30535 [C99-based-standards] (PRIxLEAST32): Likewise.
30536 [C99-based-standards] (PRIXLEAST32): Likewise.
30537 [C99-based-standards] (SCNdLEAST32): Likewise.
30538 [C99-based-standards] (SCNiLEAST32): Likewise.
30539 [C99-based-standards] (SCNoLEAST32): Likewise.
30540 [C99-based-standards] (SCNuLEAST32): Likewise.
30541 [C99-based-standards] (SCNxLEAST32): Likewise.
30542 [C99-based-standards] (PRIdFAST32): Likewise.
30543 [C99-based-standards] (PRIiFAST32): Likewise.
30544 [C99-based-standards] (PRIoFAST32): Likewise.
30545 [C99-based-standards] (PRIuFAST32): Likewise.
30546 [C99-based-standards] (PRIxFAST32): Likewise.
30547 [C99-based-standards] (PRIXFAST32): Likewise.
30548 [C99-based-standards] (SCNdFAST32): Likewise.
30549 [C99-based-standards] (SCNiFAST32): Likewise.
30550 [C99-based-standards] (SCNoFAST32): Likewise.
30551 [C99-based-standards] (SCNuFAST32): Likewise.
30552 [C99-based-standards] (SCNxFAST32): Likewise.
30553 [C99-based-standards] (PRId64): Likewise.
30554 [C99-based-standards] (PRIi64): Likewise.
30555 [C99-based-standards] (PRIo64): Likewise.
30556 [C99-based-standards] (PRIu64): Likewise.
30557 [C99-based-standards] (PRIx64): Likewise.
30558 [C99-based-standards] (PRIX64): Likewise.
30559 [C99-based-standards] (SCNd64): Likewise.
30560 [C99-based-standards] (SCNi64): Likewise.
30561 [C99-based-standards] (SCNo64): Likewise.
30562 [C99-based-standards] (SCNu64): Likewise.
30563 [C99-based-standards] (SCNx64): Likewise.
30564 [C99-based-standards] (PRIdLEAST64): Likewise.
30565 [C99-based-standards] (PRIiLEAST64): Likewise.
30566 [C99-based-standards] (PRIoLEAST64): Likewise.
30567 [C99-based-standards] (PRIuLEAST64): Likewise.
30568 [C99-based-standards] (PRIxLEAST64): Likewise.
30569 [C99-based-standards] (PRIXLEAST64): Likewise.
30570 [C99-based-standards] (SCNdLEAST64): Likewise.
30571 [C99-based-standards] (SCNiLEAST64): Likewise.
30572 [C99-based-standards] (SCNoLEAST64): Likewise.
30573 [C99-based-standards] (SCNuLEAST64): Likewise.
30574 [C99-based-standards] (SCNxLEAST64): Likewise.
30575 [C99-based-standards] (PRIdFAST64): Likewise.
30576 [C99-based-standards] (PRIiFAST64): Likewise.
30577 [C99-based-standards] (PRIoFAST64): Likewise.
30578 [C99-based-standards] (PRIuFAST64): Likewise.
30579 [C99-based-standards] (PRIxFAST64): Likewise.
30580 [C99-based-standards] (PRIXFAST64): Likewise.
30581 [C99-based-standards] (SCNdFAST64): Likewise.
30582 [C99-based-standards] (SCNiFAST64): Likewise.
30583 [C99-based-standards] (SCNoFAST64): Likewise.
30584 [C99-based-standards] (SCNuFAST64): Likewise.
30585 [C99-based-standards] (SCNxFAST64): Likewise.
30586 [C99-based-standards] (PRIdMAX): Likewise.
30587 [C99-based-standards] (PRIiMAX): Likewise.
30588 [C99-based-standards] (PRIoMAX): Likewise.
30589 [C99-based-standards] (PRIuMAX): Likewise.
30590 [C99-based-standards] (PRIxMAX): Likewise.
30591 [C99-based-standards] (PRIXMAX): Likewise.
30592 [C99-based-standards] (SCNdMAX): Likewise.
30593 [C99-based-standards] (SCNiMAX): Likewise.
30594 [C99-based-standards] (SCNoMAX): Likewise.
30595 [C99-based-standards] (SCNuMAX): Likewise.
30596 [C99-based-standards] (SCNxMAX): Likewise.
30597 [C99-based-standards] (PRIdPTR): Likewise.
30598 [C99-based-standards] (PRIiPTR): Likewise.
30599 [C99-based-standards] (PRIoPTR): Likewise.
30600 [C99-based-standards] (PRIuPTR): Likewise.
30601 [C99-based-standards] (PRIxPTR): Likewise.
30602 [C99-based-standards] (PRIXPTR): Likewise.
30603 [C99-based-standards] (SCNdPTR): Likewise.
30604 [C99-based-standards] (SCNiPTR): Likewise.
30605 [C99-based-standards] (SCNoPTR): Likewise.
30606 [C99-based-standards] (SCNuPTR): Likewise.
30607 [C99-based-standards] (SCNxPTR): Likewise.
30608 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30610 * conform/data/stdint.h-data: Update comments to clarify
30612 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30614 [C99-based standards] (INT8_MAX): Likewise.
30615 [C99-based standards] (INT16_MIN): Likewise.
30616 [C99-based standards] (INT16_MAX): Likewise.
30617 [C99-based standards] (INT32_MIN): Likewise.
30618 [C99-based standards] (INT32_MAX): Likewise.
30619 [C99-based standards] (INT64_MIN): Likewise.
30620 [C99-based standards] (INT64_MAX): Likewise.
30621 [C99-based standards] (UINT8_MAX): Likewise.
30622 [C99-based standards] (UINT16_MAX): Likewise.
30623 [C99-based standards] (UINT32_MAX): Likewise.
30624 [C99-based standards] (UINT64_MAX): Likewise.
30625 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30626 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30627 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30628 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30629 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30630 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30631 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30632 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30633 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30634 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30635 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30636 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30637 [C99-based standards] (INT_FAST8_MIN): Likewise.
30638 [C99-based standards] (INT_FAST8_MAX): Likewise.
30639 [C99-based standards] (INT_FAST16_MIN): Likewise.
30640 [C99-based standards] (INT_FAST16_MAX): Likewise.
30641 [C99-based standards] (INT_FAST32_MIN): Likewise.
30642 [C99-based standards] (INT_FAST32_MAX): Likewise.
30643 [C99-based standards] (INT_FAST64_MIN): Likewise.
30644 [C99-based standards] (INT_FAST64_MAX): Likewise.
30645 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30646 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30647 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30648 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30649 [C99-based standards] (INTPTR_MIN): Likewise.
30650 [C99-based standards] (INTPTR_MAX): Likewise.
30651 [C99-based standards] (UINTPTR_MAX): Likewise.
30652 [C99-based standards] (INTMAX_MIN): Likewise.
30653 [C99-based standards] (INTMAX_MAX): Likewise.
30654 [C99-based standards] (UINTMAX_MAX): Likewise.
30655 [C99-based standards] (PTRDIFF_MIN): Likewise.
30656 [C99-based standards] (PTRDIFF_MAX): Likewise.
30657 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30658 [C99-based standards] (SIZE_MAX): Likewise.
30659 [C99-based standards] (WCHAR_MAX): Likewise.
30660 [C99-based standards] (WINT_MAX): Likewise.
30661 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30662 constraint on value.
30663 [C99-based standards] (WCHAR_MIN): Likewise.
30664 [C99-based standards] (WINT_MIN): Likewise.
30665 [C99-based standards] (*_t): Allow.
30666 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30667 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30668 Include math.h-data and complex.h-data. Remove all expectations
30669 of math.h and complex.h contents.
30670 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30672 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30673 (struct tm): Expect tag.
30674 [C99-based-standards] (wcstof): Expect function.
30675 [C99-based-standards] (wcstold): Likewise.
30676 [C99-based-standards] (wcstoll): Likewise.
30677 [C99-based-standards] (wcstoull): Likewise.
30678 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30679 macro-int-constant. Specify type.
30680 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30681 constraint on value.
30682 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30684 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30686 [ISO C standards]: Do not allow headers.
30687 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30688 wcs[abcdefghijklmnopqrstuvwxyz]*.
30689 [ISO C standards] (*_t): Do not allow.
30690 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30692 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30695 [ISO C standards]: Do not allow headers.
30696 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30697 is[abcdefghijklmnopqrstuvwxyz]*.
30698 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30699 to[abcdefghijklmnopqrstuvwxyz]*.
30700 [ISO C standards] (*_t): Do not allow.
30701 * conform/data/stdalign.h-data: New file.
30702 * conform/data/stdbool.h-data: Likewise.
30703 * conform/data/stdnoreturn.h-data: Likewise.
30705 2012-11-07 Roland McGrath <roland@hack.frob.com>
30708 * manual/filesys.texi (Directory Entries): Typo fix.
30709 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30711 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30713 * elf/elf.h (EM_AARCH64): New macro.
30714 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30715 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30716 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30717 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30718 (R_AARCH64_TLSDESC): Likewise.
30719 (NT_ARM_TLS): Likewise.
30720 (NT_ARM_HW_BREAK): Likewise.
30721 (NT_ARM_HW_WATCH): Likewise.
30723 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30726 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30727 (__ieee754_powl): Saturate nonzero exponents with absolute value
30728 below 0x1p-79 to +/- 0x1p-79.
30729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30730 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30731 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30732 nonzero exponents with absolute value below 0x1p-32 to +/-
30734 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30735 (__ieee754_powl): Saturate nonzero exponents with absolute value
30736 below 0x1p-79 to +/- 0x1p-79.
30737 * math/libm-test.inc (pow_test): Add more tests.
30739 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30741 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30742 _dl_s390_cap_flags with kernel. Increase string length.
30743 (_dl_s390_platforms): Add z196 and zEC12.
30745 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30747 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30748 Change XOPEN21K to XOPEN2K.
30750 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30752 * string/memmove.c: Use memcpy when possible.
30754 2012-11-06 Andreas Jaeger <aj@suse.de>
30756 * po/eo.po: Update from translation team.
30758 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30762 exponent and small x and y exponents, scale x or y up. Increase
30763 by 2 the exponent used in scaling up.
30764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30766 * math/libm-test.inc (fma_test): Add more tests.
30767 (fma_test_towardzero): Likewise.
30768 (fma_test_downward): Likewise.
30769 (fma_test_upward): Likewise.
30771 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30774 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30778 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30779 namespace for names of struct fields.
30780 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30782 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30783 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30785 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30788 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30790 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30792 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30796 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30799 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30803 definitely overflow as x * y not x * y + z.
30804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30806 * math/libm-test.inc (fma_test): Add more tests.
30807 (fma_test_towardzero): Likewise.
30808 (fma_test_downward): Likewise.
30809 (fma_test_upward): Likewise.
30811 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30815 * include/stub-tag.h: Remove file.
30816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30818 * manual/maint.texi (Porting): Don't reference it.
30819 * Makerules ($(objpfx)stubs): Likewise.
30820 * dirent/closedir.c: Don't include <stub-tag.h>.
30821 * dirent/dirfd.c: Likewise.
30822 * dirent/fdopendir.c: Likewise.
30823 * dirent/getdents.c: Likewise.
30824 * dirent/getdents64.c: Likewise.
30825 * dirent/opendir.c: Likewise.
30826 * dirent/readdir.c: Likewise.
30827 * dirent/readdir64.c: Likewise.
30828 * dirent/readdir64_r.c: Likewise.
30829 * dirent/readdir_r.c: Likewise.
30830 * dirent/rewinddir.c: Likewise.
30831 * dirent/seekdir.c: Likewise.
30832 * dirent/telldir.c: Likewise.
30833 * gmon/profil.c: Likewise.
30834 * grp/setgroups.c: Likewise.
30835 * inet/if_index.c: Likewise.
30836 * io/access.c: Likewise.
30837 * io/chdir.c: Likewise.
30838 * io/chmod.c: Likewise.
30839 * io/chown.c: Likewise.
30840 * io/close.c: Likewise.
30841 * io/dup.c: Likewise.
30842 * io/dup2.c: Likewise.
30843 * io/dup3.c: Likewise.
30844 * io/euidaccess.c: Likewise.
30845 * io/faccessat.c: Likewise.
30846 * io/fchdir.c: Likewise.
30847 * io/fchmod.c: Likewise.
30848 * io/fchmodat.c: Likewise.
30849 * io/fchown.c: Likewise.
30850 * io/fchownat.c: Likewise.
30851 * io/fcntl.c: Likewise.
30852 * io/flock.c: Likewise.
30853 * io/fstatfs.c: Likewise.
30854 * io/fstatfs64.c: Likewise.
30855 * io/fstatvfs.c: Likewise.
30856 * io/fstatvfs64.c: Likewise.
30857 * io/futimens.c: Likewise.
30858 * io/fxstat.c: Likewise.
30859 * io/fxstat64.c: Likewise.
30860 * io/fxstatat.c: Likewise.
30861 * io/fxstatat64.c: Likewise.
30862 * io/getcwd.c: Likewise.
30863 * io/isatty.c: Likewise.
30864 * io/lchmod.c: Likewise.
30865 * io/lchown.c: Likewise.
30866 * io/link.c: Likewise.
30867 * io/linkat.c: Likewise.
30868 * io/lseek.c: Likewise.
30869 * io/lseek64.c: Likewise.
30870 * io/lxstat64.c: Likewise.
30871 * io/mkdir.c: Likewise.
30872 * io/mkdirat.c: Likewise.
30873 * io/mkfifo.c: Likewise.
30874 * io/mkfifoat.c: Likewise.
30875 * io/open.c: Likewise.
30876 * io/open64.c: Likewise.
30877 * io/openat.c: Likewise.
30878 * io/openat64.c: Likewise.
30879 * io/pipe.c: Likewise.
30880 * io/pipe2.c: Likewise.
30881 * io/poll.c: Likewise.
30882 * io/posix_fadvise.c: Likewise.
30883 * io/posix_fadvise64.c: Likewise.
30884 * io/posix_fallocate.c: Likewise.
30885 * io/posix_fallocate64.c: Likewise.
30886 * io/read.c: Likewise.
30887 * io/readlink.c: Likewise.
30888 * io/readlinkat.c: Likewise.
30889 * io/rmdir.c: Likewise.
30890 * io/sendfile.c: Likewise.
30891 * io/sendfile64.c: Likewise.
30892 * io/statfs.c: Likewise.
30893 * io/statfs64.c: Likewise.
30894 * io/statvfs.c: Likewise.
30895 * io/statvfs64.c: Likewise.
30896 * io/symlink.c: Likewise.
30897 * io/symlinkat.c: Likewise.
30898 * io/ttyname.c: Likewise.
30899 * io/ttyname_r.c: Likewise.
30900 * io/umask.c: Likewise.
30901 * io/unlink.c: Likewise.
30902 * io/unlinkat.c: Likewise.
30903 * io/utime.c: Likewise.
30904 * io/utimensat.c: Likewise.
30905 * io/write.c: Likewise.
30906 * io/xmknod.c: Likewise.
30907 * io/xmknodat.c: Likewise.
30908 * io/xstat.c: Likewise.
30909 * io/xstat64.c: Likewise.
30910 * login/getpt.c: Likewise.
30911 * login/grantpt.c: Likewise.
30912 * login/unlockpt.c: Likewise.
30913 * math/e_acoshl.c: Likewise.
30914 * math/e_acosl.c: Likewise.
30915 * math/e_asinl.c: Likewise.
30916 * math/e_atan2l.c: Likewise.
30917 * math/e_atanhl.c: Likewise.
30918 * math/e_coshl.c: Likewise.
30919 * math/e_expl.c: Likewise.
30920 * math/e_fmodl.c: Likewise.
30921 * math/e_gammal_r.c: Likewise.
30922 * math/e_hypotl.c: Likewise.
30923 * math/e_j0l.c: Likewise.
30924 * math/e_j1l.c: Likewise.
30925 * math/e_jnl.c: Likewise.
30926 * math/e_lgammal_r.c: Likewise.
30927 * math/e_log10l.c: Likewise.
30928 * math/e_log2l.c: Likewise.
30929 * math/e_logl.c: Likewise.
30930 * math/e_powl.c: Likewise.
30931 * math/e_rem_pio2l.c: Likewise.
30932 * math/e_sinhl.c: Likewise.
30933 * math/e_sqrtl.c: Likewise.
30934 * math/fclrexcpt.c: Likewise.
30935 * math/fedisblxcpt.c: Likewise.
30936 * math/feenablxcpt.c: Likewise.
30937 * math/fegetenv.c: Likewise.
30938 * math/fegetexcept.c: Likewise.
30939 * math/fegetround.c: Likewise.
30940 * math/feholdexcpt.c: Likewise.
30941 * math/fesetenv.c: Likewise.
30942 * math/fesetround.c: Likewise.
30943 * math/feupdateenv.c: Likewise.
30944 * math/fgetexcptflg.c: Likewise.
30945 * math/fraiseexcpt.c: Likewise.
30946 * math/fsetexcptflg.c: Likewise.
30947 * math/ftestexcept.c: Likewise.
30948 * math/k_cosl.c: Likewise.
30949 * math/k_rem_pio2l.c: Likewise.
30950 * math/k_sinl.c: Likewise.
30951 * math/k_tanl.c: Likewise.
30952 * math/s_asinhl.c: Likewise.
30953 * math/s_atanl.c: Likewise.
30954 * math/s_cbrtl.c: Likewise.
30955 * math/s_erfl.c: Likewise.
30956 * math/s_expm1l.c: Likewise.
30957 * math/s_log1pl.c: Likewise.
30958 * math/s_tanhl.c: Likewise.
30959 * misc/acct.c: Likewise.
30960 * misc/brk.c: Likewise.
30961 * misc/chflags.c: Likewise.
30962 * misc/chroot.c: Likewise.
30963 * misc/fchflags.c: Likewise.
30964 * misc/fgetxattr.c: Likewise.
30965 * misc/flistxattr.c: Likewise.
30966 * misc/fremovexattr.c: Likewise.
30967 * misc/fsetxattr.c: Likewise.
30968 * misc/fsync.c: Likewise.
30969 * misc/ftruncate.c: Likewise.
30970 * misc/futimes.c: Likewise.
30971 * misc/futimesat.c: Likewise.
30972 * misc/getdomain.c: Likewise.
30973 * misc/getdtsz.c: Likewise.
30974 * misc/gethostid.c: Likewise.
30975 * misc/gethostname.c: Likewise.
30976 * misc/getloadavg.c: Likewise.
30977 * misc/getpagesize.c: Likewise.
30978 * misc/getsysstats.c: Likewise.
30979 * misc/getxattr.c: Likewise.
30980 * misc/gtty.c: Likewise.
30981 * misc/ioctl.c: Likewise.
30982 * misc/lgetxattr.c: Likewise.
30983 * misc/listxattr.c: Likewise.
30984 * misc/llistxattr.c: Likewise.
30985 * misc/lremovexattr.c: Likewise.
30986 * misc/lsetxattr.c: Likewise.
30987 * misc/lutimes.c: Likewise.
30988 * misc/madvise.c: Likewise.
30989 * misc/mincore.c: Likewise.
30990 * misc/mlock.c: Likewise.
30991 * misc/mlockall.c: Likewise.
30992 * misc/mmap.c: Likewise.
30993 * misc/mprotect.c: Likewise.
30994 * misc/msync.c: Likewise.
30995 * misc/munlock.c: Likewise.
30996 * misc/munlockall.c: Likewise.
30997 * misc/munmap.c: Likewise.
30998 * misc/preadv.c: Likewise.
30999 * misc/preadv64.c: Likewise.
31000 * misc/ptrace.c: Likewise.
31001 * misc/pwritev.c: Likewise.
31002 * misc/pwritev64.c: Likewise.
31003 * misc/readv.c: Likewise.
31004 * misc/reboot.c: Likewise.
31005 * misc/remap_file_pages.c: Likewise.
31006 * misc/removexattr.c: Likewise.
31007 * misc/revoke.c: Likewise.
31008 * misc/select.c: Likewise.
31009 * misc/setdomain.c: Likewise.
31010 * misc/setegid.c: Likewise.
31011 * misc/seteuid.c: Likewise.
31012 * misc/sethostid.c: Likewise.
31013 * misc/sethostname.c: Likewise.
31014 * misc/setregid.c: Likewise.
31015 * misc/setreuid.c: Likewise.
31016 * misc/setxattr.c: Likewise.
31017 * misc/sstk.c: Likewise.
31018 * misc/stty.c: Likewise.
31019 * misc/swapoff.c: Likewise.
31020 * misc/swapon.c: Likewise.
31021 * misc/sync.c: Likewise.
31022 * misc/syncfs.c: Likewise.
31023 * misc/syscall.c: Likewise.
31024 * misc/truncate.c: Likewise.
31025 * misc/ualarm.c: Likewise.
31026 * misc/usleep.c: Likewise.
31027 * misc/ustat.c: Likewise.
31028 * misc/utimes.c: Likewise.
31029 * misc/vhangup.c: Likewise.
31030 * misc/writev.c: Likewise.
31031 * posix/_exit.c: Likewise.
31032 * posix/alarm.c: Likewise.
31033 * posix/execve.c: Likewise.
31034 * posix/fexecve.c: Likewise.
31035 * posix/fork.c: Likewise.
31036 * posix/fpathconf.c: Likewise.
31037 * posix/getaddrinfo.c: Likewise.
31038 * posix/getegid.c: Likewise.
31039 * posix/geteuid.c: Likewise.
31040 * posix/getgid.c: Likewise.
31041 * posix/getgroups.c: Likewise.
31042 * posix/getlogin.c: Likewise.
31043 * posix/getlogin_r.c: Likewise.
31044 * posix/getpgid.c: Likewise.
31045 * posix/getpid.c: Likewise.
31046 * posix/getppid.c: Likewise.
31047 * posix/getresgid.c: Likewise.
31048 * posix/getresuid.c: Likewise.
31049 * posix/getsid.c: Likewise.
31050 * posix/getuid.c: Likewise.
31051 * posix/glob64.c: Likewise.
31052 * posix/nanosleep.c: Likewise.
31053 * posix/pathconf.c: Likewise.
31054 * posix/pause.c: Likewise.
31055 * posix/posix_madvise.c: Likewise.
31056 * posix/pread.c: Likewise.
31057 * posix/pread64.c: Likewise.
31058 * posix/pwrite.c: Likewise.
31059 * posix/pwrite64.c: Likewise.
31060 * posix/sched_getaffinity.c: Likewise.
31061 * posix/sched_getp.c: Likewise.
31062 * posix/sched_gets.c: Likewise.
31063 * posix/sched_primax.c: Likewise.
31064 * posix/sched_primin.c: Likewise.
31065 * posix/sched_rr_gi.c: Likewise.
31066 * posix/sched_setaffinity.c: Likewise.
31067 * posix/sched_setp.c: Likewise.
31068 * posix/sched_sets.c: Likewise.
31069 * posix/sched_yield.c: Likewise.
31070 * posix/setgid.c: Likewise.
31071 * posix/setlogin.c: Likewise.
31072 * posix/setpgid.c: Likewise.
31073 * posix/setresgid.c: Likewise.
31074 * posix/setresuid.c: Likewise.
31075 * posix/setsid.c: Likewise.
31076 * posix/setuid.c: Likewise.
31077 * posix/sleep.c: Likewise.
31078 * posix/spawni.c: Likewise.
31079 * posix/sysconf.c: Likewise.
31080 * posix/times.c: Likewise.
31081 * posix/wait.c: Likewise.
31082 * posix/wait3.c: Likewise.
31083 * posix/wait4.c: Likewise.
31084 * posix/waitpid.c: Likewise.
31085 * resolv/gai_sigqueue.c: Likewise.
31086 * resource/getpriority.c: Likewise.
31087 * resource/getrlimit.c: Likewise.
31088 * resource/getrusage.c: Likewise.
31089 * resource/nice.c: Likewise.
31090 * resource/setpriority.c: Likewise.
31091 * resource/setrlimit.c: Likewise.
31092 * resource/ulimit.c: Likewise.
31093 * rt/aio_cancel.c: Likewise.
31094 * rt/aio_fsync.c: Likewise.
31095 * rt/aio_read.c: Likewise.
31096 * rt/aio_sigqueue.c: Likewise.
31097 * rt/aio_suspend.c: Likewise.
31098 * rt/aio_write.c: Likewise.
31099 * rt/clock_getres.c: Likewise.
31100 * rt/clock_gettime.c: Likewise.
31101 * rt/clock_nanosleep.c: Likewise.
31102 * rt/clock_settime.c: Likewise.
31103 * rt/lio_listio.c: Likewise.
31104 * rt/mq_close.c: Likewise.
31105 * rt/mq_getattr.c: Likewise.
31106 * rt/mq_notify.c: Likewise.
31107 * rt/mq_open.c: Likewise.
31108 * rt/mq_receive.c: Likewise.
31109 * rt/mq_send.c: Likewise.
31110 * rt/mq_setattr.c: Likewise.
31111 * rt/mq_timedreceive.c: Likewise.
31112 * rt/mq_timedsend.c: Likewise.
31113 * rt/mq_unlink.c: Likewise.
31114 * rt/shm_open.c: Likewise.
31115 * rt/shm_unlink.c: Likewise.
31116 * rt/timer_create.c: Likewise.
31117 * rt/timer_delete.c: Likewise.
31118 * rt/timer_getoverr.c: Likewise.
31119 * rt/timer_gettime.c: Likewise.
31120 * rt/timer_settime.c: Likewise.
31121 * setjmp/__longjmp.c: Likewise.
31122 * setjmp/setjmp.c: Likewise.
31123 * signal/kill.c: Likewise.
31124 * signal/killpg.c: Likewise.
31125 * signal/raise.c: Likewise.
31126 * signal/sigaction.c: Likewise.
31127 * signal/sigaltstack.c: Likewise.
31128 * signal/sigblock.c: Likewise.
31129 * signal/sigignore.c: Likewise.
31130 * signal/sigintr.c: Likewise.
31131 * signal/signal.c: Likewise.
31132 * signal/sigpause.c: Likewise.
31133 * signal/sigpending.c: Likewise.
31134 * signal/sigqueue.c: Likewise.
31135 * signal/sigreturn.c: Likewise.
31136 * signal/sigset.c: Likewise.
31137 * signal/sigsetmask.c: Likewise.
31138 * signal/sigstack.c: Likewise.
31139 * signal/sigsuspend.c: Likewise.
31140 * signal/sigtimedwait.c: Likewise.
31141 * signal/sigvec.c: Likewise.
31142 * signal/sigwait.c: Likewise.
31143 * signal/sigwaitinfo.c: Likewise.
31144 * signal/sysv_signal.c: Likewise.
31145 * socket/accept.c: Likewise.
31146 * socket/accept4.c: Likewise.
31147 * socket/bind.c: Likewise.
31148 * socket/connect.c: Likewise.
31149 * socket/getpeername.c: Likewise.
31150 * socket/getsockname.c: Likewise.
31151 * socket/getsockopt.c: Likewise.
31152 * socket/isfdtype.c: Likewise.
31153 * socket/listen.c: Likewise.
31154 * socket/recv.c: Likewise.
31155 * socket/recvfrom.c: Likewise.
31156 * socket/recvmsg.c: Likewise.
31157 * socket/send.c: Likewise.
31158 * socket/sendmsg.c: Likewise.
31159 * socket/sendto.c: Likewise.
31160 * socket/setsockopt.c: Likewise.
31161 * socket/shutdown.c: Likewise.
31162 * socket/sockatmark.c: Likewise.
31163 * socket/socket.c: Likewise.
31164 * socket/socketpair.c: Likewise.
31165 * stdio-common/ctermid.c: Likewise.
31166 * stdio-common/cuserid.c: Likewise.
31167 * stdio-common/remove.c: Likewise.
31168 * stdio-common/rename.c: Likewise.
31169 * stdio-common/renameat.c: Likewise.
31170 * stdio-common/tempname.c: Likewise.
31171 * stdlib/getcontext.c: Likewise.
31172 * stdlib/makecontext.c: Likewise.
31173 * stdlib/setcontext.c: Likewise.
31174 * stdlib/swapcontext.c: Likewise.
31175 * stdlib/system.c: Likewise.
31176 * streams/fattach.c: Likewise.
31177 * streams/fdetach.c: Likewise.
31178 * streams/getmsg.c: Likewise.
31179 * streams/getpmsg.c: Likewise.
31180 * streams/putmsg.c: Likewise.
31181 * streams/putpmsg.c: Likewise.
31182 * sysdeps/unix/bsd/getpt.c: Likewise.
31183 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31184 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31188 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31190 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31191 * sysvipc/msgctl.c: Likewise.
31192 * sysvipc/msgget.c: Likewise.
31193 * sysvipc/msgrcv.c: Likewise.
31194 * sysvipc/msgsnd.c: Likewise.
31195 * sysvipc/semctl.c: Likewise.
31196 * sysvipc/semget.c: Likewise.
31197 * sysvipc/semop.c: Likewise.
31198 * sysvipc/semtimedop.c: Likewise.
31199 * sysvipc/shmat.c: Likewise.
31200 * sysvipc/shmctl.c: Likewise.
31201 * sysvipc/shmdt.c: Likewise.
31202 * sysvipc/shmget.c: Likewise.
31203 * termios/tcdrain.c: Likewise.
31204 * termios/tcflow.c: Likewise.
31205 * termios/tcflush.c: Likewise.
31206 * termios/tcgetattr.c: Likewise.
31207 * termios/tcgetpgrp.c: Likewise.
31208 * termios/tcsendbrk.c: Likewise.
31209 * termios/tcsetattr.c: Likewise.
31210 * termios/tcsetpgrp.c: Likewise.
31211 * time/adjtime.c: Likewise.
31212 * time/clock.c: Likewise.
31213 * time/getitimer.c: Likewise.
31214 * time/gettimeofday.c: Likewise.
31215 * time/setitimer.c: Likewise.
31216 * time/settimeofday.c: Likewise.
31217 * time/stime.c: Likewise.
31218 * time/time.c: Likewise.
31220 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31222 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31225 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31227 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31229 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31233 FE_TONEAREST before applying Dekker multiplication and Knuth
31234 addition. Clear inexact exceptions and check for exact zero
31235 results afterwards.
31236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31239 * math/libm-test.inc (fma_test): Add more tests.
31240 (fma_test_towardzero): Likewise.
31241 (fma_test_downward): Likewise.
31242 (fma_test_upward): Likewise.
31243 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31245 (libc_fesetround): New macro.
31246 (libc_fesetroundf): Likewise.
31247 (libc_fesetroundl): Likewise.
31248 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31250 (libc_fesetround_387): Likewise.
31251 (libc_fesetroundf): New macro.
31252 (libc_fesetround): Likewise.
31253 (libc_fesetroundl): Likewise.
31254 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31256 (libc_fesetroundf): New macro.
31257 (libc_fesetround): Likewise.
31258 (libc_fesetroundl): Likewise.
31259 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31260 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31261 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31263 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31264 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31267 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31269 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31273 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31274 integer constant usable in #if and use that to give value to enum
31276 (FE_DIVBYZERO): Likewise.
31277 (FE_UNDERFLOW): Likewise.
31278 (FE_OVERFLOW): Likewise.
31279 (FE_INVALID): Likewise.
31280 (FE_INVALID_SNAN): Likewise.
31281 (FE_INVALID_ISI): Likewise.
31282 (FE_INVALID_IDI): Likewise.
31283 (FE_INVALID_ZDZ): Likewise.
31284 (FE_INVALID_IMZ): Likewise.
31285 (FE_INVALID_COMPARE): Likewise.
31286 (FE_INVALID_SOFTWARE): Likewise.
31287 (FE_INVALID_SQRT): Likewise.
31288 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31289 (FE_TONEAREST): Likewise.
31290 (FE_TOWARDZERO): Likewise.
31291 (FE_UPWARD): Likewise.
31292 (FE_DOWNWARD): Likewise.
31293 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31294 (FE_DIVBYZERO): Likewise.
31295 (FE_OVERFLOW): Likewise.
31296 (FE_UNDERFLOW): Likewise.
31297 (FE_INEXACT): Likewise.
31298 (FE_TONEAREST): Likewise.
31299 (FE_DOWNWARD): Likewise.
31300 (FE_UPWARD): Likewise.
31301 (FE_TOWARDZERO): Likewise.
31302 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31303 (FE_UNDERFLOW): Likewise.
31304 (FE_OVERFLOW): Likewise.
31305 (FE_DIVBYZERO): Likewise.
31306 (FE_INVALID): Likewise.
31307 (FE_TONEAREST): Likewise.
31308 (FE_TOWARDZERO): Likewise.
31309 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31310 (FE_OVERFLOW): Likewise.
31311 (FE_UNDERFLOW): Likewise.
31312 (FE_DIVBYZERO): Likewise.
31313 (FE_INEXACT): Likewise.
31314 (FE_TONEAREST): Likewise.
31315 (FE_TOWARDZERO): Likewise.
31316 (FE_UPWARD): Likewise.
31317 (FE_DOWNWARD): Likewise.
31318 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31319 (FE_DIVBYZERO): Likewise.
31320 (FE_OVERFLOW): Likewise.
31321 (FE_UNDERFLOW): Likewise.
31322 (FE_INEXACT): Likewise.
31323 (FE_TONEAREST): Likewise.
31324 (FE_DOWNWARD): Likewise.
31325 (FE_UPWARD): Likewise.
31326 (FE_TOWARDZERO): Likewise.
31328 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31330 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31332 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31334 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31335 commands. Quote $PWD.
31336 (blacklist_exports): Don't use remove_newlines. Replace "declare
31338 (remove_newlines): Remove.
31340 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31342 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31343 * stdlib/stdlib.h (atof): Moved to ...
31344 * include/bits/stdlib-float.h: Here. New file.
31345 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31346 * stdlib/bits/stdlib-float.h: New file.
31347 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31352 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31354 * conform/conformtest.pl (@headers): Add fenv.h.
31355 * conform/data/fenv.h-data: New file.
31356 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31357 include of <math/fenv.h>.
31359 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31360 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31361 && !UNIX98]. Enables tests for XOPEN2K8.
31362 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31363 POSIX2008]: Likewise.
31365 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31366 (struct rusage): Do not expect type or its members.
31369 * math/math.h (FP_NAN): Define macro to integer constant usable in
31370 #if and use that to give value to enum constant.
31371 (FP_INFINITE): Likewise.
31372 (FP_ZERO): Likewise.
31373 (FP_SUBNORMAL): Likewise.
31374 (FP_NORMAL): Likewise.
31376 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31378 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31379 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31382 2012-11-02 Roland McGrath <roland@hack.frob.com>
31384 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31385 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31386 autoconf-time if not.
31387 * configure.in: Remove AC_PREREQ.
31389 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31391 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31392 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31393 of the internal implementation.
31395 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31397 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31398 except include of <misc/sys/syslog.h>.
31400 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31403 function returns with a NULL context exit with zero.
31405 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31407 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31409 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31411 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31412 (run_program_cmd): This.
31413 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31414 (tst_langinfo): New variable. Use it.
31416 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31418 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31419 floating point opcodes.
31421 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31423 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31426 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31428 * sysdeps/mach/hurd/powerpc: Remove directory.
31429 * sysdeps/mach/powerpc: Likewise.
31431 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31433 * scripts/check-local-headers.sh: Ignore c++ headers.
31435 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31437 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31438 __libc_cleanup_region_start argument.
31440 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31445 x * y using scaling, not as x * y + z.
31446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31448 * math/libm-test.inc (fma_test): Add more tests.
31449 (fma_test_towardzero): Likewise.
31450 (fma_test_downward): Likewise.
31451 (fma_test_upward): Likewise.
31453 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31455 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31457 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31459 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31462 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31464 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31466 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31473 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31476 Fix the order of the list for glibc 2.17.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31480 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31484 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31488 for low part of x being zero before using __atanl (y).
31489 * math/libm-test.inc (atan2_test): Add another test.
31491 * manual/install.texi (Configuring and compiling): Document
31492 general use of test-wrapper and test-wrapper-env.
31493 * INSTALL: Regenerated.
31495 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31496 (__fma): Do not extract and scale down low bits on after-rounding
31497 systems when result rounded to normal precision would have normal
31499 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31500 (__fmal): Do not extract and scale down low bits on after-rounding
31501 systems when result rounded to normal precision would have normal
31503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31504 (__fmal): Do not extract and scale down low bits on after-rounding
31505 systems when result rounded to normal precision would have normal
31507 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31509 (fma_test): Add more tests.
31510 (fma_test_towardzero): Likewise.
31511 (fma_test_downward): Likewise.
31512 (fma_test_upward): Likewise.
31514 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31516 * sysdeps/i386/tininess.h: Renamed to ...
31517 * sysdeps/x86/tininess.h: This.
31518 * sysdeps/x86_64/tininess.h: Removed.
31520 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31522 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31523 input. Use $(build-program-cmd).
31524 ($(objpfx)tst-array1-static.out): Likewise.
31525 ($(objpfx)tst-array2.out): Likewise.
31526 ($(objpfx)tst-array3.out): Likewise.
31527 ($(objpfx)tst-array4.out): Likewise.
31528 ($(objpfx)tst-array5.out): Likewise.
31529 ($(objpfx)tst-array5-static.out): Likewise.
31531 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31533 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31536 * nss/nsswitch.h (nss_interface_function): Provide new
31537 macro for use with NSS functions.
31538 * grp/initgroups.c: Use new macro.
31539 * nss/getXXbyYY.c: Likewise.
31540 * nss/getXXbyYY_r.c: Likewise.
31541 * nss/getXXent.c: Likewise.
31542 * nss/getXXent_r.c: Likewise.
31543 * sysdeps/posix/getaddrinfo.c: Likewise.
31545 2012-10-30 Andreas Jaeger <aj@suse.de>
31547 * po/ru.po: Update Russion translation from translation project.
31549 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31554 result and shift together with sticky bit instead of replicating
31555 round-to-nearest rounding.
31556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31558 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31559 missing underflow exceptions.
31560 (fma_test_towardzero): Add more tests.
31561 (fma_test_downward): Likewise.
31562 (fma_test_upward): Likewise.
31565 * sysdeps/generic/tininess.h: New file.
31566 * sysdeps/i386/tininess.h: Likewise.
31567 * sysdeps/sh/tininess.h: Likewise.
31568 * sysdeps/x86_64/tininess.h: Likewise.
31569 * stdlib/tst-strtod-underflow.c: Likewise.
31570 * stdlib/tst-tininess.c: Likewise.
31571 * stdlib/strtod_l.c: Include <tininess.h>.
31572 (round_and_return): Do not set errno for exact underflow cases.
31573 Force an underflow exception when setting errno for underflow.
31574 Determine underflow based on rounding to normal precision if
31575 TININESS_AFTER_ROUNDING.
31576 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31577 ERANGE for exact underflow cases.
31578 * stdlib/Makefile (tests): Add tst-tininess and
31579 tst-strtod-underflow.
31580 ($(objpfx)tst-tininess): Use $(link-libm).
31581 ($(objpfx)tst-strtod-underflow): Likewise.
31583 2012-10-30 Andreas Jaeger <aj@suse.de>
31586 * elf/Makefile (tests): Remove conditional for have-initfini-array
31587 since this is now always required and the variable does not exist
31589 (tests-static): Likewise.
31590 (modules-names): Likewise.
31592 * po/eo.po: Add Esperanto translation from translation project.
31594 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31595 merged with constructor/destructor.
31596 (init_array): Likewise.
31597 * elf/tst-array2dep.c (fini_array): Likewise.
31598 (init_array): Likewise.
31600 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31602 * manual/message.texi: Delete @cartouche tags.
31604 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31606 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31608 * sysdeps/mach/hurd/fsync.c: Likewise.
31610 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31611 [_POSIX_REALTIME_SIGNALS]: Change condition to
31612 [_POSIX_REALTIME_SIGNALS > 0].
31614 2012-10-27 Andreas Jaeger <aj@suse.de>
31616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31617 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31619 [__WORDSIZE != 64]: Likewise.
31621 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31623 * iconvdata/tst-table.sh: Remove ${SHELL}.
31624 * iconvdata/tst-tables.sh: Likewise.
31626 2012-10-25 David S. Miller <davem@davemloft.net>
31628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31629 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31635 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31636 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31639 2012-10-25 Roland McGrath <roland@hack.frob.com>
31641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31642 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31645 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31646 Jim Blandy <jimb@codesourcery.com>
31648 * scripts/cross-test-ssh.sh: New file.
31649 * manual/install.texi (Configuring and compiling): Document use of
31651 * INSTALL: Regenerated.
31653 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31655 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31658 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31660 * Makeconfig (run-program-prefix): Fix comment.
31662 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31663 Jim Blandy <jimb@codesourcery.com>
31665 * Makeconfig (test-wrapper): New variable,
31666 (test-wrapper-env): Likewise.
31667 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31668 (run-built-tests): Define to yes.
31669 (run-program-prefix): Use $(test-wrapper).
31670 (built-program-cmd): Likewise.
31671 * Rules (make-test-out): Use $(test-wrapper-env) and
31672 $(host-built-program-cmd).
31673 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31674 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31676 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31677 $(test-wrapper-env) to tst-rtld-load-self.sh.
31678 ($(objpfx)order2.out): Use $(test-wrapper).
31679 ($(objpfx)tst-initorder.out): Likewise.
31680 ($(objpfx)tst-initorder2.out): Likewise.
31681 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31682 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31683 (test_wrapper_env): New variable. Use it to run ld.so.
31684 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31685 Use it to run ld.so.
31686 (test_wrapper_env): Likewise.
31687 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31688 $(test-wrapper) to run-iconv-test.sh.
31689 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31690 (ICONV): Use $test_wrapper.
31691 * posix/Makefile ($(objpfx)globtest.out): Pass
31692 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31693 globtest.sh, not $(run-program-prefix).
31694 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31695 (test_wrapper): Likewise.
31696 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31697 set together with run_via_rtld_prefix.
31698 (run_program_prefix): Define in terms of test_wrapper and
31699 run_via_rtld_prefix.
31701 2012-10-24 Roland McGrath <roland@hack.frob.com>
31703 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31704 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31708 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31709 Declare __clock_getres, __clock_gettime, __clock_settime,
31710 __clock_nanosleep, and __clock_getcpuclockid.
31711 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31712 Remove librt_hidden_def (clock_gettime).
31713 * sysdeps/unix/clock_gettime.c: Likewise.
31714 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31716 * rt/clock_getres.c: Define __clock_getres as an alias.
31717 * sysdeps/posix/clock_getres.c: Likewise.
31718 * rt/clock_settime.c: Define __clock_settime as an alias.
31719 * sysdeps/unix/clock_settime.c: Likewise.
31720 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31721 * sysdeps/unix/clock_nanosleep.c: Likewise.
31722 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31723 * rt/clock-compat.c: New file.
31724 * rt/Makefile (librt-routines): Add clock-compat and move
31725 $(clock-routines) to ...
31726 (routines): ... here, new variable.
31727 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31728 Don't add get_clockfreq here.
31729 * rt/Versions (libc: GLIBC_2.17): New version set.
31730 Add clock_* symbols here.
31731 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31733 (GLIBC_2.17): Add clock_* symbols.
31734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31736 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31745 * NEWS: Mention the move.
31747 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31748 Use __open, __read, __close rather than their public counterparts.
31749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31750 (__get_clockfreq_via_cpuinfo): Likewise.
31751 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31752 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31754 * config.h.in (HAVE_IFUNC): New #undef.
31755 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31757 * configure: Regenerated.
31759 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31761 * configure.in: Move READELF check to start of file.
31762 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31763 libc_cv_asm_gnu_indirect_function in the process.
31764 * configure: Regenerated.
31766 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31768 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31769 send the output to /dev/null.
31770 (libc_cv_cc_with_libunwind): Likewise.
31771 (libc_cv_as_noexecstack): Likewise.
31772 * configure: Regenerate.
31774 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31776 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31778 * posix/globtest.sh (TMPDIR): Do not set.
31779 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31780 (testout): Likewise.
31782 2012-10-24 Andreas Jaeger <aj@suse.de>
31784 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31785 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31786 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31787 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31788 posix_fadvise64, posix_fallocate64.
31790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31791 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31792 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31794 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31796 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31799 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31800 <bits/fcntl-linux.h>.
31801 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31804 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31805 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31806 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31807 [__WORDSIZE != 64]: Likewise.
31809 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31811 * Makeconfig (run-built-tests): New variable.
31812 * Rules [$(cross-compiling) = yes]: Change condition to
31813 [$(run-built-tests) = no].
31814 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31815 to [$(run-built-tests) = yes].
31816 * elf/Makefile [$(cross-compiling) = no]: Likewise
31817 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31818 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31819 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31820 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31821 * io/Makefile [$(cross-compiling) = no]: Likewise.
31822 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31823 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31824 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31825 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31826 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31827 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31828 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31829 * string/Makefile [$(cross-compiling) = no]: Likewise.
31831 * posix/Makefile ($(objpfx)globtest.out): Pass
31832 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31833 $(rtld-installed-name).
31834 * posix/globtest.sh (elf_objpfx): Remove variable.
31835 (rtld_installed_name): Likewise.
31836 (library_path): Likewise.
31837 (run_program_prefix): New variable. Use for running globtest
31840 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31841 Joseph Myers <joseph@codesourcery.com>
31843 * Makeconfig (host-built-program-cmd): New variable.
31844 * elf/Makefile (tst-stackguard1-ARGS): Use
31845 $(host-built-program-cmd).
31846 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31847 (tst-spawn-ARGS): Likewise.
31848 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31850 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31851 Jim Blandy <jimb@codesourcery.com>
31853 * Makeconfig (run-via-rtld-prefix): New variable.
31854 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31855 (built-program-cmd): Likewise.
31857 2012-10-22 Andreas Jaeger <aj@suse.de>
31859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31860 __O_RSYNC if it exists, otherwise to O_SYNC.
31862 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31863 Joseph Myers <joseph@codesourcery.com>
31865 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31867 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31869 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31872 2012-10-22 Andreas Jaeger <aj@suse.de>
31874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31879 bits/fcntl-linux.h.
31881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31882 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31889 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31890 Joseph Myers <joseph@codesourcery.com>
31892 * config.make.in (NM): New variable.
31894 2012-10-21 Andreas Jaeger <aj@suse.de>
31896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31897 definitions and declarations that are provided by
31898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31900 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31903 * elf/Makefile (tests-static): Add tst-leaks1-static.
31904 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31905 ($(objpfx)tst-leaks1-static): New rule.
31906 ($(objpfx)tst-leaks1-static-mem): Likewise.
31907 (tst-leaks1-static-ENV): New macro.
31908 * elf/dl-open.c (dl_open_worker): Check the main application
31909 only if SHARED is defined.
31910 * elf/tst-leaks1-static.c: New file.
31912 2012-10-20 Andreas Jaeger <aj@suse.de>
31914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31915 generic values for Linux.
31916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31917 and declarations that are provided by <bits/fcntl-linux.h> and
31918 include <bits/fcntl-linux.h>.
31919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31922 2012-10-20 Roland McGrath <roland@hack.frob.com>
31924 * io/fcntl.h: Move include of <bits/types.h> to the top and
31925 include it unconditionally.
31927 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31929 * wcsmbs/Makefile (tests-ifunc): New variable.
31930 (tests): Add $(tests-ifunc).
31931 * wcsmbs/test-wcschr-ifunc.c: New file.
31932 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31933 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31934 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31935 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31936 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31938 * string/Makefile (tests-ifunc): New variable.
31939 (tests): Add $(tests-ifunc).
31940 * string/test-memccpy.c (TEST_NAME): New macro.
31941 * string/test-memchr.c (TEST_NAME): Likewise.
31942 * string/test-memcmp.c (TEST_NAME): Likewise.
31943 * string/test-memcpy.c (TEST_NAME): Likewise.
31944 * string/test-memmem.c (TEST_NAME): Likewise.
31945 * string/test-memmove.c (TEST_NAME): Likewise.
31946 * string/test-memset.c (TEST_NAME): Likewise.
31947 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31948 * string/test-stpcpy.c (TEST_NAME): Likewise.
31949 * string/test-stpncpy.c (TEST_NAME): Likewise.
31950 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31951 * string/test-strcasestr.c (TEST_NAME): Likewise.
31952 * string/test-strcat.c (TEST_NAME): Likewise.
31953 * string/test-strchr.c (TEST_NAME): Likewise.
31954 * string/test-strcmp.c(TEST_NAME): Likewise.
31955 * string/test-strcpy.c (TEST_NAME): Likewise.
31956 * string/test-strcspn.c (TEST_NAME): Likewise.
31957 * string/test-strlen.c (TEST_NAME): Likewise.
31958 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31959 * string/test-strncmp.c (TEST_NAME): Likewise.
31960 * string/test-strncpy.c (TEST_NAME): Likewise.
31961 * string/test-strnlen.c (TEST_NAME): Likewise.
31962 * string/test-strpbrk.c (TEST_NAME): Likewise.
31963 * string/test-strrchr.c (TEST_NAME): Likewise.
31964 * string/test-strspn.c (TEST_NAME): Likewise.
31965 * string/test-strstr.c (TEST_NAME): Likewise.
31966 * string/test-bcopy-ifunc.c: New file.
31967 * string/test-bzero-ifunc.c: Likewise.
31968 * string/test-memccpy-ifunc.c: Likewise.
31969 * string/test-memchr-ifunc.c: Likewise.
31970 * string/test-memcmp-ifunc.c: Likewise.
31971 * string/test-memcpy-ifunc.c: Likewise.
31972 * string/test-memmem-ifunc.c: Likewise.
31973 * string/test-memmove-ifunc.c: Likewise.
31974 * string/test-mempcpy-ifunc.c: Likewise.
31975 * string/test-memset-ifunc.c: Likewise.
31976 * string/test-rawmemchr-ifunc.c: Likewise.
31977 * string/test-stpcpy-ifunc.c: Likewise.
31978 * string/test-stpncpy-ifunc.c: Likewise.
31979 * string/test-strcasecmp-ifunc.c: Likewise.
31980 * string/test-strcasestr-ifunc.c: Likewise.
31981 * string/test-strcat-ifunc.c: Likewise.
31982 * string/test-strchr-ifunc.c: Likewise.
31983 * string/test-strchrnul-ifunc.c: Likewise.
31984 * string/test-strcmp-ifunc.c: Likewise.
31985 * string/test-strcpy-ifunc.c: Likewise.
31986 * string/test-strcspn-ifunc.c: Likewise.
31987 * string/test-strlen-ifunc.c: Likewise.
31988 * string/test-strncasecmp-ifunc.c: Likewise.
31989 * string/test-strncat-ifunc.c: Likewise.
31990 * string/test-strncmp-ifunc.c: Likewise.
31991 * string/test-strncpy-ifunc.c: Likewise.
31992 * string/test-strnlen-ifunc.c: Likewise.
31993 * string/test-strpbrk-ifunc.c: Likewise.
31994 * string/test-strrchr-ifunc.c: Likewise.
31995 * string/test-strspn-ifunc.c: Likewise.
31996 * string/test-strstr-ifunc.c: Likewise.
31998 * debug/Makefile (tests-ifunc): New variable.
31999 (tests): Add $(tests-ifunc).
32000 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32001 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32002 * debug/test-stpcpy_chk-ifunc.c: New file.
32003 * debug/test-strcpy_chk-ifunc.c: Likewise.
32005 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32008 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32009 header is not read in.
32011 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32013 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32014 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32015 directly. Pass built executable to script as
32016 $(built-program-cmd).
32017 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32018 $testprogram without using LD_LIBRARY_PATH and $ldso.
32020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32021 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32022 $(rtld-installed-name).
32023 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32024 (rtld_installed_name): Likewise.
32025 (library_path): Likewise.
32026 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32027 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32028 $(run-program-prefix) to tst-tables.sh.
32029 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32030 it to run tst-table-from and tst-table-to.
32031 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32032 Pass it to tst-table.sh.
32033 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32034 $(run-program-prefix) to tst-gettext.sh.
32035 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32037 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32039 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32040 to run tst-gettext.
32041 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32042 to run tst-gettext2.
32043 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32044 to run tst-translit.
32045 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32046 $(run-program-prefix) to tst-mtrace.sh.
32047 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32049 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32050 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32051 $(rtld-installed-name).
32052 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32053 (rtld_installed_name): Likewise.
32054 (run_program_prefix): New variable. Use it to run wordexp-test.
32056 * Makeconfig (ARCH): Remove all definitions.
32057 (machine): Likewise.
32058 [ARCH]: Remove conditional code.
32059 [!objdir]: Give error.
32060 [!objdir] (objpfx): Remove.
32061 [!objdir] (common-objpfx): Likewise.
32062 [!objdir] (common-objdir): Likewise.
32063 * configure.in (config_makefile): Remove. Hardcode Makefile in
32064 AC_CONFIG_FILES call.
32065 * configure: Regenerated.
32068 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32070 (testout): Likewise.
32072 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32073 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32074 $(rtld-installed-name).
32075 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32076 (rtld_installed_name): Likwise.
32077 (runit): Remove function.
32078 (run_getconf): New variable, Use it for running getconf binary.
32080 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32083 * string/test-memmem.c (check_result): New function.
32084 (do_one_test): Use it.
32085 (check1): New function.
32086 (test_main): Use it.
32088 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32090 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32092 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32094 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32095 (_G_LSEEK64): Likewise.
32096 (_G_MMAP64): Likewise.
32097 (_G_FSTAT64): Likewise.
32098 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32099 (_G_LSEEK64): Likewise.
32100 (_G_MMAP64): Likewise.
32101 (_G_FSTAT64): Likewise.
32102 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32103 unconditional. Call __mmap64 directly.
32104 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32105 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32106 __lseek64 directly.
32107 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32108 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32110 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32111 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32112 __lseek64 directly.
32113 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32114 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32115 __lseek64 directly.
32116 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32117 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32118 __lseek64 directly.
32119 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32120 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32121 __fxstat64 directly.
32122 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32123 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32125 (freopen64) [!_G_OPEN64]: Remove conditional code.
32126 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32128 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32129 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32131 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32132 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32134 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32135 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32137 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32138 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32140 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32141 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32143 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32144 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32146 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32148 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32151 * manual/memory.texi (Malloc Tunable Parameters): Add note
32152 about free list pointers overwriting some perturb bytes.
32153 Wording suggested by Roland McGrath.
32155 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32157 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32158 (lgamma_test): Likewise.
32159 (tgamma_test): Likewise.
32161 2012-10-16 Florian Weimer <fweimer@redhat.com>
32164 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32165 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32167 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32169 * NEWS: Mention BZ #14716.
32170 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32171 when removing AVAILABLE1_USES_J macro.
32173 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32175 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32176 (__bswap_64): __uint64_t for unsigned 64-bit int.
32178 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32180 * include/string.h (memmem): Declare libc hidden alias.
32181 * string/memmem.c (memmem): Define libc hidden alias.
32182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32183 __read, __close instead of open, read, close.
32185 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32188 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32190 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32192 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32194 (__rawmemchr_sse2): Likewise.
32195 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32196 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32197 (__strchr_sse2): Likewise.
32198 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32199 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32200 (__strcasecmp_sse2): Likewise.
32201 (__strncasecmp_sse2): Likewise.
32202 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32203 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32204 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32205 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32206 (__strrchr_sse2): Likewise.
32207 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32209 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32210 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32211 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32213 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32215 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32217 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32218 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32219 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32221 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32222 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32223 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32224 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32225 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32226 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32227 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32228 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32229 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32230 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32231 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32232 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32233 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32235 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32236 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32237 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32238 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32240 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32242 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32243 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32244 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32245 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32247 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32249 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32250 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32251 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32252 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32256 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32257 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32258 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32259 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32260 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32261 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32262 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32263 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32264 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32265 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32266 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32267 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32268 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32270 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32271 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32272 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32273 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32275 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32276 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32277 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32279 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32280 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32281 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32282 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32283 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32284 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32288 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32289 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32290 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32292 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32296 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32297 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32298 * include/ifunc-impl-list.h: New file.
32299 * misc/ifunc-impl-list.c: Likewise.
32300 * misc/Makefile (routines): Add ifunc-impl-list.
32301 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32302 * string/test-string.h: Include <ifunc-impl-list.h>.
32303 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32304 TEST_NAME]: New variables.
32305 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32307 (test_init): Call __libc_ifunc_impl_list to initialize
32308 func_list if TEST_IFUNC and TEST_NAME are defined.
32310 * string/Makefile (strop-tests): Add bcopy and bzero.
32311 * string/test-bcopy.c: New file.
32312 * string/test-bzero.c: Likewise.
32313 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32315 * string/test-memset.c: Support bzero test if TEST_BZERO is
32317 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32319 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32321 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32324 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32326 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32327 * configure: Regenerated.
32329 * Makeconfig (+link-static-before-libc): Don't include
32330 $(link-static-libc).
32332 * libio/libio.h (_IO_pos_t): Remove.
32334 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32336 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32339 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32341 * crypt/crypt-entry.c: Include fips-private.h.
32342 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32343 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32344 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32345 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32347 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32349 * crypt/crypt-private.h: Include stdbool.h.
32350 (_ufc_setup_salt_r): Return bool.
32351 * crypt/crypt-entry.c: Include errno.h.
32352 (__crypt_r): Return NULL with EINVAL for bad salt.
32353 * crypt/crypt_util.c (bad_for_salt): New.
32354 (_ufc_setup_salt_r): Check that salt is long enough and within
32355 the specified alphabet.
32356 * crypt/badsalttest.c: New file.
32357 * crypt/Makefile (tests): Add it.
32358 ($(objpfx)badsalttest): New.
32360 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32362 * NEWS: Add entry for BZ #14602.
32364 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32366 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32368 * math/libm-test.inc: Update comment listing what functions and
32370 (isgreater_test): New function.
32371 (isgreaterequal_test): Likewise.
32372 (isless_test): Likewise.
32373 (islessequal_test): Likewise.
32374 (islessgreater_test): Likewise.
32375 (isunordered_test): Likewise.
32376 (main): Call the new functions.
32378 2012-10-09 Roland McGrath <roland@hack.frob.com>
32380 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32381 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32382 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32383 * sysdeps/i386/configure: Regenerated.
32384 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32385 * sysdeps/mach/configure: Regenerated.
32386 * sysdeps/mach/hurd/configure: Regenerated.
32387 * sysdeps/powerpc/configure: Regenerated.
32388 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32389 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32390 * sysdeps/s390/s390-32/configure: Regenerated.
32391 * sysdeps/s390/s390-64/configure: Regenerated.
32392 * sysdeps/sh/configure: Regenerated.
32393 * sysdeps/sparc/configure: Regenerated.
32394 * sysdeps/unix/sysv/linux/configure: Regenerated.
32395 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32396 * sysdeps/x86_64/configure: Regenerated.
32398 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32399 defined. Don't check if MAP is NULL.
32401 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32403 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32404 (_G_stat64): Likewise.
32405 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32406 (_G_stat64): Likewise.
32407 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32408 instead of struct _G_stat64.
32409 * libio/fileops.c (mmap_remap_check): Likewise.
32410 (decide_maybe_mmap): Likewise.
32411 (_IO_new_file_seekoff): Likewise.
32412 (_IO_file_stat): Likewise.
32413 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32415 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32416 instead of struct _G_stat64.
32417 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32419 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32422 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32424 (CHECK_EOL): New macro.
32425 (two_way_short_needle): Check beginning of haystack for EOL. Use
32427 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32428 Replace with CHECK_EOL.
32429 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32430 Replace with CHECK_EOL.
32432 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32434 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32436 * math/libm-test.inc: Update comment listing what functions and
32438 (finite_test): New function.
32439 (isinf_test): Likewise.
32440 (isnan_test): Likewise.
32441 (fpclassify_test): Test subnormal input.
32442 (isfinite_test): Likewise.
32443 (isnormal_test): Likewise.
32444 (main): Call the new functions.
32446 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32449 * Makerules (%.dynsym): Force C locale when running
32450 $(OBJDUMP) --dynamic-syms.
32452 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32457 2012-10-06 David S. Miller <davem@davemloft.net>
32459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32460 upper 32-bits of the length value in %o2 since we use branch-on-register
32461 tests which consider the entire 64-bit register.
32463 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32465 * string/test-strstr.c (check2): Add a test for page boundary.
32467 2012-10-05 David S. Miller <davem@davemloft.net>
32469 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32472 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32475 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32476 and bzero when HWCAP_SPARC_CRYPTO is present.
32478 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32481 * string/test-strstr.c (check2): New function.
32482 (test_main): Call check2.
32484 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32486 * string/bug-strcasestr1.c (do_test): Moved to ...
32487 * string/test-strcasestr.c (check1): Here. New function.
32488 (do_one_test): Break out result checking code into ...
32489 (check_result): This. New function.
32490 (do_one_test): Call check_result.
32491 (test_main): Call check1.
32492 * string/bug-strchr1.c (do_test): Moved to ...
32493 * string/test-strchr.c (check1): Here. New function.
32494 (do_one_test): Break out result checking code into ...
32495 (check_result): This. New function.
32496 (do_one_test): Call check_result.
32497 (test_main): Call check1.
32498 * string/bug-strstr1.c (main): Moved to ...
32499 * string/test-strstr.c (check1): Here. New function.
32500 (do_one_test): Break out result checking code into ...
32501 (check_result): This. New function.
32502 (do_one_test): Call check_result.
32503 (test_main): Call check1.
32504 * string/bug-strcasestr1.c: Removed.
32505 * string/bug-strchr1.c: Likewise.
32506 * string/bug-strstr1.c: Likewise.
32508 * elf/Makefile (dl-routines): Add hwcaps.
32509 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32510 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32511 (_dl_important_hwcaps): Moved to ...
32512 * elf/dl-hwcaps.c: Here. New file.
32513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32516 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32517 if IS_IN_rtld isn't defined.
32519 * elf/dl-support.c (_dl_sysinfo_map): New.
32520 Include "get-dynamic-info.h" and "setup-vdso.h".
32521 (_dl_non_dynamic_init): Call setup_vdso.
32522 * elf/dynamic-link.h: Don't include <assert.h>.
32523 (elf_get_dynamic_info): Moved to ...
32524 * elf/get-dynamic-info.h: Here. New file.
32525 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32526 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32527 * elf/setup-vdso.h: Here. New file.
32528 * elf/rtld.c: Include "setup-vdso.h".
32529 (dl_main): Call setup_vdso.
32531 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32533 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32534 creal in comment listing functions tested. List finite, isinf,
32535 isnan, isless, islessequal, isgreater, isgreaterequal,
32536 islessgreater, isunordered, lgamma_r and pow10 as functions and
32537 macros not tested. Mention which functions not tested are aliases
32538 for other functions. Fix typo. Note that signs of NaNs are not
32541 * scripts/config.guess: Update from config.git.
32542 * scripts/config.sub: Likewise.
32544 2012-10-04 Roland McGrath <roland@hack.frob.com>
32546 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32547 * misc/madvise.c (madvise): Renamed to __madvise.
32548 Make madvise a weak alias.
32549 * include/sys/mman.h: Declare __madvise.
32550 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32551 * sysdeps/unix/syscalls.list
32552 (madvise): Make __madvise the strong name, and madvise a weak alias.
32553 * sysdeps/unix/sysv/linux/syscalls.list
32554 (madvise, mmap): Remove redundant entries.
32555 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32556 * malloc/malloc.c (mtrim): Likewise.
32557 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32559 2012-10-03 Roland McGrath <roland@hack.frob.com>
32561 * sysdeps/mach/hurd/dl-cache.c: File removed.
32562 * config.h.in (USE_LDCONFIG): New #undef.
32563 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32564 * configure: Regenerated.
32565 * elf/Makefile (dl-routines): Add dl-cache only under
32566 [$(use-ldconfig) = yes].
32567 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32568 cache on [USE_LDCONFIG].
32569 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32571 * elf/rtld.c (dl_main): Likewise.
32573 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32575 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32576 _SC_LEVEL4_CACHE_LINESIZE.
32578 2012-10-03 Roland McGrath <roland@hack.frob.com>
32580 * sysdeps/unix/bsd/confstr.h: File removed.
32582 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32584 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32587 2012-10-02 Roland McGrath <roland@hack.frob.com>
32589 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32590 Make 'mapoff' field ElfW(Off) rather than off_t.
32592 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32594 * nscd/Makefile: Remove nscd-cflags and all its users.
32595 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32596 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32599 * malloc.c (malloc_printerr): Clarify error message.
32601 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32605 Set bit_FMA_Usable if FMA is supported.
32606 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32608 (bit_FMA4_Usable): Updated.
32609 (index_FMA_Usable): New macro.
32610 (CPUID_FMA): Likewise
32611 (HAS_FMA): Defined with bit_FMA_Usable.
32613 2012-10-01 Roland McGrath <roland@hack.frob.com>
32615 * bits/types.h (__swblk_t): Type removed.
32616 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32617 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32619 (__SWBLK_T_TYPE): Likewise.
32620 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32621 (__SWBLK_T_TYPE): Likewise.
32622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32623 (__SWBLK_T_TYPE): Likewise.
32624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32625 (__SWBLK_T_TYPE): Likewise.
32627 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32628 Honza Horak <hhorak@redhat.com>
32630 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32631 (xdr_mapname): Use YPMAXMAP as maxsize.
32632 (xdr_peername): Use YPMAXPEER as maxsize.
32633 (xdr_keydat): Use YPAXRECORD as maxsize.
32634 (xdr_valdat): Use YPMAXRECORD as maxsize.
32636 2012-10-01 Roland McGrath <roland@hack.frob.com>
32638 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32640 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32641 * csu/init-first.c: ... here.
32642 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32643 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32645 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32646 * sysdeps/i386/init-first.c: File removed.
32647 * sysdeps/sh/init-first.c: File removed.
32649 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32653 if x * y might underflow to zero and z is zero.
32654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32656 * math/libm-test.inc (min_subnorm_value): New variable.
32657 (fma_test): Add more tests.
32658 (fma_test_towardzero): Likewise.
32659 (fma_test_downward): Likewise
32660 (fma_test_upward): Likewise.
32661 (initialize): Set min_subnorm_value.
32663 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32669 mode for addition resulting in exact zero.
32670 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32675 * math/libm-test.inc (fma_test): Add more tests.
32676 (fma_test_towardzero): New function.
32677 (fma_test_downward): Likewise.
32678 (fma_test_upward): Likewise.
32679 (main): Call the new functions.
32681 2012-09-28 David S. Miller <davem@davemloft.net>
32683 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32685 2012-09-28 Roland McGrath <roland@hack.frob.com>
32687 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32688 instead of SIGALRM.
32690 * sysdeps/gnu/_G_config.h: Moved to ...
32691 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32692 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32693 * sysdeps/generic/_G_config.h: ... here.
32695 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32697 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32699 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32700 Conditionalize target on [libnss_test1.so-version].
32702 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32704 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32705 (elfobjdir): Move out of conditionals.
32707 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32708 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32709 (__nss_lookup_function): Conditionalize label remove_from_tree on
32710 [!DO_STATIC_NSS || SHARED], matching its only use.
32712 2012-09-28 David S. Miller <davem@davemloft.net>
32714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32717 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32721 when HWCAP_SPARC_CRYPTO is present.
32723 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32725 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32727 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32730 * stdio-common/vfprintf.c (process_string_arg): Revert
32733 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32735 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32737 * stdio-common/tst-sprintf.c: Include <locale.h>
32738 (main): Test sprintf's handling of incomplete multibyte
32741 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32743 * elf/dl-runtime.c (VERSYMIDX): Removed.
32744 * elf/dl-version.c (VERSYMIDX): Likewise.
32745 * elf/do-rel.h (VERSYMIDX): Likewise.
32746 (VALIDX): Likewise.
32747 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32748 * elf/rtld.c (VALIDX): Likewise.
32749 (ADDRIDX): Likewise.
32750 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32751 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32752 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32753 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32754 (VALIDX): Likewise.
32755 (ADDRIDX): Likewise.
32757 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32759 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32761 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32764 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32766 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32767 addresses are in the same scope as 192.0.2/24.
32768 * posix/gai.conf: Document new scope table defaults.
32770 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32773 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32774 for ftell. Compute offsets from write pointers instead.
32775 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32777 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32780 * libio/Makefile (tests): New test case tst-fseek.
32781 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32782 combination works in wide mode.
32783 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32784 state when the external buffer state changes.
32786 2012-09-27 David S. Miller <davem@davemloft.net>
32789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32790 pass reloc->r_addend in as the 'high' argument to
32791 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32795 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32797 * rt/tst-aio2.c: Include <pthread.h>.
32798 * rt/tst-aio3.c: Likewise.
32800 2012-09-27 Steve Ellcey <sellcey@mips.com>
32802 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32804 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32806 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32807 contents on [SHARED].
32809 2012-09-26 Marek Polacek <polacek@redhat.com>
32813 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32814 for C++ and GCC <4.3 as well as for non GCC compilers.
32816 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32820 2012-09-25 Roland McGrath <roland@hack.frob.com>
32822 * Makefile.in (all, install): Declare with .PHONY.
32823 Reported by Michael Hope <michael.hope@linaro.org>.
32825 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32827 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32828 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32832 (sydep_routines): Add the new and the internal functions.
32833 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32836 (GLIBC_2.17): Add the new function.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32838 (GLIBC_2.17): Likewise.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32840 (GLIBC_2.17): Likewise.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32842 (GLIBC_2.17): Likewise.
32843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32845 2012-09-25 Alan Modra <amodra@gmail.com>
32847 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32848 Add release barrier before setting once_control to say
32849 initialisation is done. Add hints on lwarx. Use macro in
32851 (clear_once_control): Add release barrier.
32853 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32856 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32858 * math/s_clog10.c (__clog10): Likewise.
32859 * math/s_clog10f.c (__clog10f): Likewise.
32860 * math/s_clog10l.c (__clog10l): Likewise.
32861 * math/s_clogf.c (__clogf): Likewise.
32862 * math/s_clogl.c (__clogl): Likewise.
32863 * math/Makefile (libm-calls): Add x2y2m1.
32864 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32865 (__x2y2m1): Likewise.
32866 (__x2y2m1l): Likewise.
32867 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32868 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32869 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32871 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32872 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32873 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32874 * sysdeps/i386/fpu/libm-test-ulps: Update.
32875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32878 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32879 int as type of variable DEPTH.
32880 (glob): Use size_t instead of int as type of variables NEWCOUNT
32883 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32885 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32886 Add s_sincosf-sse2.
32887 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32888 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32889 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32890 macros for using routine as __sincosf_ia32.
32891 Use macro for function declaration and weak_alias.
32892 * sysdeps/i386/fpu/libm-test-ulps: Update.
32894 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32897 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32898 subnormal argument.
32899 * math/s_cexpf.c (__cexpf): Likewise.
32900 * math/s_csinf.c (__csinf): Likewise.
32901 * math/s_csinhf.c (__csinhf): Likewise.
32902 * math/s_ctanf.c (__ctanf): Likewise.
32903 * math/s_ctanhf.c (__ctanhf): Likewise.
32904 * math/s_ccosh.c (__ccoshf): Likewise.
32905 * math/s_cexp.c (__cexpl): Likewise.
32906 * math/s_csin.c (__csin): Likewise.
32907 * math/s_csinh.c (__csinh): Likewise.
32908 * math/s_ctan.c (__ctan): Likewise.
32909 * math/s_ctanh.c (ctanh): Likewise.
32910 * math/s_ccoshl.c (__ccoshl): Likewise.
32911 * math/s_cexpl.c (__cexpl): Likewise.
32912 * math/s_csinl.c (__csinl): Likewise.
32913 * math/s_csinhl.c (__csinhl): Likewise.
32914 * math/s_ctanl.c (__ctanl): Likewise.
32915 * math/s_ctanhl.c (__ctanhl): Likewise.
32917 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32919 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32920 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32921 (_IO_off_t): Define to __off_t, not _G_off_t.
32922 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32923 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32924 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32925 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32926 type of __dummy and __dummy2 fields.
32927 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32928 (_G_ssize_t): Likewise.
32929 (_G_off_t): Likewise.
32930 (_G_pid_t): Likewise.
32931 (_G_uid_t): Likewise.
32932 (_G_wchar_t): Likewise.
32933 (_G_wint_t): Likewise.
32934 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32935 (_G_ssize_t): Likewise.
32936 (_G_off_t): Likewise.
32937 (_G_pid_t): Likewise.
32938 (_G_uid_t): Likewise.
32939 (_G_wchar_t): Likewise.
32940 (_G_wint_t): Likewise.
32941 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32942 (_G_ssize_t): Likewise.
32943 (_G_off_t): Likewise.
32944 (_G_pid_t): Likewise.
32945 (_G_uid_t): Likewise.
32946 (_G_wchar_t): Likewise.
32947 (_G_wint_t): Likewise.
32949 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32951 * malloc/arena.c: Include malloc-sysdep.h.
32952 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32953 is sufficient to shrink the heap or an unmap is needed.
32954 * sysdeps/generic/malloc-sysdep.h: New file. Define
32955 new function check_may_shrink_heap.
32956 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32957 new function check_may_shrink_heap.
32959 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32961 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32964 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32966 * catgets/test-gencat.sh: Add "set -e".
32967 * elf/tst-pathopt.sh: Likewise.
32968 * grp/tst_fgetgrent.sh: Likewise.
32969 * iconvdata/run-iconv-test.sh: Likewise.
32970 * intl/tst-gettext.sh: Likewise.
32971 * intl/tst-gettext2.sh: Likewise.
32972 * intl/tst-gettext4.sh: Likewise.
32973 * intl/tst-gettext6.sh: Likewise.
32974 * intl/tst-translit.sh: Likewise.
32975 * io/ftwtest-sh: Likewise.
32976 * libio/test-freopen.sh: Likewise.
32977 * malloc/tst-mtrace.sh: Likewise.
32978 * posix/globtest.sh: Likewise.
32979 * posix/tst-getconf.sh: Likewise.
32980 * posix/wordexp-tst.sh: Likewise.
32981 * stdio-common/tst-printf.sh: Likewise.
32982 * stdio-common/tst-unbputc.sh: Likewise.
32983 * stdlib/tst-fmtmsg.sh: Likewise.
32984 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32985 * catgets/Makefile: Do not specify -e option when running
32986 testsuite shell scripts.
32987 * elf/Makefile: Likewise.
32988 * grp/Makefile: Likewise.
32989 * iconvdata/Makefile: Likewise.
32990 * intl/Makefile: Likewise.
32991 * io/Makefile: Likewise.
32992 * libio/Makefile: Likewise.
32993 * malloc/Makefile: Likewise.
32994 * posix/Makefile: Likewise.
32995 * stdio-common/Makefile: Likewise.
32996 * stdlib/Makefile: Likewise.
32997 * sysdeps/x86_64/Makefile: Likewise.
32999 * io/ftwtest-sh: Add copyright header.
33000 * posix/globtest.sh: Likewise.
33001 * posix/tst-getconf.sh: Likewise.
33002 * posix/wordexp-tst.sh: Likewise.
33003 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33005 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33008 * Makeconfig (+link): Defined as $(+link-static) if
33009 $(build-shared) isn't yes.
33010 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33012 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33014 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33017 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33018 new chunk size with MALLOC_ALIGN_MASK.
33020 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33023 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33025 (__printf_fphex): Determine rounding using get_rounding_mode and
33027 * stdio-common/tst-printf-round.c (struct hex_test): New
33029 (hex_tests): New variable.
33030 (test_hex_in_one_mode): New function.
33031 (do_test): Also run tests for hex float output.
33033 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33035 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33037 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33038 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33040 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33041 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33044 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33046 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33047 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33048 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33049 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33051 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33054 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33056 * elf/tst-rtld-load-self.sh: New test.
33057 * elf/Makefile: Run it.
33059 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33061 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33062 (tst-writev-ENV): Remove.
33063 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33065 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33067 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33069 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33071 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33073 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33075 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33076 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33077 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33080 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33083 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33084 * config.make.in (have-cpp-asm-debuginfo): Removed.
33085 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33086 * configure: Regenerated.
33088 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33091 * stdio-common/printf_fp.c: Include <stdbool.h> and
33093 (___printf_fp): Determine rounding using get_rounding_mode and
33095 * stdio-common/tst-printf-round.c: New file.
33096 * stdio-common/Makefile (tests): Add tst-printf-round.
33097 (link-libm): New variable.
33098 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33100 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33103 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33104 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33106 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33109 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33111 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33112 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33113 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33116 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33119 * include/rounding-mode.h: New file.
33120 * sysdeps/generic/get-rounding-mode.h: Likewise.
33121 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33122 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33123 (MAX_VALUE): New macro.
33124 (MIN_VALUE): Likewise.
33125 (overflow_value): New function.
33126 (underflow_value): Likewise.
33127 (round_and_return): Use overflow_value and underflow_value to
33128 determine return values in overflow and underflow cases. Use
33129 round_away to determine rounding depending on rounding mode.
33130 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33131 determine return values in overflow and underflow cases.
33132 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33133 (struct test_results): New structure.
33134 (struct test): Use struct test_results to store expected results
33135 for all rounding modes.
33136 (TEST): Include expected results for all rounding modes.
33137 (test_in_one_mode): New function.
33138 (do_test): Use test_in_one_mode to compute and check results.
33139 Check results for all rounding modes.
33140 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33143 2012-12-09 Allan McRae <allan@archlinux.org>
33145 * sysdeps/i386/fpu/libm-test-ulps: Update
33147 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33149 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33150 (_G_int32_t): Likewise.
33151 (_G_uint16_t): Likewise.
33152 (_G_uint32_t): Likewise.
33153 (_G_HAVE_BOOL): Likewise.
33154 (_G_HAVE_ATEXIT): Likewise.
33155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33156 (_G_HAVE_IO_FILE_OPEN): Likewise.
33157 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33158 (_G_int32_t): Likewise.
33159 (_G_uint16_t): Likewise.
33160 (_G_uint32_t): Likewise.
33161 (_G_HAVE_BOOL): Likewise.
33162 (_G_HAVE_ATEXIT): Likewise.
33163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33164 (_G_HAVE_IO_FILE_OPEN): Likewise.
33165 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33166 (_G_int32_t): Likewise.
33167 (_G_uint16_t): Likewise.
33168 (_G_uint32_t): Likewise.
33169 (_G_HAVE_BOOL): Likewise.
33170 (_G_HAVE_ATEXIT): Likewise.
33171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33172 (_G_HAVE_IO_FILE_OPEN): Likewise.
33174 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33176 * csu/libc-tls.c: Update copyright years.
33178 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33180 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33181 [!_G_USING_THUNKS]: Remove conditional code.
33182 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33183 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33185 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33186 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33187 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33188 (_G_VTABLE_LABEL_PREFIX): Likewise.
33189 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33190 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33192 (_G_VTABLE_LABEL_PREFIX): Likewise.
33193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33194 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33195 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33196 (_G_VTABLE_LABEL_PREFIX): Likewise.
33197 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33199 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33201 * libio/Makefile: Include ../Makeconfig before tests.
33202 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33203 only if $(build-shared) is yes.
33205 * iconv/gconv_db.c: Update copyright years.
33207 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33209 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33210 unwind info if defined PIC. Fix special cases description.
33211 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33213 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33215 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33217 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33219 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33221 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33224 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33225 (LDLIBS-tst-chk4): This.
33226 (LDFLAGS-tst-chk5): Renamed to ...
33227 (LDLIBS-tst-chk5): This.
33228 (LDFLAGS-tst-chk6): Renamed to ...
33229 (LDLIBS-tst-chk6): This.
33230 (LDFLAGS-tst-lfschk4): Renamed to ...
33231 (LDLIBS-tst-lfschk4): This.
33232 (LDFLAGS-tst-lfschk5): Renamed to ...
33233 (LDLIBS-tst-lfschk5): This.
33234 (LDFLAGS-tst-lfschk6): Renamed to ...
33235 (LDLIBS-tst-lfschk6): This.
33237 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33238 on $(common-objpfx)soversions.mk.
33240 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33243 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33246 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33248 * malloc/arena.c (arena_get_retry): New function that gets
33249 another arena for the caller to try its request on.
33250 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33251 current arena cannot fulfill the request.
33252 (__libc_memalign): Likewise.
33253 (__libc_memalign): Likewise.
33254 (__libc_pvalloc): Likewise.
33255 (__libc_calloc): Likewise.
33257 2012-09-05 John Tobey <john.tobey@gmail.com>
33260 * manual/arith.texi (Operations on Complex): Fix description
33261 of carg branch cut.
33263 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33266 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33270 * manual/memory.texi (Memory): Make order of menu items match
33273 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33275 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33276 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33277 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33279 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33281 * csu/libc-tls.c (static_dtv): Renamed to ...
33282 (_dl_static_dtv): This. Make it global.
33283 (_dl_initial_dtv): Removed.
33284 (__libc_setup_tls): Updated.
33285 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33286 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33289 2012-09-06 Petr Machata <pmachata@redhat.com>
33291 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33292 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33293 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33294 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33296 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33299 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33300 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33306 * Makeconfig (link-static-before-libc): Replace $(+prector)
33308 (link-static-after-libc): Replace $(+postctor) with
33310 (link-bounded): Replace $(+prector)/$(+postctor) with
33311 $(+prectorT)/$(+postctorT).
33312 (+prectorT): New macro.
33313 (+postctorT): Likewise.
33315 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33317 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33318 (round_str): Handle values above the maximum for IBM long double
33320 * stdlib/tst-strtod-round.c (tests): Regenerated.
33322 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33324 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33326 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33327 zarch_nohighgprs around the zarch optimized routines.
33328 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33329 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33333 2012-09-05 David S. Miller <davem@davemloft.net>
33335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33337 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33338 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33339 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33343 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33345 * malloc/arena.c: Fold copyright years.
33346 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33354 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33356 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33358 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33359 change internal state upon failure.
33361 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33363 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33364 * malloc/memusage.c (mmap): Likewise.
33365 (mmap64, mremap): Likewise. Adjust name in comment.
33367 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33369 * libio/fileops.c: Fix typos in comments.
33370 * libio/oldfileops.c: Likewise.
33371 * libio/wfileops.c: Likewise.
33373 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33376 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33377 (tst-malloc-usable-ENV): Set environment for test case.
33378 * malloc/hooks.c (malloc_check_get_size): New function to get
33380 * malloc/malloc.c (musable): Use malloc_check_get_size.
33381 * malloc/tst-malloc-usable.c: New test case.
33383 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33385 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33387 2012-09-05 Allan McRae <allan@archlinux.org>
33390 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33391 determine header location.
33392 * configure: Regenerated.
33394 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33396 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33398 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33399 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33401 (test): Regenerate.
33403 2012-09-04 David S. Miller <davem@davemloft.net>
33405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33407 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33409 2012-09-04 Florian Weimer <fweimer@redhat.com>
33411 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33414 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33416 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33419 * libio/iogetdelim.c: Include <limits.h>.
33420 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33421 + len + 1 would overflow.
33423 2012-09-03 Andreas Jaeger <aj@suse.de>
33425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33426 * sysdeps/i386/fpu/libm-test-ulps: Update.
33428 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33430 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33431 Add s_sinf-sse2, s_conf-sse2.
33433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33435 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33436 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33438 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33439 for using routine as __sinf_ia32.
33440 Use macro for function declaration and weak_alias.
33441 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33442 for using routine as __cosf_ia32.
33443 Use macro for function declaration and weak_alias.
33445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33446 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33448 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33449 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33452 * math/libm-test.inc (cos_test): Add more test cases.
33453 (sin_test): Likewise.
33454 (sincos_test): Likewise.
33456 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33458 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33459 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33461 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33463 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33466 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33467 first element of the GOT.
33468 (elf_machine_load_address): Return the difference between
33469 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33471 2012-09-01 Allan McRae <allan@archlinux.org>
33474 * configure.in (AWK): Require gawk version 3.0 or later.
33475 * configure: Regenerated.
33477 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33479 * sysdeps/unix/sysv/linux/kernel-features.h
33480 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33482 [__NR_clock_getres]: Make code unconditional.
33483 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33484 (clock_getcpuclockid): Remove code left unreachable by removal of
33486 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33487 code unconditional.
33488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33490 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33491 Make code unconditional.
33492 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33493 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33494 * sysdeps/unix/sysv/linux/clock_settime.c
33495 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33497 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33500 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33503 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33504 scripts/test-installation.pl.
33506 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33507 and $ld_so_version if it is set.
33509 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33513 failure if reading from procfs failed.
33514 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33516 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33518 * sysdeps/unix/sysv/linux/kernel-features.h
33519 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33520 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33521 Remove conditional code.
33522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33523 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33524 Remove conditional code.
33525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33526 * sysdeps/unix/sysv/linux/i386/fxstat.c
33527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33529 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33532 * sysdeps/unix/sysv/linux/i386/lxstat.c
33533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33535 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33536 Remove conditional code.
33537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33538 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33539 Remove conditional code.
33540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33542 <kernel-features.h>.
33543 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33545 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33546 Remove conditional code.
33547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33548 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33549 Remove conditional.
33551 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33554 * NEWS: Add fixed bug number.
33556 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33559 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33560 underflowing exponent in case of negative sign.
33561 * stdlib/tst-strtod-round-data: Add more tests.
33562 * stdlib/tst-strtod-round.c (tests): Regenerated.
33565 * stdlib/strtod_l.c (NDIG): Remove.
33566 (HEXNDIG): Likewise.
33567 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33568 smallest representable value.
33569 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33570 lie within an exact representation of 1/2 ulp of the result.
33571 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33573 (TENS_P9_IDX): Define unconditionally.
33574 (TENS_P9_SIZE): Likewise.
33575 (TENS_P10_IDX): Likewise.
33576 (TENS_P10_SIZE): Likewise.
33577 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33578 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33579 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33580 entries for 10^2^13 and 10^2^14.
33581 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33582 (TENS_P13_IDX): Define.
33583 (TENS_P13_SIZE): Likewise.
33584 (TENS_P14_IDX): Likewise.
33585 (TENS_P14_SIZE): Likewise.
33586 (_fpioconst_pow10): Change array size to
33587 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33589 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33590 1024]: Add entries for 10^2^13 and 10^2^14.
33591 [LAST_POW10 > _LAST_POW10]: Remove #error.
33592 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33593 (_fpioconst_pow10): Change array size to
33594 FPIOCONST_POW10_ARRAY_SIZE.
33595 * stdlib/gen-fpioconst.c: New file.
33596 * stdlib/gen-tst-strtod-round.c: Likewise.
33597 * stdlib/tst-strtod-round-data: Likewise.
33598 * stdlib/tst-strtod-round.c: Likewise.
33599 * stdlib/Makefile (tests): Add tst-strtod-round.
33602 * stdlib/strtod_l.c: Include <stdint.h>.
33603 (NDEBUG): Do not define.
33604 (round_and_return): Change EXPONENT parameter to type intmax_t.
33605 Rearrange calculations to avoid internal overflow possibilities.
33606 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33607 Rearrange calculations to avoid internal overflow possibilities.
33608 Assert that number fits inside MPNSIZE limbs.
33609 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33610 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33611 calculations and add assertions to avoid internal overflow
33612 possibilities. Add casts to avoid signed/unsigned operations.
33613 * stdlib/tst-strtod-overflow.c: New file.
33614 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33616 2012-08-25 Marek Polacek <polacek@redhat.com>
33618 * time/time.h: Fix some typos in comments.
33620 2012-08-23 Roland McGrath <roland@hack.frob.com>
33622 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33623 * posix/tst-rfc3484-2.c: Likewise.
33624 * posix/tst-rfc3484-3.c: Likewise.
33626 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33628 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33629 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33631 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33633 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33634 #include of fxstatat64.c.
33636 2012-08-22 Roland McGrath <roland@hack.frob.com>
33638 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33639 * shadow/getspent_r.c: Likewise.
33640 * shadow/getspnam.c: Likewise.
33641 * shadow/getspnam_r.c: Likewise.
33642 * gshadow/getsgent.c: Likewise.
33643 * gshadow/getsgent_r.c: Likewise.
33644 * gshadow/getsgnam.c: Likewise.
33645 * gshadow/getsgnam_r.c: Likewise.
33646 * inet/getnetbyad.c: Likewise.
33647 * inet/getnetbyad_r.c: Likewise.
33648 * inet/getnetbynm.c: Likewise.
33649 * inet/getnetbynm_r.c: Likewise.
33650 * inet/getnetent.c: Likewise.
33651 * inet/getnetent_r.c: Likewise.
33652 * inet/getproto.c: Likewise.
33653 * inet/getproto_r.c: Likewise.
33654 * inet/getprtent.c: Likewise.
33655 * inet/getprtent_r.c: Likewise.
33656 * inet/getprtname.c: Likewise.
33657 * inet/getprtname_r.c: Likewise.
33658 * inet/getrpcbyname.c: Likewise.
33659 * inet/getrpcbyname_r.c: Likewise.
33660 * inet/getrpcbynumber.c: Likewise.
33661 * inet/getrpcbynumber_r.c: Likewise.
33662 * inet/getrpcent.c: Likewise.
33663 * inet/getrpcent_r.c: Likewise.
33664 * inet/getaliasent.c: Likewise.
33665 * inet/getaliasent_r.c: Likewise.
33666 * inet/getaliasname.c: Likewise.
33667 * inet/getaliasname_r.c: Likewise.
33668 * nscd/getgrgid_r.c: Likewise.
33669 * nscd/getgrnam_r.c: Likewise.
33670 * nscd/gethstbyad_r.c: Likewise.
33671 * nscd/gethstbynm3_r.c: Likewise.
33672 * nscd/getpwnam_r.c: Likewise.
33673 * nscd/getpwuid_r.c: Likewise.
33674 * nscd/getsrvbynm_r.c: Likewise.
33675 * nscd/getsrvbypt_r.c: Likewise.
33676 * nscd/gai.c: Likewise.
33678 * configure.in (build_nscd): New substituted variable, set
33679 by --disable-build-nscd and defaults to $use_nscd.
33680 * configure: Regenerated.
33681 * config.make.in (build-nscd): New substituted variable.
33682 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33683 Change conditional to require [$(build-nscd) = yes] as well.
33684 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33687 * configure.in (use_nscd): New substituted variable, set by
33688 --disable-nscd. If enabled, define USE_NSCD.
33689 * configure: Regenerated.
33690 * config.h.in: Add USE_NSCD.
33691 * config.make.in (use-nscd): New substituted variable.
33692 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33693 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33694 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33695 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33696 (CFLAGS-getgrnam_r.c): Likewise.
33697 (CFLAGS-initgroups.c): Likewise.
33698 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33699 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33701 * inet/getnetgrent_r.c
33702 (nscd_setnetgrent): New function, broken out of ...
33703 (setnetgrent): ... here. Call it.
33704 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33705 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33706 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33707 * nscd/Makefile (routines, aux): Move definitions after include of
33708 Makeconfig. Conditionalize on [$(use-nscd) != no].
33709 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33710 Conditionalize on [USE_NSCD].
33711 (is_nscd, nscd_init_cb): Likewise.
33712 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33713 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33714 * nss/nss_db/db-init.c: Likewise.
33715 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33717 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33718 (make_request): Use it.
33719 (cache_valid_p): New function.
33720 (__check_pf): Use it.
33721 * NEWS: Add item for --disable-nscd.
33723 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33725 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33726 to support sed >= 4.2.1-20-ga9bf076.
33727 * configure: Regenerated.
33729 2012-08-22 Roland McGrath <roland@hack.frob.com>
33731 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33732 Conditionalize whole body on [IREL].
33734 2012-08-22 Jeff Law <law@redhat.com>
33737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33738 if the family is PF_UNSPEC.
33740 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33742 * Makerules (lib-version): Rename from V.
33743 (install-lib-nosubdir): Change V to lib-version.
33745 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33748 * powerpc32/power6/wcschr.c: New file.
33749 * powerpc32/power6/wcscpy.c: New file.
33750 * powerpc32/power6/wcsrchr.c: New file.
33751 * powerpc64/power6/wcschr.c: New file.
33752 * powerpc64/power6/wcscpy.c: New file.
33753 * powerpc64/power6/wcsrchr.c: New file.
33755 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33757 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33758 (two_way_short_needle): Use it.
33759 * string/strstr.c (AVAILABLE1_USES_J): Define.
33760 * string/strcasestr.c: Likewise.
33762 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33764 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33767 * NEWS: Add an entry.
33768 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33769 define their defaults.
33770 (two_way_short_needle): Detect end-of-string on-the-fly.
33771 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33772 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33773 * string/bug-strcasestr1.c: New test.
33774 * string/Makefile: Run it.
33776 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33779 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33780 the first character.
33782 2012-08-21 Roland McGrath <roland@hack.frob.com>
33784 * csu/elf-init.c (__libc_csu_irel): Function removed.
33785 * csu/libc-start.c (apply_irel): New function.
33786 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33788 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33790 * sysdeps/unix/sysv/linux/kernel-features.h
33791 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33792 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33793 <kernel-features.h>.
33794 [__NR_fadvise64_64]: Make code unconditional.
33795 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33796 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33797 !__NR_fadvise64_64)]: Likewise.
33798 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33799 !__NR_fadvise64_64))]: Likewise.
33800 [__NR_fadvise64]: Make code unconditional.
33801 [!__NR_fadvise64]: Remove conditional code.
33802 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33803 <kernel-features.h>.
33804 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33806 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33809 not include <kernel-features.h>.
33810 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33812 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33814 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33815 include <kernel-features.h>.
33816 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33818 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33821 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33824 slight instruction rearrangements per scrollpipe analysis.
33825 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33827 2012-08-20 Roland McGrath <roland@hack.frob.com>
33829 * manual/syslog.texi (syslog; vsyslog, closelog):
33830 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33831 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33833 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33834 DSOCAPS to match condition on defining it.
33836 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33838 * sysdeps/unix/sysv/linux/kernel-features.h
33839 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33850 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33851 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33853 * sysdeps/unix/sysv/linux/kernel-features.h
33854 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33855 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33857 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33858 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33861 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33862 Make code unconditional.
33863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33864 (__mmap64) [!__NR_mmap2]: Likewise.
33865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33866 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33867 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33869 [__NR_mmap2]: Make code unconditional.
33870 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33871 (__mmap64) [!__NR_mmap2]: Likewise.
33873 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33875 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33877 2012-08-18 Andreas Jaeger <aj@suse.de>
33879 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33881 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33883 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33884 * include/unistd.h (__have_sock_cloexec): Likewise.
33885 (__have_pipe2): Likewise.
33886 (__have_dup3): Likewise.
33888 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33891 * include/unistd.h (__have_pipe2): Change define into an extern int.
33892 (__have_dup3): Likewise.
33893 * socket/have_sock_cloexec.c: Include fcntl.h.
33894 (__have_pipe2): New variable.
33895 (__have_dup3): Likewise.
33897 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33899 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33901 2012-08-17 Marek Polacek <polacek@redhat.com>
33903 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33904 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33906 2012-08-17 Roland McGrath <roland@hack.frob.com>
33908 * configure.in: Add AC_SUBST for sysheaders.
33909 * configure: Regenerated.
33910 * config.make.in (sysheaders): New substituted variable.
33912 * sysdeps/unix/mkfifo.c: Moved ...
33913 * sysdeps/posix/mkfifo.c: ... here.
33914 * sysdeps/unix/mkfifoat.c: Moved ...
33915 * sysdeps/posix/mkfifoat.c: ... here.
33917 * sysdeps/unix/utime.c: Moved ...
33918 * sysdeps/posix/utime.c: ... here.
33920 * sysdeps/unix/time.c: Moved ...
33921 * sysdeps/posix/time.c: ... here.
33922 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33923 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33925 * sysdeps/unix/nice.c: Moved ...
33926 * sysdeps/posix/nice.c: ... here.
33928 * sysdeps/unix/alarm.c: Moved ...
33929 * sysdeps/posix/alarm.c: ... here.
33931 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33933 2012-08-17 Jeff Law <law@redhat.com>
33935 * intl/Makefile (codeset_mo): New variable.
33936 ($(codeset_mo)): New target.
33937 (tst-codeset.out): Depend on that. Remove explicit rule.
33938 (tst-gettext3.out, tst-gettext5.out): Likewise.
33939 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33940 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33941 * intl/tst-codeset.sh: Remove.
33942 * intl/tst-gettext3.sh: Likewise.
33943 * intl/tst-gettext5.sh: Likewise.
33945 2012-08-17 Roland McGrath <roland@hack.frob.com>
33947 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33948 * sysdeps/unix/syscalls.list: ... here.
33950 * sysdeps/posix/getaddrinfo.c
33951 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33952 (gaiconf_init, gaiconf_reload): Use them.
33953 [!_STATBUF_ST_NSEC]
33954 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33955 Define using time_t rather than struct timespec.
33957 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33958 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33960 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33962 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33963 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33967 __libc_cleanup_push argument.
33969 * bits/param.h: New file.
33970 * misc/sys/param.h: New file.
33971 * include/sys/param.h: New file.
33972 * misc/Makefile (headers): Add bits/param.h.
33973 * sysdeps/generic/sys/param.h: File removed.
33974 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33975 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33976 * sysdeps/mach/hurd/bits/param.h: New file.
33977 * sysdeps/mach/hurd/sys/param.h: File removed.
33979 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33982 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33984 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33985 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33988 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33989 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33990 rather than -D_IO_MTSAFE_IO conditionally.
33991 * stdio-common/Makefile (CPPFLAGS): Likewise.
33992 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33993 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33994 Use $(libio-mtsafe).
33995 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33996 of -D_IO_MTSAFE_IO.
33997 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33998 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33999 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34000 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34001 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34002 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34003 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34004 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34005 (CFLAGS-fread_u_chk.c): Likewise.
34006 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34007 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34008 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34009 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34010 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34011 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34012 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34013 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34014 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34016 * libio/Makefile: Test [$(libc-reentrant) = yes]
34017 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34020 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34021 * sysdeps/pthread/configure: File removed.
34022 * sysdeps/pthread/Makeconfig: New file.
34023 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34024 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34026 2012-08-16 Gary Benson <gbenson@redhat.com>
34028 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34029 unmapping the first object in a namespace.
34031 2012-08-16 Roland McGrath <roland@hack.frob.com>
34033 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34034 (__internal_setnetgrent): ... this. Add internal_function to
34035 definition. Add libc_hidden_def.
34036 (setnetgrent): Update caller.
34037 (internal_endnetgrent): Renamed to ...
34038 (__internal_endnetgrent): ... this. Add internal_function to
34039 definition. Add libc_hidden_def.
34040 (endnetgrent): Update caller.
34041 (internal_getnetgrent_r): Renamed to ...
34042 (__internal_getnetgrent_r): ... this. Add internal_function to
34043 definition. Add libc_hidden_def.
34044 (__getnetgrent_r): Update caller.
34045 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34047 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34049 * stdlib/longlong.h: Update from GCC.
34051 2012-08-16 Roland McGrath <roland@hack.frob.com>
34053 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34054 on _QL, which is set by umul_ppmm but never used.
34055 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34056 variables, which are set by GMP macros but never used.
34057 * stdio-common/_itowa.c (_itowa): Likewise.
34058 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34059 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34061 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34063 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34064 struct La_sh_regs is not constant.
34065 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34066 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34067 and struct La_sparc64_regs are not constant.
34069 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34071 * sysdeps/unix/sysv/linux/kernel-features.h
34072 (__ASSUME_POSIX_TIMERS): Remove.
34073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34075 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34076 Make code unconditional.
34077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34078 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34079 Make code unconditional.
34080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34081 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34082 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34084 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34085 Make code unconditional.
34086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34087 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34088 (__libc_missing_posix_timers): Remove.
34090 2012-08-15 Roland McGrath <roland@hack.frob.com>
34092 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34093 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34095 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34097 * elf/dl-sym.c: Include <stdlib.h>.
34099 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34100 constants, which avoids warnings in 32-bit builds.
34102 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34103 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34105 * misc/lseek.c: File moved to ...
34106 * io/lseek.c: ... here.
34108 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34110 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34111 shifting LEN more than 31 bits at once.
34113 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34116 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34117 segmentation fault for a case of two empty input strings.
34118 * string/test-strncasecmp.c (check1): Renamed to...
34119 (bz12205): ...this.
34120 (bz14195): Add new testcase for two empty input strings and N > 0.
34121 (test_main): Call new testcase, adapt for renamed function.
34123 2012-08-15 Andreas Jaeger <aj@suse.de>
34126 * crypt/md5test2.c: New test, based on test supplied by Serge
34127 Belyshev <belyshev@depni.sinp.msu.ru>.
34128 * crypt/Makefile (xtests): Add md5test-giant..
34129 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34131 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34134 * crypt/md5.c (md5_process_block): Don't assume the buffer
34135 length is less than 2**32.
34136 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34137 length is less than 2**64.
34139 2012-08-15 Roland McGrath <roland@hack.frob.com>
34141 * string/str-two-way.h: Include <sys/param.h>.
34142 (MAX): Macro removed.
34144 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34145 Move #define and #undef of memmove to just before and after
34146 including <string.h>.
34148 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34149 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34150 and after including <string.h>. Move declarations of
34151 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34152 to before #include "string/memmove.c".
34154 * include/dirent.h: Declare __getdirentries.
34156 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34157 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34159 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34161 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34162 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34163 * sysdeps/i386/configure: Regenerated.
34164 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34165 STABS_CURRENT_FILE, and STABS_FUN.
34166 (END): Remove call to STABS_FUN_END.
34167 (STABS_CURRENT_FILE1): Delete.
34168 (STABS_CURRENT_FILE): Likewise.
34169 (STABS_FUN): Likewise.
34170 (STABS_FUN_END): Likewise.
34171 (STABS_FUN2): Likewise.
34172 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34173 * sysdeps/x86_64/configure: Regenerated.
34175 2012-08-14 Roland McGrath <roland@hack.frob.com>
34177 * elf/dl-open.c: Include <atomic.h>.
34178 * elf/dl-lookup.c: Likewise.
34180 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34182 * sysdeps/unix/sysv/linux/kernel-features.h
34183 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34184 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34186 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34188 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34189 condition on __ASSUME_CLONE_THREAD_FLAGS.
34191 2012-08-14 Andreas Jaeger <aj@suse.de>
34193 * sysdeps/i386/fpu/libm-test-ulps: Update.
34195 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34197 * include/atomic.h (atomic_exchange_and_add): Split into ...
34198 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34201 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34205 2012-08-13 Jeff Law <law@redhat.com>
34207 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34208 null byte in the output string.
34210 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34212 * sysdeps/unix/sysv/linux/kernel-features.h
34213 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34214 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34215 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34217 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34218 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34219 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34221 2012-08-09 Jeff Law <law@redhat.com>
34224 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34225 When avoid_arena is set, don't retry in the that arena. Pick the
34226 next one, whatever it might be.
34227 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34228 (arena_lock): Pass in new parameter to arena_get2.
34229 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34231 (__libc_malloc): Unify retrying after main arena failure with
34232 __libc_memalign version.
34233 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34235 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34238 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34239 to __redirect_strstr.
34240 (__strstr_sse42): Use typeof __redirect_strstr.
34241 (__strstr_ia32): Likewise.
34242 (__libc_strstr): New prototype.
34243 (strstr): Renamed to ...
34244 (__libc_strstr): This.
34245 (strstr): New strong alias of __libc_strstr.
34246 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34250 (__libc_time): New prototype.
34251 (time_ifunc): Replace time with __libc_time.
34252 (time): New strong alias and hidden definition of __libc_time.
34253 (__GI_time): Remove strong alias.
34254 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34255 Include <stddef.h>.
34256 (memmove): Redefined to __redirect_memmove.
34257 (__memmove_sse2): Use typeof __redirect_memmove.
34258 (__memmove_ssse3): Likewise.
34259 (__memmove_ssse3_back): Likewise.
34260 (__libc_memmove): New prototype.
34261 (memmove): Renamed to ...
34262 (__libc_memmove): This.
34263 (memmove): New strong alias of __libc_memmove.
34265 2012-08-08 Mark Salter <msalter@redhat.com>
34268 (R_MN10300_TLS_GD): Define.
34269 (R_MN10300_TLS_LD): Likewise.
34270 (R_MN10300_TLS_LDO): Likewise.
34271 (R_MN10300_TLS_GOTIE): Likewise.
34272 (R_MN10300_TLS_IE): Likewise.
34273 (R_MN10300_TLS_LE): Likewise.
34274 (R_MN10300_TLS_DTPMOD): Likewise.
34275 (R_MN10300_TLS_DTPOFF): Likewise.
34276 (R_MN10300_TLS_TPOFF): Likewise.
34277 (R_MN10300_SYM_DIFF): Likewise.
34278 (R_MN10300_ALIGN): Likewise.
34279 (R_MN10300_NUM): Update.
34281 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34286 2012-08-08 Roland McGrath <roland@hack.frob.com>
34288 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34290 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34291 sysdeps/unix -> sysdeps/posix move.
34292 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34294 2012-08-07 Allan McRae <allan@archlinux.org>
34297 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34298 (SUNOS_CPP): Likewise.
34299 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34301 (open_input): Call CPP using execvp.
34303 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34305 * sysdeps/unix/sysv/linux/kernel-features.h
34306 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34307 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34308 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34309 (__ASSUME_WAITID_SYSCALL): Likewise.
34310 * sysdeps/unix/sysv/linux/dl-execstack.c
34311 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34312 code unconditional.
34313 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34316 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34317 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34319 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34321 [__ASSUME_WAITID_SYSCALL]: Likewise.
34322 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34324 2012-08-07 Roland McGrath <roland@hack.frob.com>
34326 * sysdeps/unix/closedir.c: Renamed to ...
34327 * sysdeps/posix/closedir.c: ... here.
34328 * sysdeps/unix/dirfd.c: Renamed to ...
34329 * sysdeps/posix/dirfd.c: ... here.
34330 * sysdeps/unix/dirstream.h: Renamed to ...
34331 * sysdeps/posix/dirstream.h: ... here.
34332 * sysdeps/unix/fdopendir.c: Renamed to ...
34333 * sysdeps/posix/fdopendir.c: ... here.
34334 * sysdeps/unix/opendir.c: Renamed to ...
34335 * sysdeps/posix/opendir.c: ... here.
34336 * sysdeps/unix/readdir.c: Renamed to ...
34337 * sysdeps/posix/readdir.c: ... here.
34338 * sysdeps/unix/readdir_r.c: Renamed to ...
34339 * sysdeps/posix/readdir_r.c: ... here.
34340 * sysdeps/unix/rewinddir.c: Renamed to ...
34341 * sysdeps/posix/rewinddir.c: ... here.
34342 * sysdeps/unix/seekdir.c: Renamed to ...
34343 * sysdeps/posix/seekdir.c: ... here.
34344 * sysdeps/unix/telldir.c: Renamed to ...
34345 * sysdeps/posix/telldir.c: ... here.
34346 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34347 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34348 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34352 * bits/fcntl.h: ... here.
34354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34356 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34357 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34358 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34359 (struct flock): Move l_start, l_len to the beginning.
34360 Use __pid_t for l_pid.
34361 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34362 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34363 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34364 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34365 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34366 [__USE_LARGEFILE64] (struct flock64): New type.
34367 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34370 * bits/dirent.h: ... here.
34372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34373 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34375 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34378 Change from 2.6.0 to 2.6.16.
34379 * sysdeps/unix/sysv/linux/configure: Regenerated.
34380 * sysdeps/unix/sysv/linux/kernel-features.h
34381 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34382 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34384 (__ASSUME_UTIMES): Likewise.
34385 (__ASSUME_CLONE_STOPPED): Remove.
34386 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34387 architectures, not kernel version.
34388 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34389 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34390 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34391 (__ASSUME_WAITID_SYSCALL): Likewise.
34392 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34393 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34394 * README: State 2.6.16 as minimum Linux kernel version. Do not
34395 refer to older versions.
34397 2012-08-06 Roland McGrath <roland@hack.frob.com>
34399 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34400 Define alphasort64 as an alias.
34401 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34402 Define versionsort64 as an alias.
34403 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34404 Define scandir64 as an alias.
34405 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34406 Define scandirat64 as an alias.
34407 * dirent/alphasort64.c (alphasort64):
34408 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34409 * dirent/versionsort64.c: Likewise.
34410 * dirent/scandir64.c: Likewise.
34411 * dirent/scandirat64.c: Likewise.
34412 * sysdeps/wordsize-64/alphasort.c: File removed.
34413 * sysdeps/wordsize-64/alphasort64.c: File removed.
34414 * sysdeps/wordsize-64/scandir.c: File removed.
34415 * sysdeps/wordsize-64/scandir64.c: File removed.
34416 * sysdeps/wordsize-64/scandirat.c: File removed.
34417 * sysdeps/wordsize-64/scandirat64.c: File removed.
34418 * sysdeps/wordsize-64/versionsort.c: File removed.
34419 * sysdeps/wordsize-64/versionsort64.c: File removed.
34420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34421 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34423 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34425 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34427 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34429 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34431 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34433 [defined __arch64__ || defined __sparcv9]
34434 (__INO_T_MATCHES_INO64_T): New macro.
34435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34436 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34437 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34438 * sysdeps/unix/sysv/linux/bits/dirent.h
34439 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34440 (_DIRENT_MATCHES_DIRENT64): New macro.
34442 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34443 Define lockf64 as an alias.
34444 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34445 Define fseeko64 as an alias.
34446 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34447 Define ftello64 as an alias.
34448 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34449 Define _IO_fgetpos64 and fgetpos64 as aliases.
34450 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34451 Define _IO_fsetpos64 and fsetpos64 as aliases.
34452 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34453 Conditionalize body on this.
34454 * libio/fseeko64.c: Likewise.
34455 * libio/ftello64.c: Likewise.
34456 * libio/iofgetpos64.c: Likewise.
34457 * libio/iofsetpos64.c: Likewise.
34458 * sysdeps/wordsize-64/lockf.c: File removed.
34459 * sysdeps/wordsize-64/lockf64.c: File removed.
34460 * sysdeps/wordsize-64/fseeko.c: File removed.
34461 * sysdeps/wordsize-64/fseeko64.c: File removed.
34462 * sysdeps/wordsize-64/ftello.c: File removed.
34463 * sysdeps/wordsize-64/ftello64.c: File removed.
34464 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34465 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34466 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34467 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34477 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34479 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34481 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34483 [defined __arch64__ || defined __sparcv9]
34484 (__OFF_T_MATCHES_OFF64_T): New macro.
34485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34486 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34488 (__OFF_T_MATCHES_OFF64_T): New macro.
34490 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34492 * stdlib/secure-getenv.c (__secure_getenv): Replace
34493 GLIBC_2_16 with GLIBC_2_17.
34495 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34500 2012-08-03 David S. Miller <davem@davemloft.net>
34502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34504 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34508 (__ASSUME_CORRECT_SI_PID): Likewise.
34509 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34510 (__ASSUME_TMPFS_NAME): Likewise.
34511 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34512 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34513 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34514 (HAVE_AUX_SECURE): Make definition unconditional.
34515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34516 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34518 2012-08-03 Roland McGrath <roland@hack.frob.com>
34520 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34521 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34522 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34523 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34524 __eloop_threshold instead of SYMLOOP_MAX.
34526 * sysdeps/generic/eloop-threshold.h: New file.
34527 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34529 * elf/chroot_canon.c (chroot_canon): Likewise.
34531 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34535 Change to 2.6.0 everywhere.
34536 * sysdeps/unix/sysv/linux/configure: Regenerated.
34537 * sysdeps/unix/sysv/linux/kernel-features.h
34538 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34539 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34541 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34542 (__ASSUME_FUTEX_REQUEUE): Remove.
34543 (__ASSUME_STATFS64): Define unconditionally.
34544 (__ASSUME_AT_SECURE): Likewise.
34545 (__ASSUME_CORRECT_SI_PID): Likewise.
34546 (__ASSUME_TGKILL): Define without depending on kernel version for
34548 (__ASSUME_UTIMES): Likewise.
34549 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34551 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34552 (__ASSUME_TMPFS_NAME): Likewise.
34553 * README: Update reference to Linux kernel versions.
34555 2012-08-02 Marek Polacek <polacek@redhat.com>
34558 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34559 libc_cv_asm_type_prefix with %.
34560 * configure: Regenerated.
34561 * include/libc-symbols.h: Remove comment about
34562 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34563 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34564 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34565 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34566 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34567 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34568 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34569 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34570 * elf/tst-unique2mod1.c: Likewise.
34571 * elf/tst-unique1mod2.c: Likewise.
34572 * elf/tst-unique1mod1.c: Likewise.
34573 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34574 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34575 Replace ASM_TYPE_DIRECTIVE with .type.
34576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34577 * sysdeps/i386/sysdep.h: Likewise.
34578 * sysdeps/x86_64/sysdep.h: Likewise.
34579 * sysdeps/sh/sysdep.h: Likewise.
34580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34581 Do not define ASM_TYPE_DIRECTIVE.
34582 * sysdeps/powerpc/sysdep.h: Likewise.
34583 * sysdeps/powerpc/powerpc32/sysdep.h:
34584 Replace ASM_TYPE_DIRECTIVE with .type.
34585 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34586 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34587 * sysdeps/i386/fpu/e_powf.S: Likewise.
34588 * sysdeps/i386/fpu/e_expl.S: Likewise.
34589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34591 * sysdeps/i386/fpu/e_pow.S: Likewise.
34592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34596 * sysdeps/i386/fpu/e_log2.S: Likewise.
34597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34599 * sysdeps/i386/fpu/e_powl.S: Likewise.
34600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34602 * sysdeps/i386/fpu/e_logl.S: Likewise.
34603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34608 * sysdeps/i386/fpu/e_log.S: Likewise.
34609 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34610 * sysdeps/i386/fpu/e_logf.S: Likewise.
34611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34612 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34613 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34614 * sysdeps/i386/fpu/e_log10.S: Likewise.
34615 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34616 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34617 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34618 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34621 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34622 * sysdeps/i386/i686/strtok.S: Likewise.
34623 * sysdeps/i386/i386-mcount.S: Likewise.
34624 * sysdeps/i386/strtok.S: Likewise.
34625 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34629 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34631 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34632 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34633 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34634 * sysdeps/x86_64/_mcount.S: Likewise.
34635 * sysdeps/x86_64/strtok.S: Likewise.
34636 * sysdeps/sh/_mcount.S: Likewise.
34638 2012-08-01 Roland McGrath <roland@hack.frob.com>
34640 * libio/iofopen.c: Include <fcntl.h>.
34641 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34642 (_IO_fopen64, fopen64): Define as aliases.
34643 * libio/iofopen64.c: Include <fcntl.h>.
34644 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34645 Conditionalize body on this.
34646 * sysdeps/wordsize-64/iofopen.c: File removed.
34647 * sysdeps/wordsize-64/iofopen64.c: File removed.
34649 2012-08-01 Marek Polacek <polacek@redhat.com>
34651 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34652 Use dlfcn directly instead of a variable.
34653 (binfmt-subdir): Do not define.
34656 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34659 Remove all definitions.
34660 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34661 <kernel-features.h>.
34662 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34663 (miss_F_GETOWN_EX): Remove all definitions.
34664 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34666 [!__ASSUME_FCNTL64]: Remove conditional code.
34667 [__ASSUME_FCNTL64]: Make code unconditional.
34668 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34669 <kernel-features.h>.
34670 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34671 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34672 (lockf64) [__NR_fcntl64]: Make code unconditional.
34673 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34675 * sysdeps/unix/sysv/linux/kernel-features.h
34676 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34677 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34678 Make code unconditional.
34679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34682 [__NR_vfork]: Make code unconditional.
34683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34686 [__NR_vfork]: Make code unconditional.
34687 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34688 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34690 2012-08-01 Roland McGrath <roland@hack.frob.com>
34692 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34693 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34695 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34696 Define mkstemp64 as an alias.
34697 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34698 Define mkstemps64 as an alias.
34699 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34700 Define mkostemp64 as an alias.
34701 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34702 Define mkostemps64 as an alias.
34703 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34704 Conditionalize body on this.
34705 * misc/mkostemp64.c: Likewise.
34706 * misc/mkostemps64.c: Likewise.
34707 * misc/mkstemps64.c: Likewise.
34708 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34709 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34710 * sysdeps/wordsize-64/mkostemp.c: File removed.
34711 * sysdeps/wordsize-64/mkstemp.c: File removed.
34712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34714 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34718 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34719 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34720 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34721 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34723 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34724 compat_symbol macros from <shlib-compat.h> rather than the underlying
34725 default_symbol_version and symbol_version macros, so that DEFAULT
34726 lines in shlib-versions are respected.
34727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34729 2012-08-01 Florian Weimer <fweimer@redhat.com>
34731 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34732 Declare with warn_unused_result.
34733 (setgid, setregid, setegid, setresgid): Likewise.
34734 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34736 * WUR-REPORT: Remove set*id functions.
34738 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34740 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34742 2012-07-31 Roland McGrath <roland@hack.frob.com>
34745 * include/sys/socket.h (__libc_accept, __libc_accept4):
34746 Add attribute_hidden.
34747 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34751 * inet/getnetgrent_r.c (setup): Likewise.
34753 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34755 2012-07-31 David S. Miller <davem@davemloft.net>
34757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34759 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34762 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34763 value between 1.0 and 2.0 and smaller part has absolute value less
34765 * math/s_clog10.c (__clog10): Likewise.
34766 * math/s_clog10f.c (__clog10f): Likewise.
34767 * math/s_clog10l.c (__clog10l): Likewise.
34768 * math/s_clogf.c (__clogf): Likewise.
34769 * math/s_clogl.c (__clogl): Likewise.
34770 * math/libm-test.inc (clog_test): Add more tests.
34771 (clog10_test): Likewise.
34772 * sysdeps/i386/fpu/libm-test-ulps: Update.
34773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34775 2012-07-31 Florian Weimer <fweimer@redhat.com>
34777 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34778 Exit with zero in case no suitable GID is found, and write a
34779 message to standard error.
34781 2012-07-30 Roland McGrath <roland@hack.frob.com>
34783 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34785 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34786 (MAXPATHLEN): Removed.
34787 (NOGROUP, NODEV): New macros.
34788 (setbit, clrbit, isset, isclr): New macros.
34789 (howmany, roundup, powerof2): New macros.
34790 (DEV_BSIZE): New macro.
34792 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34793 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34795 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34796 definition on [!__NO_LONG_DOUBLE_MATH].
34798 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34799 PTR_MANGLE and PTR_DEMANGLE.
34801 * socket/accept4.c (accept4): Rename to __libc_accept4.
34802 Define accept4 as a weak alias.
34804 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34805 on [_DIRENT_HAVE_D_TYPE].
34806 * io/ftw.c (ftw_dir): Likewise.
34808 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34810 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34812 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34813 Use the BSD numbers rather than the arbitrary ones we had.
34814 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34815 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34816 (SIGXCPU, SIGXFSZ): New macros.
34819 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34820 initializer on [_LIBC_REENTRANT].
34822 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34823 definitions inside [_POSIX_MAPPED_FILES].
34825 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34827 * dirent/opendir.c: Include <fcntl.h>.
34829 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34830 (__libc_getspecific): Likewise.
34831 (__libc_key_create): Likewise.
34833 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34834 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34835 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34836 (tmpfile64): Define as alias.
34837 * sysdeps/wordsize-64/tmpfile.c: File removed.
34838 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34842 * stdio-common/vfscanf.c: Include <stdbool.h>.
34843 * nss/makedb.c: Likewise.
34844 * stdio-common/_i18n_number.h: Likewise.
34845 * argp/argp-help.c: Likewise.
34846 * posix/wordexp.c: Likewise.
34847 * sysdeps/posix/spawni.c: Likewise.
34848 * nss/nss_files/files-initgroups.c: Likewise.
34849 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34850 * nss/nss_files/files-initgroups.c: Likewise.
34851 * nss/nss_db/db-netgrp.c: Likewise.
34852 * nss/nss_db/db-initgroups.c: Likewise.
34853 * io/fchmodat.c: Include <sys/stat.h>.
34855 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34856 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34858 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34861 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34862 Add multiple inclusion protection.
34864 2012-07-27 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34868 2012-07-27 Gary Benson <gbenson@redhat.com>
34871 * elf/rtld.c: Include <stap-probe.h>.
34872 (dl_main): Added static probes "init_start" and "init_complete".
34873 * elf/dl-load.c: Include <stap-probe.h>.
34874 (lose): Take new parameter "nsid".
34875 Added static probe "map_failed".
34876 (_dl_map_object_from_fd): Pass namespace id to lose.
34877 Added static probe "map_start".
34878 (open_verify): Pass namespace id to lose.
34879 * elf/dl-open.c: Include <stap-probe.h>.
34880 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34881 and "reloc_complete".
34882 * elf/dl-close.c: Include <stap-probe.h>.
34883 (_dl_close_worker): Added static probes "unmap_start" and
34885 * elf/rtld-debugger-interface.txt: New file documenting the above.
34887 2012-07-26 Roland McGrath <roland@hack.frob.com>
34889 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34890 rather than a string variable.
34891 * sunrpc/rpc_main.c (h_output): Likewise.
34892 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34894 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34896 * inet/check_native.c: New file.
34898 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34901 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34902 if larger part has absolute value 1.0.
34903 * math/s_clog10.c (__clog10): Likewise.
34904 * math/s_clog10f.c (__clog10f): Likewise.
34905 * math/s_clog10l.c (__clog10l): Likewise.
34906 * math/s_clogf.c (__clogf): Likewise.
34907 * math/s_clogl.c (__clogl): Likewise.
34908 * math/libm-test.inc (clog_test): Add more tests.
34909 (clog10_test): Likewise.
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34914 (pltexit): Likewise.
34915 (La_regs): Likewise.
34916 (La_retval): Likewise.
34917 (int_retval): Likewise.
34918 Update #error for removed macros to refer only to definitions in
34920 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34922 (pltexit): Likewise.
34923 (La_regs): Likewise.
34924 (La_retval): Likewise.
34925 (int_retval): Likewise.
34926 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34928 (pltexit): Likewise.
34929 (La_regs): Likewise.
34930 (La_retval): Likewise.
34931 (int_retval): Likewise.
34932 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34934 (pltexit): Likewise.
34935 (La_regs): Likewise.
34936 (La_retval): Likewise.
34937 (int_retval): Likewise.
34938 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34940 (pltexit): Likewise.
34941 (La_regs): Likewise.
34942 (La_retval): Likewise.
34943 (int_retval): Likewise.
34944 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34946 (pltexit): Likewise.
34947 (La_regs): Likewise.
34948 (La_retval): Likewise.
34949 (int_retval): Likewise.
34950 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34952 (pltexit): Likewise.
34953 (La_regs): Likewise.
34954 (La_retval): Likewise.
34955 (int_retval): Likewise.
34956 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34957 macro definitions in tst-audit.h.
34958 * sysdeps/i386/tst-audit.h: New file.
34959 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34960 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34961 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34962 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34963 * sysdeps/sh/tst-audit.h: Likewise.
34964 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34965 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34966 * sysdeps/x86_64/tst-audit.h: Likewise.
34968 2012-07-26 Andreas Jaeger <aj@suse.de>
34970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34973 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34974 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34975 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34977 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34978 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34979 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34981 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34984 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34986 (si_call_addr, si_syscall, si_arch): Define new macro.
34987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34989 (si_call_addr, si_syscall, si_arch): Define new marcro.
34990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34992 (si_call_addr, si_syscall, si_arch): Define new macro.
34993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34995 (si_call_addr, si_syscall, si_arch): Define new macro.
34997 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35001 Change to 2.4.21 where previously 2.4.1.
35002 * sysdeps/unix/sysv/linux/configure: Regenerated.
35003 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35004 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35005 Linux kernel version.
35006 (__ASSUME_STD_AUXV): Remove.
35007 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35009 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35010 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35011 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35012 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35013 (__ASSUME_NETLINK_SUPPORT): Likewise.
35014 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35015 (__no_netlink_support): Remove conditional definition.
35016 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35018 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35019 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35020 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35021 (if_nameindex_ioctl): Remove.
35022 (if_nameindex_netlink): Do not handle __no_netlink_support.
35023 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35025 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35026 Remove conditional code.
35027 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35029 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35031 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35032 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35033 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35035 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35036 [!__ASSUME_STD_AUXV]: Remove conditional code.
35037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35038 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35039 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35042 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35046 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35049 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35054 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35057 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35058 code unconditional.
35059 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35061 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35063 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35066 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35068 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35071 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35072 code unconditional.
35073 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35075 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35077 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35080 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35081 code unconditional.
35082 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35084 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35086 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35089 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35091 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35093 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35094 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35095 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35096 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35097 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35098 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35099 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35100 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35101 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35102 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35103 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35104 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35107 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35109 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35111 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35115 2012-07-25 Florian Weimer <fweimer@redhat.com>
35117 * Versions.def: Add GLIBC_2.17.
35118 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35119 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35120 Introduce __libc_secure_getenv.
35121 * stdlib/Versions (2.17): Add secure_getenv
35122 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35123 * stdlib/secure-getenv.c: Rename __secure_getenv to
35124 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35125 symbol __secure_getenv for GLIBC_2.0.
35126 * stdlib/tst-secure-getenv.c: New.
35127 * stdlib/Makefile (tests): Add testcase.
35128 * manual/startup.texi (Environment Access): Document
35130 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35131 __libc_secure_getenv.
35132 * inet/ruserpass.c (ruserpass): Likewise.
35133 * malloc/mtrace.c (mtrace): Likewise.
35134 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35135 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35136 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35137 * sysdeps/posix/tempname.c: Likewise. Evaluate
35138 HAVE_SECURE_GETENV.
35139 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35140 __secure_getenv to __libc_secure_getenv.
35141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35154 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35156 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35157 (struct La_i86_retval): Likewise.
35158 (struct La_x86_64_regs): Likewise.
35159 (struct La_x86_64_retval): Likewise.
35160 (struct La_x32_regs): Likewise.
35161 (struct La_x32_retval): Likewise.
35162 (struct La_ppc32_regs): Likewise.
35163 (struct La_ppc32_retval): Likewise.
35164 (struct La_ppc64_regs): Likewise.
35165 (struct La_ppc64_retval): Likewise.
35166 (struct La_sh_regs): Likewise.
35167 (struct La_sh_retval): Likewise.
35168 (struct La_s390_32_regs): Likewise.
35169 (struct La_s390_32_retval): Likewise.
35170 (struct La_s390_64_regs): Likewise.
35171 (struct La_s390_64_retval): Likewise.
35172 (struct La_sparc32_regs): Likewise.
35173 (struct La_sparc32_retval): Likewise.
35174 (struct La_sparc64_regs): Likewise.
35175 (struct La_sparc64_retval): Likewise.
35176 (struct audit_ifaces): Remove architecture-specific pltenter and
35178 * sysdeps/i386/ldsodefs.h: New file.
35179 * sysdeps/powerpc/ldsodefs.h: Likewise.
35180 * sysdeps/s390/ldsodefs.h: Likewise.
35181 * sysdeps/sh/ldsodefs.h: Likewise.
35182 * sysdeps/sparc/ldsodefs.h: Likewise.
35183 * sysdeps/x86_64/ldsodefs.h: Likewise.
35185 2012-07-25 Marek Polacek <polacek@redhat.com>
35188 * math/libm-test.inc (yn_test): Add another test.
35189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35190 to ERANGE when the result is +-Inf.
35191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35192 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35196 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35198 * conform/data/time.h-data (NULL): Use macro-constant. Require
35200 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35202 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35204 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35206 * configure.in <sysdeps resolving>: Correct printing
35208 * configure: Regenerate.
35210 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35212 * math/w_ilogb.c: Include <limits.h>.
35213 * math/w_ilogbl.c: Likewise.
35215 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35217 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35218 va_copy. Document allowing for unavailable va_copy only as
35219 pre-C99 compatibility.
35220 * manual/string.texi (Copying and Concatenation): Use va_copy
35221 instead of __va_copy in concat example.
35223 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35225 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35226 (__sendto): Use create_address_port. Initialize APORT and deallocate
35229 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35230 with O_NOLINK passed to __file_name_lookup.
35232 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35233 with O_NOLINK passed to __file_name_lookup.
35235 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35236 negative N or less than NGIDS.
35238 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35239 type to string_t. Set ERANGE as errno and return it if NAME is not big
35240 enough. Use memcpy instead of strncpy.
35242 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35244 * elf/Makefile (check-data): Remove.
35245 (localplt.data): New vpath directive.
35246 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35247 instead of $(check-data).
35248 * scripts/data/localplt-generic.data: Move to ...
35249 * sysdeps/generic/localplt.data: ... here.
35250 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35251 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35252 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35255 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35258 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35261 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35264 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35267 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35271 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35273 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35274 PPC32 and PPC64 files.
35275 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35276 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35278 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35280 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35281 __makecontext_ret to ...
35282 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35283 ... here and call exit if uc_link is NULL. New file.
35284 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35285 __makecontext_ret.S.
35286 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35287 __makecontext_ret to ...
35288 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35289 ... here and call exit if uc_link is NULL. New file.
35290 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35291 __makecontext_ret.S.
35293 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35295 * elf/elf.h (R_390_IRELATIVE): New definition.
35296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35297 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35298 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35299 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35300 (elf_machine_lazy_rel): Likewise.
35301 * sysdeps/s390/dl-irel.h: New file.
35302 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35303 * sysdeps/s390/s390-64/memset.S: New asm code.
35304 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35305 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35307 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35308 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35309 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35311 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35312 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35313 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35314 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35315 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35316 * sysdeps/s390/s390-32/memset.S: New asm code.
35317 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35319 2012-07-17 Marek Polacek <polacek@redhat.com>
35322 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35323 * sysdeps/s390/s390-64/configure.in: Likewise.
35324 * sysdeps/sparc/configure.in: Likewise.
35325 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35326 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35327 * sysdeps/i386/configure.in: Likewise.
35328 * sysdeps/x86_64/configure.in: Likewise.
35329 * sysdeps/sh/configure.in: Likewise.
35330 * sysdeps/s390/s390-32/configure: Regenerated.
35331 * sysdeps/s390/s390-64/configure: Likewise.
35332 * sysdeps/x86_64/configure: Likewise.
35333 * sysdeps/sh/configure: Likewise.
35334 * sysdeps/powerpc/powerpc64/configure: Likewise.
35335 * sysdeps/powerpc/powerpc32/configure: Likewise.
35336 * sysdeps/sparc/configure: Likwise.
35337 * sysdeps/i386/configure: Likewise.
35339 * elf/dl-open.c: Comment fixes.
35341 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35343 * Makefile [CXX] (check-data): Remove.
35344 [CXX] (c++-types.data): New vpath directive.
35345 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35346 vpath. Do not allow for C++ type data being missing.
35347 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35348 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35349 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35350 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35351 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35352 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35353 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35356 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35359 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35362 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35365 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35368 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35371 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35374 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35377 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35378 definitions to architecture-specific files.
35379 (TLS_IE): Likewise.
35380 (TLS_LD): Likewise.
35381 (TLS_GD): Likewise.
35382 * sysdeps/i386/tls-macros.h: New file.
35383 * sysdeps/powerpc/tls-macros.h: Likewise.
35384 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35385 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35386 * sysdeps/sh/tls-macros.h: Likewise.
35387 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35388 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35389 * sysdeps/x86_64/tls-macros.h: Likewise.
35391 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35394 zero value for regular exit case.
35396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35397 (__start_context): Preserve zero value for regular exit case.
35399 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35400 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35402 * manual/setjmp.texi (setcontext): Clarify normal process
35403 termination when uc_link is the null pointer.
35404 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35407 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35409 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35410 preprocessor. Test for each exception mask separately.
35412 2012-07-16 Andreas Jaeger <aj@suse.de>
35414 * po/ru.po: Update from translation team.
35416 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35418 * conform/data/string.h-data (NULL): Use macro-constant. Require
35420 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35421 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35422 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35423 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35426 2012-07-13 Andreas Jaeger <aj@suse.de>
35428 * po/fr.po: Update from translation team.
35430 2012-07-12 Marek Polacek <polacek@redhat.com>
35433 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35437 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35441 Change to 2.4.1 where previously 2.4.0.
35442 * sysdeps/unix/sysv/linux/configure: Regenerated.
35443 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35444 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35446 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35447 (__ASSUME_AT_CLKTCK): Remove.
35448 (__ASSUME_AT_PAGESIZE): Likewise.
35449 (__ASSUME_AT_XID): Likewise.
35450 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35451 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35452 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35454 (HAVE_AUX_PAGESIZE): Likewise.
35455 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35456 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35457 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35459 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35463 the temporary buffer used to invoke __gethostbyname2_r,
35464 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35465 host_data / struct gaih_addrtuple.
35466 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35467 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35468 header file nss/nsswitch.h.
35469 * nss/nsswitch.h (global scope): Add definition of implementation
35470 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35471 resolv/nss_dns/dns-host.c).
35473 2012-07-11 Andreas Jaeger <aj@suse.de>
35475 * po/fr.po: Update from translation team.
35477 * po/sv.po: Update from translation team
35478 * po/fr.po: Another update from translation team.
35480 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35483 for subnormals or multiply small sinh result by itself.
35484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35487 2012-07-11 David S. Miller <davem@davemloft.net>
35489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35491 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35494 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35495 (INTERNAL_MARK): Shift it here.
35497 2012-07-10 Marek Polacek <polacek@redhat.com>
35500 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35501 libc_cv_asm_global_directive with .globl.
35502 * configure: Regenerated.
35503 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35505 * sysdeps/i386/configure: Regenerated.
35506 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35508 * sysdeps/x86_64/configure: Regenerated.
35509 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35510 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35511 * elf/tst-unique2mod2.c: Likewise.
35512 * elf/tst-unique2mod1.c: Likewise.
35513 * elf/tst-unique1mod2.c: Likewise.
35514 * elf/tst-unique1mod1.c: Likewise.
35515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35519 * sysdeps/mach/sysdep.h: Likewise.
35520 * sysdeps/i386/sysdep.h: Likewise.
35521 * sysdeps/i386/i386-mcount.S: Likewise.
35522 * sysdeps/x86_64/_mcount.S: Likewise.
35523 * sysdeps/x86_64/sysdep.h: Likewise.
35524 * sysdeps/sh/_mcount.S: Likewise.
35525 * sysdeps/sh/sysdep.h: Likewise.
35526 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35527 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35528 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35530 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35531 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35532 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35533 * locale/localeinfo.h: Likewise.
35534 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35535 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35537 2012-07-09 Roland McGrath <roland@hack.frob.com>
35540 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35542 * manual/message.texi (The Uniforum approach): Likewise.
35543 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35544 (glibc iconv Implementation): Likewise.
35546 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35549 * math/s_clog.c (__clog): Avoid scaling a value down where that
35550 could result in underflow.
35551 * math/s_clog10.c (__clog10): Likewise.
35552 * math/s_clog10f.c (__clog10f): Likewise.
35553 * math/s_clog10l.c (__clog10l): Likewise.
35554 * math/s_clogf.c (__clogf): Likewise.
35555 * math/s_clogl.c (__clogl): Likewise.
35556 * math/libm-test.inc (clog_test): Add more tests.
35557 (clog10_test): Likewise.
35558 * sysdeps/i386/fpu/libm-test-ulps: Update.
35559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35561 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35564 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35565 by 7 not 8 to examine high bit of fractional part.
35568 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35569 for call to __mcount_internal.
35570 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35571 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35572 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35574 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35577 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35578 approximation for values within 0x1p-13f of an odd multiple of
35580 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35581 exception. Add more tests.
35582 * sysdeps/i386/fpu/libm-test-ulps: Update.
35585 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35586 inputs and return -1 for them. Do not check for +Inf in case not
35587 reachable for +Inf.
35588 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35589 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35591 and return -1 for them. Do not check for +Inf in case not
35592 reachable for +Inf.
35593 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35596 and return -1 for them. Do not check for +Inf in case not
35597 reachable for +Inf.
35598 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35599 spurious underflow.
35600 * sysdeps/i386/fpu/libm-test-ulps: Update.
35601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35603 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35605 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35607 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35611 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35612 could result in spurious underflow. Scale down values above
35613 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35614 * math/s_csqrtf.c (__csqrtf): Likewise.
35615 * math/s_csqrtl.c (__csqrtl): Likewise.
35616 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35617 spurious underflow.
35618 * sysdeps/i386/fpu/libm-test-ulps: Update.
35619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35621 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35623 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35625 * catgets/xopen-msg.awk: New file.
35626 * catgets/xopen-msg.sed: Removed.
35628 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35630 * intl/po2test.awk: New file.
35631 * intl/po2test.sed: Removed.
35633 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35636 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35637 or multiply small sinh result by itself.
35638 * math/s_ctanf.c (__ctanf): Likewise.
35639 * math/s_ctanh.c (__ctanh): Likewise.
35640 * math/s_ctanhf.c (__ctanhf): Likewise.
35641 * math/s_ctanhl.c (__ctanhl): Likewise.
35642 * math/s_ctanl.c (__ctanl): Likewise.
35643 * math/libm-test.inc (ctan_test_tonearest): New function.
35644 (ctan_test_towardzero): Likewise.
35645 (ctan_test_downward): Likewise.
35646 (ctan_test_upward): Likewise.
35647 (ctanh_test_tonearest): Likewise.
35648 (ctanh_test_towardzero): Likewise.
35649 (ctanh_test_downward): Likewise.
35650 (ctanh_test_upward): Likewise.
35651 (main): Call these new functions.
35652 * sysdeps/i386/fpu/libm-test-ulps: Update.
35653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35655 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35657 * .gitignore: Delete /ports entry.
35659 2012-07-03 Andreas Jaeger <aj@suse.de>
35661 * po/bg.po: Update from translation team.
35662 * po/cs.po: Likewise.
35663 * po/de.po: Likewise.
35664 * po/hr.po: Likewise.
35665 * po/nl.pl: Likewise.
35666 * po/pl.po: Likewise.
35667 * po/vi.po: Likewise.
35669 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35671 * Makeconfig [!+link] (+link-before-libc): New variable.
35672 [!+link] (+link-after-libc): Likewise.
35673 [!+link] (+link-tests): Likewise.
35674 [!+link] (+link): Define in terms of $(+link-before-libc) and
35675 $(+link-after-libc).
35676 [!+link-static] (+link-static-before-libc): New variable.
35677 [!+link-static] (+link-static-after-libc): Likewise.
35678 [!+link-static] (+link-static-tests): Likewise.
35679 [!+link-static] (+link-static): Define in terms of
35680 $(+link-static-before-libc) and $(+link-static-after-libc).
35681 [build-shared] (link-libc-before-gnulib): New variable.
35682 [build-shared] (link-libc-tests): Likewise.
35683 [build-shared] (link-libc): Define in terms of
35684 $(link-libc-before-gnulib).
35685 [!build-shared] (link-libc-tests): New variable.
35686 (link-libc-static-tests): New variable.
35687 [!gnulib] (gnulib-arch): New variable.
35688 [!gnulib] (gnulib-tests): Likewise.
35689 [!gnulib] (static-gnulib-arch): Likewise.
35690 [!gnulib] (static-gnulib-tests): Likewise.
35691 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35692 Define with "=" instead of ":=".
35693 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35694 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35695 * Rules (binaries-all-notests): New variable.
35696 (binaries-all-tests): Likewise.
35697 (binaries-static-notests): Likewise.
35698 (binaries-static-tests): Likewise.
35699 (binaries-all): Define using $(binaries-all-notests) and
35700 $(binaries-all-tests).
35701 (binaries-static): Define using $(binaries-static-notests) and
35702 $(binaries-static-tests).
35703 (binaries-shared-tests): New variable.
35704 (binaries-shared-notests): Likewise.
35705 (binaries-shared): Remove variable.
35706 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35707 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35708 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35709 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35710 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35711 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35712 * elf/Makefile (sln-modules): New variable.
35713 (extra-objs): Add $(sln-modules:=.o).
35714 (ldconfig-modules): Add static-stubs.
35715 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35716 * elf/static-stubs.c: New file.
35719 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35720 by 7 not 8 to examine high bit of fractional part. Use volatile
35721 variables when splitting into final array of floats if
35722 __FLT_EVAL_METHOD__ != 0.
35723 * math/libm-test.inc (cos_test): Add another test.
35724 (sin_test): Likewise.
35725 * sysdeps/i386/fpu/libm-test-ulps: Update.
35728 * math/libm-test.inc (cosh_test): Add more tests.
35730 * version.h (RELEASE): Set to "development".
35731 (VERSION): Set to "2.16.90".
35733 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35735 * NEWS: Update copyright. Remove last-updated date.
35736 Mention math library bug fixes and timezone data changes.
35737 * README: Mention GNU/Hurd, x32, and HPPA support status.
35739 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35741 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35743 2012-06-27 Andreas Jaeger <aj@suse.de>
35745 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35747 2012-06-25 Andreas Jaeger <aj@suse.de>
35749 * sysdeps/s390/fpu/libm-test-ulps: Update.
35751 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35752 Thomas Schwinge <thomas@codesourcery.com>
35754 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35755 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35759 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35761 * sysdeps/mach/start.c: Remove file.
35762 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35763 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35764 * sysdeps/sh/init-first.c: Likewise.
35766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35767 registers for frame unwinding purposes, add CFI directives.
35768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35770 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35773 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35774 __fortify_fail returning.
35775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35778 sysdeps/sh/____longjmp_chk.S.
35779 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35780 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35781 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35782 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35784 * sysdeps/sh/abort-instr.h: New file.
35785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35786 process in case exit returns.
35788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35789 initialize the GOT register before use.
35791 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35792 calculation of ARGC > 4.
35794 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35795 meaningful names to some local labels.
35797 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35798 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35800 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35801 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35802 (__arch_compare_and_exchange_val_16_acq): Likewise.
35803 (__arch_compare_and_exchange_val_32_acq): Likewise.
35804 (atomic_exchange_and_add): Fix gUSA sequence.
35805 (atomic_add): Likewise.
35806 (atomic_add_negative): Likewise.
35807 (atomic_add_zero): Likewise.
35808 (atomic_bit_test_set): Likewise.
35810 2012-06-22 Andreas Schwab <schwab@redhat.com>
35813 * include/link.h (struct link_map): Add l_free_initfini.
35814 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35816 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35817 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35818 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35821 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35823 * configure.in: Use AC_LANG_SOURCE.
35824 * configure: Regenerate.
35826 2012-06-22 Roland McGrath <roland@hack.frob.com>
35828 * configure.in (libc_cv_localstatedir): New substituted variable.
35829 * configure: Regenerated.
35830 * config.make.in (localstatedir): New variable, substituted from
35831 libc_cv_localstatedir.
35832 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35833 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35834 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35835 * sysdeps/gnu/configure: Regenerated.
35837 2012-06-21 Jeff Law <law@redhat.com>
35840 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35841 free. Simplify list management for _LIBC case.
35843 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35847 Clear sign bit of 64-bit integer value before comparing against
35850 * sysdeps/mach/configure: Regenerated.
35852 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35855 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35857 2012-06-21 Jeff Law <law@redhat.com>
35860 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35861 uint16_t for elements in the "seen" array to avoid char overflows.
35862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35863 * elf/dl-open.c (dl_open_worker): Likewise.
35865 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35867 * scripts/list-sources.sh: Scan PORTS for translations.
35868 * po/libc.pot: Regenerated.
35870 2012-06-21 Andreas Jaeger <aj@suse.de>
35873 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35875 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35876 * bits/byteswap-16.h (__bswap_16): Likewise.
35877 * bits/byteswap.h (__bswap_constant_16): Likewise.
35879 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35882 * sysdeps/i386/fpu_control.h: Removed.
35883 * sysdeps/x86_64/fpu_control.h: Moved to ...
35884 * sysdeps/x86/fpu_control.h: Here.
35886 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35887 (_FPU_SETCW): Likewise.
35889 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35892 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35893 * sysdeps/x86/fpu/bits/mathinline.h: This.
35894 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35898 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35899 functions if __x86_64__ is defined.
35901 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35903 * string/endian.h: Add !__ASSEMBLER__ condition for including
35904 conversion interfaces.
35906 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35910 of ABS(x) in calculating zero to negative powers other than odd
35912 * math/libm-test.inc (pow_test): Add more tests.
35914 2012-06-15 Andreas Jaeger <aj@suse.de>
35916 * manual/contrib.texi (Contributors): Update entry of Liubov
35917 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35920 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35922 * string/string.h: Add __wur to GNU version of strerror_r.
35924 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35927 * string/Makefile (tests): Add tst-strtok_r.
35928 * string/tst-strtok_r.c: New file.
35929 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35930 RAX_LP/RDX_LP on SAVE_PTR.
35932 2012-06-14 Roland McGrath <roland@hack.frob.com>
35934 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35936 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35938 * libm_test.inc (csqrt_test): Allow more spurious underflow
35940 (j0_test): Likewise.
35941 (j1_test): Likewise.
35942 (y0_test): Likewise.
35943 (y1_test): Likewise.
35945 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35947 * po/Makefile (libc.pot): Use UTF-8 charset.
35949 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35952 Suppress sign-conversion warning from FD_SET.
35953 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35954 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35955 not unsigned long int.
35956 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35958 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35962 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35963 __extern_always_inline instead of __extern_inline.
35964 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35965 (__signbit): Likewise.
35966 (__signbitl): Support C++ namespace.
35967 (lrintf): New inline function.
35969 (llrintf): Likewise.
35970 (llrint): Likewise.
35980 (floorf): Likewise.
35981 (nearbyint): Likewise.
35982 (nearbyintf): Likewise.
35984 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35986 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35987 non-default versions.
35989 2012-06-11 Roland McGrath <roland@hack.frob.com>
35992 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35994 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35996 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35997 (FE_UPWARD, FE_DOWNWARD): Don't define.
35998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36003 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36006 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36010 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36011 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36013 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36016 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36017 * sysdeps/i386/fpu/Implies: New file.
36018 * sysdeps/x86_64/fpu/Implies: Likewise.
36019 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36020 * sysdeps/x86/fpu/bits/fenv.h: This.
36022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36025 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36028 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36029 character 0xffff that matches the last element of the
36032 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36037 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36040 values higher than 25.6283.
36042 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36045 subnormal exponent extraction and add some __builtin_expect.
36046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36047 Fix for subnormal mantissa calculation.
36049 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36051 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36052 cpu2 is -1 and errno is not ENOSYS.
36054 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36057 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36058 * sysdeps/x86/bits/string.h: This.
36059 * sysdeps/x86_64/bits/string.h: Removed.
36061 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36062 if not compiling for x86-64, but compiling for >= i486.
36064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36065 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36068 New macro from Linux kernel 3.4.0.
36069 (FP_XSTATE_MAGIC2): Likewise.
36070 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36071 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36072 (struct _fpx_sw_bytes): New struct.
36073 (struct _xsave_hdr): Likewise.
36074 (struct _ymmh_state): Likewise.
36075 (struct _xstate): Likewise.
36077 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36078 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36080 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36082 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36084 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36086 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36087 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36088 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36089 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36091 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36094 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36095 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36096 (sysdep_headers): Include sys/platform/ppc.h.
36097 * sysdeps/powerpc/test-gettimebase.c: Test for
36098 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36099 * manual/Makefile (appendices): Include platform.texi.
36100 * manual/contrib.texi (Contributors): Update @node pointers.
36101 * manual/maint.texi (Maintenance): Likewise.
36102 (Platform): New node.
36103 * manual/platform.texi: New file. Document the new features.
36105 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36106 Jakub Jelinek <jakub@redhat.com>
36109 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36110 where __builtin_expect is unavailable.
36112 2012-06-03 David S. Miller <davem@davemloft.net>
36114 * stdlib/longlong.h: Updated from GCC.
36116 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36119 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36120 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36123 (GLIBC_2.16): Likewise.
36125 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36129 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36132 (default-abi): New variable.
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36136 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36138 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36143 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36144 definition. Document in comment.
36146 2012-06-01 David S. Miller <davem@davemloft.net>
36148 * stdlib/longlong.h: Updated from GCC.
36150 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36153 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36154 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36155 sys/debugreg.h sys/io.h here.
36156 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36157 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36159 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36160 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36161 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36162 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36163 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36164 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36167 Define only if __x86_64__ is defined.
36169 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36173 Use int64_t for variable i.
36174 * math/libm-test.inc (fmod_test): Add more tests.
36176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36177 z computation is not scheduled after fetestexcept.
36178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36179 Use math_force_eval instead of asm to ensure calculation scheduled
36180 before exception test.
36181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36182 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36184 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36187 computation is not scheduled after fetestexcept.
36189 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36192 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36193 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36195 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36197 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36198 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36200 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36205 (__WCHAR_MIN): Support __WORDSIZE == 64.
36206 (__WCHAR_MAX): Likewise.
36208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36213 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36220 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36223 Defined to 1 if __x86_64__ isn't defined.
36224 (_STAT_VER_LINUX_OLD): New.
36225 (st_atime): Remove duplicate.
36226 (st_mtime): Likewise.
36227 (st_ctime): Likewise.
36229 2012-05-31 David S. Miller <davem@davemloft.net>
36231 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36234 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36236 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36240 * elf/dl-reloc.c: Include <_itoa.h>.
36241 (_dl_reloc_bad_type): Remove use of INTUSE.
36242 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36243 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36244 * stdio-common/psiginfo.c (psiginfo): Likewise.
36245 * stdio-common/psignal.c (psignal): Likewise.
36246 * string/strsignal.c (strsignal): Likewise.
36247 * include/signal.h (_sys_siglist): Declare hidden proto.
36248 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36249 INTVARDEF with libc_hidden_data_def.
36250 * stdio-common/itoa-udigits.c: Likewise.
36251 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36252 (_itoa_lower_digits_internal): Remove declaration.
36253 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36254 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36255 (_sys_sigabbrev_internal): Remove aliases.
36256 (_sys_siglist): Define hidden alias.
36258 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36263 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36267 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36269 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36271 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36272 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36274 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36276 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36278 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36288 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36290 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36292 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36293 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36296 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36297 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36299 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36300 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36303 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36309 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36310 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36312 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36314 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36315 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36316 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36322 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36324 * math/math.h (M_El): Use two more decimal places.
36325 (M_LOG2El): Likewise.
36326 (M_LOG10El): Likewise.
36327 (M_LN2l): Likewise.
36328 (M_LN10l): Likewise.
36330 (M_PI_2l): Likewise.
36331 (M_PI_4l): Likewise.
36332 (M_1_PIl): Likewise.
36333 (M_2_PIl): Likewise.
36334 (M_2_SQRTPIl): Likewise.
36335 (M_SQRT2l): Likewise.
36336 (M_SQRT1_2l): Likewise.
36338 2012-05-31 David S. Miller <davem@davemloft.net>
36340 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36341 values between float registers.
36342 * sysdeps/sparc/sparc64/memset.S: Likewise.
36343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36345 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36347 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36348 -D_FORTIFY_SOURCE=1.
36349 (CPPFLAGS-tst-longjmp_chk.c): Define.
36350 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36351 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36352 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36353 CFLAGS-tst-wchar-h.c.
36355 2012-05-31 Marek Polacek <polacek@redhat.com>
36358 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36359 __endmntent_internal): Remove declaration.
36360 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36361 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36362 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36364 2012-05-30 David S. Miller <davem@davemloft.net>
36366 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36367 (___Q_simulate_exceptions): Use real FP ops rather than writing
36369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36372 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36375 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36376 * sysdeps/x86/bits/xtitypes.h: This.
36378 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36379 * sysdeps/x86/bits/wordsize.h: This.
36381 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36382 * sysdeps/x86/bits/huge_vall.h: This.
36384 * sysdeps/i386/bits/select.h: Removed.
36385 * sysdeps/x86_64/bits/select.h: Renamed to ...
36386 * sysdeps/x86/bits/select.h: This.
36388 * sysdeps/i386/bits/setjmp.h: Removed.
36389 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36390 * sysdeps/x86/bits/setjmp.h: This.
36392 * sysdeps/i386/bits/mathdef.h: Removed.
36393 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36394 * sysdeps/x86/bits/mathdef.h: This.
36396 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36399 * include/sys/socket.h (__connect_internal)
36400 (__libc_sa_len_internal): Remove declaration.
36401 (__connect, __libc_sa_len): Declare hidden_proto.
36402 (SA_LEN): Remove use of INTUSE.
36403 * socket/connect.c: Add libc_hidden_def.
36404 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36405 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36406 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36408 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36409 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36410 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36411 of adding _internal alias.
36413 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36416 * sysdeps/i386/bits/link.h: Removed.
36417 * sysdeps/i386/bits/linkmap.h: Likewise.
36418 * sysdeps/x86_64/bits/link.h: Renamed to ...
36419 * sysdeps/x86/bits/link.h: This.
36420 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36421 * sysdeps/x86/bits/linkmap.h: This.
36423 * sysdeps/i386/bits/endian.h: Removed.
36424 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36425 * sysdeps/x86/bits/endian.h: This.
36427 * sysdeps/i386/bits/byteswap.h: Removed.
36428 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36429 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36430 * sysdeps/x86/bits/byteswap.h: This.
36431 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36432 * sysdeps/x86/bits/byteswap-16.h: This.
36433 * sysdeps/i386/Implies: Add x86.
36434 * sysdeps/x86_64/Implies: Likewise.
36436 2012-05-30 David S. Miller <davem@davemloft.net>
36438 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36439 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36441 (FP_TRAPPING_EXCEPTIONS): Define.
36442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36443 (FP_TRAPPING_EXCEPTIONS): Define.
36444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36445 subnormals only when inexact has been signalled or underflow
36446 exceptions are enabled.
36447 (_FP_PACK_CANONICAL): Likewise.
36449 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36453 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36455 2012-05-30 Richard Henderson <rth@twiddle.net>
36457 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36458 with #ifndef NOT_IN_libc.
36460 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36461 marked to avoid plt entry.
36463 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36466 * Makeconfig (default-abi): New macro.
36467 (abi-includes): Likewise.
36468 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36469 $(abi-$(default-abi)-lib-soname) for soname if defined.
36470 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36472 * Makefile (installed-stubs): Likewise.
36473 * include/stubs-biarch.h: Removed.
36474 * scripts/lib-names.awk: Only handle one library at a time.
36475 * scripts/soversions.awk: Remove WORDSIZE support.
36476 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36480 (syscall-list-default-condition): Likewise.
36481 (syscall-list-default-condition): Likewise.
36482 (syscall-list-includes): Likewise.
36483 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36484 syscall-list-* with abi-*. Handle undefined abi-variants.
36485 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36486 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36487 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36488 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36489 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36490 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36492 (syscall-list-32-options): Likewise.
36493 (syscall-list-32-condition): Likewise.
36494 (syscall-list-64-options): Likewise.
36495 (syscall-list-64-condition): Likewise.
36496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36498 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36501 (abi-64-ld-soname): New macro.
36502 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36503 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36506 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36507 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36509 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36511 * sysdeps/unix/sysv/linux/kernel-features.h
36512 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36513 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36514 include <kernel-features.h>.
36515 [!__NR_ftruncate64]: Remove conditional code.
36516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36517 [__NR_ftruncate64]: Make code unconditional.
36518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36519 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36520 include <kernel-features.h>.
36521 [!__NR_ftruncate64]: Remove conditional code.
36522 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36523 [__NR_ftruncate64]: Make code unconditional.
36524 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36526 include <kernel-features.h>.
36527 [!__NR_ftruncate64]: Remove conditional code.
36528 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36529 [__NR_ftruncate64]: Make code unconditional.
36530 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36532 include <kernel-features.h>.
36533 [!__NR_ftruncate64]: Remove conditional code.
36534 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36535 [__NR_ftruncate64]: Make code unconditional.
36536 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36538 * configure.in (libc_cv_fpie): Weaken to a compile test using
36539 LIBC_TRY_CC_OPTION.
36540 * configure: Regenerated.
36542 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36557 2012-05-27 David S. Miller <davem@davemloft.net>
36559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36561 (__Q_simulate_exceptions): Return void. Change to simulate
36562 exceptions by writing into the %fsr.
36563 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36564 (__Qp_handle_exceptions): Likewise.
36566 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36567 __Qp_handle_exceptions.
36568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36569 __Qp_handle_exceptions.
36570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36571 as unused and give dummy FP_RND_NEAREST initializer.
36572 (FP_INHIBIT_RESULTS): Define.
36573 (___Q_simulate_exceptions): Update declaration.
36574 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36577 as unused and give dummy FP_RND_NEAREST initializer.
36578 (__Qp_handle_exceptions): Update declaration.
36579 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36582 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36585 the temporary FPU control word.
36586 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36587 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36589 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36592 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36594 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36595 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36596 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36598 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36603 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36605 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36606 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36607 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36608 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36610 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36611 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36614 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36616 * po/h.po: Update from translation team.
36618 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36620 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36623 handling of denormals.
36624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36633 2012-05-26 Marek Polacek <polacek@redhat.com>
36636 * math/libm-test.inc (fma_test): Don't always expect underflow
36639 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36642 * elf/tst-execstack.c: Include stackinfo.h.
36643 (do_test): Adjust test case to ensure that pthread_getattr_np
36644 behaviour remains the same after marking stack executable.
36646 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36648 * sysdeps/unix/sysv/linux/kernel-features.h
36649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36652 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36653 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36654 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36659 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36661 * configure.in: Define the default includes to being none.
36662 * configure: Regenerated.
36664 2012-05-25 Roland McGrath <roland@hack.frob.com>
36666 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36667 * sysdeps/x86_64/setjmp.S: Likewise.
36668 * sysdeps/i386/bsd-setjmp.S: Likewise.
36669 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36670 * sysdeps/i386/setjmp.S: Likewise.
36671 * sysdeps/i386/__longjmp.S: Likewise.
36672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36673 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36675 * include/stap-probe.h: New file.
36676 * configure.in: Handle --enable-systemtap.
36677 * configure: Regenerated.
36678 * config.h.in (USE_STAP_PROBE): New #undef.
36679 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36680 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36681 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36683 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36687 to 2.4.0 where earlier.
36688 * sysdeps/unix/sysv/linux/configure: Regenerated.
36689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36690 <kernel-features.h>.
36691 [__ASSUME_32BITUIDS]: Make code unconditional.
36692 [!__ASSUME_32BITUIDS]: Remove conditional code.
36693 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36694 <kernel-features.h>.
36695 [__ASSUME_32BITUIDS]: Make code unconditional.
36696 [!__ASSUME_32BITUIDS]: Remove conditional code.
36697 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36698 [__ASSUME_32BITUIDS]: Make code unconditional.
36699 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36700 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36701 <kernel-features.h>.
36702 [__ASSUME_32BITUIDS]: Make code unconditional.
36703 [!__ASSUME_32BITUIDS]: Remove conditional code.
36704 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36705 <kernel-features.h>.
36706 [__ASSUME_32BITUIDS]: Make code unconditional.
36707 [!__ASSUME_32BITUIDS]: Remove conditional code.
36708 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36709 <kernel-features.h>.
36710 [__ASSUME_32BITUIDS]: Make code unconditional.
36711 [!__ASSUME_32BITUIDS]: Remove conditional code.
36712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36713 <kernel-features.h>.
36714 [__ASSUME_32BITUIDS]: Make code unconditional.
36715 [!__ASSUME_32BITUIDS]: Remove conditional code.
36716 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36717 <kernel-features.h>.
36718 [__ASSUME_32BITUIDS]: Make code unconditional.
36719 [!__ASSUME_32BITUIDS]: Remove conditional code.
36720 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36721 <kernel-features.h>.
36722 [__ASSUME_32BITUIDS]: Make code unconditional.
36723 [!__ASSUME_32BITUIDS]: Remove conditional code.
36724 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36725 <kernel-features.h>.
36726 [__ASSUME_32BITUIDS]: Make code unconditional.
36727 [!__ASSUME_32BITUIDS]: Remove conditional code.
36728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36729 <kernel-features.h>.
36730 [__ASSUME_32BITUIDS]: Make code unconditional.
36731 [!__ASSUME_32BITUIDS]: Remove conditional code.
36732 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36733 <kernel-features.h>.
36734 [__ASSUME_32BITUIDS]: Make code unconditional.
36735 [!__ASSUME_32BITUIDS]: Remove conditional code.
36736 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36737 <kernel-features.h>.
36738 [__ASSUME_32BITUIDS]: Make code unconditional.
36739 [!__ASSUME_32BITUIDS]: Remove conditional code.
36740 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36741 <kernel-features.h>.
36742 [__NR_setresgid] (__setresgid): Do not declare.
36743 [__ASSUME_32BITUIDS]: Make code unconditional.
36744 [!__ASSUME_32BITUIDS]: Remove conditional code.
36745 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36746 <kernel-features.h>.
36747 [__NR_setresuid] (__setresuid): Do not declare.
36748 [__ASSUME_32BITUIDS]: Make code unconditional.
36749 [!__ASSUME_32BITUIDS]: Remove conditional code.
36750 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36751 <kernel-features.h>.
36752 [__ASSUME_32BITUIDS]: Make code unconditional.
36753 [!__ASSUME_32BITUIDS]: Remove conditional code.
36754 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36755 <kernel-features.h>.
36756 [__ASSUME_32BITUIDS]: Make code unconditional.
36757 [!__ASSUME_32BITUIDS]: Remove conditional code.
36758 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36759 <kernel-features.h>.
36760 [__ASSUME_32BITUIDS]: Make code unconditional.
36761 [!__ASSUME_32BITUIDS]: Remove conditional code.
36762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36763 <kernel-features.h>.
36764 [__ASSUME_32BITUIDS]: Make code unconditional.
36765 [!__ASSUME_32BITUIDS]: Remove conditional code.
36766 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36767 <kernel-features.h>.
36768 [__ASSUME_32BITUIDS]: Make code unconditional.
36769 [!__ASSUME_32BITUIDS]: Remove conditional code.
36770 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36771 <kernel-features.h>.
36772 [__ASSUME_32BITUIDS]: Make code unconditional.
36773 [!__ASSUME_32BITUIDS]: Remove conditional code.
36774 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36775 <kernel-features.h>.
36776 [__ASSUME_32BITUIDS]: Make code unconditional.
36777 [!__ASSUME_32BITUIDS]: Remove conditional code.
36778 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36779 <kernel-features.h>.
36780 [__ASSUME_32BITUIDS]: Make code unconditional.
36781 [!__ASSUME_32BITUIDS]: Remove conditional code.
36782 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36783 <kernel-features.h>.
36784 [__ASSUME_32BITUIDS]: Make code unconditional.
36785 [!__ASSUME_32BITUIDS]: Remove conditional code.
36786 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36787 <kernel-features.h>.
36788 [__ASSUME_32BITUIDS]: Make code unconditional.
36789 [!__ASSUME_32BITUIDS]: Remove conditional code.
36790 * sysdeps/unix/sysv/linux/kernel-features.h
36791 (__ASSUME_SETRESUID_SYSCALL): Remove.
36792 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36793 (__ASSUME_32BITUIDS): Likewise.
36794 (__ASSUME_LDT_WORKS): Likewise.
36795 (__ASSUME_O_DIRECTORY): Likewise.
36796 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36797 architecture but not kernel version.
36798 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36799 (__ASSUME_MMAP2_SYSCALL): Likewise.
36800 (__ASSUME_STAT64_SYSCALL): Likewise.
36801 (__ASSUME_IPC64): Likewise.
36802 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36803 <kernel-features.h>.
36804 [__ASSUME_32BITUIDS]: Make code unconditional.
36805 [!__ASSUME_32BITUIDS]: Remove conditional code.
36806 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36807 <kernel-features.h>.
36808 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36809 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36810 132096]: Remove conditional code.
36811 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36813 <kernel-features.h>.
36814 [__ASSUME_32BITUIDS]: Make code unconditional.
36815 [!__ASSUME_32BITUIDS]: Remove conditional code.
36816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36817 <kernel-features.h>.
36818 [__ASSUME_32BITUIDS]: Make code unconditional.
36819 [!__ASSUME_32BITUIDS]: Remove conditional code.
36820 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36821 <kernel-features.h>.
36822 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36824 (__setresgid): Do not declare.
36825 [__ASSUME_32BITUIDS]: Make code unconditional.
36826 [!__ASSUME_32BITUIDS]: Remove conditional code.
36827 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36828 <kernel-features.h>.
36829 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36831 (__setresuid): Do not declare.
36832 [__ASSUME_32BITUIDS]: Make code unconditional.
36833 [!__ASSUME_32BITUIDS]: Remove conditional code.
36834 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36835 <kernel-features.h>.
36836 [__ASSUME_32BITUIDS]: Make code unconditional.
36837 [!__ASSUME_32BITUIDS]: Remove conditional code.
36838 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36839 <kernel-features.h>.
36840 [__ASSUME_32BITUIDS]: Make code unconditional.
36841 [!__ASSUME_32BITUIDS]: Remove conditional code.
36843 2012-05-25 Richard Henderson <rth@twiddle.net>
36845 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36846 dl_hwcap to ifunc resolver.
36847 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36850 dl_hwcap to ifunc resolver.
36851 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36853 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36856 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36857 for |x| <= 2**-26, not 2**-57.
36858 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36861 2012-05-24 Jeff Law <law@redhat.com>
36863 * stdio-common/Makefile (tests): Add bug25.
36864 * stdio-common/bug25.c: New test.
36866 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36869 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36870 multiple of MALLOC_ALIGNMENT in size.
36871 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36875 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36877 (FILENAME_MAX): Use macro-int-constant.
36878 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36879 (_IOFBF): Use macro-int-constant.
36880 (_IOLBF): Likewise.
36881 (_IONBF): Likewise.
36882 (SEEK_CUR): Likewise.
36883 (SEEK_END): Likewise.
36884 (SEEK_SET): Likewise.
36885 (TMP_MAX): Likewise.
36886 (EOF): Use macro-int-constant. Require < 0.
36887 (NULL): Use macro-constant. Require == 0.
36888 (stdin): Require type to be FILE *.
36889 (stdout): Likewise.
36890 (stderr): Likewise.
36891 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36892 macro-int-constant.
36893 (EXIT_SUCCESS): Likewise.
36894 (NULL): Use macro-constant. Require == 0.
36895 (RAND_MAX): Use macro-int-constant.
36896 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36897 [C99-based standards] (strtof): Require function.
36898 [C99-based standards] (strtold): Likewise.
36899 [C99-based standards] (strtoll): Likewise.
36900 [C99-based standards] (strtoull): Likewise.
36901 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36902 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36903 [ISO || ISO99 || ISO11] (math.h): Likewise.
36904 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36908 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36911 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36912 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36913 * intl/dgettext.c (DCGETTEXT): Likewise.
36914 * intl/gettext.c (DCGETTEXT): Likewise.
36915 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36916 * posix/regex_internal.h (gettext): Likewise.
36917 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36918 Remove declaration.
36919 * include/argz.h (__argz_count_internal)
36920 (__argz_stringify_internal): Remove declaration.
36921 (__argz_count, __argz_stringify): Declare hidden proto.
36922 * intl/dcgettext.c: Remove use of INTDEF.
36923 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36924 * string/argz-stringify.c: Likewise.
36925 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36926 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36927 Declare hidden proto.
36928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36930 Declare hidden proto.
36931 * include/stdio.h (__asprintf_internal): Don't declare.
36932 (__asprintf): Don't define as macro. Declare hidden proto.
36933 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36934 (__fsetlocking): Declare hidden proto.
36935 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36936 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36938 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36939 (_IO_setlinebuf): Remove use of INTUSE.
36940 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36941 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36942 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36943 Remove declaration.
36944 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36945 (_IO_do_flush): Remove use of INTUSE.
36946 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36947 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36948 (_IO_adjust_column, _IO_least_wmarker)
36949 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36950 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36951 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36952 (_IO_default_doallocate, _IO_wdefault_doallocate)
36953 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36954 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36955 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36956 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36957 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36958 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36959 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36960 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36961 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36962 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36963 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36964 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36965 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36967 (_IO_flush_all_internal, _IO_adjust_column_internal)
36968 (_IO_default_uflow_internal, _IO_default_finish_internal)
36969 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36970 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36971 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36972 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36973 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36974 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36975 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36976 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36977 (_IO_file_close_internal, _IO_file_close_it_internal)
36978 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36979 (_IO_file_init_internal, _IO_file_attach_internal)
36980 (_IO_file_fopen_internal, _IO_file_read_internal)
36981 (_IO_file_sync_internal, _IO_file_seek_internal)
36982 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36983 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36984 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36985 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36986 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36987 (_IO_list_all_internal, _IO_link_in_internal)
36988 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36989 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36990 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36991 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36992 (_IO_do_write_internal, _IO_padn_internal)
36993 (_IO_getline_info_internal, _IO_getline_internal)
36994 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36995 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36996 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36997 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36998 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36999 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37000 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37001 with libc_hidden_ver, remove use of INTUSE.
37002 * libio/genops.c: Likewise.
37003 * libio/freopen.c: Likewise.
37004 * libio/freopen64.c: Likewise.
37005 * libio/iofclose.c: Likewise.
37006 * libio/iofdopen.c: Likewise.
37007 * libio/iofflush.c: Likewise.
37008 * libio/iofflush_u.c: Likewise.
37009 * libio/iofgets.c: Likewise.
37010 * libio/iofgets_u.c: Likewise.
37011 * libio/iofopen.c: Likewise.
37012 * libio/iofopncook.c: Likewise.
37013 * libio/iofread.c: Likewise.
37014 * libio/iofread_u.c: Likewise.
37015 * libio/ioftell.c: Likewise.
37016 * libio/iofwrite.c: Likewise.
37017 * libio/iogetline.c: Likewise.
37018 * libio/iogets.c: Likewise.
37019 * libio/iogetwline.c: Likewise.
37020 * libio/iopadn.c: Likewise.
37021 * libio/iopopen.c: Likewise.
37022 * libio/ioseekoff.c: Likewise.
37023 * libio/ioseekpos.c: Likewise.
37024 * libio/iosetbuffer.c: Likewise.
37025 * libio/iosetvbuf.c: Likewise.
37026 * libio/ioungetc.c: Likewise.
37027 * libio/ioungetwc.c: Likewise.
37028 * libio/iovdprintf.c: Likewise.
37029 * libio/iovsprintf.c: Likewise.
37030 * libio/iovsscanf.c: Likewise.
37031 * libio/memstream.c: Likewise.
37032 * libio/obprintf.c: Likewise.
37033 * libio/oldfileops.c: Likewise.
37034 * libio/oldiofclose.c: Likewise.
37035 * libio/oldiofdopen.c: Likewise.
37036 * libio/oldiofopen.c: Likewise.
37037 * libio/oldiopopen.c: Likewise.
37038 * libio/oldstdfiles.c: Likewise.
37039 * libio/putc.c: Likewise.
37040 * libio/setbuf.c: Likewise.
37041 * libio/setlinebuf.c: Likewise.
37042 * libio/stdfiles.c: Likewise.
37043 * libio/strops.c: Likewise.
37044 * libio/vasprintf.c: Likewise.
37045 * libio/vscanf.c: Likewise.
37046 * libio/vsnprintf.c: Likewise.
37047 * libio/vswprintf.c: Likewise.
37048 * libio/wfiledoalloc.c: Likewise.
37049 * libio/wfileops.c: Likewise.
37050 * libio/wgenops.c: Likewise.
37051 * libio/wmemstream.c: Likewise.
37052 * libio/wstrops.c: Likewise.
37053 * libio/__fpurge.c: Likewise.
37054 * libio/__fsetlocking.c: Likewise.
37055 * assert/assert.c: Likewise.
37056 * debug/fgets_chk.c: Likewise.
37057 * debug/fgets_u_chk.c: Likewise.
37058 * debug/fread_chk.c: Likewise.
37059 * debug/fread_u_chk.c: Likewise.
37060 * debug/gets_chk.c: Likewise.
37061 * debug/obprintf_chk.c: Likewise.
37062 * debug/vasprintf_chk.c: Likewise.
37063 * debug/vdprintf_chk.c: Likewise.
37064 * debug/vsnprintf_chk.c: Likewise.
37065 * debug/vsprintf_chk.c: Likewise.
37066 * malloc/mtrace.c: Likewise.
37067 * misc/error.c: Likewise.
37068 * misc/syslog.c: Likewise.
37069 * stdio-common/asprintf.c: Likewise.
37070 * stdio-common/fxprintf.c: Likewise.
37071 * stdio-common/getw.c: Likewise.
37072 * stdio-common/isoc99_fscanf.c: Likewise.
37073 * stdio-common/isoc99_scanf.c: Likewise.
37074 * stdio-common/isoc99_vfscanf.c: Likewise.
37075 * stdio-common/isoc99_vscanf.c: Likewise.
37076 * stdio-common/isoc99_vsscanf.c: Likewise.
37077 * stdio-common/printf-prs.c: Likewise.
37078 * stdio-common/printf_fp.c: Likewise.
37079 * stdio-common/printf_fphex.c: Likewise.
37080 * stdio-common/printf_size.c: Likewise.
37081 * stdio-common/putw.c: Likewise.
37082 * stdio-common/scanf.c: Likewise.
37083 * stdio-common/sprintf.c: Likewise.
37084 * stdio-common/tmpfile.c: Likewise.
37085 * stdio-common/vfprintf.c: Likewise.
37086 * stdio-common/vfscanf.c: Likewise.
37087 * stdlib/strfmon_l.c: Likewise.
37088 * sunrpc/openchild.c: Likewise.
37089 * sunrpc/xdr_stdio.c: Likewise.
37090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37091 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37093 2012-05-24 Roland McGrath <roland@hack.frob.com>
37095 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37097 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37098 in the third column, to generate for the shared library an IFUNC
37099 that uses _dl_vdso_vsym.
37100 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37101 * Makeconfig (object-suffixes-noshared): New variable.
37103 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37104 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37105 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37106 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37109 * include/sys/time.h (__gettimeofday): Remove macro.
37110 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37111 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37113 (__gettimeofday): Add libc_hidden_def.
37114 (gettimeofday): Add libc_hidden_weak.
37115 * sysdeps/mach/gettimeofday.c: Likewise.
37116 * sysdeps/posix/gettimeofday.c: Likewise.
37117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37118 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37120 (__gettimeofday_internal): Remove strong_alias.
37121 (__gettimeofday): Add libc_hidden_def.
37122 (gettimeofday): Add libc_hidden_weak.
37123 * sysdeps/unix/syscalls.list (gettimeofday):
37124 Remove __gettimeofday_internal alias.
37126 2012-05-24 Daniel Jacobowitz <drow@false.org>
37127 H.J. Lu <hongjiu.lu@intel.com>
37130 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37131 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37132 (largebin_index_32_big): New.
37133 (largebin_index): Use it for 16-byte alignment.
37134 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37135 correction with front_misalign.
37137 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37165 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37166 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37168 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37172 * math/libm-test.inc (exp_test): Add test from bug 14036.
37173 (pow_test): Add test from bug 10846.
37175 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37177 (special_function): Do not include flags in test name.
37178 (parse_args): Likewise.
37179 * sysdeps/i386/fpu/libm-test-ulps: Update.
37180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37185 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37187 * math/libm-test.inc ("Philosophy"): Update comment about
37189 (UNDERFLOW_EXCEPTION): New macro.
37190 (UNDERFLOW_EXCEPTION_OK): Likewise.
37191 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37192 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37193 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37194 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37195 (INVALID_EXCEPTION_OK): Update value.
37196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37197 (OVERFLOW_EXCEPTION_OK): Likewise.
37198 (IGNORE_ZERO_INF_SIGN): Likewise.
37199 (test_exceptions): Handle underflow exceptions.
37200 (acos_test): Update for underflow exception expectations.
37201 (cexp_test): Likewise.
37202 (clog_test): Likewise.
37203 (clog10_test): Likewise.
37204 (csqrt_test): Likewise.
37205 (ctan_test): Likewise.
37206 (ctanh_test): Likewise.
37207 (exp_test): Likewise.
37208 (exp10_test): Likewise.
37209 (exp2_test): Likewise.
37210 (expm1_test): Likewise.
37211 (fma_test): Likewise.
37212 (j0_test): Likewise.
37213 (jn_test): Likewise.
37214 (nexttoward_test): Likewise.
37215 (pow_test): Likewise.
37216 (scalbn_test): Likewise.
37217 (scalbln_test): Likewise.
37218 (tan_test): Likewise.
37219 (y1_test): Likewise.
37220 * sysdeps/i386/fpu/libm-test-ulps: Update.
37221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37223 2012-05-23 David S. Miller <davem@davemloft.net>
37225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37226 (__libc_sigaction): Remove unused local variables.
37228 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37230 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37232 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37234 mktime: avoid signed integer overflow
37235 * time/mktime.c (__mktime_internal): Do not mishandle the case
37236 where diff == INT_MIN.
37238 mktime: simplify computation of average
37239 * time/mktime.c (ranged_convert): Use new time_t_avg function
37240 instead of rolling our own (probably-slower) code.
37242 mktime: do not assume signed right shift propagates sign bit
37243 * time/mktime.c (isdst_differ): New static function.
37244 (__mktime_internal): No need to normalize tm_isdst now.
37245 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37248 mktime: merge another wrapv change from gnulib
37249 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37250 from some compilers.
37252 mktime: remove incorrect attempt at unusual arithmetics
37253 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37254 The code didn't really work on such machines anyway.
37255 (TYPE_MINIMUM): Assume two's complement.
37256 (twos_complement_arithmetic): Verify that long_int and time_t
37257 are two's complement (or unsigned, in the latter case).
37259 mktime: check signed shifts on long_int and time_t, too
37260 * time/mktime.c (SHR): Check that shifts work as desired
37261 on the types long_int and time_t too, as SHR is used on
37264 mktime: do not assume 'long' is wide enough
37265 * time/mktime.c (verify): Move decl up.
37266 (long_int): New type.
37267 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37268 to remove assumption in the code that 'long' is wide enough to
37269 store year values. This assumption is not true on x32 and on
37270 some non-glibc platforms.
37272 mktime: merge wrapv change from gnulib
37273 * time/mktime.c (WRAPV): New macro.
37274 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37275 (guess_time_tm, __mktime_internal): Do not assume that signed
37276 integer overflow wraps around; modern compilers generate code
37277 where this assumption is no longer valid.
37279 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37281 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37282 Replace "jmp L(pseudo_end)" with "ret".
37283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37286 2012-05-23 Andreas Jaeger <aj@suse.de>
37288 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37289 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37291 2012-05-23 Andreas Jaeger <aj@suse.de>
37292 Maximilian Attems <max@stro.at>
37294 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37297 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37299 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37300 code so that pseudo_end is just ret and the stack pointer is
37301 correct also for static library in error case.
37303 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37305 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37306 move to syscalls.list.
37307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37312 * manual/install.texi (Running make install): Do not mention Linux
37313 kernel version for which pt_chown is not needed.
37314 (Linux): Do not mention problems with nscd with 2.0 kernels.
37315 * INSTALL: Regenerated.
37317 2012-05-23 Andreas Jaeger <aj@suse.de>
37319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37320 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37322 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37324 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37326 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37332 * sysdeps/unix/sysv/linux/bits/in.h
37333 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37335 2012-05-22 Roland McGrath <roland@hack.frob.com>
37337 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37338 (PREPARE_VERSION): Just use assert instead, it will be elided
37339 under [NDEBUG] anyway.
37341 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37343 * sysdeps/unix/sysv/linux/Makefile: Include
37344 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37345 (sysdep_routines): Remove sysctl.
37346 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37347 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37348 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37349 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37350 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37352 2012-05-22 Andreas Jaeger <aj@suse.de>
37354 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37355 that pseudo_end is just ret and the stack pointer is correct also
37356 for static library in error case.
37358 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37361 * nss/nsswitch.c (defconfig_entries): New variable.
37362 (__nss_database_lookup): Don't leak defconfig entries.
37363 (nss_parse_service_list): Don't leak on error paths.
37364 (free_database_entries): New function.
37365 (free_defconfig): New function.
37366 (free_mem): Move common code to free_database_entries.
37368 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37372 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37374 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37375 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37378 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37379 (INTERNAL_SYSCALL_TYPES): Likewise.
37380 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37381 (LOAD_REGS_TYPES_[1-6]): Likewise.
37382 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37383 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37385 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37388 copysignl for GLIBC_2_0.
37389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37390 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37392 logbl for GLIBC_2_0.
37393 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37394 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37396 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37399 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37401 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37404 * time/mktime.c: Update copyright years.
37406 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37408 mktime: merge comment-quoting-style change from gnulib
37409 * time/mktime.c: Quote 'like this' in comments.
37410 The GNU coding standards suggest that we no longer quote `like this',
37411 as "`" and "'" are typically rendered asymmetrically nowadays.
37412 The typical gnulib style is to quote 'like this' when quoting
37413 code, and "like this" when quoting English.
37415 * time/mktime.c (compile-command): Add "-I.".
37417 mktime: merge mktime-internal.h change from gnulib
37418 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37420 mktime: merge time_r change from gnulib
37421 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37423 mktime: merge DEBUG change from gnulib
37424 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37425 case system <time.h> has a #define.
37427 mktime: merge <sys/types.h> change from gnulib
37428 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37429 since <time.t> is now guaranteed to define time_t.
37431 mktime: merge HAVE_CONFIG_H change from gnulib
37432 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37439 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37441 (struct rusage): Use anonymous union to pad each field to
37444 2012-05-21 David S. Miller <davem@davemloft.net>
37446 * Makefules (o-iterator): Remove .s cases.
37447 (compile-command.s): Delete.
37448 (COMPILE.s): Delete.
37449 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37451 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37453 * configure.in (libc_cv_predef_stack_protector): Only consider
37454 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37455 * configure: Regenerated.
37457 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37460 New macro. Use R*LP on int and pointer.
37461 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37462 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37463 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37464 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37466 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37467 [__WORDSIZE_TIME64_COMPAT32] instead of
37468 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37469 (struct utmp): Likewise.
37470 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37471 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37473 (__WORDSIZE_TIME64_COMPAT32): This.
37474 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37475 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37476 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37477 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37478 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37479 (__WORDSIZE_TIME64_COMPAT32): New macro.
37481 2012-05-21 Andreas Jaeger <aj@suse.de>
37483 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37484 only if [SHARED]. Add prototype for __wcschr_ia32.
37486 2012-05-21 Roland McGrath <roland@hack.frob.com>
37488 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37489 of %rbp unmolested in the jmp_buf while mangling the low bits.
37490 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37491 unmolested high bits of %rbp while demangling the low bits.
37492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37494 2012-05-21 Andreas Jaeger <aj@suse.de>
37496 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37497 * sunrpc/svc_simple.c: Use it for registerrpc.
37498 * sunrpc/xcrypt.c: Use it for passwd2des.
37500 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37502 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37504 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37505 Don't define if [__SYSCALL_WORDSIZE != 32].
37506 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37509 2012-05-21 Bruno Haible <bruno@clisp.org>
37510 Andreas Jaeger <aj@suse.de>
37512 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37513 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37514 inptr and inend for must_buffer_ch.
37515 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37516 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37517 * stdio-common/Makefile (tests): Remove bug15.
37518 (bug15-ENV): Remove macro.
37519 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37522 2012-05-19 Andreas Jaeger <aj@suse.de>
37523 Roland McGrath <roland@hack.frob.com>
37525 * manual/contrib.texi: Completely rewritten. It contains now an
37526 alphabetical list of contributors and their contributions.
37528 2012-05-21 Richard Henderson <rth@twiddle.net>
37530 * misc/getauxval.c (__getauxval): Use unsigned long int.
37531 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37532 (getauxval): Use unsigned long int.
37534 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37538 2012-05-21 Roland McGrath <roland@hack.frob.com>
37540 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37541 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37542 __alignof__ (long double).
37544 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37548 2012-05-20 Richard Henderson <rth@twiddle.net>
37550 * misc/getauxval.c: New file.
37551 * misc/sys/auxv.h: New file.
37552 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37553 (routines): Add getauxval.
37554 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37556 * elf/dl-sysdep.c (_dl_auxv): Remove.
37557 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37558 * elf/dl-support.c (_dl_auxv): New variable.
37559 (_dl_aux_init): Initialize it.
37560 * manual/startup.texi (Auxiliary Vector): New node.
37561 * sysdeps/generic/bits/hwcap.h: New file.
37562 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37563 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37564 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37565 * sysdeps/sparc/sysdep.h: ... here. Include it.
37566 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37579 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37583 2012-05-19 David S. Miller <davem@davemloft.net>
37585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37587 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37590 * math/s_ccosh.c: Include <float.h>
37591 (__ccosh): Avoid internal overflow calculating sinh and cosh
37592 values before multiplying by sin and cos values.
37593 * math/s_ccoshf.c: Likewise.
37594 * math/s_ccoshl.c: Likewise.
37595 * math/s_csin.c: Likewise.
37596 * math/s_csinf.c: Likewise.
37597 * math/s_csinl.c: Likewise.
37598 * math/s_csinh.c: Likewise.
37599 * math/s_csinhf.c: Likewise.
37600 * math/s_csinhl.c: Likewise.
37601 * math/libm-test.inc (ccos_test): Add more tests.
37602 (ccosh_test): Likewise.
37603 (csin_test): Likewise.
37604 (csinh_test): Likewise.
37605 * sysdeps/i386/fpu/libm-test-ulps: Update.
37606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37608 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37610 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37611 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37613 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37615 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37617 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37618 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37619 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37620 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37621 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37622 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37623 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37624 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37625 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37626 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37627 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37628 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37629 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37630 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37631 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37632 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37633 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37634 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37635 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37636 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37637 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37638 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37639 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37640 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37641 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37642 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37643 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37644 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37645 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37646 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37647 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37649 2012-05-18 Andreas Jaeger <aj@suse.de>
37651 * csu/.gitignore: Delete.
37653 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37655 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37656 (timex): Use __syscall_slong_t.
37658 2012-05-18 Andreas Jaeger <aj@suse.de>
37659 Carlos O'Donell <carlos_odonell@mentor.com>
37661 * manual/install.texi (Configuring and compiling): Update
37662 description about files modified in the source directory.
37663 * INSTALL: Regenerated.
37665 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37668 value. Use "or" to set return value to -1.
37669 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37670 negate return value.
37672 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37674 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37675 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37676 failure if the compiler has Graphite support disabled.
37677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37679 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37680 (CFLAGS-memmove.c): Likewise.
37681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37684 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/x86_64/x32/_itoa.h: New file.
37688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37689 getdents system call only if kernel and user dirents have the
37690 same d_ino and d_off.
37692 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37693 LLONG_MAX != LONG_MAX.
37694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37695 (_fitoa_word): Likewise.
37697 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37704 include <bits/wordsize.h>. Check __x86_64__ instead of
37706 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37707 if __x86_64__ is defined. Use anonymous union on fpstate.
37709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37712 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37714 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37715 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37717 Refer to _rtld_local_ro instead of _rtld_global_ro.
37718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37720 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37722 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37724 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37725 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37726 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37728 * sysdeps/powerpc/powerpc32/dl-machine.c
37729 (__elf_machine_runtime_setup) [PROF]: Don't reference
37732 2012-05-18 Andreas Jaeger <aj@suse.de>
37734 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37735 function only available for GCCs before 3.4 since GCC 3.4
37736 introduced a builtin.
37738 (llrintf): Likewise.
37739 (llrint): Likewise.
37746 (nearbyint): Likewise.
37747 (nearbyintf): Likewise.
37751 (floorf): Likewise.
37753 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37755 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37756 on both fields and cast pointer to __syscall_ulong_t.
37758 * bits/types.h (__fsword_t): New type.
37759 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37760 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37762 (__FSWORD_T_TYPE): Likewise.
37763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37764 (__FSWORD_T_TYPE): Likewise.
37765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37766 (__FSWORD_T_TYPE): Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37768 (__FSWORD_T_TYPE): Likewise.
37769 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37770 __SWORD_TYPE with __fsword_t.
37771 (statfs64): Likewise.
37773 2012-05-17 David S. Miller <davem@davemloft.net>
37775 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37777 2012-05-17 Andreas Jaeger <aj@suse.de>
37779 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37782 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37784 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37786 2012-05-17 Andreas Jaeger <aj@suse.de>
37788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37791 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37793 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37795 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37797 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37798 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37800 2012-05-17 Andreas Jaeger <aj@suse.de>
37801 Carlos O'Donell <carlos_odonell@mentor.com>
37804 * sysdeps/x86_64/multiarch/init-arch.h
37805 (bit_YMM_Usable): Rename to...
37806 (bit_AVX_Usable): ... this.
37807 (bit_FMA4_Usable): New macro.
37808 (bit_XMM_state): New macro.
37809 (bit_YMM_state): New macro.
37810 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37811 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37812 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37813 (CPUID_OSXSAVE): New macro.
37814 (CPUID_AVX): New macro.
37815 (CPUID_FMA4): New macro.
37816 (index_YMM_Usable): Rename to...
37817 (index_AVX_Usable): ... this.
37818 (HAS_AVX): Use HAS_ARCH_FEATURE.
37819 (HAS_FMA4): Likewise.
37820 (HAS_YMM_USABLE): Remove.
37821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37822 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37824 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37825 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37826 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37827 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37828 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37830 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37832 * math/libm-test.c: Support platforms without multiple rounding modes.
37833 * math/bug-nextafter.c: Support platforms without FP exceptions.
37834 * math/bug-nexttoward.c: Likewise.
37835 * math/test-fenv.c: Likewise.
37836 * math/test-misc.c: Likewise.
37837 * stdlib/bug-getcontext.c: Likewise.
37839 2012-05-17 Andreas Jaeger <aj@suse.de>
37841 * manual/examples/search.c (critter_cmp): Change signature to
37843 * manual/string.texi (Collation Functions): Likewise.
37845 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37847 * bits/types.h: Fold copyright years.
37848 * bits/typesizes.h: Likewise.
37849 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37853 * time/time.h: Likewise.
37855 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37858 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37859 in instead of returning them. Return void.
37860 (__libc_mallinfo): Accumulate over all arenas.
37861 (__malloc_stats): Adjust for change in int_mallinfo interface.
37863 2012-05-16 Roland McGrath <roland@hack.frob.com>
37866 * configure.in (NM): Add AC_CHECK_TOOL for it.
37867 (libc_extra_cflags): New substituted variable.
37868 Check for -fstack-protector being used implicitly.
37869 * configure: Regenerated.
37870 * config.make.in (config-extra-cflags): New variable,
37871 gets @libc_extra_cflags@.
37872 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37875 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37876 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37877 * configure: Regenerated.
37878 * config.make.in (CPPUNDEFS): New substituted variable.
37879 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37880 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37881 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37885 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37886 (mq_attr): Use __syscall_slong_t.
37888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37891 Check __x86_64__ instead of __WORDSIZE.
37892 (_STAT_VER_LINUX): Likewise.
37893 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37894 __syscall_ulong_t and __syscall_slong_t.
37895 (stat64): Likewise.
37897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37901 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37905 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37907 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37911 include <bits/wordsize.h>. Check __x86_64__ instead of
37913 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37915 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37918 include <bits/wordsize.h>. Check __x86_64__ instead of
37920 (user_regs_struct): Use "__extension__ unsigned long long"
37921 instead of "unsigned long" if __x86_64__ is defined.
37922 (user): Likewise. Pad after pointer field if __ILP32__ is
37925 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37927 * configure.in (makeinfo): Require version 4.5 or later. Allow
37929 * configure: Regenerated.
37930 * manual/install.texi (texinfo): Increase version requirement to
37932 * INSTALL: Regenerated.
37934 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37938 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37940 * sysdeps/x86_64/x32/ffs.c: New file.
37942 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37944 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37945 defined. Use __syscall_ulong_t.
37946 (shminfo): Use __syscall_ulong_t.
37947 (shm_info): Likewise.
37949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37954 (msgqnum_t): Use __syscall_ulong_t.
37955 (msglen_t): Likewise.
37956 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37959 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37962 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37964 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37965 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37967 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37971 include <bits/wordsize.h>. Check __x86_64__ instead of
37974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37975 "unsigned long long int" if __x86_64__ is defined.
37976 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37979 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37980 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37984 (GET_PC): Cast to uintptr_t first.
37985 (GET_FRAME): Likewise.
37986 (GET_STACK): Likewise.
37988 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37989 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37990 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37991 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37992 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37993 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37994 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37995 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37996 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38000 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38002 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38003 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38004 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38005 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38006 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38007 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38014 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38018 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38020 * Makerules (+depfiles): Also collect depfiles from .oS in
38022 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38023 .oS, $(libnldbl-routines)).
38025 * Makerules (native-compile-mkdep-flags): Define.
38026 * sunrpc/Makefile (extra-objs): Add $(addprefix
38027 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38028 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38029 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38030 calling $(make-target-directory).
38032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38034 * bits/types.h (__snseconds_t): Removed.
38035 * time/time.h (struct timespec): Replace __snseconds_t with
38037 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38038 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38041 (__SNSECONDS_T_TYPE): Likewise.
38042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38043 (__SNSECONDS_T_TYPE): Likewise.
38044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38045 (__SNSECONDS_T_TYPE): Likewise.
38047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38049 * sysdeps/mach/hurd/bits/typesizes.h
38050 (__SYSCALL_SLONG_TYPE): New macro.
38051 (__SYSCALL_ULONG_TYPE): Likewise.
38053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38055 * bits/types.h (__syscall_slong_t): New type.
38056 (__syscall_ulong_t): Likewise.
38058 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38059 (__SYSCALL_ULONG_TYPE): Likewise.
38060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38061 (__SYSCALL_SLONG_TYPE): Likewise.
38062 (__SYSCALL_ULONG_TYPE): Likewise.
38063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38064 (__SYSCALL_SLONG_TYPE): Likewise.
38065 (__SYSCALL_ULONG_TYPE): Likewise.
38066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38067 (__SYSCALL_SLONG_TYPE): Likewise.
38068 (__SYSCALL_ULONG_TYPE): Likewise.
38070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38072 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38073 Add sigaltstack-offsets.sym.
38074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38075 <sigaltstack-offsets.h>.
38076 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38077 longjmp_msg pointer.
38078 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38079 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38081 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38083 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38085 * elf/stackguard-macros.h: Remove file.
38086 * sysdeps/generic/stackguard-macros.h: New file.
38087 * sysdeps/i386/stackguard-macros.h: Likewise.
38088 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38089 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38090 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38091 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38092 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38093 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38094 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38095 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38096 <elf/stackguard-macros.h>.
38099 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38100 __aligned__ in attribute.
38101 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38102 (gregset_t): Likewise.
38104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38106 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38107 * sysdeps/x86_64/64/Implies-after: Here. New file.
38108 * sysdeps/x86_64/x32/Implies-after: New file.
38110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38112 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38113 and access return value for _dl_profile_fixup. Use R10_LP to
38116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38122 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38123 * sysdeps/x86_64/x32/sysdep.h: New file.
38125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38127 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38128 * sysdeps/x86_64/setjmp.S: Likewise.
38130 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38134 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38136 remove unused global constant.
38138 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38140 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38141 include of <not-cancel.h>.
38143 2012-05-15 Roland McGrath <roland@hack.frob.com>
38145 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38147 2012-05-15 Jeff Law <law@redhat.com>
38148 Andreas Jaeger <aj@suse.de>
38151 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38153 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38154 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38156 code changing __hst_map_handle.map.
38158 2012-05-15 Roland McGrath <roland@hack.frob.com>
38160 * configure.in (sysnames): Look for Implies-before and Implies-after
38162 * configure: Regenerated.
38164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38167 8-byte data alignment with LP_SIZE alignment.
38169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38171 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38176 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38181 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38188 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38189 (stackinfo_sub_sp): Likewise.
38191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38208 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38212 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38213 into R11_LP and load __x86_64_shared_cache_size_half into
38216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38221 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38230 powerpc32/power7/fpu/s_logb.c via #include.
38231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38232 powerpc32/power7/fpu/s_logbf.c via #include.
38233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38234 powerpc32/power7/fpu/s_logbl.c via #include.
38236 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38238 * README.libm: Remove file.
38240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38242 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38243 count for x32. Use R*_LP and omit operand-size suffix.
38245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38247 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38248 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38249 * sysdeps/x86_64/x32/shlib-versions: New file.
38251 2012-05-14 Roland McGrath <roland@hack.frob.com>
38253 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38254 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38255 Use _dl_fatal_printf instead.
38257 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38259 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38260 set if not set by the user. Do not allow for being unset.
38261 * sysdeps/unix/sysv/linux/configure: Regenerated.
38263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38265 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38266 the `q' suffix from lea and replace .quad with ASM_ADDR.
38268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38271 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38273 (PTR_DEMANGLE): Likewise.
38275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38277 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38279 (ASM_ADDR): Likewise.
38280 (RAX_LP): Likewise.
38281 (RBP_LP): Likewise.
38282 (RBX_LP): Likewise.
38283 (RCX_LP): Likewise.
38284 (RDI_LP): Likewise.
38285 (RSI_LP): Likewise.
38286 (RSP_LP): Likewise.
38289 (R10_LP): Likewise.
38290 (R10_LP): Likewise.
38291 (R11_LP): Likewise.
38292 (R12_LP): Likewise.
38293 (R13_LP): Likewise.
38294 (R14_LP): Likewise.
38295 (R15_LP): Likewise.
38297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38299 * sysdeps/x86_64/x32/dl-machine.h: New file.
38301 2012-05-14 Andreas Jaeger <aj@suse.de>
38303 * manual/Makefile (subdir): Remove export of subdir.
38304 (all): Remove target.
38305 (.PHONY): Remove all from list.
38306 (mkinstalldirs): Remove.
38307 (.PHONY): Remove installdirs from list.
38308 ($(inst_infodir)/libc.info): Use make-target-directory.
38309 (installdirs): Remove.
38310 (subdir_%): Remove.
38311 (glibc-targets): Remove.
38314 ($(objpfx)stubs ../po/manual.pot): Remove.
38315 ($(objpfx)stamp%): Remove.
38316 (make-target-directory): Remove.
38317 (subdir_install): Remove.
38318 (routines): Remove.
38325 * manual/.gitignore: Remove, it's not needed anymore.
38326 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38328 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38330 (texis): Renamed to $(objpfx)texis.
38331 (texis-path): New, contains path to generated files.
38332 (chapters.%): Use texis-path for complete path, add extra argument
38334 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38335 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38336 (summary,texi, stamp-summary): Use complete path of
38337 files. Generate files in build dir.
38338 (dir-add.texi): Build in build dir.
38339 (libm-err.texi,stamp-libm-err): Likewise.
38340 (version.texi, stamp-version): Likewise.
38341 (.%c.texi): Likewise.
38342 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38343 (mostlyclean): Remove target.
38344 (realclean): Remove target.
38345 (generated): Add new variable with contents from mostlyclean and
38346 realclean, remove entries duplicated in common-mostlyclean, add
38347 stamp-libm-err and stamp-version.
38348 (generated-dirs): Add libc directory.
38349 ($(inst_infodir)/libc.info): Install files from build dir.
38351 * manual/install.texi (Configuring and compiling): Adjust since
38352 the info files are not part of the tar ball anymore.
38354 2012-05-14 Andreas Jaeger <aj@suse.de>
38356 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38359 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38363 to 2.2.0 where earlier.
38364 * sysdeps/unix/sysv/linux/configure: Regenerated.
38365 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38366 Remove conditional code.
38367 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38368 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38369 Remove conditional code.
38370 [!__NR_lchown]: Likewise.
38371 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38372 [__NR_lchown]: Likewise.
38373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38374 comment referencing __ASSUME_LCHOWN_SYSCALL.
38375 * sysdeps/unix/sysv/linux/i386/sigaction.c
38376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38378 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38379 Remove conditional code.
38380 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38381 (__protocol_available): Remove #if 0 code.
38382 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38384 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38385 * sysdeps/unix/sysv/linux/kernel-features.h
38386 (__ASSUME_GETCWD_SYSCALL): Don't define.
38387 (__ASSUME_REALTIME_SIGNALS): Likewise.
38388 (__ASSUME_PREAD_SYSCALL): Likewise.
38389 (__ASSUME_PWRITE_SYSCALL): Likewise.
38390 (__ASSUME_POLL_SYSCALL): Likewise.
38391 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38392 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38394 (__ASSUME_SIOCGIFNAME): Don't define.
38395 (__ASSUME_MSG_NOSIGNAL): Likewise.
38396 (__ASSUME_SENDFILE): Define unconditionally.
38397 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38398 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38400 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38401 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38402 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38403 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38404 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38406 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38408 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38431 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38432 Remove conditional code.
38433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38434 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38435 Remove conditional code.
38436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38437 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38438 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38439 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38440 Remove conditional code.
38441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38442 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38443 Remove conditional code.
38444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38445 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38446 Remove conditional code.
38447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38448 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38449 Remove conditional code.
38450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38451 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38452 Remove conditional code.
38453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38454 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38457 * sysdeps/unix/sysv/linux/sigaction.c
38458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38460 * sysdeps/unix/sysv/linux/sigpending.c
38461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38463 * sysdeps/unix/sysv/linux/sigprocmask.c
38464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38466 * sysdeps/unix/sysv/linux/sigsuspend.c
38467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38470 (__libc_missing_rt_sigs): Remove.
38471 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38472 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38473 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38474 Remove conditional code.
38475 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38476 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38479 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38483 2012-05-14 Andreas Jaeger <aj@suse.de>
38485 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38486 it's not used in glibc.
38487 (__coshm1): Likewise.
38488 (__acosh1p): Likewise.
38491 * manual/string.texi (Copying and Concatenation): Add missing
38492 variable in concat example.
38493 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38499 __builtin_clzl with __builtin_clzll.
38501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38504 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38507 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38509 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38510 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38511 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38514 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38516 * NEWS: Update ia64 info.
38518 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38520 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38523 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38525 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38526 * sysdeps/unix/syscalls.list (dup3): Likewise.
38527 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38528 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38530 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38532 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38533 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38535 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38537 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38539 (TLS_IE): Use mov/add instead of movq/addq to load thread
38541 (TLS_GD_PREFIX): New.
38544 2012-05-11 David S. Miller <davem@davemloft.net>
38546 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38547 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38548 (_FPU_SETCW): Likewise.
38550 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38552 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38553 is 32-byte aligned.
38555 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38558 * iconvdata/gb18030.c: Update tables.
38559 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38560 characters specially.
38561 (BODY for TO_LOOP): Add encoding of missing ranges.
38563 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38566 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38567 * sysdeps/mach/hurd/dup3.c: Likewise.
38568 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38569 * sysdeps/powerpc/memmove.c:: Likewise.
38571 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38574 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38576 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38578 * elf/elf.h (R_X86_64_RELATIVE64): New.
38579 (R_X86_64_NUM): Updated.
38580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38581 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38582 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38583 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38584 tst-quad1pie tst-quad2pie
38585 (modules-names): Add tst-quadmod1 tst-quadmod2.
38586 ($(objpfx)tst-quad1): New dependency.
38587 ($(objpfx)tst-quad2): Likewise.
38588 ($(objpfx)tst-quad1pie): Likewise.
38589 ($(objpfx)tst-quad2pie): Likewise.
38590 * sysdeps/x86_64/tst-quad1.c: New file.
38591 * sysdeps/x86_64/tst-quad1pie.c: New file.
38592 * sysdeps/x86_64/tst-quad2.c: Likewise.
38593 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38594 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38595 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38596 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38597 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38601 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38602 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38603 * streams/stropts.h (t_scalar_t): Define type.
38605 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38606 (_PATH_PRESERVE): Set to "/var/lib".
38607 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38609 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38612 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38613 if __dir_mkfile succeeded.
38615 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38616 checking for _hurd_dtablesize. Unlock it right after having
38617 finished _hurd_dtable allocation.
38619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38621 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38622 * sysdeps/mach/hurd/configure: Regenerated.
38623 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38624 special-casing to...
38625 * sysdeps/gnu/configure.in: ... this new file.
38626 * sysdeps/unix/sysv/linux/configure: Regenerated.
38627 * sysdeps/gnu/configure: New generated file.
38629 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38630 for Linux: use nsec instead of usec, as well as:
38631 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38632 members of type struct timespec.
38633 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38635 (struct stat64): Likewise.
38636 (_STATBUF_ST_NSEC): New macro.
38637 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38639 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38640 __strtoul_internal rather than strtoul.
38642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38644 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38647 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38649 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38650 which preserves existing values.
38651 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38653 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38655 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38656 TIMEOUT values. Return EINVAL for NFDS values either negative or
38657 greater than FD_SETSIZE.
38659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38661 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38662 allocated, call __vm_protect to finish enabling the existing space, and
38663 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38664 allocate the remainder.
38666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38668 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38669 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38673 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38674 sysdeps/mach/hurd/readlink.c.
38676 * posix/tst-sysconf.c (posix_options): Only use
38677 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38678 _POSIX_SYNCHRONIZED_IO when they are defined
38679 * sysdeps/mach/hurd/bits/posix_opt.h:
38680 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38681 (_XOPEN_REALTIME): Undefine macro.
38682 (_XOPEN_REALTIME_THREADS): Undefine macro.
38683 (_XOPEN_SHM): Undefine macro.
38684 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38688 (_POSIX_ASYNC_IO): Undefine macro.
38689 (_POSIX_PRIORITIZED_IO): Undefine macro.
38690 (_POSIX_SPIN_LOCKS): Define macro to -1.
38692 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38693 SA_NODEFER, SA_RESETHAND.
38694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38695 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38700 * elf/Makefile (pldd-modules): Define unconditionally.
38702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38704 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38708 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38709 Return ENOENT when name is empty.
38710 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38714 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38716 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38720 Fix mlock in all cases except non-readable pages.
38721 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38722 instead of VM_PROT_ALL as parameter to __vm_wire function.
38724 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38725 (__mkdir): When path is `/', just fail with EEXIST.
38726 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38730 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38731 <sys/uio.h> (for writev).
38732 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38733 and <sys/param.h> (for MIN).
38735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38737 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38738 REQUESTED_TIME. Properly set the remaining time and return EINTR
38741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38743 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38744 Depend on against $(link-rpcuserlibs).
38746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38748 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38749 (__libc_stack_end): Do not use attribute_relro.
38750 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38751 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38752 to libthread-provided value.
38753 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38759 * bits/libc-lock.h (__libc_once_get): New macro.
38760 * sysdeps/mach/bits/libc-lock.h: Likewise.
38761 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38763 instead of using implementation details.
38765 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38766 * libio/freopen.c: Likewise.
38767 * libio/freopen64.c: Likewise.
38768 * misc/syslog.c: Likewise.
38769 * nscd/connections.c: Likewise.
38770 * nscd/netgroupcache.c: Likewise.
38771 * sysdeps/posix/getcwd.c: Likewise.
38773 2012-05-10 Roland McGrath <roland@hack.frob.com>
38775 * math/w_ilogbf.c: Add #include <limits.h>.
38777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38779 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38780 path instead of returning without unlocking.
38782 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38783 immediate-write ioctls.
38784 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38788 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38789 __builtin_frame_address instead of making assumptions about the
38790 location of the return address relative to DATA. Force early load of
38791 the return address.
38792 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38793 __builtin_frame_address.
38796 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38797 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38798 implement dup3 and do some further code clean-ups.
38799 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38804 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38806 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38807 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38808 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38809 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38810 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38813 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38814 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38815 when handler == SIG_ERR, not when handler != SIG_ERR.
38817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38819 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38820 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38823 accept4 for GNU Hurd.
38824 * include/sys/socket.h (__libc_accept4): New prototype.
38825 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38826 to implement __libc_accept4.
38827 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38829 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38831 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38832 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38833 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38834 signal-defines.sym.
38836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38838 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38842 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38843 assertion on O_CLOEXEC flag.
38844 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38845 * hurd/intern-fd.c: Likewise.
38846 * hurd/port2fd.c: Likewise.
38848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38851 * bits/in.h (IPV6_PKTINFO): Define new macro.
38852 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38854 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38859 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38861 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38865 * math/libm-test.inc (logb_test) : Additional logb tests.
38867 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38868 Andreas Jaeger <aj@suse.de>
38870 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38871 * configure: Regenerated.
38872 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38873 * config.make.in (link-obsolete-rpc): New substituted variable.
38874 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38875 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38876 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38877 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38878 so that libc.a contains the symbols.
38879 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38880 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38881 * sunrpc/auth_none.c: Likewise.
38882 * sunrpc/auth_unix.c: Likewise.
38883 * sunrpc/authdes_prot.c: Likewise.
38884 * sunrpc/authuxprot.c: Likewise.
38885 * sunrpc/clnt_gen.c: Likewise.
38886 * sunrpc/clnt_perr.c: Likewise.
38887 * sunrpc/clnt_raw.c: Likewise.
38888 * sunrpc/clnt_simp.c: Likewise.
38889 * sunrpc/clnt_tcp.c: Likewise.
38890 * sunrpc/clnt_udp.c: Likewise.
38891 * sunrpc/clnt_unix.c: Likewise.
38892 * sunrpc/des_crypt.c: Likewise.
38893 * sunrpc/des_soft.c: Likewise.
38894 * sunrpc/get_myaddr.c: Likewise.
38895 * sunrpc/key_call.c: Likewise.
38896 * sunrpc/key_prot.c: Likewise.
38897 * sunrpc/netname.c: Likewise.
38898 * sunrpc/pm_getmaps.c: Likewise.
38899 * sunrpc/pm_getport.c: Likewise.
38900 * sunrpc/pmap_clnt.c: Likewise.
38901 * sunrpc/pmap_prot.c: Likewise.
38902 * sunrpc/pmap_prot2.c: Likewise.
38903 * sunrpc/pmap_rmt.c: Likewise.
38904 * sunrpc/publickey.c: Likewise.
38905 * sunrpc/rpc_cmsg.c: Likewise.
38906 * sunrpc/rpc_common.c: Likewise.
38907 * sunrpc/rpc_dtable.c: Likewise.
38908 * sunrpc/rpc_prot.c: Likewise.
38909 * sunrpc/rpc_thread.c: Likewise.
38910 * sunrpc/rtime.c: Likewise.
38911 * sunrpc/svc.c: Likewise.
38912 * sunrpc/svc_auth.c: Likewise.
38913 * sunrpc/svc_raw.c: Likewise.
38914 * sunrpc/svc_run.c: Likewise.
38915 * sunrpc/svc_tcp.c: Likewise.
38916 * sunrpc/svc_udp.c: Likewise.
38917 * sunrpc/svc_unix.c: Likewise.
38918 * sunrpc/svcauth_des.c: Likewise.
38919 * sunrpc/xcrypt.c: Likewise.
38920 * sunrpc/xdr.c: Likewise.
38921 * sunrpc/xdr_array.c: Likewise.
38922 * sunrpc/xdr_float.c: Likewise.
38923 * sunrpc/xdr_intXX_t.c: Likewise.
38924 * sunrpc/xdr_mem.c: Likewise.
38925 * sunrpc/xdr_rec.c: Likewise.
38926 * sunrpc/xdr_ref.c: Likewise.
38927 * sunrpc/xdr_sizeof.c: Likewise.
38928 * sunrpc/xdr_stdio.c: Likewise.
38930 2012-05-10 Roland McGrath <roland@hack.frob.com>
38932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38933 change. Update copyright years.
38935 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38937 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38939 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38940 Joseph Myers <joseph@codesourcery.com>
38941 Paul Pluzhnikov <ppluzhnikov@google.com>
38944 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38946 [cross-compiling] (extra-libs): Likewise.
38947 [cross-compiling] (extra-libs-others): Likewise.
38948 [cross-compiling] (librpcsvc-routines): Likewise.
38949 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38950 [cross-compiling] (omit-deps): Likewise.
38951 (sunrpc-CPPFLAGS): New variable.
38952 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38953 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38954 (cross-rpcgen-objs): New variable.
38955 (extra-objs): Append $(cross-rpcgen-objs).
38956 ($(cross-rpcgen-objs)): New rule.
38957 ($(objpfx)cross-rpcgen): Likewise.
38958 (rpcgen-cmd): Define to use $(built-program-file). Expand
38960 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38961 ($(objpfx)x%.stmp): Likewise.
38962 * sunrpc/proto.h [IS_IN_build] (_): Define.
38963 [IS_IN_build] (_libc_intl_domainname): Likewise.
38965 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38968 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38969 and R_X86_64_TPOFF64.
38971 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38973 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38974 sysdeps/unix/sysv/syscalls.list.
38977 * sysdeps/unix/sysv/syscalls.list: Remove file.
38979 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38982 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38983 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38984 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38985 (__LC_IDENTIFICATION): Make these macros useful in #if
38986 expressions, as required by C99.
38988 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38990 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38991 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38994 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38996 * stdlib/longlong.h: Updated from GCC.
38998 2012-05-09 Andreas Jaeger <aj@suse.de>
39000 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39001 default is first entry.
39002 (run_mode): Set type.
39003 (main): Remove informal message about syslog.
39004 (options): Fix typo.
39007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39010 (llrintf): Likewise.
39011 (llrint): Likewise.
39014 (nearbyint): Likewise.
39015 (nearbyintf): Likewise.
39017 2012-05-09 Andreas Jaeger <aj@suse.de>
39018 Pedro Alves <palves@redhat.com>
39020 * nscd/nscd.c (run_mode): Use enum.
39021 (main): Cleanup coding style issue.
39023 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39024 Andreas Jaeger <aj@suse.de>
39026 * nscd/nscd.c (go_background): Replaced with...
39027 (run_mode): ... this.
39028 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39029 (options): Add -F --foreground.
39030 (main): Implement it.
39031 (parse_opt): Parse it.
39033 2012-05-09 Andreas Jaeger <aj@suse.de>
39036 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39037 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39038 -Wconversion warning.
39039 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39042 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39044 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39046 (LC_ALL): Use macro-int-constant.
39047 (LC_COLLATE): Likewise.
39048 (LC_CTYPE): Likewise.
39049 (LC_MESSAGES): Likewise.
39050 (LC_MONETARY): Likewise.
39051 (LC_NUMERIC): Likewise.
39052 (LC_TIME): Likewise.
39053 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39054 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39056 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39058 [C99-based standards] (float_t): Expect type.
39059 [C99-based standards] (double_t): Expect type.
39060 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39062 [C99-based standards] (HUGE_VALL): Likewise.
39063 [C99-based standards] (INFINITY): Likewise.
39064 [C99-based standards] (NAN): Likewise.
39065 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39066 [C99-based standards] (FP_NAN): Likewise.
39067 [C99-based standards] (FP_NORMAL): Likewise.
39068 [C99-based standards] (FP_SUBNORMAL): Likewise.
39069 [C99-based standards] (FP_ZERO): Likewise.
39070 [C99-based standards] (FP_FAST_FMA): Use
39071 optional-macro-int-constant. Specify type. Require == 1.
39072 [C99-based standards] (FP_FAST_FMAF): Likewise.
39073 [C99-based standards] (FP_FAST_FMAL): Likewise.
39074 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39075 [C99-based standards] (FP_ILOGBNAN): Likewise.
39076 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39078 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39079 [C99-based standards] (math_errhandling): Specify type.
39080 [ISO99 || ISO11] (signgam): Do not allow.
39081 [non-C99-based standards] (copysignf): Do not allow.
39082 [non-C99-based standards] (exp2f): Likewise.
39083 [non-C99-based standards] (log2f): Likewise.
39084 [non-C99-based standards] (modff): Allow.
39085 [non-C99-based standards] (erff): Do not allow.
39086 [non-C99-based standards] (erfcf): Likewise.
39087 [non-C99-based standards] (gammaf): Likewise.
39088 [non-C99-based standards] (hypotf): Likewise.
39089 [non-C99-based standards] (j0f): Likewise.
39090 [non-C99-based standards] (j1f): Likewise.
39091 [non-C99-based standards] (jnf): Likewise.
39092 [non-C99-based standards] (lgammaf): Likewise.
39093 [non-C99-based standards] (tgammaf): Likewise.
39094 [non-C99-based standards] (y0f): Likewise.
39095 [non-C99-based standards] (y1f): Likewise.
39096 [non-C99-based standards] (ynf): Likewise.
39097 [non-C99-based standards] (isnanf): Likewise.
39098 [non-C99-based standards] (acoshf): Likewise.
39099 [non-C99-based standards] (asinhf): Likewise.
39100 [non-C99-based standards] (atanhf): Likewise.
39101 [non-C99-based standards] (cbrtf): Likewise.
39102 [non-C99-based standards] (expm1f): Likewise.
39103 [non-C99-based standards] (ilogbf): Likewise.
39104 [non-C99-based standards] (log1pf): Likewise.
39105 [non-C99-based standards] (logbf): Likewise.
39106 [non-C99-based standards] (nextafterf): Likewise.
39107 [non-C99-based standards] (remainderf): Likewise.
39108 [non-C99-based standards] (rintf): Likewise.
39109 [non-C99-based standards] (scalbf): Likewise.
39110 [non-C99-based standards] (copysignl): Likewise.
39111 [non-C99-based standards] (exp2l): Likewise.
39112 [non-C99-based standards] (log2l): Likewise.
39113 [non-C99-based standards] (modfl): Allow.
39114 [non-C99-based standards] (erfl): Do not allow.
39115 [non-C99-based standards] (erfcl): Likewise.
39116 [non-C99-based standards] (gammal): Likewise.
39117 [non-C99-based standards] (hypotl): Likewise.
39118 [non-C99-based standards] (j0l): Likewise.
39119 [non-C99-based standards] (j1l): Likewise.
39120 [non-C99-based standards] (jnl): Likewise.
39121 [non-C99-based standards] (lgammal): Likewise.
39122 [non-C99-based standards] (tgammal): Likewise.
39123 [non-C99-based standards] (y0l): Likewise.
39124 [non-C99-based standards] (y1l): Likewise.
39125 [non-C99-based standards] (ynl): Likewise.
39126 [non-C99-based standards] (isnanl): Likewise.
39127 [non-C99-based standards] (acoshl): Likewise.
39128 [non-C99-based standards] (asinhl): Likewise.
39129 [non-C99-based standards] (atanhl): Likewise.
39130 [non-C99-based standards] (cbrtl): Likewise.
39131 [non-C99-based standards] (expm1l): Likewise.
39132 [non-C99-based standards] (ilogbl): Likewise.
39133 [non-C99-based standards] (log1pl): Likewise.
39134 [non-C99-based standards] (logbl): Likewise.
39135 [non-C99-based standards] (nextafterl): Likewise.
39136 [non-C99-based standards] (remainderl): Likewise.
39137 [non-C99-based standards] (rintl): Likewise.
39138 [non-C99-based standards] (scalbl): Likewise.
39139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39140 [non-C99-based standards] (FP_*): Do not allow.
39141 [C99-based standards] (FP_*): Change to
39142 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39143 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39145 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39146 (SIG_ERR): Likewise.
39147 [X/Open-based standards] (SIG_HOLD): Likewise.
39148 (SIG_IGN): Likewise.
39149 (SIGABRT): Use macro-int-constant. Specify type. Require
39151 (SIGFPE): Likewise.
39152 (SIGILL): Likewise.
39153 (SIGINT): Likewise.
39154 (SIGSEGV): Likewise.
39155 (SIGTER): Likewise.
39156 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39157 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39158 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39159 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39160 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39161 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39162 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39163 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39164 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39165 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39166 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39167 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39168 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39169 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39170 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39171 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39172 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39173 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39174 [X/Open-based standards] (SIGTRAP): Likewise.
39175 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39176 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39177 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39178 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39179 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39182 2012-05-08 Ian Wienand <ianw@vmware.com>
39185 * time/tzset.c (__tzset_parse_tz): Update default rules for
39186 daylight time changes in the Energy Policy Act of 2005.
39188 2012-05-09 Andreas Jaeger <aj@suse.de>
39191 * elf/ldconfig.c (parse_conf): Change string to make clear that
39192 ldconfig only issued a warning if ld.so.conf does not exist.
39194 2012-05-08 David S. Miller <davem@davemloft.net>
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39197 movxtod instead of popping the value on the stack.
39199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39201 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39203 * config.h.in: Add HAVE_ARM_PCS_VFP.
39205 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39208 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39209 checking but the checks are disabled for any reason.
39211 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39213 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39214 and ELF64_R_TYPE with ELFW(R_TYPE).
39216 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39218 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39219 (ulimit): Likewise.
39221 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39222 (settimeofday): Likewise.
39224 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39226 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39227 a struct th_u2 inside the union, and move tu_block/tu_code into
39228 a new th_u3 union of tu_block/tu_code inside of that. Move
39229 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39230 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39231 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39232 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39233 (th_stuff): Change to th_u1.tu_stuff.
39235 (th_msg): Change to th_u1.th_u2.tu_data.
39237 2012-05-07 David S. Miller <davem@davemloft.net>
39239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39243 (SETUP_PIC_REG): Use it.
39244 (SETUP_PIC_REG_LEAF): Use it.
39246 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39252 (EXPL_FINITE): Likewise.
39253 (FLDLOG): Likewise.
39254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39255 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39259 (EXPL_FINITE): Likewise.
39260 (FLDLOG): Likewise.
39261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39262 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39264 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39265 test of -max_value argument for long double.
39266 * sysdeps/i386/fpu/libm-test-ulps: Update.
39267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39269 2012-05-06 David S. Miller <davem@davemloft.net>
39271 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39272 quad soft-float symbols whose references which are compiler
39274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39276 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39282 (EXPL_FINITE): Likewise.
39283 (FLDLOG): Likewise.
39286 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39287 Adjust comments for base varying.
39288 (__expl_finite): Change alias to EXPL_FINITE.
39289 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39291 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39292 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39294 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39297 (EXPL_FINITE): Likewise.
39298 (FLDLOG): Likewise.
39301 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39302 Adjust comments for base varying.
39303 (__expl_finite): Change alias to EXPL_FINITE.
39304 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39309 * math/libm-test.inc (check_float_internal): Correct ulp
39310 calculation for subnormal expected results.
39312 2012-05-06 Andreas Jaeger <aj@suse.de>
39314 * Makeconfig (+math-flags): New, set to -frounding-math.
39315 (+cflags): Add +math-flags so that all of glibc gets compiled with
39318 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39320 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39322 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39328 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39329 (__ieee754_expl): Allow for and saturate large arguments.
39330 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39331 (u_threshold): Likewise.
39332 (__exp): Call __ieee754_exp before checking for overflow and
39334 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39335 (u_threshold): Likewise.
39336 (__expf): Call __ieee754_expf before checking for overflow and
39338 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39339 (u_threshold): Likewise.
39340 (__expl): Call __ieee754_expl before checking for overflow and
39342 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39343 (__ieee754_expl): Allow for and saturate large arguments.
39344 * math/libm-test.inc (exp_test): Add another test. Do not allow
39345 missing overflow exception on overflow.
39346 (expm1_test): Do not allow missing overflow exception on overflow.
39348 * sysdeps/i386/fpu/e_expl.c: Move to ...
39349 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39350 rather than using inline asm.
39351 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39352 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39353 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39355 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39358 (signal): Likewise.
39362 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39364 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39365 sysdeps/unix/common/syscalls.list.
39366 (fchmod): Likewise.
39367 (fchown): Likewise.
39368 (ftruncate): Likewise.
39369 (getrusage): Likewise.
39370 (gettimeofday): Likewise.
39371 (setpgid): Likewise.
39372 (setregid): Likewise.
39373 (setreuid): Likewise.
39374 (sigaction): Likewise.
39375 (truncate): Likewise.
39376 (vhangup): Likewise.
39377 * sysdeps/unix/common/syscalls.list: Remove file.
39378 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39379 * sysdeps/unix/sysv/linux/Implies: Likewise.
39381 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39383 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39385 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39389 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39392 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39395 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39401 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39415 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39422 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39426 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39428 * sysdeps/unix/common/bits/dirent.h: Remove file.
39429 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39431 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39432 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39433 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39434 * sysdeps/unix/bsd/isatty.c: Likewise.
39435 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39436 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39437 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39439 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39443 long double comparison inaccuracies.
39444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39447 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39449 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39452 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39456 nonzero digits before rounding a hex value.
39457 * stdlib/tst-strtod.c (tests): Add another test.
39459 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39461 * sysdeps/s390/fpu/libm-test-ulps: Update.
39463 2012-05-03 Andreas Jaeger <aj@suse.de>
39465 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39466 does not get optimized out.
39467 (malloc_opt_barrier): New.
39469 2012-05-03 Andreas Jaeger <aj@suse.de>
39470 Roland McGrath <roland@hack.frob.com>
39472 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39473 intermediate file deletion.
39474 (generated): Add .symlist files.
39476 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39479 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39480 Redirect under this condition.
39481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39482 [__USE_GNU] (__dprintf_chk): Not under this condition.
39483 [__USE_GNU] (__vdprintf_chk): Likewise.
39484 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39485 under this condition.
39486 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39487 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39488 [__USE_XOPEN2K8] (vdprintf): Likewise.
39489 [__USE_GNU] (__dprintf_chk): Not under this condition.
39490 [__USE_GNU] (__vdprintf_chk): Likewise.
39491 [__USE_GNU] (dprintf): Likewise.
39492 [__USE_GNU] (vdprintf): Likewise.
39494 2012-05-03 Roland McGrath <roland@hack.frob.com>
39496 * elf/Makefile (common-generated): Set this instead of generated for
39497 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39498 $(all-built-dso)-derived lists.
39500 2012-05-03 Andreas Jaeger <aj@suse.de>
39502 * sysdeps/i386/fpu/libm-test-ulps: Update.
39505 * FAQ.in: Likewise.
39506 * scripts/gen-FAQ.pl: Likewise.
39507 * manual/install.texi (Installation): Point to online location of
39509 * Makefile (files-for-dist): Remove FAQ.
39512 2012-05-02 Allan McRae <allan@archlinux.org>
39514 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39515 (LDFLAGS-reldepmod5.so): Likewise.
39516 (LDFLAGS-reldep6mod1.so): Likewise.
39517 (LDFLAGS-reldep6mod4.so): Likewise.
39518 (LDFLAGS-reldep8mod3.so): Likewise.
39519 (LDFLAGS-unload4mod1.so): Likewise.
39520 (LDFLAGS-unload4mod2.so): Likewise.
39521 (LDFLAGS-tst-initorder): Likewise.
39522 (LDFLAGS-tst-initordera2.so): Likewise.
39523 (LDFLAGS-tst-initordera3.so): Likewise.
39524 (LDFLAGS-tst-initordera4.so): Likewise.
39525 (LDFLAGS-tst-initorderb2.so): Likewise.
39526 (LDFLAGS-noload): Likewise.
39527 (LDFLAGS-next): Likewise.
39528 (LDFLAGS-order2mod1.so): Likewise.
39529 (LDFLAGS-order2mod2.so): Likewise.
39530 (LDFLAGS-tst-initorder2): Likewise.
39531 (LDFLAGS-tst-initorder2a.so): Likewise.
39532 (LDFLAGS-tst-initorder2b.so): Likewise.
39533 (LDFLAGS-tst-initorder2c.so): Likewise.
39534 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39536 2012-05-02 David S. Miller <davem@davemloft.net>
39538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39540 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39543 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39545 2012-05-02 Andreas Jaeger <aj@suse.de>
39547 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39548 since we manipulate rounding mode.
39549 (CPPFLAGS-test-idouble.c): Likewise.
39550 (CPPFLAGS-test-ifloat.c): Likewise.
39551 (CFLAGS-test-ldouble.c): Likewise.
39552 (CFLAGS-test-double.c): Likewise.
39553 (CFLAGS-test-float.c): Likewise.
39554 (CFLAGS-test-misc.c): Likewise.
39555 (CFLAGS-test-test-fenv.c): Likewise.
39557 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39562 comparisons to determine direction to adjust input.
39564 2012-05-01 Roland McGrath <roland@hack.frob.com>
39566 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39567 output to the target.
39569 * scripts/localplt.awk: New file.
39570 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39571 (check-localplt-CFLAGS): Variable removed.
39572 ($(all-built-dso:=.jmprel)): New static pattern rule.
39573 (generated): Add those targets.
39574 (localplt-built-dso): New variable.
39575 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39577 * elf/check-localplt.c: File removed.
39579 * scripts/check-execstack.awk: New file.
39580 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39581 (check-execstack-CFLAGS): Variable removed.
39582 ($(objpfx)check-execstack.h): Target removed.
39583 ($(objpfx)execstack-default): New target.
39584 (generated): Add that instead of check-execstack.h.
39585 ($(all-built-dso:=.phdr)): New static pattern rule.
39586 (generated): Add those targets.
39587 * elf/check-execstack.c: File removed.
39589 * scripts/check-textrel.awk: New file.
39590 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39591 (check-textrel-CFLAGS): Variable removed.
39592 (all-built-dso): Use := to define.o
39593 ($(all-built-dso:=.dyn)): New static pattern rule.
39594 (generated): Add those targets.
39595 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39596 * config.make.in (READELF): New substituted variable.
39597 * elf/check-textrel.c: File removed.
39599 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39601 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39603 * conform/data/ctype.h-data [C99-based standards] (isblank):
39605 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39606 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39608 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39609 Specify type. Require positive value.
39610 (EILSEQ): Likewise.
39611 (ERANGE): Likewise.
39612 [ISO || POSIX] (EILSEQ): Do not expect.
39613 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39614 Specify type. Require positive value.
39615 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39616 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39617 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39618 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39619 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39620 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39621 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39622 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39623 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39624 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39625 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39626 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39627 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39628 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39629 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39630 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39631 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39632 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39633 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39634 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39635 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39636 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39637 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39638 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39639 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39640 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39641 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39642 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39643 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39644 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39645 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39646 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39647 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39648 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39649 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39650 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39651 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39652 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39653 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39654 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39655 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39656 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39657 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39658 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39659 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39660 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39661 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39662 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39663 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39664 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39665 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39666 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39667 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39668 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39669 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39670 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39671 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39672 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39673 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39674 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39675 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39676 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39677 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39678 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39679 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39680 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39681 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39682 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39683 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39684 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39685 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39686 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39687 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39688 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39689 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39690 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39691 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39693 (FLT_ROUNDS): Expect as macro, not constant.
39694 (FLT_MANT_DIG): Use macro-int-constant.
39695 (DBL_MANT_DIG): Likewise.
39696 (LDBL_MANT_DIG): Likewise.
39697 (FLT_DIG): Likewise.
39698 (DBL_DIG): Likewise.
39699 (LDBL_DIG): Likewise.
39700 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39701 (DBL_MIN_EXP): Likewise.
39702 (LDBL_MIN_EXP): Likewise.
39703 (FLT_MAX_EXP): Use macro-int-constant.
39704 (DBL_MAX_EXP): Likewise.
39705 (LDBL_MAX_EXP): Likewise.
39706 (FLT_MAX_10_EXP): Likewise.
39707 (DBL_MAX_10_EXP): Likewise.
39708 (LDBL_MAX_10_EXP): Likewise.
39709 (FLT_MAX): Use macro-constant.
39710 (DBL_MAX): Likewise.
39711 (LDBL_MAX): Likewise.
39712 (FLT_EPSILON): Use macro-constant. Give upper bound.
39713 (DBL_EPSILON): Likewise.
39714 (LDBL_EPSILON): Likewise.
39715 (FLT_MIN): Likewise.
39716 (DBL_MIN): Likewise.
39717 (LDBL_MIN): Likewise.
39718 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39719 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39720 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39721 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39722 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39723 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39724 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39725 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39726 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39727 [ISO11] (FLT_TRUE_MIN): Likewise.
39728 [ISO11] (LDBL_TRUE_MIN): Likewise.
39729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39730 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39731 (SCHAR_MIN): Use macro-int-constant. Specify type.
39732 (SCHAR_MAX): Likewise.
39733 (UCHAR_MAX): Likewise.
39734 (CHAR_MIN): Likewise.
39735 (CHAR_MAX): Likewise.
39736 (MB_LEN_MAX): Use macro-int-constant.
39737 (SHRT_MIN): Use macro-int-constant. Specify type.
39738 (SHRT_MAX): Likewise.
39739 (USHRT_MAX): Likewise.
39740 (INT_MAX): Likewise.
39741 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39743 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39745 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39747 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39748 bound negative. Suffix upper bound with "L".
39749 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39751 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39753 [C99-based standards] (LLONG_MAX): Likewise.
39754 [C99-based standards] (ULLONG_MAX): Likewise.
39755 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39757 [ISO11] (max_align_t): Require type.
39758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39760 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39761 from $CFLAGS, without defining away __attribute__ calls.
39762 (checknamespace): Use $CFLAGS_namespace.
39764 * conform/conformtest.pl (@keywords): Only include C99 keywords
39765 for standards based on C99 or C11.
39767 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39769 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39772 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39773 usability of symbols in #if.
39775 * conform/conformtest.pl: If macro or constant types start
39776 "promoted:", expect the symbol to be of the following type
39777 promoted by the integer promotions.
39779 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39780 in one place. Also handle "macro-constant".
39782 * conform/conformtest.pl: Only accept expected macro values with
39783 "==". Parse all "macro" lines in one place.
39784 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39786 * conform/conformtest.pl: Handle braced types on "constant" lines
39787 instead of handling "typed-constant".
39788 * conform/data/signal.h-data: Use "constant" instead of
39791 * conform/conformtest.pl: Handle "optional-" at start of lines in
39792 one place rather than duplicating several cases. Handle each
39793 format of "macro" line with initial "optional-".
39795 * conform/conformtest.pl: Only accept expected constant or
39796 optional-constant values with "==". Parse all "constant" lines in
39797 one place. Parse all "optional-constant" lines in one place.
39798 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39799 * conform/data/fmtmsg.h-data: Likewise.
39800 * conform/data/netinet/in.h-data: Likewise.
39801 * conform/data/tar.h-data: Likewise.
39802 * conform/data/limits.h-data: Use "==" form on "constant" and
39803 "optional-constant" lines.
39805 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39806 Use -std=c99 for XOPEN2K.
39807 (@knownproblems): Remove.
39808 (newtoken): Don't check %isknown.
39810 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39811 Do not expect macro.
39812 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39814 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39815 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39816 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39817 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39819 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39820 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39821 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39822 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39824 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39825 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39826 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39834 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39836 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39842 [XPG3] (acosh): Likewise.
39843 [XPG3] (asinh): Likewise.
39844 [XPG3] (atanh): Likewise.
39845 [XPG3] (cbrt): Likewise.
39846 [XPG3] (expm1): Likewise.
39847 [XPG3] (ilogb): Likewise.
39848 [XPG3] (log1p): Likewise.
39849 [XPG3] (logb): Likewise.
39850 [XPG3] (nextafter): Likewise.
39851 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39853 [XPG3] (remainder): Likewise.
39854 [XPG3] (rint): Likewise.
39855 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39856 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39862 [UNIX98 || XOPEN2K] (scalb): Expect.
39863 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39864 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39868 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39869 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39880 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39881 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39882 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39883 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39884 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39885 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39886 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39887 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39888 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39889 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39890 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39891 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39892 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39893 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39894 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39895 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39896 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39897 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39898 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39899 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39900 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39901 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39902 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39903 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39904 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39905 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39906 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39907 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39908 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39909 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39910 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39911 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39912 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39913 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39914 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39915 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39916 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39917 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39918 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39919 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39920 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39932 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39933 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39935 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39936 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39937 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39972 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40001 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40002 _XOPEN_SOURCE_EXTENDED for XPG4.
40004 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40006 * Makeconfig (localtime): Remove variable.
40007 (inst_localtime-file): Likewise.
40009 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40030 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40034 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40035 comparisons to determine direction to adjust input.
40036 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40037 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40047 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40049 * math/libm-test.inc (nexttoward_test): Add more tests.
40051 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40055 in version GLIBC_2.1, not GLIBC_2.0.
40056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40059 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40062 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40064 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40065 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40066 * math/libm-test.inc (acos_test): Add more tests.
40067 (asin_test): Likewise.
40068 * sysdeps/i386/fpu/libm-test-ulps: Update.
40069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40072 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40074 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40076 * math/libm-test.inc (acos_test_tonearest): New function.
40077 (acos_test_towardzero): Likewise.
40078 (acos_test_downward): Likewise.
40079 (acos_test_upward): Likewise.
40080 (asin_test_tonearest): Likewise.
40081 (asin_test_towardzero): Likewise.
40082 (asin_test_downward): Likewise.
40083 (asin_test_upward): Likewise.
40084 (main): Call the new functions.
40085 * sysdeps/i386/fpu/libm-test-ulps: Update.
40086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40090 * math/e_exp10.c: Include <float.h>.
40091 (__ieee754_exp10): Handle underflow here rather than multiplying
40092 large negative argument by M_LN10.
40093 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40095 * math/e_exp10l.c: Include <float.h>.
40096 (__ieee754_exp10l): Handle underflow here rather than multiplying
40097 large negative argument by M_LN10l.
40098 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40099 spurious overflow exception on underflow.
40101 2012-04-29 Marek Polacek <polacek@redhat.com>
40103 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40104 (__fortify_function): New macro.
40105 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40106 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40107 __extern_always_inline.
40108 * libio/bits/stdio2.h: Likewise.
40109 * libio/bits/stdio.h: Likewise.
40110 * string/string.h: Likewise.
40111 * string/bits/string3.h: Likewise.
40112 * include/stdio.h: Likewise.
40113 * stdlib/bits/stdlib.h: Likewise.
40114 * stdlib/stdlib.h: Likewise.
40115 * rt/bits/mqueue2.h: Likewise.
40116 * rt/mqueue.h: Likewise.
40117 * posix/bits/unistd.h: Likewise.
40118 * posix/unistd.h: Likewise.
40119 * io/bits/poll2.h: Likewise.
40120 * io/bits/fcntl2.h: Likewise.
40121 * io/fcntl.h: Likewise.
40122 * io/sys/poll.h: Likewise.
40123 * misc/bits/syslog.h: Likewise.
40124 * misc/bits/syslog-ldbl.h: Likewise.
40125 * misc/sys/syslog.h: Likewise.
40126 * socket/bits/socket2.h: Likewise.
40127 * socket/sys/socket.h: Likewise.
40128 * debug/tst-chk1.c: Likewise.
40129 * wcsmbs/bits/wchar2.h: Likewise.
40130 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40131 * wcsmbs/wchar.h: Likewise.
40133 2012-04-29 Andreas Jaeger <aj@suse.de>
40135 * Makerules (tests): Remove enable-check-abi protection.
40136 (check-abi-warn): Remove.
40137 (check-abi-%): Remove check-abi-warn usage.
40139 * configure.in: Remove check-abi configure option.
40140 * configure: Regenerated.
40141 * config.make.in (enable-check-abi): Remove.
40143 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40146 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40147 double functions to double *_finite functions.
40150 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40151 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40153 * stdio-common/Makefile (tests): Add tst-sprintf3.
40154 * stdio-common/tst-sprintf3.c: New file.
40156 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40157 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40159 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40161 * conform/conformtest.pl: Remove duplicate typed-constant
40164 2012-04-28 David S. Miller <davem@davemloft.net>
40166 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40167 (check-abi-%): Remove AWK script prerequisite and explicit
40169 (check-abi): Rewrite to just diff the symlist with the abilist.
40170 (config-tls, config-abi-config): Delete, no longer used.
40171 (update-abi-%): Remove AWK script and explicit abilist directory.
40172 (update-abi): Rewrite to simply compare and conditionally copy the
40173 symlist and the sysdep abilist file. Remove update-abi-config
40175 * abilist/ld.abilist: Remove.
40176 * abilist/libBrokenLocale.abilist: Remove.
40177 * abilist/libanl.abilist: Remove.
40178 * abilist/libcrypt.abilist: Remove.
40179 * abilist/libdl.abilist: Remove.
40180 * abilist/librt.abilist: Remove.
40181 * abilist/libthread_db.abilist: Remove.
40182 * abilist/libutil.abilist: Remove.
40183 * scripts/extract-abilist.awk: Remove.
40184 * scripts/merge-abilist.awk: Remove.
40185 * sysdeps/generic/libcidn.abilist: New file.
40186 * sysdeps/generic/libnss_compat.abilist: New file.
40187 * sysdeps/generic/libnss_db.abilist: New file.
40188 * sysdeps/generic/libnss_dns.abilist: New file.
40189 * sysdeps/generic/libnss_files.abilist: New file.
40190 * sysdeps/generic/libnss_hesiod.abilist: New file.
40191 * sysdeps/generic/libnss_nis.abilist: New file.
40192 * sysdeps/generic/libnss_nisplus.abilist: New file.
40193 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40194 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40195 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40198 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40200 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40201 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40202 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40203 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40204 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40205 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40207 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40208 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40210 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40219 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40326 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40328 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40332 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40333 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40334 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40335 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40336 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40337 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40339 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40391 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40393 * conform/conformtest.pl: Fix typo in handling typed-constant from
40396 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40398 * README: Cut down references to pre-2.6 Linux kernels and
40399 Linuxthreads. Update lists of configurations in libc and ports
40400 and sort alphabetically. Say "or newer" with Linux kernel version
40403 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40405 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40408 * math/libm-test.inc (logb_test_downward): New test to expose
40409 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40412 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40415 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40417 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40418 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40420 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40422 * sysdeps/unix/i386/brk.S: Remove file.
40423 * sysdeps/unix/i386/dl-brk.S: Likewise.
40424 * sysdeps/unix/i386/pipe.S: Likewise.
40425 * sysdeps/unix/i386/sigreturn.S: Likewise.
40426 * sysdeps/unix/i386/syscall.S: Likewise.
40427 * sysdeps/unix/i386/vfork.S: Likewise.
40428 * sysdeps/unix/i386/wait.S: Likewise.
40430 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40431 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40433 * configure.in (arm*-none*): Do not allow without
40434 --enable-hacker-mode.
40435 (netbsd*): Remove case setting base_os.
40436 (386bsd*): Likewise.
40437 (freebsd*): Likewise.
40440 (sunos*): Likewise.
40441 (ultrix*): Likewise.
40442 (newsos*): Likewise.
40443 (dynix*): Likewise.
40449 (minix*): Likewise.
40450 (irix4*): Likewise.
40451 (irix6*): Likewise.
40452 (solaris[2-9]*): Likewise.
40454 * configure: Regenerated.
40456 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40459 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40460 overflow or cancellation in calculating denominator.
40461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40463 down expression to avoid unexpected rounding in newer GCCs.
40464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40466 2012-04-26 David S. Miller <davem@davemloft.net>
40468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40469 long-double compat symbols.
40470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40484 2012-04-25 David S. Miller <davem@davemloft.net>
40486 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40487 HWCAP_* values only after the memory barriers have been defined.
40488 (atomic_full_barrier): Define.
40489 (atomic_read_barrier): Define.
40490 (atomic_write_barrier): Define.
40492 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40494 * shlib-versions: Add libgcc_s version information.
40495 * sysdeps/generic/libgcc_s.h: Remove.
40496 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40498 * sysdeps/gnu/unwind-resume.c: Likewise.
40499 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40501 2012-04-25 David S. Miller <davem@davemloft.net>
40503 * sysdeps/unix/sparc/brk.S: Delete.
40504 * sysdeps/unix/sparc/dl-brk.S: Delete.
40505 * sysdeps/unix/sparc/pipe.S: Delete.
40506 * sysdeps/unix/sparc/sysdep.S: Delete.
40507 * sysdeps/unix/sparc/sysdep.h: Delete.
40508 * sysdeps/unix/sparc/vfork.S: Delete.
40509 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40510 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40512 (ret_ERRVAL, r0, r1, MOVE): Define.
40513 (JUMPTARGET): Remove.
40514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40515 sysdeps/unix/sparc/sysdep.h
40516 (ENTRY, END): Remove.
40517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40519 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40521 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40522 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40525 * timezone/README: Update upstream location and email address for
40527 * timezone/zdump.c: Update from tzcode 2012b.
40528 * timezone/zic.c: Likewise.
40530 * configure.in (libc_cv_as_needed): Remove test.
40531 * configure: Regenerated.
40532 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40533 conditional definition.
40534 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40535 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40536 * config.make.in (have-as-needed): Remove variable.
40538 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40539 Paul Pluzhnikov <ppluzhnikov@google.com>
40541 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40544 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40546 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40547 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40548 * sysdeps/sh/strlen.S: Likewise.
40550 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40552 * sysdeps/unix/fork.S: Remove file.
40553 * sysdeps/unix/i386/fork.S: Likewise.
40554 * sysdeps/unix/sparc/fork.S: Likewise.
40556 * sysdeps/unix/system.c: Remove file.
40557 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40559 * sysdeps/unix/getegid.S: Remove file.
40560 * sysdeps/unix/geteuid.S: Likewise.
40562 2012-04-24 Roland McGrath <roland@hack.frob.com>
40564 * scripts/check-localplt.awk: New file.
40565 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40567 * scripts/data/localplt-generic.data: Add a comment.
40569 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40570 NODE when __dir_mkfile failed.
40571 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40572 Reported by Ludovic Courtès <ludo@gnu.org>.
40574 2012-04-24 Andreas Jaeger <aj@suse.de>
40576 * Makerules (common-clean): Also remove gen-as-const-headers
40579 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40581 * Makerules (native-compile): Do not change working directory for
40582 build. Use $(OUTPUT_OPTION) in command.
40583 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40585 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40588 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40589 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40590 * math/libm-test.inc (floor_test): Add more tests.
40591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40593 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40595 * sysdeps/unix/getdents.c: Remove file.
40596 * sysdeps/unix/sysv/getdents.c: Likewise.
40597 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40599 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40600 sysdeps/unix/mman/syscalls.list.
40602 (mprotect): Likewise.
40604 (munmap): Likewise.
40605 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40606 * sysdeps/unix/mman/syscalls.list: Remove.
40607 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40609 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40610 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40611 * configure: Regenerated.
40612 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40613 $(libgcc_s_suffix).
40614 * config.make.in (libgcc_s_suffix): Remove variable.
40616 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40618 * sysdeps/unix/sysv/gethostname.c: Move to ...
40619 * sysdeps/posix/gethostname.c: ... here.
40621 * sysdeps/unix/execve.S: Remove file.
40623 * sysdeps/unix/_exit.S: Remove file.
40625 2012-04-23 Andreas Jaeger <aj@suse.de>
40628 * manual/Makefile: Remove make dist support, there's no
40629 need for a stand-alone documentation tar ball.
40630 (TEXI2DVI): Define always, it's not in Makeconfig.
40633 (edition): Removed.
40634 (glibc-doc-$(edition).tar): Removed
40638 (ETAGS): Remove, it's in Makeconfig.
40639 (move-if-change): Remove, it's in Makeconfig.
40641 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40644 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40645 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40646 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40647 (strtod_l, strtof_l, strtold_l): Remove __wur.
40648 It is not necessarily an error to ignore strtol's return value.
40649 One can reliably look at the stored endptr to decide whether
40650 the number had valid syntax.
40652 2012-04-21 Andreas Jaeger <aj@suse.de>
40655 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40657 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40659 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40660 * sysdeps/unix/sysv/Versions: Remove file.
40662 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40667 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40671 version from __vm86.
40673 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40675 * sysdeps/unix/common/lxstat.c: Remove file.
40676 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40678 * sysdeps/unix/sysv/Makefile: Remove file.
40680 * sysdeps/unix/sysv/direct.h: Remove file.
40682 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40683 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40684 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40685 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40686 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40687 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40688 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40690 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40692 * sysdeps/unix/xmknod.c: Remove file.
40693 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40695 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40697 * sysdeps/unix/sysv/i386/time.S: Remove file.
40699 * sysdeps/unix/fxstat.c: Remove file.
40700 * sysdeps/unix/xstat.c: Likewise.
40701 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40703 * sysdeps/unix/sysv/sigaction.c: Remove file.
40705 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40706 (sysdep_headers): Remove variable.
40707 [termio.h not in sysdep_headers] (generated): Likewise.
40708 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40709 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40710 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40711 * sysdeps/unix/sysv/tcflow.c: Likewise.
40712 * sysdeps/unix/sysv/tcflush.c: Likewise.
40713 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40714 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40715 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40716 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40717 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40719 * sysdeps/unix/siglist.c: Remove file.
40721 * sysdeps/unix/getppid.S: Remove file.
40723 * sysdeps/unix/mkdir.c: Remove file.
40724 * sysdeps/unix/rmdir.c: Likewise.
40726 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40728 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40731 errlist-compat value.
40733 2012-04-18 David S. Miller <davem@davemloft.net>
40735 * sysdeps/generic/memcopy.h (reg_char): Delete.
40736 * debug/strcat_chk.c: Use char, not reg_char.
40737 * debug/strcpy_chk.c: Likewise.
40738 * debug/strncat_chk.c: Likewise.
40739 * debug/strncpy_chk.c: Likewise.
40740 * string/memchr.c: Likewise.
40741 * string/memrchr.c: Likewise.
40742 * string/rawmemchr.c: Likewise.
40743 * string/strcat.c: Likewise.
40744 * string/strchr.c: Likewise.
40745 * string/strchrnul.c: Likewise.
40746 * string/strcmp.c: Likewise.
40747 * string/strcpy.c: Likewise.
40748 * string/strncat.c: Likewise.
40749 * string/strncmp.c: Likewise.
40750 * string/strncpy.c: Likewise.
40752 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40754 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40755 __builtin_memcopy is called when src and dest ranges are known to not
40758 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40760 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40761 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40762 fwd_align_merge macro call.
40763 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40764 bwd_align_merge macro call.
40765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40767 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40770 bwd_align_merge macros.
40771 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40772 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40773 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40775 2012-04-18 David S. Miller <davem@davemloft.net>
40777 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40779 2012-04-18 Andreas Jaeger <aj@suse.de>
40782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40783 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40784 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40786 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40787 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40790 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40791 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40792 Adjust for changed ldbl-128 files.
40794 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40795 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40796 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40798 2012-04-17 David S. Miller <davem@davemloft.net>
40800 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40802 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40804 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40805 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40806 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40807 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40809 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40811 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40814 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40815 * math/libm-test.inc: Add ilogb errno and exception tests.
40816 * math/w_ilogb.c: New file: ilogb wrapper.
40817 * math/w_ilogbf.c: New file: ilogbf wrapper.
40818 * math/w_ilogbl.c: New file: ilogbl wrapper.
40819 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40820 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40821 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40822 exception being thrown with 0.0 as argument.
40823 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40824 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40825 exception being thrown with 0.0 as argument.
40826 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40827 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40828 exception being thrown with 0.0 as argument.
40829 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40830 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40831 exception being thrown with 0.0 as argument.
40832 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40833 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40834 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40835 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40837 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40838 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40839 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40840 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40842 2012-04-17 Petr Baudis <pasky@ucw.cz>
40844 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40847 2012-04-16 Marek Polacek <polacek@redhat.com>
40849 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40851 2012-04-16 Marek Polacek <polacek@redhat.com>
40853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40854 operands of fdivp instruction.
40856 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40858 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40859 * elf/tst-auditmod3b.c: Likewise.
40860 * elf/tst-auditmod4b.c: Likewise.
40861 * elf/tst-auditmod5b.c: Likewise.
40862 * elf/tst-auditmod6b.c: Likewise.
40863 * elf/tst-auditmod6c.c: Likewise.
40864 * elf/tst-auditmod7b.c: Likewise.
40865 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40866 * sysdeps/x86_64/preconfigure.in: Likewise.
40867 * sysdeps/x86_64/preconfigure: Regenerated.
40869 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40871 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40874 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40877 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40879 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40882 * locale/iso-639.def: Fix gl language name. Spotted by
40885 2012-04-12 Roland McGrath <roland@hack.frob.com>
40888 * libio/libio.h (__io_write_fn): Update comment.
40890 2012-04-12 Petr Baudis <pasky@ucw.cz>
40893 * stdio.texi (Hook Functions): The user provided writer function
40894 is not allowed to return -1.
40896 2012-04-11 David S. Miller <davem@davemloft.net>
40898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40900 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40902 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40903 Add a leading slash to rtkaio.
40905 2012-04-11 Jim Meyering <meyering@redhat.com>
40908 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40909 It is not necessarily an error to ignore fwrite's return
40910 value. One can reliably use ferror to test for errors after
40913 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40915 * bits/types.h (__snseconds_t): New type.
40916 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40918 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40920 (__SNSECONDS_T_TYPE): Likewise.
40921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40922 (__SNSECONDS_T_TYPE): Likewise.
40923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40924 (__SNSECONDS_T_TYPE): Likewise.
40926 2012-04-10 Andreas Jaeger <aj@suse.de>
40929 * manual/time.texi (Processor Time): Return type of times is
40930 elapsed real time since an arbitrary point in the past.
40931 (CPU Time): Move CLK_TCK from here...
40932 (Processor Time): ...to here. Correct description.
40933 * manual/conf.texi (Constants for Sysconf): Correct description of
40936 2012-04-10 David S. Miller <davem@davemloft.net>
40939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40940 where the is a gap between DT_REL(A) and DT_JMPREL.
40942 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40944 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40945 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40946 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40948 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40950 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40951 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40952 (dl_main): Handle --inhibit-cache.
40953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40955 * elf/dl-load.c (_dl_map_object): Use it.
40956 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40958 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40961 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40962 (__ieee754_powl): Saturate large exponents rather than testing for
40963 overflow of y*log2(x).
40964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40965 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40969 * math/s_ctan.c: Include <float.h>.
40970 (__ctan): Avoid internal overflow or cancellation in calculating
40972 * math/s_ctanf.c: Likewise.
40973 * math/s_ctanl.c: Likewise.
40974 * math/s_ctanh.c: Likewise.
40975 * math/s_ctanhf.c: Likewise.
40976 * math/s_ctanhl.c: Likewise.
40977 * math/libm-test.inc (ctan_test): Add more tests.
40978 (ctanh_test): Likewise.
40979 * sysdeps/i386/fpu/libm-test-ulps: Update.
40980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40982 2012-04-09 Andreas Jaeger <aj@suse.de>
40985 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40986 is an optional BSD extension.
40989 * manual/stdio.texi (Opening Streams): Document additional fopen
40992 2012-04-09 Roland McGrath <roland@hack.frob.com>
40994 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40995 %eax without telling the compiler.
40997 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41000 * manual/install.texi: Use sourceware.org.
41002 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41005 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41006 (__ieee754_pow): Generate overflow and underflow using huge*huge
41007 and tiny*tiny rather than just returning constant infinity or zero
41008 for large exponents.
41009 * math/libm-test.inc (pow_test): Require overflow exceptions for
41010 applicable cases of large exponents.
41013 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41014 (__ieee754_pow): Use iterative multiplication algorithm only for
41015 integer exponents with absolute value below 1024. Check for odd
41016 integer exponents when using algorithm for real exponents.
41017 * math/libm-test.inc (pow_test): Add more tests.
41018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41020 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41023 * math/libm-test.inc (exp_test): Do not allow overflow exception
41026 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41029 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41030 instead of __kernel_standard_f.
41032 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41034 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41035 * sysdeps/x86_64/memset_chk.S: Likewise.
41037 2012-04-08 Andreas Jaeger <aj@suse.de>
41040 * manual/startup.texi (Environment Access): Describe return value
41041 for putenv and setenv.
41044 * manual/filesys.texi (Directory Entries): Add description for
41048 * manual/filesys.texi (Directory Entries): Clarify that it's file
41049 system not operating system in the description of DT_UNKNOWN.
41052 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41054 2012-04-08 Stephen Compall <s11@member.fsf.org>
41057 * manual/llio.texi (Opening and Closing Files): Add cross
41058 reference to explain mode argument.
41060 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41062 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41063 * sysdeps/x86_64/memset_chk.S: Likewise.
41065 2012-04-07 David S. Miller <davem@davemloft.net>
41067 * elf/elf.h (R_SPARC_WDISP10): Define.
41068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41071 R_SPARC_SIZE64 and R_SPARC_H34.
41073 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41076 conditions and remove no longer applicable assertion.
41078 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41080 * bits/byteswap.h: Include <features.h>.
41081 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41082 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41084 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41086 * bits/byteswap.h (__bswap_16): Removed.
41087 Include <bits/byteswap-16.h> to get __bswap_16.
41088 * sysdeps/i386/bits/byteswap.h: Likewise.
41089 * sysdeps/s390/bits/byteswap.h: Likewise.
41090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41091 * bits/byteswap-16.h: New file.
41092 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41093 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41094 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41095 * string/Makefile (headers): Add bits/byteswap-16.h.
41097 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41100 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41102 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41103 * nss/tst-nss-static.c: New.
41105 2012-04-06 Robert Millan <rmh@gnu.org>
41108 * manual/llio.texi (File Position Primitive): lseek
41109 refers to WHENCE when it really means OFFSET.
41111 2012-04-06 Andreas Jaeger <aj@suse.de>
41113 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41114 strncmp declarations.
41116 * abilist/libc.abilist: Add __poll and __ppoll.
41118 2012-04-05 David S. Miller <davem@davemloft.net>
41120 * scripts/check-local-headers.sh: Accept a host triplet in the
41121 path matched by the exclude regexp.
41123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41125 * sysdeps/powerpc/powerpc32/dl-machine.h
41126 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41127 * sysdeps/s390/s390-32/dl-machine.h
41128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41129 * sysdeps/sparc/sparc32/dl-machine.h
41130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41131 * sysdeps/sparc/sparc64/dl-machine.h
41132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41134 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41136 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41137 undefined symbol errors.
41139 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41142 2012-04-05 Michael Matz <matz@suse.de>
41145 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41147 2012-04-05 Andreas Jaeger <aj@suse.de>
41150 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41153 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41156 which ROUND is no valid rounding mode.
41158 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41160 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41162 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41164 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41166 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41167 an exception using FPU order intentionally.
41169 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41172 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41173 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41174 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41176 2012-04-05 Simon Josefsson <simon@josefsson.org>
41179 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41180 EINVAL when BUFLEN is too smal.
41182 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41185 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41186 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41188 2012-04-03 Andreas Jaeger <aj@suse.de>
41191 * manual/setjmp.texi (System V contexts): Fix sentence.
41194 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41195 New macro for this case.
41196 [!__GNUC__] (__bswap_64): New inline function for this case.
41197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41198 * bits/byteswap.h: Likewise.
41199 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41200 ull, guard with __GLIBC_HAVE_LONG_LONG.
41202 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41203 __GLIBC_HAVE_LONG_LONG.
41205 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41206 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41208 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41211 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41212 inptr and inend, rather than using last_ch.
41214 2012-04-02 David S. Miller <davem@davemloft.net>
41216 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41217 * stdio-common/printf-parse.h (read_int): Change return type to
41218 'int', return -1 on INT_MAX overflow.
41219 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41220 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41221 overflows INT_MAX. Check for overflow of in-format-string precision
41222 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41223 SIZE_MAX not INT_MAX for integer overflow test.
41224 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41225 skip the construct in the format string but do not record anything.
41226 * stdio-common/bug22.c: Adjust to test both width/prevision
41227 INT_MAX overflow as well as total length INT_MAX overflow. Check
41228 explicitly for proper errno values.
41230 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41232 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41234 * string/test-strcmp.c [! WIDE]: Likewise.
41235 * time/tst-mktime2.c: Likewise for INT_MAX.
41236 * string/test-string.h: #include <sys/param.h> for MIN.
41238 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41239 * sysdeps/i386/init-first.c (init): Likewise.
41240 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41241 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41242 * sysdeps/sh/init-first.c (init): Likewise.
41244 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41246 * po/ru.po: Update from translation team.
41247 * po/vi.po: Likewise.
41249 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41251 * resolv/nss_dns/dns-host.c: Merge copyright years.
41253 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41256 Optimize memcpy with prefetch if
41257 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41258 src, dst pointers have unequal 16 byte alignments.
41260 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41263 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41264 from a CNAME entry and return the minimum ttl for the query.
41265 (gaih_getanswer_slice): Likewise.
41267 2012-03-30 Jeff Law <law@redhat.com>
41269 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41271 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41272 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41274 * resolv/nss_dns/dns-host.c: Update copyright year.
41276 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41278 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41279 requests to save a system call. Fix check that all bytes are sent.
41281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41282 comments for sendmmsg.
41284 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41287 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41288 with only 1 character between 0x0041 and 0x01b0.
41289 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41290 * wcsmbs/tst-mbsnrtowcs.c: New file.
41292 2012-03-29 David S. Miller <davem@davemloft.net>
41294 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41295 small copies by hand.
41297 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41300 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41301 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41304 2012-03-28 David S. Miller <davem@davemloft.net>
41306 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41307 that branches into memcpy.
41308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41311 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41314 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41315 implementation too.
41316 * sysdeps/sparc/mempcpy.S: New file.
41318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41319 the IFUNC routine in the libc case.
41320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41322 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41323 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41324 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41325 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41326 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41327 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41328 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41329 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41332 loop to 256 bytes instead of 64 bytes and fix test signedness.
41334 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41335 * sysdeps/sparc/sparc32/Makefile: rather than here...
41336 * sysdeps/sparc/sparc64/Makefile: and here.
41338 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41340 * malloc/mallocbug.c: Avoid warnings about unused variables.
41342 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41345 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41346 in the right place. Discard and retry query if response is
41347 larger than input buffer size.
41349 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41354 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41355 x for large integer exponent.
41356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41357 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41358 sign of result as needed afterwards.
41359 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41361 result for underflowing pow the same as for overflow.
41362 (__kernel_standard_l): Handle powl overflow and underflow here
41363 rather than calling __kernel_standard.
41364 * math/libm-test.inc (pow_test): Add more tests.
41379 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41380 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41381 (__kernel_standard_l): New function.
41382 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41384 * math/w_acosl.c (__acosl): Likewise.
41385 * math/w_asinl.c (__asinl): Likewise.
41386 * math/w_atan2l.c (__atan2l): Likewise.
41387 * math/w_atanhl.c (__atanhl): Likewise.
41388 * math/w_coshl.c (__coshl): Likewise.
41389 * math/w_exp10l.c (__exp10l): Likewise.
41390 * math/w_exp2l.c (__exp2l): Likewise.
41391 * math/w_fmodl.c (__fmodl): Likewise.
41392 * math/w_hypotl.c (__hypotl): Likewise.
41393 * math/w_j0l.c (__j0l, __y0l): Likewise.
41394 * math/w_j1l.c (__j1l, __y1l): Likewise.
41395 * math/w_jnl.c (__jnl, __ynl): Likewise.
41396 * math/w_lgammal.c (__lgammal): Likewise.
41397 * math/w_log10l.c (__log10l): Likewise.
41398 * math/w_log2l.c (__log2l): Likewise.
41399 * math/w_logl.c (__logl): Likewise.
41400 * math/w_powl.c (__powl): Likewise.
41401 * math/w_remainderl.c (__remainderl): Likewise.
41402 * math/w_scalbl.c (sysv_scalbl): Likewise.
41403 * math/w_sinhl.c (__sinhl): Likewise.
41404 * math/w_sqrtl.c (__sqrtl): Likewise.
41405 * math/w_tgammal.c (__tgammal): Likewise.
41406 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41407 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41408 * math/libm-test.inc (acos_test): Add more tests.
41409 (acosh_test): Likewise.
41410 (asin_test): Likewise.
41411 (atanh_test): Likewise.
41412 (exp_test): Likewise.
41413 (exp10_test): Likewise.
41414 (exp2_test): Likewise.
41415 (expm1_test): Likewise.
41416 (lgamma_test): Likewise.
41417 (log_test): Likewise.
41418 (log10_test): Likewise.
41419 (log1p_test): Likewise.
41420 (log2_test): Likewise.
41421 (pow_test): Do not allow some spurious overflow exceptions.
41422 (sqrt_test): Add more tests.
41423 (tgamma_test): Likewise.
41424 (y0_test): Likewise.
41425 (y1_test): Likewise.
41426 (yn_test): Likewise.
41428 2012-03-27 Anton Blanchard <anton@samba.org>
41430 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41436 2012-03-27 David S. Miller <davem@davemloft.net>
41438 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41440 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41441 have-as-vis3 check.
41443 2012-03-27 Andreas Jaeger <aj@suse.de>
41445 * sysdeps/x86_64/elf/configure.in: Moved to ...
41446 * sysdeps/x86_64/configure.in: ... here.
41447 * sysdeps/x86_64/elf/start.S: Moved to ...
41448 * sysdeps/x86_64/start.S: ... here.
41449 * sysdeps/x86_64/elf/configure: Delete.
41451 * sysdeps/x86_64/configure.in: Merge contents from
41452 sysdeps/i386/configure.in (without i686 check).
41454 * sysdeps/i386/elf/Versions: Merge into ...
41455 * sysdeps/i386/Versions: ... this.
41456 * sysdeps/i386/elf/Versions: Delete file.
41457 * sysdeps/i386/elf/start.S: Moved to ...
41458 * sysdeps/i386/start.S: ...here.
41459 * sysdeps/i386/elf/configure.in: Merge into...
41460 * sysdeps/i386/configure.in: ...here.
41461 * sysdeps/i386/elf/configure.in: Delete file.
41462 * sysdeps/i386/elf/configure: Delete file.
41464 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41465 * debug/backtracesyms.c: ... here.
41466 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41467 * debug/backtracesymsfd.c: ... here.
41468 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41469 * sysdeps/generic/ifunc-sel.h: ... here.
41471 * sysdeps/unix/i386/start.c: Delete file.
41472 * sysdeps/unix/sparc/start.c: Delete file.
41473 * sysdeps/unix/start.c: Delete file.
41475 * sysdeps/sh/elf/configure.in: Moved to ...
41476 * sysdeps/sh/configure.in: ... here.
41477 * sysdeps/sh/elf/start.S: Moved to ...
41478 * sysdeps/sh/start.S: ... here.
41479 * sysdeps/sh/elf/configure: Delete file.
41481 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41482 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41483 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41484 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41485 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41486 * sysdeps/powerpc/powerpc64/start.S: here.
41487 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41488 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41489 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41490 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41491 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41493 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41494 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41495 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41496 * sysdeps/powerpc/powerpc32/start.S: ... here.
41497 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41498 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41499 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41501 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41502 * sysdeps/powerpc/ifunc-sel.h: ... here.
41503 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41504 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41506 * sysdeps/sparc/elf/configure.in: Moved to ...
41507 * sysdeps/sparc/configure.in: ... here.
41508 * sysdeps/sparc/elf/configure: Delete file.
41509 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41510 * sysdeps/sparc/sparc32/start.S: ... here.
41511 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41512 * sysdeps/sparc/sparc64/start.S: ... here.
41513 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41514 * sysdeps/sparc/sparc32/Makefile: ... this.
41515 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41516 * sysdeps/sparc/sparc64/Makefile: ... this.
41518 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41519 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41520 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41521 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41522 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41523 * sysdeps/s390/s390-32/setjmp.S: ... here.
41524 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41525 * sysdeps/s390/s390-32/configure.in: ... here.
41526 * sysdeps/s390/s390-32/elf/configure: Delete file.
41527 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41528 * sysdeps/s390/s390-32/start.S: ... here.
41530 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41531 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41532 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41533 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41534 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41535 * sysdeps/s390/s390-64/setjmp.S: ... here.
41536 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41537 * sysdeps/s390/s390-64/configure.in: ... here
41538 * sysdeps/s390/s390-64/elf/configure: Delete file.
41539 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41540 * sysdeps/s390/s390-64/start.S: ... here.
41541 * sysdeps/s390/s390-64/elf/configure: Delete.
41543 * configure.in: Remove support for elf directories in sysdeps.
41545 * configure: Regenerated.
41546 * sysdeps/i386/configure: Regenerated.
41547 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41548 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41549 * sysdeps/s390/s390-32/configure: Regenerated.
41550 * sysdeps/s390/s390-64/configure: Regenerated.
41551 * sysdeps/sh/configure: Regenerated.
41552 * sysdeps/sparc/configure: Regenerated.
41553 * sysdeps/x86_64/configure: Regenerated.
41555 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41560 denormal result into account.
41562 2012-03-25 Roland McGrath <roland@hack.frob.com>
41564 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41565 Reported by Allan McRae <allan@archlinux.org>.
41567 2012-03-23 Jeff Law <law@redhat.com>
41569 * nss/getnssent.c (__nss_getent): Fix typo.
41571 2012-03-23 David S. Miller <davem@davemloft.net>
41573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41575 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41577 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41578 to pad to uint64_t for each field.
41579 (dl_tls_index): Replace unsigned long with uint64_t.
41581 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41582 Paul Pluzhnikov <ppluzhnikov@google.com>
41585 * grp/Makefile (otherlibs): Don't set it.
41586 * inet/Makefile (otherlibs): Likewise.
41587 * login/Makefile (otherlibs): Likewise.
41588 * nscd/Makefile (otherlibs): Likewise.
41589 * posix/Makefile (otherlibs): Likewise.
41590 * pwd/Makefile (otherlibs): Likewise.
41591 * rt/Makefile (otherlibs): Likewise.
41592 * sunrpc/Makefile (otherlibs): Likewise.
41593 * nss/Makefile (otherlibs): Likewise.
41594 Add libnss_files to routines and static-only-routines.
41595 ($(objpfx)getent): Remove rule.
41596 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41597 static-only-routines.
41599 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41602 * math/s_cexp.c: Include <float.h>.
41603 (__cexp): Handle exp result overflowing not necessarily
41604 overflowing both real and imaginary parts of result.
41605 * math/s_cexpf.c: Likewise.
41606 * math/s_cexpl.c: Likewise.
41607 * math/libm-test.inc (cexp_test): Add more tests.
41608 * sysdeps/i386/fpu/libm-test-ulps: Update.
41609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41611 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41613 * include/link.h (ELFW): New macro.
41614 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41615 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41617 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41619 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41622 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41624 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41626 (struct La_x32_retval): Likewise.
41628 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41630 * sysdeps/x86_64/preconfigure.in: New file.
41631 * sysdeps/x86_64/preconfigure: New generated file.
41633 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41636 * math/e_exp2l.c: Include <float.h>.
41637 (__ieee754_exp2l): Handle overflow and underflow cases
41638 separately. Only pass fractional part of argument to
41640 * math/libm-test.inc (exp2_test): Add more tests.
41642 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41643 negating x to take absolute value.
41644 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41649 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41650 computing low part if x was negated.
41651 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41653 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41655 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41656 la_x32_gnu_pltexit.
41657 (pltexit): Cast int_retval to ptrdiff_t.
41658 * elf/tst-auditmod3b.c: Likewise.
41659 * elf/tst-auditmod4b.c: Likewise.
41660 * elf/tst-auditmod5b.c: Likewise.
41661 * elf/tst-auditmod6b.c: Likewise.
41662 * elf/tst-auditmod6c.c: Likewise.
41663 * elf/tst-auditmod7b.c: Likewise.
41665 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41666 and x32_gnu_pltexit.
41668 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41669 __ELF_NATIVE_CLASS.
41670 (La_x32_regs): New macro.
41671 (La_x32_retval): Likewise.
41672 (la_x32_gnu_pltenter): New function prototype.
41673 (la_x32_gnu_pltexit): Likewise.
41675 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41682 * configure.in (libc_cv_cc_nofma): Check for option to disable
41683 generation of FMA instructions.
41684 * configure: Regenerate.
41685 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41686 * sysdeps/ieee754/dbl-64/Makefile: New file.
41687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41688 Remove brandred-fma4.
41689 (CFLAGS-brandred-fma4.c): Remove.
41690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41696 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41698 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41699 LLONG_MAX != LONG_MAX.
41700 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41701 (_fitoa_word): Likewise.
41702 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41703 LLONG_MAX != LONG_MAX.
41704 * stdio-common/_itowa.h: Include <_itoa.h>.
41705 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41706 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41707 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41708 only if not defined.
41709 (_ITOA_WORD_TYPE): Likewise.
41710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41711 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41713 2012-03-21 David S. Miller <davem@davemloft.net>
41715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41717 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41719 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41720 of x86_64 when setting libc_cv_slibdir, libdir and
41722 * sysdeps/unix/sysv/linux/configure: Regenerated.
41724 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41726 * manual/lang.texi (Old Varargs): Remove section.
41727 (How Variadic): Update menu.
41728 (va_start): Do not mention varargs.h.
41730 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41731 Joseph Myers <joseph@codesourcery.com>
41733 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41735 * configure: Regenerated.
41737 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41739 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41740 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41743 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41746 * Makefile (files-for-dist): Remove NOTES.
41747 (NOTES): Remove rule.
41748 * README: Don't refer to NOTES.
41749 * manual/creature.texi: Don't include macros.texi.
41750 * manual/intro.texi (creature.texi): Remove comment referring to
41753 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41754 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41755 * configure: Regenerated.
41756 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41757 LIBC_TRY_CC_OPTION.
41758 (libc_cv_as_i686): Likewise.
41759 (libc_cv_cc_avx): Likewise.
41760 (libc_cv_cc_sse2avx): Likewise.
41761 (libc_cv_cc_fma4): Likewise.
41762 (libc_cv_cc_novzeroupper): Likewise.
41763 * sysdeps/i386/configure: Regenerated.
41766 * sysdeps/i386/fpu/s_cexp.S: Remove.
41767 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41768 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41769 * math/libm-test.inc (cexp_test): Add more tests.
41770 * sysdeps/i386/fpu/libm-test-ulps: Update.
41771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41773 2012-03-21 Allan McRae <allan@archlinux.org>
41775 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41777 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41780 * math/w_exp2.c: Do not include <float.h>.
41781 (o_threshold, u_threshold): Remove.
41782 (__exp2): Calculate result before checking finiteness and calling
41784 * math/w_exp2f.c: Likewise.
41785 * math/w_exp2l.c: Likewise.
41786 * math/libm-test.inc (exp2_test): Require overflow exception for
41790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41791 range of signed 64-bit integers before using fistpll. Remove
41792 checks for whether integers fit in mantissa bits.
41793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41794 the range of signed 32-bit integers before using fistpl. Remove
41795 checks for whether integers fit in mantissa bits.
41796 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41797 (__ieee754_powl): Test for y outside the range of signed 64-bit
41798 integers before using fistpll. Reduce 64-bit values to 63-bit
41800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41801 divide-by-zero is raised for zero to large negative powers.
41802 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41803 (__ieee754_powl): Test for y outside the range of signed 64-bit
41804 integers before using fistpll. Reduce 64-bit values to 63-bit
41806 * math/libm-test.inc (pow_test): Add more tests.
41808 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41810 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41811 <stdio-common/_itoa.h>.
41812 * debug/segfault.c: Likewise.
41813 * elf/dl-cache.c: Likewise.
41814 * elf/dl-minimal.c: Likewise.
41815 * elf/dl-misc.c: Likewise.
41816 * elf/dl-sysdep.c: Likewise.
41817 * elf/dl-version.c: Likewise.
41818 * elf/rtld.c: Likewise.
41819 * hurd/hurdsock.c: Likewise.
41820 * hurd/lookup-retry.c: Likewise.
41821 * malloc/malloc.c: Likewise.
41822 * malloc/mtrace.c: Likewise.
41823 * nscd/nscd_getgr_r.c: Likewise.
41824 * nscd/nscd_getpw_r.c: Likewise.
41825 * nscd/nscd_getserv_r.c: Likewise.
41826 * posix/getopt_init.c: Likewise.
41827 * posix/wordexp.c: Likewise.
41828 * stdio-common/_itoa.c: Likewise.
41829 * stdio-common/printf_fphex.c: Likewise.
41830 * stdio-common/vfprintf.c: Likewise.
41831 * string/_strerror.c: Likewise.
41832 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41833 * sysdeps/i386/i686/hp-timing.h: Likewise.
41834 * sysdeps/mach/_strerror.c: Likewise.
41835 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41836 * sysdeps/mach/hurd/sethostid.c: Likewise.
41837 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41838 * sysdeps/mach/xpg-strerror.c: Likewise.
41839 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41841 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41842 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41843 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41844 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41846 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41847 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41848 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41849 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41850 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41851 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41853 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41855 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41856 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41857 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41858 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41859 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41861 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41863 * stdio-common/_itoa.h: Moved to ...
41864 * sysdeps/generic/_itoa.h: Here.
41866 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41868 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41869 instead of "_itoa.h" and "_itowa.h".
41870 * stdio-common/vfprintf.: Likewise.
41872 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41874 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41876 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41877 (__signbit): Likwise.
41878 (llrintf): Likwise.
41881 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41883 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41886 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41888 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41889 OVERFLOW_EXCEPTION_OK.
41890 * math/libm-test.inc ("Philosophy"): Update comment about
41892 (OVERFLOW_EXCEPTION): Define.
41893 (OVERFLOW_EXCEPTION_OK): Likewise.
41894 (INVALID_EXCEPTION_OK): Renumber.
41895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41896 (IGNORE_ZERO_INF_SIGN): Likewise.
41897 (test_exceptions): Handle FE_OVERFLOW.
41898 (exp10_test): Expect overflow exceptions.
41899 (exp2_test): Likewise.
41900 (expm1_test): Likewise.
41901 (nextafter_test): Likewise.
41902 (pow_test): Likewise.
41903 (scalbn_test): Likewise.
41904 (scalbln_test): Likewise.
41906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41908 * sysdeps/x86_64/bits/atomic.h
41909 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41911 (atomic_exchange_acq): Likewise.
41912 (__arch_exchange_and_add_body): Likewise.
41913 (__arch_add_body): Likewise.
41914 (atomic_add_negative): Likewise.
41915 (atomic_add_zero): Likewise.
41917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41919 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41920 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41924 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41925 Check __x86_64__ instead of __WORDSIZE.
41927 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41929 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41931 2012-03-19 David S. Miller <davem@davemloft.net>
41933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41935 * sysdeps/sparc/fpu/fenv_private.h: New file.
41936 * sysdeps/sparc/fpu/math_private.h: Use it.
41937 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41940 (libc_feholdexcept_setroundl): Remove.
41941 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41946 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41948 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41949 int64_t instead of long int.
41950 (INSERT_WORDS64): Likwise.
41952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41954 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41955 _Unwind_GetCFA return to _Unwind_Ptr first.
41957 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41960 * math/s_clog.c: Include <float.h>.
41961 (__clog): Scale large or subnormal inputs.
41962 * math/s_clogf.c: Likewise.
41963 * math/s_clogl.c: Likewise.
41964 * math/s_clog10.c: Include <float.h>.
41965 (M_LOG10_2): Define.
41966 (__clog10): Scale large or subnormal inputs.
41967 * math/s_clog10f.c: Likewise.
41968 * math/s_clog10l.c: Likewise.
41969 * math/libm-test.inc (clog_test): Add more tests.
41970 (clog10_test): Likewise.
41971 * sysdeps/i386/fpu/libm-test-ulps: Update.
41972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41977 * math/libm-test.inc (atan2_test): Add another test.
41979 * Makerules (common-objdir-compile): Remove.
41980 * sysdeps/unix/Makefile (config-generated): Do not add
41981 $(unix-generated) to variable.
41982 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41983 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41985 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41987 [generic bits/local_lim.h] (before-compile): Do not append to
41989 [generic bits/local_lim.h] (common-generated): Likewise.
41990 [generic sys/param.h] (before-compile): Do not append to variable.
41991 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41992 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41993 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41994 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41996 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41997 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41998 [generic sys/param.h] ($(addprefix
41999 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42000 [generic sys/param.h] (common-generated): Do not append to
42002 [generic sys/param.h] (sysdep_headers): Likewise.
42003 [generic bits/errno.h] (before-compile): Do not append to
42005 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42007 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42008 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42009 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42010 [generic bits/errno.h] (common-generated): Do not append to
42012 [generic bits/ioctls.h] (before-compile): Do not append to
42014 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42016 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42017 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42018 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42021 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42022 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42023 [generic bits/ioctls.h] (common-generated): Do not append to
42025 [generic sys/syscall.h] (syscall.h): Remove variable.
42026 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42028 [generic sys/syscall.h] (before-compile): Do not append to
42030 [generic sys/syscall.h] (common-generated): Likewise.
42031 * sysdeps/unix/errnos-tmpl.c: Remove file.
42032 * sysdeps/unix/errnos.awk: Likewise.
42033 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42034 * sysdeps/unix/ioctls.awk: Likewise.
42035 * sysdeps/unix/mk-local_lim.c: Likewise.
42036 * sysdeps/unix/snarf-ioctls: Likewise.
42038 2012-03-19 Richard Henderson <rth@twiddle.net>
42040 * sysdeps/i386/fpu/fenv_private.h: New file.
42041 * sysdeps/i386/fpu/math_private.h: Use it.
42042 (math_opt_barrier, math_force_eval): Remove.
42043 (libc_feholdexcept_setround_53bit): Remove.
42044 (libc_feupdateenv_53bit): Remove.
42045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42046 (math_opt_barrier, math_force_eval): Remove.
42047 (libc_feholdexcept): Remove.
42048 (libc_feholdexcept_setround): Remove.
42049 (libc_fetestexcept, libc_fesetenv): Remove.
42050 (libc_feupdateenv_test): Remove.
42051 (libc_feupdateenv, libc_feholdsetround): Remove.
42052 (libc_feresetround): Remove.
42054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42055 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42057 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42058 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42059 (libc_feupdateenv_testl): New.
42060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42061 (libc_feupdateenv_testf): New.
42062 (libc_feupdateenv): Use libc_feupdateenv_test.
42063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42066 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42067 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42068 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42069 (libc_feresetround_noex): New.
42070 (libc_feresetround_noexf): New.
42071 (libc_feresetround_noexl): New.
42072 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42073 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42074 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42080 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42082 SET_RESTORE_ROUND_NOEX.
42083 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42084 SET_RESTORE_ROUND_NOEXF.
42085 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42086 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42087 (libc_feholdsetroundf): New.
42088 (libc_feresetround, libc_feresetroundf): New.
42090 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42091 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42092 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42094 * sysdeps/generic/math_private.h: Include <fenv.h>.
42095 (default_libc_feholdexcept): New.
42096 (default_libc_feholdexcept_setround): New.
42097 (default_libc_fesetenv, default_libc_feupdateenv): New.
42098 (libc_feholdexcept): Only define if undefined.
42099 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42100 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42101 (libc_feholdexcept_setroundl): Likewise.
42102 (libc_feholdexcept_setround_53bit): Likewise.
42103 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42104 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42105 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42106 (libc_feupdateenv_53bit): Likewise.
42107 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42108 (libc_feholdexcept): Convert from macro to inline function.
42109 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42110 (libc_fesetenv, libc_feupdateenv): Likewise.
42112 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42113 not previously defined.
42114 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42115 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42116 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42118 * sysdeps/ieee754/flt-32/math_private.h: New file.
42119 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42120 math_private.h below SET_FLOAT_WORD.
42121 (__isnan, __isinf_ns, __finite): Remove.
42122 (__isnanf, __isinf_nsf, __finitef): Remove.
42124 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42128 2012-03-17 David S. Miller <davem@davemloft.net>
42131 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42134 2012-03-16 David S. Miller <davem@davemloft.net>
42136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42142 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42143 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42144 sysdep_routines when subdir is sysvipc.
42145 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42146 __getshmlba helper.
42148 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42152 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42158 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42159 (__lround): Renamed to ...
42160 (__llround): This. Replace long int with long long int.
42161 Define lround functions as aliases of llround functions.
42162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42164 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42166 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42167 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42168 adresses to uintptr_t. Replace "long int" and "unsigned long
42169 int" with "greg_t" on va_arg.
42171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42173 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42174 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42176 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42177 Move e_machine check before EI_CLASS check. Handle x32
42178 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42179 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42180 SKIP_EM_IA_64 and include
42181 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42183 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42184 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42185 (add_system_dir): New macro.
42187 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42188 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42190 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42201 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42203 * math/w_j0f.c (j0f): Likewise.
42205 * math/w_j0l.c (__j0l): Likewise.
42207 * math/w_j1.c (j1): Likewise.
42209 * math/w_j1f.c (j1f): Likewise.
42211 * math/w_j1l.c (__j1l): Likewise.
42213 * math/w_jn.c (jn): Likewise.
42215 * math/w_jnf.c (jnf): Likewise.
42217 * math/w_jnl.c (__jnl): Likewise.
42219 * math/libm-test.inc (j0_test): Add more tests.
42220 (j1_test): Likewise.
42221 (jn_test): Likewise. Add trailing semicolon to existing test.
42222 (y0_test): Likewise.
42223 (y1_test): Likewise.
42224 * sysdeps/i386/fpu/libm-test-ulps: Update.
42225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42230 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42231 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42233 (__tanl): Set errno for infinite argument.
42234 * sysdeps/i386/fpu/mptan.c: Remove.
42235 * sysdeps/i386/fpu/s_tan.S: Likewise.
42236 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42237 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42238 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42239 * math/libm-test.inc (tan_test): Add more tests and enable more
42240 tests for double and long double.
42241 * sysdeps/i386/fpu/libm-test-ulps: Update.
42242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42244 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42246 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42247 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42249 2012-03-16 Roland McGrath <roland@hack.frob.com>
42251 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42252 * configure.in: Use it for both main tree and add-ons.
42253 * configure: Regenerated.
42255 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42257 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42259 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42265 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42266 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42271 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42273 != 0 for prec == 2.
42274 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42275 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42276 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42277 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42278 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42279 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42280 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42281 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42282 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42283 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42284 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42285 * math/libm-test.inc (cos_test): Add more tests and enable more
42286 tests for long double.
42287 (sin_test): Likewise.
42288 (sincos_test): Likewise.
42289 * sysdeps/i386/fpu/libm-test-ulps: Update.
42290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42292 2012-03-16 David S. Miller <davem@davemloft.net>
42294 * sysdeps/sparc/fpu/math_private.h: New file.
42296 2012-03-15 David S. Miller <davem@davemloft.net>
42298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42312 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42313 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42315 * sysdeps/sparc/sparc-ifunc.h: New file.
42316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42361 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42363 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42367 2012-03-15 Andreas Jaeger <aj@suse.de>
42370 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42371 ieee754/flt-32 implementation for sin, cos and sincos.
42372 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42373 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42374 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42375 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42376 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42377 ieee754/flt-32 implementation for tan.
42379 * math/libm-test.inc (cos_test): Enable some large input tests for
42381 (sin_test): Likewise.
42382 (sincos_test): Likewise.
42383 (tan_test): Add tests for large input.
42385 * sysdeps/i386/fpu/libm-test-ulps: Update.
42387 2012-03-15 Andreas Jaeger <aj@suse.de>
42390 * math/libm-test.inc (cos_test): Add more test cases.
42391 (sin_test): Likewise.
42392 (sincos_test): Likewise.
42394 2012-03-15 Andreas Jaeger <aj@suse.de>
42397 * math/libm-test.inc (cos_test): Add a test case for large input
42399 (sin_test): Likewise.
42400 (sincos_test): Likewise.
42402 2012-03-15 Andreas Jaeger <aj@suse.de>
42403 Joseph Myers <joseph@codesourcery.com>
42406 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42407 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42408 * sysdeps/i386/fpu/branred.c: Likewise.
42409 * sysdeps/i386/fpu/dosincos.c: Likewise.
42410 * sysdeps/i386/fpu/mpa.c: Likewise.
42411 * sysdeps/i386/fpu/s_cos.S: Likewise.
42412 * sysdeps/i386/fpu/s_sin.S: Likewise.
42413 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42414 * sysdeps/i386/fpu/sincos32.c: Likewise.
42416 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42418 (libc_feupdateenv_53bit): Define.
42419 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42421 (libc_feupdateenv_53bit): Define.
42423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42424 53 bit (without extend i386 double precision).
42426 * math/libm-test.inc (sincos_test): Add tests for large input.
42430 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42432 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42436 2012-03-15 David S. Miller <davem@davemloft.net>
42438 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42439 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42440 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42441 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42466 fmin/fmax sysdep routines.
42467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42469 2012-03-14 David S. Miller <davem@davemloft.net>
42471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42543 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42548 * sysdeps/sparc/configure.in: New file.
42549 * sysdeps/sparc/configure: Generate.
42550 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42551 * configure: Regenerate.
42552 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42553 * config.make.in (have-as-vis3): New.
42554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42555 available use -Av9d instead of -Av9a.
42556 * sysdeps/sparc/sparc64/Makefile: Likewise.
42557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42572 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42573 fzeros/fnegs to load 0x80000000 into a float register instead of
42575 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42577 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42581 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42582 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42583 ($(inst_includedir)/bits/syscall.h): Remove rule.
42584 ($(objpfx)bits/syscall.d): Include instead of
42585 $(objpfx)syscall-list.d.
42586 (generated): Change syscall-list.h and syscall-list.d to
42587 bits/syscall.h and bits/syscall.d.
42589 2012-03-14 Roland McGrath <roland@hack.frob.com>
42592 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42594 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42597 * math/s_csqrt.c: Include <float.h>.
42598 (__csqrt): Scale large or subnormal inputs.
42599 * math/s_csqrtf.c: Likewise.
42600 * math/s_csqrtl.c: Likewise.
42601 * math/libm-test.inc (csqrt_test): Add more tests.
42602 * sysdeps/i386/fpu/libm-test-ulps: Update.
42603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42606 * math/libm-test.inc (hypot_test): Add more tests.
42608 2012-03-13 David S. Miller <davem@davemloft.net>
42611 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42612 double-precision for the calculation instead of scaling.
42614 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42617 manipulate bits before adding and subtracting TWO52[sx].
42618 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42623 2012-03-13 David S. Miller <davem@davemloft.net>
42625 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42626 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42628 rtld-global-offsets.h
42629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42631 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42634 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42636 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42637 'err' in the ifdef scope in which it is actually used.
42639 * nss/nss_db/db-init.c: Include string.h
42641 2012-03-12 David S. Miller <davem@davemloft.net>
42643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42644 masking out of the most significant byte of random value used.
42645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42646 Fix coding style in previous change.
42648 * sysdeps/unix/sysv/linux/kernel-features.h
42649 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42650 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42652 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42655 2012-03-11 David S. Miller <davem@davemloft.net>
42657 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42658 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42660 for 'resultvar' otherwise things get truncated on 64-bit.
42662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42663 Fix masking out of the most significant byte of random value used.
42665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42667 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42671 2012-03-09 David S. Miller <davem@davemloft.net>
42673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42674 variables with appropriate CPP guards.
42675 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42676 from the frame pointer, not the stack pointer. Correct layout
42677 comments. Fix test on resulting framesize and the management of
42678 the outregs buffer for pltexit. Preserve floating point return
42679 values across _dl_call_pltexit call.
42680 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42681 framesize and the management of the outregs buffer for pltexit.
42682 Preserve floating point return values across _dl_call_pltexit
42684 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42685 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42686 (la_sparc64_gnu_pltexit): New functions.
42687 (print_exit): Fix format string for return register value.
42689 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42691 * sunrpc/Makefile (others): Add rpcgen.
42692 ($(objpfx)rpcgen): Remove special build rule and dependency on
42694 * sunrpc/rpcgen.c: New file.
42696 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42701 * sysdeps/i386/crti.S: Likewise.
42702 * sysdeps/i386/crtn.S: Likewise.
42703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42707 * sysdeps/sh/crti.S: Likewise.
42708 * sysdeps/sh/crtn.S: Likewise.
42709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42714 * locale/programs/locfile-kw.gperf: Likewise.
42715 * locale/programs/charmap-kw.h: Regenerated.
42716 * locale/programs/locfile-kw.h: Likewise.
42719 * intl/plural.y: Replace FSF snail mail address with URL.
42720 * intl/plural.c: Regenerated.
42722 2012-03-09 Richard Henderson <rth@twiddle.net>
42724 * include/math_private.h: Remove file.
42725 * math/math_private.h: Move file ...
42726 * sysdeps/generic/math_private.h: ... here.
42728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42733 and <math_private.h>.
42734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42883 * sysdeps/ieee754/k_standard.c: Likewise.
42884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43044 * sysdeps/ieee754/s_lib_version.c: Likewise.
43045 * sysdeps/ieee754/s_matherr.c: Likewise.
43046 * sysdeps/ieee754/s_signgam.c: Likewise.
43047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43072 * sunrpc/rpc_main.c: Likewise.
43073 * sunrpc/rpc_svcout.c: Likewise.
43075 2012-03-09 David S. Miller <davem@davemloft.net>
43077 * include/math_private.h: New file.
43079 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43084 from <bits/socket_type.h>.
43085 (enum __socket_type): Don't define here.
43086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43088 bits/socket_type.h.
43091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43092 checking __USE_GNU.
43094 * Makerules ($(inst_includedir)/%.h): New rule.
43095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43096 (install-others): Remove variable setting.
43097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43099 2012-03-08 Richard Henderson <rth@twiddle.net>
43101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43102 from macro to inline function; merge with the
43103 !__LIBC_INTERNAL_MATH_INLINES version.
43104 (__ieee754_sqrtf): Likewise.
43106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43107 to inline function.
43108 (__rintf, __floor, __floorf): Likewise.
43110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43111 macro to inline function.
43112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43115 not <math/math_private.h>.
43117 2012-03-08 David S. Miller <davem@davemloft.net>
43119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43123 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43130 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43133 be defined individually, they must be defined as a block. Define
43134 S for printing a string instead of hidint the different by using a
43135 macro for adding the 'l'.
43136 * stdio-common/tst-fphex-wide.c: Adjust.
43138 2012-03-07 Marek Polacek <polacek@redhat.com>
43140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43142 2012-03-08 Marek Polacek <polacek@redhat.com>
43145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43146 * stdio-common/tst-fphex.c: Define a few macros to make the
43147 test reusable. Use them.
43148 * stdio-common/tst-fphex-wide.c: New file.
43150 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43153 * manual/macros.texi (gnusystems): New macro.
43154 (nongnusystems): Likewise.
43155 (gnulinuxhurdsystems): Likewise.
43156 (gnuhurdsystems): Likewise..
43157 (gnulinuxsystems): Likewise.
43158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43159 variants of the GNU system, not "GNU system".
43160 * manual/conf.texi: Likewise.
43161 * manual/errno.texi: Likewise. Update example of errno macro
43163 * manual/filesys.texi: Likewise.
43164 (getumask): Document as specific to GNU/Hurd.
43165 * manual/install.texi: Likewise. Reword some references to
43167 * manual/intro.texi: Likewise.
43168 * manual/io.texi: Likewise.
43169 (File Name Portability): Detail which constraints are inapplicable
43170 to all GNU systems and which are only inapplicable to GNU/Hurd.
43171 * manual/job.texi: Likewise.
43172 * manual/llio.texi: Likewise.
43173 (O_NOCTTY): Document as present on GNU/Linux.
43174 * manual/maint.texi: Likewise.
43175 * manual/memory.texi: Likewise.
43176 * manual/pattern.texi: Likewise.
43177 * manual/pipe.texi: Likewise.
43178 * manual/process.texi: Likewise.
43179 * manual/resource.texi: Likewise.
43180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43182 * manual/setjmp.texi: Likewise.
43183 * manual/signal.texi: Likewise.
43184 * manual/startup.texi: Likewise.
43185 * manual/stdio.texi: Likewise.
43186 * manual/terminal.texi: Likewise.
43187 (ONLCR): Document as POSIX.
43188 (OXTABS): Document availability on GNU/Linux as XTABS.
43189 (ONOEOT): Document availability separately from other bits.
43190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43191 * manual/time.texi: Likewise.
43192 * manual/users.texi: Likewise.
43193 * INSTALL: Regenerated.
43194 * sysdeps/gnu/errlist.c: Regenerated.
43196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43200 * configure: Regenerated.
43202 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43205 default includes instead of AC_HEADER_CHECK.
43206 * sysdeps/i386/configure: Regenerated.
43209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43210 * math/s_cacoshf.c (__cacoshf): Likewise.
43211 * math/s_cacoshl.c (__cacoshl): Likewise.
43212 * math/s_casinh.c (__casinh): Set signs of result from argument.
43213 * math/s_casinhf.c (__casinhf): Likewise.
43214 * math/s_casinhl.c (__casinhl): Likewise.
43215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43216 (casinh_test): Add more tests.
43217 * sysdeps/i386/fpu/libm-test-ulps: Update.
43218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43222 * po/zh_TW.po: Update from translation team.
43224 * login/Makefile (distribute): Remove variable.
43225 * catgets/Makefile: Likewise.
43226 * mach/Makefile: Likewise.
43227 * malloc/Makefile: Likewise.
43228 * misc/Makefile: Likewise.
43229 * iconv/Makefile: Likewise.
43230 * nscd/Makefile: Likewise.
43231 * hurd/Makefile: Likewise.
43232 * manual/Makefile: Likewise.
43233 * locale/Makefile: Likewise.
43234 * intl/Makefile: Likewise.
43235 * conform/Makefile: Likewise.
43236 * nss/Makefile: Likewise.
43237 * time/Makefile: Likewise.
43238 * soft-fp/Makefile: Likewise.
43239 * dirent/Makefile: Likewise.
43240 * gmon/Makefile: Likewise.
43241 * po/Makefile: Likewise.
43242 * rt/Makefile: Likewise.
43243 * socket/Makefile: Likewise.
43244 * math/Makefile: Likewise.
43245 * signal/Makefile: Likewise.
43246 * debug/Makefile: Likewise.
43247 * elf/Makefile: Likewise.
43248 * timezone/Makefile: Likewise.
43249 * stdlib/Makefile: Likewise.
43250 * iconvdata/Makefile: Likewise.
43251 * sunrpc/Makefile: Likewise.
43252 * io/Makefile: Likewise.
43253 * argp/Makefile: Likewise.
43254 * inet/Makefile: Likewise.
43255 * hesiod/Makefile: Likewise.
43256 * grp/Makefile: Likewise.
43257 * csu/Makefile: Likewise.
43258 * wctype/Makefile: Likewise.
43259 * crypt/Makefile: Likewise.
43260 * libio/Makefile: Likewise.
43261 * string/Makefile: Likewise.
43262 * nis/Makefile: Likewise.
43263 * resolv/Makefile: Likewise.
43264 * stdio-common/Makefile: Likewise.
43265 * wcsmbs/Makefile: Likewise.
43266 * dlfcn/Makefile: Likewise.
43267 * posix/Makefile: Likewise.
43270 * timezone/Makefile: Don't install timezone files, just the programs
43273 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43275 * nss/databases.def: Add missing gshadow entry.
43277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43279 2012-03-06 Marek Polacek <polacek@redhat.com>
43282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43285 * stdio-common/tst-long-dbl-fphex.c: New file.
43287 2012-03-06 David S. Miller <davem@davemloft.net>
43289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43290 (set_obp_int): New function.
43291 (get_obp_int): New function.
43292 (__get_clockfreq_via_dev_openprom): Likewise.
43293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43294 Avoid unused variable warnings on 'val' and use builtin_expect.
43295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43297 (INLINE_CLONE_SYSCALL): Likewise.
43299 2012-03-05 David S. Miller <davem@davemloft.net>
43301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43303 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43308 only for |x| >= 40.
43309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43311 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43314 Replace gettimeofday with __vdso_gettimeofday.
43316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43318 __vdso_clock_gettime and __vdso_getcpu.
43320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43321 time with __vdso_time.
43323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43325 * manual/lang.texi (size_t): Note types to which size_t may be
43326 equivalent with the GNU C Library, but do not describe when
43327 differences between them are significant.
43329 2012-03-05 Andreas Jaeger <aj@suse.de>
43331 * sysdeps/i386/fpu/libm-test-ulps: Update.
43333 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43337 (__ieee754_pow): Save and restore rounding mode and use
43338 round-to-nearest for main computations.
43339 * math/libm-test.inc (pow_test_tonearest): New function.
43340 (pow_test_towardzero): Likewise.
43341 (pow_test_downward): Likewise.
43342 (pow_test_upward): Likewise.
43343 (main): Call the new functions.
43344 * sysdeps/i386/fpu/libm-test-ulps: Update.
43345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43348 * math/libm-test.inc (cosh_test_tonearest): New function.
43349 (cosh_test_towardzero): Likewise.
43350 (cosh_test_downward): Likewise.
43351 (cosh_test_upward): Likewise.
43352 (sinh_test_tonearest): Likewise.
43353 (sinh_test_towardzero): Likewise.
43354 (sinh_test_downward): Likewise.
43355 (sinh_test_upward): Likewise.
43356 (main): Call the new functions.
43357 * sysdeps/i386/fpu/libm-test-ulps: Update.
43358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43360 2012-03-05 Tom de Vries <tom@codesourcery.com>
43362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43363 default stack guard is set in last bytes.
43364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43366 2012-03-05 Kees Cook <keescook@chromium.org>
43368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43372 possibly allocate from heap instead of stack.
43373 * stdio-common/bug-vfprintf-nargs.c: New file.
43374 * stdio-common/Makefile (tests): Add nargs overflow test.
43376 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43380 2012-03-03 Marek Polacek <polacek@redhat.com>
43382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43383 * math/math_private.h: Likewise.
43384 * stdlib/tst-strtod.c: Likewise.
43385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43386 * sysdeps/x86_64/bits/atomic.h: Likewise.
43388 2012-03-02 David S. Miller <davem@davemloft.net>
43390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43399 2012-03-02 Roland McGrath <roland@hack.frob.com>
43402 * manual/examples/README: New file, says the example source files
43403 can be used under GPL>=2.
43404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43405 line containing just "*/".
43406 * manual/examples/add.c: Add copyright header (GPL>=2).
43407 * manual/examples/argp-ex1.c: Likewise.
43408 * manual/examples/argp-ex2.c: Likewise.
43409 * manual/examples/argp-ex3.c: Likewise.
43410 * manual/examples/argp-ex4.c: Likewise.
43411 * manual/examples/atexit.c: Likewise.
43412 * manual/examples/db.c: Likewise.
43413 * manual/examples/dir.c: Likewise.
43414 * manual/examples/dir2.c: Likewise.
43415 * manual/examples/execinfo.c: Likewise.
43416 * manual/examples/filecli.c: Likewise.
43417 * manual/examples/filesrv.c: Likewise.
43418 * manual/examples/fmtmsgexpl.c: Likewise.
43419 * manual/examples/genpass.c: Likewise.
43420 * manual/examples/inetcli.c: Likewise.
43421 * manual/examples/inetsrv.c: Likewise.
43422 * manual/examples/isockad.c: Likewise.
43423 * manual/examples/longopt.c: Likewise.
43424 * manual/examples/memopen.c: Likewise.
43425 * manual/examples/memstrm.c: Likewise.
43426 * manual/examples/mkfsock.c: Likewise.
43427 * manual/examples/mkisock.c: Likewise.
43428 * manual/examples/mygetpass.c: Likewise.
43429 * manual/examples/pipe.c: Likewise.
43430 * manual/examples/popen.c: Likewise.
43431 * manual/examples/rprintf.c: Likewise.
43432 * manual/examples/search.c: Likewise.
43433 * manual/examples/select.c: Likewise.
43434 * manual/examples/setjmp.c: Likewise.
43435 * manual/examples/sigh1.c: Likewise.
43436 * manual/examples/sigusr.c: Likewise.
43437 * manual/examples/stpcpy.c: Likewise.
43438 * manual/examples/strdupa.c: Likewise.
43439 * manual/examples/strftim.c: Likewise.
43440 * manual/examples/strncat.c: Likewise.
43441 * manual/examples/subopt.c: Likewise.
43442 * manual/examples/swapcontext.c: Likewise.
43443 * manual/examples/termios.c: Likewise.
43444 * manual/examples/testopt.c: Likewise.
43445 * manual/examples/testpass.c: Likewise.
43446 * manual/examples/timeval_subtract.c: Likewise.
43449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43451 * manual/timeval_subtract.c.texi: ... here, new file.
43453 2012-03-02 David S. Miller <davem@davemloft.net>
43455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43457 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43461 (__sin): Save and restore rounding mode and use round-to-nearest
43462 for all computations.
43463 (__cos): Save and restore rounding mode and use round-to-nearest
43464 for all computations.
43465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43467 (tan): Save and restore rounding mode and use round-to-nearest for
43469 * math/libm-test.inc (cos_test_tonearest): New function.
43470 (cos_test_towardzero): Likewise.
43471 (cos_test_downward): Likewise.
43472 (cos_test_upward): Likewise.
43473 (sin_test_tonearest): Likewise.
43474 (sin_test_towardzero): Likewise.
43475 (sin_test_downward): Likewise.
43476 (sin_test_upward): Likewise.
43477 (tan_test_tonearest): Likewise.
43478 (tan_test_towardzero): Likewise.
43479 (tan_test_downward): Likewise.
43480 (tan_test_upward): Likewise.
43481 (main): Call the new functions.
43482 * sysdeps/i386/fpu/libm-test-ulps: Update.
43483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43487 small n, then large n, before computing and testing k+n.
43488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43501 * math/libm-test.inc (scalbn_test): Add more tests.
43502 (scalbln_test): Likewise.
43504 * manual/filesys.texi (mode_t): Describe constraints on size and
43505 signedness, not exact equivalence to a particular type.
43507 (ino64_t): Likewise.
43509 (nlink_t): Likewise.
43510 (blkcnt_t): Likewise.
43511 (blkcnt64_t): Likewise.
43512 * manual/llio.texi (off_t): Likewise.
43515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43516 (__ieee754_exp): Save and restore rounding mode and use
43517 round-to-nearest for all computations.
43518 * math/libm-test.inc (exp_test_tonearest): New function.
43519 (exp_test_towardzero): Likewise.
43520 (exp_test_downward): Likewise.
43521 (exp_test_upward): Likewise.
43522 (main): Call the new functions.
43523 * sysdeps/i386/fpu/libm-test-ulps: Update.
43524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43526 2012-03-01 Chris Demetriou <cgd@google.com>
43528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43529 have predictable order.
43531 2012-03-01 David S. Miller <davem@davemloft.net>
43533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43574 * sysdeps/sparc/elf/configure: Regenerated.
43576 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43578 * configure.in (AS, LD): Require binutils 2.20 or later.
43579 * configure: Regenerated.
43580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43581 as required minimum version.
43582 * INSTALL: Regenerated.
43586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43587 before squaring exponent.
43588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43589 bottom long double and 27 bits of top long double before squaring
43591 * math/libm-test.inc (erfc_test): Add more tests.
43592 * sysdeps/i386/fpu/libm-test-ulps: Update.
43593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43596 2012-03-01 Kai Tietz <ktietz@redhat.com>
43598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43600 containing bit-fields.
43601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43602 * soft-fp/single.h (_FP_UNION_S): Likewise.
43603 * soft-fp/double.h (_FP_UNION_D): Likewise.
43605 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43609 not include ../strcmp.S.
43610 [USE_AS_STRNCASECMP_L]: Likewise.
43611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43614 (__strncasecmp_l_ia32): Define as alias to
43615 __strncasecmp_l_nonascii.
43618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43619 * sysdeps/i386/fpu/libm-test-ulps: Update.
43620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43625 2012-02-29 Jeff Law <law@redhat.com>
43627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43628 out of bounds read.
43630 2012-02-29 Marek Polacek <polacek@redhat.com>
43633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43634 * elf/Makefile: Add rules to run tst-unused-dep.out.
43636 2012-02-28 David S. Miller <davem@davemloft.net>
43638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43645 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43647 * math/libm-test.inc (llround_test): Move one test from
43648 lround_test. Use TEST_f_L in moved test.
43649 (lround_test): Move misplaced test to llround_test. Add testcase
43652 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43654 * sysdeps/x86_64/fpu/e_expf.S: New file.
43655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43657 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43661 of remain_len that may cause incomplete multi-byte character and
43663 * posix/bug-regex33.c: New file.
43664 * posix/Makefile (tests): Add bug-regex33.
43666 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43668 * manual/macros.texi: New file.
43669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43670 * manual/libc.texinfo: Include macros.texi.
43671 * manual/creatute.texi: Likewise.
43672 * manual/install.texi: Likewise.
43673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43674 @glibcadj{} in references to the GNU C Library.
43675 * manual/charset.texi: Likewise.
43676 * manual/conf.texi: Likewise.
43677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43678 when not using those macros.
43679 * manual/creature.texi: Likewise.
43680 * manual/crypt.texi: Likewise.
43681 * manual/errno.texi: Likewise.
43682 * manual/filesys.texi: Likewise.
43683 * manual/header.texi: Likewise.
43684 * manual/install.texi: Likewise.
43685 * manual/intro.texi: Likewise.
43686 * manual/io.texi: Likewise.
43687 * manual/job.texi: Likewise.
43688 * manual/lang.texi: Likewise.
43689 * manual/libc.texiinfo: Likewise.
43690 * manual/llio.texi: Likewise.
43691 * manual/locale.texi: Likewise.
43692 * manual/maint.texi: Likewise.
43693 * manual/math.texi: Likewise.
43694 * manual/memory.texi: Likewise.
43695 * manual/message.texi: Likewise.
43696 * manual/nss.texi: Likewise.
43697 * manual/pattern.texi: Likewise.
43698 * manual/process.texi: Likewise.
43699 * manual/resource.texi: Likewise.
43700 * manual/search.texi: Likewise.
43701 * manual/setjmp.texi: Likewise.
43702 * manual/signal.texi: Likewise.
43703 * manual/socket.texi: Likewise.
43704 * manual/startup.texi: Likewise.
43705 * manual/stdio.texi: Likewise.
43706 * manual/string.texi: Likewise.
43707 * manual/sysinfo.texi: Likewise.
43708 * manual/syslog.texi: Likewise.
43709 * manual/terminal.texi: Likewise.
43710 * manual/time.texi: Likewise.
43711 * manual/users.texi: Likewise.
43712 * INSTALL: Regenerated.
43713 * NOTES: Regenerated.
43714 * sysdeps/gnu/errlist.c: Regenerated.
43716 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43718 * include/dirent.h: Include <dirstream.h> before
43721 2012-02-28 David S. Miller <davem@davemloft.net>
43723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43728 2012-02-27 David S. Miller <davem@davemloft.net>
43730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43736 frame pointer instead of stack pointer relative arg slot.
43737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43741 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43746 2012-02-27 David S. Miller <davem@davemloft.net>
43748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43757 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43760 later. Allow versions 5-9.
43761 * configure: Regenerated.
43762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43763 required minimum version and 4.6 as recommended version. Do not
43764 mention bugs in GCC 2.7 and 2.8.
43765 * INSTALL: Regenerated.
43767 2012-02-27 David S. Miller <davem@davemloft.net>
43769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43779 manipulate bits before adding and subtracting TWO112[sx].
43780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43782 2012-02-27 Roland McGrath <roland@hack.frob.com>
43785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43788 being in POSIX, because they are in 1003.1-2008.
43790 * rt/tst-aio.c: Include <fcntl.h>.
43791 * rt/tst-aio7.c: Likewise.
43792 * rt/tst-aio64.c: Likewise.
43794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43796 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43798 * manual/install.texi (--with-headers): Describe headers as
43799 interface headers, not private headers.
43800 (Specific advice for GNU/Linux systems): Describe use of headers
43801 from "make headers_install", not private headers from older
43803 * INSTALL: Regenerated.
43804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43806 * sysdeps/unix/sysv/linux/configure: Regenerated.
43808 * manual/llio.texi (fclean): Remove documentation.
43810 * manual/Makefile (libc-texi-generated): New variable. Include
43812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43813 $(libc-texi-generated), not duplicated list of files.
43814 (version.texi, stamp-version): New rules.
43815 (realclean): Remove $(libc-texi-generated), not individual files
43816 from that list. Do not remove dir-add.texinfo.
43817 * manual/libc.texinfo: Comment out uses of edition numbers and
43818 references to printed manual. Remove last-updated dates.
43819 (EDITION): Comment out.
43821 (VERSION, UPDATED): Remove.
43822 (version.texi): Include.
43824 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43826 * sysdeps/posix/spawni.c: Include <signal.h>.
43827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43828 * sysdeps/pthread/aio_fsync.c: Likewise.
43830 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43832 * conform/Makefile (tests): Run only when not cross-compiling and
43833 when fast-check is not defined.
43835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43836 * conform/data/limits.h-data: Fixes for POSIX2008.
43837 * conform/run-conformtest.sh: Run all tests.
43838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43840 * include/bits/dlfcn.h: Likewise.
43841 * include/langinfo.h: Likewise.
43842 * include/monetary.h: Likewise.
43843 * include/sys/poll.h: Likewise.
43845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43847 * posix/spawn.h: Define __need_sigset_t.
43848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43851 to get sigevent_t only.
43852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43853 only for __USE_GNU.
43854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43856 process_vm_writev only for __USE_GNU.
43857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43859 * conform/Makefile: For now ignore errors from run-conformtest.
43860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43861 POSIX to avoid namespace pollution. Don't prepend headers.
43862 * conform/data/aio.h-data: Fixes for POSIX testing.
43863 * conform/data/fcntl.h-data: Likewise.
43864 * conform/data/glob.h-data: Likewise.
43865 * conform/data/grp.h-data: Likewise.
43866 * conform/data/pthread.h-data: Likewise.
43867 * conform/data/pwd.h-data: Likewise.
43868 * conform/data/signal.h-data: Likewise.
43869 * conform/data/spawn.h-data: Likewise.
43870 * conform/data/stdio.h-data: Likewise.
43871 * conform/data/stdlib.h-data: Likewise.
43872 * conform/data/stropts.h-data: Likewise.
43873 * conform/data/sys/mman.h-data: Likewise.
43874 * conform/data/sys/stat.h-data: Likewise.
43875 * conform/data/sys/types.h-data: Likewise.
43876 * conform/data/sys/wait.h-data: Likewise.
43877 * conform/data/time.h-data: Likewise.
43878 * conform/data/unistd.h-data: Likewise.
43879 * conform/data/utime.h-data: Likewise.
43881 * io/sys/stat.h: fchmod was always in POSIX.
43882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43884 * rt/aio.h: Define __need_timespec before including <time.h>.
43885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43886 struct. Add forward declaration of pthread_attr_t and use it in
43888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43891 always remove CLK_TCK definition.
43893 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43897 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43899 * conform/run-conformtest.sh: New file.
43900 * conform/Makefile: Run run-conformtest for tests.
43901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43904 * conform/data/uchar.h-data: New file.
43905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43906 * conform/data/arpa/inet.h-data: Likewise.
43907 * conform/data/assert.h-data: Likewise.
43908 * conform/data/complex.h-data: Likewise.
43909 * conform/data/cpio.h-data: Likewise.
43910 * conform/data/ctype.h-data: Likewise.
43911 * conform/data/dirent.h-data: Likewise.
43912 * conform/data/dlfcn.h-data: Likewise.
43913 * conform/data/errno.h-data: Likewise.
43914 * conform/data/fcntl.h-data: Likewise.
43915 * conform/data/float.h-data: Likewise.
43916 * conform/data/fmtmsg.h-data: Likewise.
43917 * conform/data/fnmatch.h-data: Likewise.
43918 * conform/data/ftw.h-data: Likewise.
43919 * conform/data/glob.h-data: Likewise.
43920 * conform/data/grp.h-data: Likewise.
43921 * conform/data/iconv.h-data: Likewise.
43922 * conform/data/inttypes.h-data: Likewise.
43923 * conform/data/langinfo.h-data: Likewise.
43924 * conform/data/libgen.h-data: Likewise.
43925 * conform/data/limits.h-data: Likewise.
43926 * conform/data/locale.h-data: Likewise.
43927 * conform/data/math.h-data: Likewise.
43928 * conform/data/monetary.h-data: Likewise.
43929 * conform/data/mqueue.h-data: Likewise.
43930 * conform/data/ndbm.h-data: Likewise.
43931 * conform/data/net/if.h-data: Likewise.
43932 * conform/data/netdb.h-data: Likewise.
43933 * conform/data/netinet/in.h-data: Likewise.
43934 * conform/data/nl_types.h-data: Likewise.
43935 * conform/data/poll.h-data: Likewise.
43936 * conform/data/pthread.h-data: Likewise.
43937 * conform/data/pwd.h-data: Likewise.
43938 * conform/data/regex.h-data: Likewise.
43939 * conform/data/sched.h-data: Likewise.
43940 * conform/data/search.h-data: Likewise.
43941 * conform/data/semaphore.h-data: Likewise.
43942 * conform/data/setjmp.h-data: Likewise.
43943 * conform/data/signal.h-data: Likewise.
43944 * conform/data/spawn.h-data: Likewise.
43945 * conform/data/stdarg.h-data: Likewise.
43946 * conform/data/stdio.h-data: Likewise.
43947 * conform/data/stdlib.h-data: Likewise.
43948 * conform/data/string.h-data: Likewise.
43949 * conform/data/strings.h-data: Likewise.
43950 * conform/data/stropts.h-data: Likewise.
43951 * conform/data/sys/ipc.h-data: Likewise.
43952 * conform/data/sys/mman.h-data: Likewise.
43953 * conform/data/sys/msg.h-data: Likewise.
43954 * conform/data/sys/resource.h-data: Likewise.
43955 * conform/data/sys/select.h-data: Likewise.
43956 * conform/data/sys/sem.h-data: Likewise.
43957 * conform/data/sys/shm.h-data: Likewise.
43958 * conform/data/sys/socket.h-data: Likewise.
43959 * conform/data/sys/stat.h-data: Likewise.
43960 * conform/data/sys/statvfs.h-data: Likewise.
43961 * conform/data/sys/time.h-data: Likewise.
43962 * conform/data/sys/timeb.h-data: Likewise.
43963 * conform/data/sys/times.h-data: Likewise.
43964 * conform/data/sys/types.h-data: Likewise.
43965 * conform/data/sys/uio.h-data: Likewise.
43966 * conform/data/sys/un.h-data: Likewise.
43967 * conform/data/sys/utsname.h-data: Likewise.
43968 * conform/data/sys/wait.h-data: Likewise.
43969 * conform/data/syslog.h-data: Likewise.
43970 * conform/data/tar.h-data: Likewise.
43971 * conform/data/termios.h-data: Likewise.
43972 * conform/data/utime.h-data: Likewise.
43973 * conform/data/utmpx.h-data: Likewise.
43974 * conform/data/varargs.h-data: Likewise.
43975 * conform/data/wchar.h-data: Likewise.
43976 * conform/data/wctype.h-data: Likewise.
43977 * conform/data/wordexp.h-data: Likewise.
43979 * include/stropts.h: New file.
43980 * include/uchar.h: New file.
43981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43982 * include/assert.h: Likewise.
43983 * include/ctype.h: Likewise.
43984 * include/dirent.h: Likewise.
43985 * include/dlfcn.h: Likewise.
43986 * include/fcntl.h: Likewise.
43987 * include/fnmatch.h: Likewise.
43988 * include/glob.h: Likewise.
43989 * include/grp.h: Likewise.
43990 * include/libio.h: Likewise.
43991 * include/locale.h: Likewise.
43992 * include/math.h: Likewise.
43993 * include/net/if.h: Likewise.
43994 * include/netdb.h: Likewise.
43995 * include/netinet/in.h: Likewise.
43996 * include/pthread.h: Likewise.
43997 * include/pwd.h: Likewise.
43998 * include/regex.h: Likewise.
43999 * include/sched.h: Likewise.
44000 * include/search.h: Likewise.
44001 * include/setjmp.h: Likewise.
44002 * include/signal.h: Likewise.
44003 * include/stdio.h: Likewise.
44004 * include/stdlib.h: Likewise.
44005 * include/string.h: Likewise.
44006 * include/sys/cdefs.h: Likewise.
44007 * include/sys/mman.h: Likewise.
44008 * include/sys/msg.h: Likewise.
44009 * include/sys/resource.h: Likewise.
44010 * include/sys/select.h: Likewise.
44011 * include/sys/socket.h: Likewise.
44012 * include/sys/stat.h: Likewise.
44013 * include/sys/statvfs.h: Likewise.
44014 * include/sys/time.h: Likewise.
44015 * include/sys/times.h: Likewise.
44016 * include/sys/uio.h: Likewise.
44017 * include/sys/utsname.h: Likewise.
44018 * include/sys/wait.h: Likewise.
44019 * include/termios.h: Likewise.
44020 * include/time.h: Likewise.
44021 * include/ulimit.h: Likewise.
44022 * include/unistd.h: Likewise.
44023 * include/utime.h: Likewise.
44024 * include/wchar.h: Likewise.
44025 * include/wctype.h: Likewise.
44026 * include/wordexp.h: Likewise.
44028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44030 * time/time.h: TIME_UTC must be a macro.
44031 Make timespec_get available for ISO C11 only as well.
44033 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44038 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44040 * configure.in: Use -o not -a in test for unsupported multi-arch.
44042 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44044 * manual/texinfo.tex: Update to version 2012-01-19.16.
44046 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44050 2012-02-24 Roland McGrath <roland@hack.frob.com>
44053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44054 * manual/fdl-1.3.texi: New file.
44055 * manual/fdl-1.1.texi: File removed.
44058 * manual/libc.texinfo (FDL_VERSION): New @set.
44059 Use it for mention of FDL in cover text.
44060 (Documentation License): Use it in @include file name.
44062 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44063 Roland McGrath <roland@hack.frob.com>
44066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44067 (not LONG_LONG_MAX and LONG_LONG_MIN.
44068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44073 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44078 manipulate bits before adding and subtracting TWO23[sx].
44079 * math/libm-test.inc (nearbyint_test): Add more tests.
44081 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44085 bits before adding and subtracting TWO23[sx].
44086 * math/libm-test.inc (rint_test): Add more tests.
44087 (rint_test_tonearest): Likewise.
44088 (rint_test_towardzero): Likewise.
44089 (rint_test_downward): Likewise.
44090 (rint_test_upward: Likewise.
44092 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44095 * include/stdc-predef.h: New file. Extracted from features.h.
44096 * include/features.h: Include stdc-predef.h.
44097 * Makefile (headers): Add stdc-predef.h.
44098 * CONFORMANCE (Compiler limitations): Update.
44100 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44104 2012-02-21 David S. Miller <davem@davemloft.net>
44106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44109 2012-02-20 David S. Miller <davem@davemloft.net>
44111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44112 using a normal save/restore sequence, rather than allocating a
44113 dummy stack frame just to store a frame pointer and restore.
44114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44118 * manual/install.texi: Fix stray word in line-wrapped comment.
44120 2012-02-20 David S. Miller <davem@davemloft.net>
44122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44123 both binutils and gcc support GOTDATA.
44125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44126 "rd %pc" in the PIC register setup sequences.
44128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44137 (SYSCALL_ERROR_HANDLER): Likewise.
44138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44141 (SYSCALL_ERROR_HANDLER): Likewise.
44143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44144 (HAVE_GCC_GOTDATA): New.
44145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44146 relocation support in both binutils and gcc.
44147 * sysdeps/sparc/elf/configure: Regenerate.
44149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44150 * sysdeps/sparc/sparc32/elf/configure: Delete.
44151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44152 * sysdeps/sparc/sparc64/elf/configure: Delete.
44153 * sysdeps/sparc/elf/configure.in: New file.
44154 * sysdeps/sparc/elf/configure: Generate.
44156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44164 * manual/install.texi: Do not mention specific glibc version
44166 * manual/libc.texinfo (VERSION, UPDATED): Update.
44167 (@copying): Use @copyright{} and range of years.
44169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44173 [crti.S not in sysdirs] (generated): Do not append.
44174 [crti.S not in sysdirs] (omit-deps): Likewise.
44175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44184 * csu/defs.awk: Remove file.
44185 * sysdeps/generic/initfini.c: Likewise.
44186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44191 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44201 (__EPOLL_PACKED): Define to empty if not defined by
44203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44207 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44218 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44227 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44232 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44242 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44244 * math/w_acos.c: Use non-signaling floating-point comparisons.
44245 * math/w_acosf.c: Likewise.
44246 * math/w_acosh.c: Likewise.
44247 * math/w_acoshf.c: Likewise.
44248 * math/w_acoshl.c: Likewise.
44249 * math/w_acosl.c: Likewise.
44250 * math/w_asin.c: Likewise.
44251 * math/w_asinf.c: Likewise.
44252 * math/w_asinl.c: Likewise.
44253 * math/w_atanh.c: Likewise.
44254 * math/w_atanhf.c: Likewise.
44255 * math/w_atanhl.c: Likewise.
44256 * math/w_exp2.c: Likewise.
44257 * math/w_exp2f.c: Likewise.
44258 * math/w_exp2l.c: Likewise.
44259 * math/w_j0.c: Likewise.
44260 * math/w_j0f.c: Likewise.
44261 * math/w_j0l.c: Likewise.
44262 * math/w_j1.c: Likewise.
44263 * math/w_j1f.c: Likewise.
44264 * math/w_j1l.c: Likewise.
44265 * math/w_jn.c: Likewise.
44266 * math/w_jnf.c: Likewise.
44267 * math/w_log.c: Likewise.
44268 * math/w_log10.c: Likewise.
44269 * math/w_log10f.c: Likewise.
44270 * math/w_log10l.c: Likewise.
44271 * math/w_log2.c: Likewise.
44272 * math/w_log2f.c: Likewise.
44273 * math/w_log2l.c: Likewise.
44274 * math/w_logf.c: Likewise.
44275 * math/w_logl.c: Likewise.
44276 * math/w_sqrt.c: Likewise.
44277 * math/w_sqrtf.c: Likewise.
44278 * math/w_sqrtl.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44288 * manual/string.texi (strnlen): Use correct parameter name in
44289 equivalent expression.
44291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44294 * manual/users.texi (seteuid): Consistently use neweuid for
44297 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44300 * manual/nss.texi (Services in the NSS configuration): Correct
44301 list of services in example configuration file.
44303 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44306 * manual/arith.texi: Remove statements about negative zero
44307 behaving identically to zero.
44309 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44312 * manual/install.texi: Do not document upgrading from libc5.
44314 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44319 2012-02-18 David S. Miller <davem@davemloft.net>
44321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44323 %o7 across the call.
44324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44327 SETUP_PIC_REG_LEAF.
44328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44330 * sysdeps/sparc/crtn.S: Likewise.
44332 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44334 * aout/Makefile: Remove.
44336 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44339 * manual/examples/argp-ex1.c (main): Format definition in GNU
44341 * manual/examples/argp-ex2.c (main): Likewise.
44342 * manual/examples/argp-ex3.c (main): Likewise.
44343 * manual/examples/argp-ex4.c (main): Likewise.
44344 * manual/examples/longopt.c (main): Use new-style prototype
44346 * manual/examples/strncat.c (main): Specify return type and use
44347 (void) for arguments.
44348 * manual/examples/subopt.c (main): Use char **argv argument.
44350 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44356 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44359 * manual/string.texi (strchr): Change when strchrnul is
44362 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44365 * manual/locale.texi (setlocale): Document LOCPATH.
44367 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44370 * manual/process.texi (execle): Move @dots{} before last argument.
44372 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44375 * manual/charset.texi (Generic Charset Conversion): Fix typo
44376 (LC_TYPE -> LC_CTYPE).
44378 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44382 (scalbnf): Likewise.
44383 (scalbnl): Likewise.
44384 (scalbln): Likewise.
44385 (scalblnf): Likewise.
44386 (scalblnl): Likewise.
44387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44388 (vwarnx): Likewise.
44391 * manual/filesys.texi (telldir): Use braces around return type.
44392 * manual/llio.texi (mmap): Add space after comma.
44393 (mmap64): Likewise.
44394 * manual/math.texi (jn): Use @var{} on parameter names.
44400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44405 (sched_get_priority_max): Likewise.
44406 * manual/signal.texi (sigvec): Add space after comma.
44407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44409 (if_indextoname): Likewise.
44410 (if_freenameindex): Likewise.
44411 (sendto): Use ',' instead of '.' in prototype.
44412 * manual/startup.texi (syscall): Use @dots{} instead of literal
44414 * manual/stdio.texi (__fpending): Separate initial words of
44415 paragraph from @deftypefun line.
44416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44418 (vsyslog): Use @var{} on parameter names.
44419 * manual/terminal.texi (stty): Use @var{} on parameter names.
44420 * manual/users.texi (getutmp): Use @var{} on parameter names.
44421 (getutmpx): Likewise.
44423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44426 * manual/stdio.texi (fopen): Fix typos in description of
44429 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44433 get clock_id definition.
44435 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44439 (madvise): Cast every argument to void on its own.
44441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44444 * manual/startup.texi (Exit Status): Fix typo.
44446 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44450 * manual/examples/argp-ex2.c: Likewise.
44451 * manual/examples/argp-ex3.c: Likewise.
44453 2012-02-16 Richard Henderson <rth@redhat.com>
44455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44456 * sysdeps/s390/s390-32/initfini.c: Remove.
44457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44458 * sysdeps/s390/s390-64/initfini.c: Remove.
44460 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44463 compiler output for sysdeps/generic/initfini.c.
44464 * sysdeps/sh/elf/initfini.c: Remove file.
44466 2012-02-16 David S. Miller <davem@davemloft.net>
44469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44472 * sysdeps/sparc/crti.S: New file.
44473 * sysdeps/sparc/crtn.S: New file.
44474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44475 * sysdeps/sparc/sparc64/Makefile: Likewise.
44477 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44482 2012-02-15 Roland McGrath <roland@hack.frob.com>
44485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44488 (write, read, close): Likewise.
44489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44491 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44502 2012-02-14 Marek Polacek <polacek@redhat.com>
44504 * sysdeps/x86_64/crti.S: New file.
44505 * sysdeps/x86_64/crtn.S: New file.
44506 * sysdeps/x86_64/elf/initfini.c: Remove file.
44508 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44519 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44530 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44533 __feraiseexcept instead of feraiseexcept.
44535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44536 nanosleep invocations.
44537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44538 strings, and add error checking for a nanosleep invocations.
44540 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44542 Replace FSF snail mail address with URLs, as per GNU coding standards.
44543 Most of the snail mail addresses were wrong anyway, and omitting
44544 them makes the source code easier to maintain. Almost all of the
44545 changes are to license notices and to locale LC_IDENTIFICATION
44546 addresses, except for this one:
44547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44548 not its snail mail address.
44550 2012-02-09 Richard Henderson <rth@twiddle.net>
44552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44553 of kernel-features.h.
44555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44557 2012-02-08 Marek Polacek <polacek@redhat.com>
44559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44561 * sysdeps/gnu/_G_config.h: Likewise.
44562 * sysdeps/generic/_G_config.h: Likewise.
44564 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44570 * sysdeps/powerpc/powerpc32/crti.S: New file.
44571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44572 * sysdeps/powerpc/powerpc64/crti.S: New file.
44573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44575 * Makeconfig (have-initfini): Don't set.
44576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44577 * configure.in (nopic_initfini): Don't substitute.
44578 * config.h.in (HAVE_INITFINI): Don't #undef.
44579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44582 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44584 Support crti.S and crtn.S provided directly by architectures.
44585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44586 [crti.S in sysdirs] (omit-deps): Likewise.
44587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44596 compiler output for sysdeps/generic/initfini.c.
44597 * sysdeps/i386/elf/Makefile: Remove file.
44598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44600 2012-02-07 Marek Polacek <polacek@redhat.com>
44602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44603 * sysdeps/gnu/_G_config.h: Likewise.
44604 * sysdeps/mach/hurd/_G_config.h: Likewise.
44606 2012-02-07 Marek Polacek <polacek@redhat.com>
44608 * math/Makefile (tests): Add tst-CMPLX2.
44609 * math/tst-CMPLX2.c: New file.
44611 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44615 * math/libm-test.inc (jn_test): Add missing L suffix.
44617 2012-02-06 Marek Polacek <polacek@redhat.com>
44619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44620 * sysdeps/i386/fpu/e_powf.S: Likewise.
44621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44624 * sysdeps/i386/fpu/e_pow.S: Likewise.
44625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44629 * sysdeps/i386/fpu/e_log2.S: Likewise.
44630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44632 * sysdeps/i386/fpu/e_powl.S: Likewise.
44633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44636 * sysdeps/i386/fpu/e_logl.S: Likewise.
44637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44643 * sysdeps/i386/fpu/e_log.S: Likewise.
44644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44647 * sysdeps/i386/fpu/e_logf.S: Likewise.
44648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44653 * sysdeps/i386/fpu/e_log10.S: Likewise.
44654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44660 * sysdeps/i386/asm-syntax.h: Likewise.
44661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44670 * sysdeps/powerpc/sysdep.h: Likewise.
44671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44674 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44679 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44681 * sysdeps/i386/sysdep.h: Include <features.h>.
44682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44685 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44695 (SETUP_PIC_REG): Use GET_PC_THUNK.
44696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44699 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44702 for non-PIC compilation.
44703 (SETUP_PIC_REG): Add .p2align directive.
44704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44748 * math/tst-CMPLX.c: Include <stdio.h>.
44750 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44755 * sysdeps/sparc/bits/mathdef.h: Likewise.
44757 2012-01-31 Marek Polacek <polacek@redhat.com>
44759 * libio/libio.h: Don't define _PARAMS.
44760 * locale/programs/config.h: Don't define PARAMS.
44761 * stdlib/strtol_l.c: Likewise.
44762 (__strtol_l): Remove PARAMS from the prototype.
44764 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44767 names. Just use the correct names. Remove unnecessary wrapper
44769 * malloc/arena.c: Likewise.
44770 * malloc/hooks.c: Likewise.
44772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44773 ARENA_TEST says not to. Simplify test for creation of a new arena.
44774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44776 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44780 (update_get_addr): New function.
44781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44782 GET_ADDR_MODULE parameter.
44784 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44786 * crypt/cert.c: Remove __STDC__ conditionals.
44787 * crypt/crypt-entry.c: Likewise.
44788 * crypt/crypt_util.c: Likewise.
44789 * libio/filedoalloc.c: Likewise.
44790 * libio/fileops.c: Likewise.
44791 * libio/genops.c: Likewise.
44792 * libio/iofclose.c: Likewise.
44793 * libio/iofdopen.c: Likewise.
44794 * libio/iofopen.c: Likewise.
44795 * libio/iofopen64.c: Likewise.
44796 * libio/iogetdelim.c: Likewise.
44797 * libio/iopopen.c: Likewise.
44798 * libio/obprintf.c: Likewise.
44799 * libio/oldfileops.c: Likewise.
44800 * libio/oldiofclose.c: Likewise.
44801 * libio/oldiofdopen.c: Likewise.
44802 * libio/oldiofopen.c: Likewise.
44803 * libio/oldiopopen.c: Likewise.
44804 * libio/wfiledoalloc.c: Likewise.
44805 * libio/wgenops.c: Likewise.
44806 * locale/programs/xmalloc.c: Likewise.
44807 * misc/syslog.c: Likewise.
44808 * stdio-common/xbug.c: Likewise.
44809 * string/memchr.c: Likewise.
44810 * string/memcmp.c: Likewise.
44811 * string/memrchr.c: Likewise.
44812 * string/rawmemchr.c: Likewise.
44813 * sysdeps/posix/getcwd.c: Likewise.
44814 * time/strftime_l.c: Likewise.
44816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44819 * config.make.in (config-cflags-sse2avx): Define.
44820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44823 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44825 * scripts/config.guess: Update from upstream config git repository.
44826 * scripts/config.sub: Likewise.
44828 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44832 (R_TILEPRO_*, R_TILEGX_*): New macros.
44834 * scripts/firstversions.awk: Fix bug in version range handling.
44836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44840 * include/sys/epoll.h: New file.
44841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44844 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44847 Avoid unnecessary __WORDSIZE == 64 test.
44848 (fmaxf): Use VEX format if possible.
44853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44854 * math/math_private.h: Remove libc_fegetround* and
44856 * sysdeps/i386/configure.in: Check for -msse2avx.
44857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44858 also if SSE2AVX is defined.
44859 Remove libc_fegetround* and libc_fesetround*.
44860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44872 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44878 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44883 * Makeconfig (libm): Define.
44884 * elf/Makefile: Add rules to build and run tst-relsort1.
44885 * elf/tst-relsort1.c: New file.
44886 * elf/tst-relsort1mod1.c: New file.
44887 * elf/tst-relsort1mod2.c: New file.
44889 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44891 * math/s_ldexp.c: Remove __STDC__ conditionals.
44892 * math/s_ldexpf.c: Likewise.
44893 * math/s_ldexpl.c: Likewise.
44894 * math/s_nextafter.c: Likewise.
44895 * math/s_nexttowardf.c: Likewise.
44896 * math/s_significand.c: Likewise.
44897 * math/s_significandf.c: Likewise.
44898 * math/s_significandl.c: Likewise.
44899 * math/w_jnl.c: Likewise.
44900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44940 * sysdeps/ieee754/k_standard.c: Likewise.
44941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45020 * sysdeps/ieee754/s_matherr.c: Likewise.
45021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45026 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45028 * crypt/md5.h: Remove __STDC__ conditionals.
45029 * libio/libioP.h: Likewise.
45030 * locale/programs/config.h: Likewise.
45031 * sysdeps/generic/sysdep.h: Likewise.
45032 * sysdeps/i386/asm-syntax.h: Likewise.
45033 * sysdeps/s390/asm-syntax.h: Likewise.
45034 * sysdeps/unix/sysdep.h: Likewise.
45035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45038 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45040 * libio/libio.h: Remove __STDC__ conditionals.
45041 * malloc/obstack.h: Likewise.
45042 * math/complex.h: Likewise.
45043 * math/math.h: Likewise.
45044 * sysdeps/generic/_G_config.h: Likewise.
45045 * sysdeps/gnu/_G_config.h: Likewise.
45046 * sysdeps/mach/hurd/_G_config.h: Likewise.
45047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45049 * sysdeps/sparc/bits/mathdef.h: Likewise.
45051 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45055 Clean up HAS_* macros.
45056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45067 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45069 * elf/tst-unique3.cc (gets): Remove declaration.
45070 * elf/tst-unique3lib.cc (gets): Likewise.
45071 * elf/tst-unique3lib2.cc (gets): Likewise.
45072 * elf/tst-unique4.cc (gets): Likewise.
45074 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45076 * include/stdio.h: Add C++ protection. Add gets declarations and
45078 * debug/tst-chk1.c: Don't declare gets here.
45079 * stdio-common/tst-gets.c: Likewise.
45081 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45083 * posix/glob: Remove directory.
45085 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45089 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45092 of the non-standard EPFNOSUPPORT.
45094 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45100 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45104 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45108 * nscd/grpcache.c (cache_addgr): Likewise.
45109 * nscd/hstcache.c (cache_addhst): Likewise.
45110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45111 * nscd/pwdcache.c (cache_addpw): Likewise.
45112 * nscd/servicescache.c (cache_addserv): Likewise.
45114 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45116 * malloc/malloc.c: Various cleanups.
45117 * malloc/hooks.c: Likewise.
45119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45120 * stdlib/bug-fmtmsg1.c: New file.
45122 * stdlib/fmtmsg.c (init): Add missing unlock.
45123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45125 2012-01-12 Marek Polacek <polacek@redhat.com>
45127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45130 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45134 macro to ensure uniqueness of label name.
45135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45138 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45147 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45162 * math/bits/math-finite.h: Add ldexp support.
45164 2012-01-10 Marek Polacek <polacek@redhat.com>
45166 * locale/programs/localedef.h (show_archive_content): Add noreturn
45169 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45177 * io/Makefile (headers): Add bits/poll2.h.
45179 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45182 typo #include statement.
45184 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45186 * include/sys/cdefs.h: Define __attribute_alloc_size.
45187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45189 * elf/pldd.c: Likewise.
45190 * iconv/iconv_charmap.c: Likewise.
45191 * iconv/iconvconfig.c: Likewise.
45192 * iconv/strtab.c: Likewise.
45193 * locale/programs/locale.c: Likewise.
45194 * locale/programs/localedef.h: Likewise.
45195 * locale/programs/simple-hash.c: Likewise.
45196 * nscd/nscd.h: Likewise.
45197 * nss/makedb.c: Likewise.
45198 * sysdeps/generic/ldconfig.h: Likewise.
45199 * locale/programs/localedef.c: Remove xmalloc prototype.
45200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45202 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45209 * math/Makefile (tests): Add tst-CMPLX.
45210 * math/tst-CMPLX.c: New file.
45212 * math/complex.h (CMPLXL): Fix typo.
45214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45217 * debug/tst-chk1.c: Add poll and ppoll tests.
45218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45219 * include/sys/poll.h: Add hidden proto for ppoll.
45220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45221 * sysdeps/mach/hurd/ppoll.c: Likewise.
45222 * io/ppoll.c: Likewise.
45223 * debug/poll_chk.c: New file.
45224 * debug/ppoll_chk.c: New file.
45225 * include/bits/poll2.h: New file.
45226 * io/bits/poll2.h: New file.
45229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45231 * configure.in: static is always set to yes. Remove.
45232 * config.make.in: Don't set build-static.
45233 * Makeconfig: Remove use of build-static.
45234 * dlfcn/Makefile: Likewise.
45235 * elf/Makefile: Likewise.
45236 * math/Makefile: Likewise.
45237 * misc/Makefile: Likewise.
45238 * nptl/Makefile: Likewise.
45239 * sysdeps/mach/hurd/Makefile: Likewise.
45241 * configure.in: PWD_P is not used anymore.
45242 * config.make.in: Remove PWD_P entry.
45244 * configure.in: Remove last remnants of RANLIB.
45245 No need to check for signed size_t anymore.
45246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45248 Remove __builtin_expect test because we require at least gcc 3.4.
45249 * aclocal.m4: Likewise.
45251 * wcsmbs/mbrtoc16.c: Implement using towc function.
45252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45253 * wcsmbs/wcsmbsload.c: Likewise.
45254 * iconv/gconv_simple.c: Likewise.
45255 * iconv/gconv_int.h: Likewise.
45256 * iconv/gconv_builtin.h: Likewise.
45257 * iconv/iconv_prog.c: Remove CHAR16 handling.
45259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45263 * configure.in: Remove --with-elf and --enable-bounded options.
45264 Dont set base_machine for ia64. More non-ELF conditions removed.
45265 Remove testing and setting of leading underscore information.
45266 * config.make.in (build-bounded): Set to no.
45267 * config.h.in: Remove NO_UNDERSCORES entry.
45268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45270 * csu/start.c: Remove !NO_UNDERSCORE code.
45271 * locale/localeinfo.h: Likewise.
45272 * sysdeps/generic/machine-gmon.h: Likewise.
45273 * sysdeps/generic/sysdep.h: Likewise.
45274 * sysdeps/i386/sysdep.h: Likewise.
45275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45276 * sysdeps/mach/sysdep.h: Likewise.
45277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45279 * sysdeps/sh/sysdep.h: Likewise.
45280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45281 * sysdeps/unix/i386/sysdep.S: Likewise.
45282 * sysdeps/unix/sparc/start.c: Likewise.
45283 * sysdeps/unix/sparc/sysdep.S: Likewise.
45284 * sysdeps/unix/sparc/sysdep.h: Likewise.
45285 * sysdeps/unix/start.c: Likewise.
45286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45287 * sysdeps/x86_64/sysdep.h: Likewise.
45289 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45294 * argp/argp-fmtstream.h: Use const instead __const.
45295 * argp/argp.h: Likewise.
45296 * assert/assert.h: Likewise.
45297 * bits/fenv.h: Likewise.
45298 * bits/sched.h: Likewise.
45299 * bits/sigset.h: Likewise.
45300 * bits/sigthread.h: Likewise.
45301 * catgets/nl_types.h: Likewise.
45302 * conform/data/pthread.h-data: Likewise.
45303 * crypt/crypt-private.h: Likewise.
45304 * crypt/crypt.h: Likewise.
45305 * crypt/crypt_util.c: Likewise.
45306 * ctype/ctype.h: Likewise.
45307 * debug/execinfo.h: Likewise.
45308 * debug/mbsnrtowcs_chk.c: Likewise.
45309 * debug/mbsrtowcs_chk.c: Likewise.
45310 * debug/wcsnrtombs_chk.c: Likewise.
45311 * debug/wcsrtombs_chk.c: Likewise.
45312 * debug/wcstombs_chk.c: Likewise.
45313 * dirent/dirent.h: Likewise.
45314 * dlfcn/dlfcn.h: Likewise.
45315 * elf/neededtest4.c: Likewise.
45316 * grp/grp.h: Likewise.
45317 * gshadow/gshadow.h: Likewise.
45318 * iconv/gconv.h: Likewise.
45319 * iconv/gconv_int.h: Likewise.
45320 * iconv/gconv_simple.c: Likewise.
45321 * iconv/iconv.h: Likewise.
45322 * iconv/loop.c: Likewise.
45323 * iconv/skeleton.c: Likewise.
45324 * include/aio.h: Likewise.
45325 * include/aliases.h: Likewise.
45326 * include/argz.h: Likewise.
45327 * include/arpa/inet.h: Likewise.
45328 * include/assert.h: Likewise.
45329 * include/dirent.h: Likewise.
45330 * include/dlfcn.h: Likewise.
45331 * include/execinfo.h: Likewise.
45332 * include/fcntl.h: Likewise.
45333 * include/fenv.h: Likewise.
45334 * include/glob.h: Likewise.
45335 * include/grp.h: Likewise.
45336 * include/libintl.h: Likewise.
45337 * include/mntent.h: Likewise.
45338 * include/netdb.h: Likewise.
45339 * include/pwd.h: Likewise.
45340 * include/rpc/netdb.h: Likewise.
45341 * include/sched.h: Likewise.
45342 * include/search.h: Likewise.
45343 * include/shadow.h: Likewise.
45344 * include/signal.h: Likewise.
45345 * include/stdio.h: Likewise.
45346 * include/stdlib.h: Likewise.
45347 * include/string.h: Likewise.
45348 * include/sys/socket.h: Likewise.
45349 * include/sys/stat.h: Likewise.
45350 * include/sys/statfs.h: Likewise.
45351 * include/sys/statvfs.h: Likewise.
45352 * include/sys/syslog.h: Likewise.
45353 * include/sys/time.h: Likewise.
45354 * include/sys/uio.h: Likewise.
45355 * include/time.h: Likewise.
45356 * include/unistd.h: Likewise.
45357 * include/utmp.h: Likewise.
45358 * include/wchar.h: Likewise.
45359 * include/wctype.h: Likewise.
45360 * inet/aliases.h: Likewise.
45361 * inet/arpa/inet.h: Likewise.
45362 * inet/netinet/ether.h: Likewise.
45363 * inet/netinet/in.h: Likewise.
45364 * intl/libintl.h: Likewise.
45365 * io/bits/fcntl2.h: Likewise.
45366 * io/fcntl.h: Likewise.
45367 * io/ftw.h: Likewise.
45368 * io/sys/poll.h: Likewise.
45369 * io/sys/stat.h: Likewise.
45370 * io/sys/statfs.h: Likewise.
45371 * io/sys/statvfs.h: Likewise.
45372 * io/utime.h: Likewise.
45373 * libio/bits/stdio.h: Likewise.
45374 * libio/bits/stdio2.h: Likewise.
45375 * libio/libio.h: Likewise.
45376 * libio/libioP.h: Likewise.
45377 * libio/stdio.h: Likewise.
45378 * locale/lc-ctype.c: Likewise.
45379 * locale/locale.h: Likewise.
45380 * login/utmp.h: Likewise.
45381 * malloc/arena.c: Likewise.
45382 * malloc/malloc.c: Likewise.
45383 * malloc/malloc.h: Likewise.
45384 * malloc/mcheck.c: Likewise.
45385 * malloc/mtrace.c: Likewise.
45386 * math/bits/mathcalls.h: Likewise.
45387 * math/fenv.h: Likewise.
45388 * math/math_private.h: Likewise.
45389 * misc/bits/error.h: Likewise.
45390 * misc/bits/syslog.h: Likewise.
45391 * misc/err.h: Likewise.
45392 * misc/error.h: Likewise.
45393 * misc/fstab.h: Likewise.
45394 * misc/mntent.h: Likewise.
45395 * misc/regexp.h: Likewise.
45396 * misc/search.h: Likewise.
45397 * misc/sgtty.h: Likewise.
45398 * misc/sys/mman.h: Likewise.
45399 * misc/sys/syslog.h: Likewise.
45400 * misc/sys/uio.h: Likewise.
45401 * misc/sys/xattr.h: Likewise.
45402 * misc/ttyent.h: Likewise.
45403 * nis/rpcsvc/ypclnt.h: Likewise.
45404 * nss/nss.h: Likewise.
45405 * posix/bits/unistd.h: Likewise.
45406 * posix/fnmatch.h: Likewise.
45407 * posix/glob.h: Likewise.
45408 * posix/sched.h: Likewise.
45409 * posix/spawn.h: Likewise.
45410 * posix/sys/wait.h: Likewise.
45411 * posix/unistd.h: Likewise.
45412 * posix/wordexp.h: Likewise.
45413 * pwd/pwd.h: Likewise.
45414 * resolv/netdb.h: Likewise.
45415 * resource/sys/resource.h: Likewise.
45416 * rt/aio.h: Likewise.
45417 * rt/bits/mqueue2.h: Likewise.
45418 * rt/mqueue.h: Likewise.
45419 * shadow/shadow.h: Likewise.
45420 * signal/signal.h: Likewise.
45421 * socket/send.c: Likewise.
45422 * socket/sendto.c: Likewise.
45423 * socket/sys/socket.h: Likewise.
45424 * stdio-common/printf.h: Likewise.
45425 * stdlib/bits/stdlib.h: Likewise.
45426 * stdlib/fmtmsg.h: Likewise.
45427 * stdlib/monetary.h: Likewise.
45428 * stdlib/stdlib.h: Likewise.
45429 * stdlib/ucontext.h: Likewise.
45430 * streams/stropts.h: Likewise.
45431 * string/argz.h: Likewise.
45432 * string/bits/string2.h: Likewise.
45433 * string/string.h: Likewise.
45434 * string/strings.h: Likewise.
45435 * sunrpc/rpc/auth.h: Likewise.
45436 * sunrpc/rpc/auth_des.h: Likewise.
45437 * sunrpc/rpc/clnt.h: Likewise.
45438 * sunrpc/rpc/netdb.h: Likewise.
45439 * sunrpc/rpc/pmap_clnt.h: Likewise.
45440 * sunrpc/rpc/xdr.h: Likewise.
45441 * sysdeps/generic/inttypes.h: Likewise.
45442 * sysdeps/generic/net/if.h: Likewise.
45443 * sysdeps/generic/sys/swap.h: Likewise.
45444 * sysdeps/gnu/net/if.h: Likewise.
45445 * sysdeps/gnu/utmpx.h: Likewise.
45446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45447 * sysdeps/i386/i486/bits/string.h: Likewise.
45448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45449 * sysdeps/s390/bits/string.h: Likewise.
45450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45481 * sysvipc/sys/ipc.h: Likewise.
45482 * sysvipc/sys/msg.h: Likewise.
45483 * sysvipc/sys/sem.h: Likewise.
45484 * sysvipc/sys/shm.h: Likewise.
45485 * termios/termios.h: Likewise.
45486 * time/sys/time.h: Likewise.
45487 * time/time.h: Likewise.
45488 * wcsmbs/bits/wchar2.h: Likewise.
45489 * wcsmbs/uchar.h: Likewise.
45490 * wcsmbs/wchar.h: Likewise.
45491 * wctype/wctype.h: Likewise.
45494 * Makeconfig: Remove all but ELF support including AIX support.
45495 * Makerules: Likewise.
45496 * config.h.in: Likewise.
45497 * config.make.in: Likewise.
45498 * configure: Likewise.
45499 * configure.in: Likewise.
45500 * csu/Makefile: Likewise.
45501 * csu/version.c: Likewise.
45502 * debug/Makefile: Likewise.
45503 * dlfcn/Makefile: Likewise.
45504 * elf/Makefile: Likewise.
45505 * extra-lib.mk: Likewise.
45506 * iconv/Makefile: Likewise.
45507 * include/libc-symbols.h: Likewise.
45508 * include/shlib-compat.h: Likewise.
45509 * resolv/Makefile: Likewise.
45510 * resolv/res_libc.c: Likewise.
45511 * rt/Makefile: Likewise.
45512 * sysdeps/i386/asm-syntax.h: Likewise.
45513 * sysdeps/i386/sysdep.h: Likewise.
45514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45515 * sysdeps/mach/sysdep.h: Likewise.
45516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45518 * sysdeps/s390/asm-syntax.h: Likewise.
45519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45521 * sysdeps/sh/sysdep.h: Likewise.
45522 * sysdeps/unix/sparc/sysdep.h: Likewise.
45523 * sysdeps/wordsize-32/divdi3.c: Likewise.
45524 * sysdeps/x86_64/sysdep.h: Likewise.
45526 * argp/Versions: Remove _argp_unlock_xxx.
45529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45530 * abilist/libBrokenLocale.abilist: Likewise.
45531 * abilist/libanl.abilist: Likewise.
45532 * abilist/libc.abilist: Likewise.
45533 * abilist/libcrypt.abilist: Likewise.
45534 * abilist/libdl.abilist: Likewise.
45535 * abilist/libm.abilist: Likewise.
45536 * abilist/libnsl.abilist: Likewise.
45537 * abilist/libpthread.abilist: Likewise.
45538 * abilist/libresolv.abilist: Likewise.
45539 * abilist/librt.abilist: Likewise.
45540 * abilist/libthread_db.abilist: Likewise.
45541 * abilist/libutil.abilist: Likewise.
45542 * abilist/libnss_db.abilist: New file.
45544 * scripts/abilist.awk: Add support for indirect functions.
45546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45550 * shlib-versions: Remove entries for ports architectures.
45552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45554 * elf/stackguard-macros.h: Remove support for IA-64.
45555 * elf/tst-auditmod1.c: Likewise.
45556 * sysdeps/generic/ldsodefs.h: Likewise.
45558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45563 * configure.in: Remove --enable-omitfp support.
45565 * config.make.in: Likewise.
45566 * Makeconfig: Likewise.
45567 * manual/install.texi: Likewise.
45569 In case anyone cares, the IA-64 architecture could move to ports.
45570 * sysdeps/ia64/*: Removed.
45571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45575 * configure.in: Remove entries for unsupported architectures.
45578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45584 fall back to using wcrtomb.
45585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45589 * wcsmbs/tst-c16c32-1.c: New file.
45591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45596 * elf/tst-unique3.cc: Add explicit declaration of gets.
45597 * elf/tst-unique3lib.cc: Likewise.
45598 * elf/tst-unique3lib2.cc: Likewise.
45599 * elf/tst-unique4.cc: Likewise.
45601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45603 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45606 * assert/assert.h (static_assert): Don't define for C++.
45607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45610 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45612 * iconv/loop.c (single loop): Fix assertion in storing of
45615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45617 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45619 * posix/getconf.c: Update copyright year.
45620 * nss/getent.c: Likewise.
45621 * nss/makedb.c: Likewise.
45622 * iconv/iconvconfig.c: Likewise.
45623 * iconv/iconv_prog.c: Likewise.
45624 * elf/ldconfig.c: Likewise.
45625 * elf/pldd.c: Likewise.
45626 * elf/sotruss.ksh: Likewise.
45627 * catgets/gencat.c: Likewise.
45628 * csu/version.c: Likewise.
45629 * elf/ldd.bash.in: Likewise.
45630 * elf/sprof.c (print_version): Likewise.
45631 * locale/programs/locale.c: Likewise.
45632 * locale/programs/localedef.c: Likewise.
45633 * login/programs/pt_chown.c: Likewise.
45634 * nscd/nscd.c (print_version): Likewise.
45635 * debug/xtrace.sh: Likewise.
45636 * malloc/memusage.sh: Likewise.
45637 * malloc/mtrace.pl: Likewise.
45638 * debug/catchsegv.sh: Likewise.
45640 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45645 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45651 * iconv/gconv_int.h: Likewise.
45652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45654 from libc for GLIBC_2.16.
45655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45657 * wcsmbs/uchar.h: Really define mbstate_t.
45658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45659 * wcsmbs/c16rtomb.c: New file.
45660 * wcsmbs/mbrtoc16.c: New file.
45661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45662 for C/POSIX locale.
45663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45666 * wcsmbs/wchar.h: Add missing __restrict.
45668 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45671 * time/Makefile (routines): Add timespec_get.
45672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45674 timespec for ISO C11.
45675 * time/timespec_get.c: New file.
45676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45681 * stdlib/stdlib.h: Declare aligned_alloc.
45682 * Versions.def: Add GLIBC_2.16 for libc.
45683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45696 * assert/assert.h (static_assert): Define.
45698 * version.h: Update for 2.16 development version.
45701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45704 * version.h (RELEASE): Bump for 2.15 release.
45705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45708 Patch by Marek Polacek <mpolacek@redhat.com>.
45710 * bits/byteswap.h: Protect long long constants with __extension__.
45711 * sysdeps/i386/bits/byteswap.h: Likewise.
45712 * sysdeps/ia64/bits/byteswap.h: Likewise.
45713 * sysdeps/s390/bits/byteswap.h: Likewise.
45714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45716 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45720 destination buffer.
45721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45723 2011-12-23 Marek Polacek <polacek@redhat.com>
45725 * elf/dl-addr.c (determine_info): Add inline keyword.
45726 * elf/tst-auditmod4b.c (check_avx): Likewise.
45727 * elf/tst-auditmod6b.c (check_avx): Likewise.
45728 * elf/tst-auditmod6c.c (check_avx): Likewise.
45729 * elf/tst-auditmod7b.c (check_avx): Likewise.
45731 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45736 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45740 processing for last bytes.
45742 2011-08-06 Bruno Haible <bruno@clisp.org>
45745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45746 U+0385, not to U+1FEE.
45749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45750 entry for U+00A5 U+0301.
45752 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45756 buffer for the output is too small.
45758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45763 SSE flags if possible.
45765 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45769 processing for last bytes.
45771 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45774 (syscall-list-default-options, syscall-list-default-condition)
45775 (syscall-list-includes): Define.
45776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45777 list of ABIs and options and #if conditions for each ABI. Do not
45778 handle common syscalls between ABIs specially.
45779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45781 (syscall-list-variants, syscall-list-32bit-options)
45782 (syscall-list-32bit-condition, syscall-list-64bit-options)
45783 (syscall-list-64bit-condition): Define.
45784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45785 (syscall-list-variants, syscall-list-32bit-options)
45786 (syscall-list-32bit-condition, syscall-list-64bit-options)
45787 (syscall-list-64bit-condition): Define.
45788 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45790 (syscall-list-variants, syscall-list-32bit-options)
45791 (syscall-list-32bit-condition, syscall-list-64bit-options)
45792 (syscall-list-64bit-condition): Define.
45793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45795 (syscall-list-variants, syscall-list-32bit-options)
45796 (syscall-list-32bit-condition, syscall-list-64bit-options)
45797 (syscall-list-64bit-condition): Define.
45799 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45801 * locale/iso-639.def: Add brx entry.
45804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45808 __feraiseexcept_renamed.
45810 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45814 EPOLLET with unsigned values.
45815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45819 to large cancellation.
45820 * math/s_cacoshf.c: Likewise.
45821 * math/s_cacoshl.c: Likewise.
45823 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45828 * math/s_cacoshf.c: Likewise.
45829 * math/s_cacoshl.c: Likewise.
45831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45834 * iconv/gconv.h: Define __GCONV_SWAP.
45835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45836 * iconvdata/utf-16.c: Likewise.
45837 * iconvdata/utf-32.c: Likewise.
45839 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45843 numerator after shifting it by one limb.
45845 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45848 under [__USE_EXTERN_INLINES].
45850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45855 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45864 for strncasecmp/strncasecmp_l compilation.
45865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45868 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45874 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45877 * time/tzfile.c (__tzfile_read): Check values from file header.
45879 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45883 * powerpc/powerpc32/dl-start.S: Likewise.
45884 * powerpc/powerpc32/elf/start.S: Likewise.
45885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45898 * powerpc/powerpc32/memset.S: Likewise.
45899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45913 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45915 * math/libm-test.inc: Added more nearbyint tests.
45916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45921 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45926 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45929 Add wcscpy-ssse3 wcscpy-c.
45930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45933 * sysdeps/x86_64/wcschr.S: New file.
45934 * sysdeps/x86_64/wcsrchr.S: New file.
45935 * string/test-strcmp.c: Remove checking of wcscmp function for
45937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45939 wcsrchr-sse2 wcsrchr-c.
45940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45949 * wcsmbc/wcschr.c (WCSCHR): New macro.
45951 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45954 * wcsmbs/test-wcsrchr.c: New file.
45955 * string/test-strrchr.c: Add wcsrchr support.
45957 * wcsmbs/test-wcscpy.c: New file.
45958 * string/test-strcpy.c: Add wcscpy support.
45961 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45966 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45971 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45974 Minor optimizations.
45976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45980 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45985 for gcc to avoid warnings.
45986 * inet/Makefile (tests): Add tst-checks.
45987 * inet/tst-checks.c: New file.
45989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46000 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46007 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46010 conditional on GCC version.
46011 (__arch_compare_and_exchange_val_8_acq)
46012 (__arch_compare_and_exchange_val_16_acq)
46013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46017 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46019 * sysdeps/sh/backtrace.c: New file.
46021 2011-12-02 Andreas Schwab <schwab@redhat.com>
46023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46026 2011-12-01 Andreas Schwab <schwab@redhat.com>
46028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46029 falling back to utime.
46031 2011-11-30 Andreas Schwab <schwab@redhat.com>
46033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46034 expectations for float.
46036 2011-11-29 Andreas Schwab <schwab@redhat.com>
46038 * locale/weight.h (findidx): Add parameter len.
46039 * locale/weightwc.h (findidx): Likewise.
46040 * posix/fnmatch_loop.c (FCT): Adjust caller.
46041 * posix/regcomp.c (build_equiv_class): Likewise.
46042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46043 * posix/regexec.c (check_node_accept_bytes): Likewise.
46044 * string/strcoll_l.c (STRCOLL): Likewise.
46045 * string/strxfrm_l.c (STRXFRM): Likewise.
46047 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46049 * Makefile.in: Remove CVSOPT handling.
46050 * configure.in: Remove use of AC_REVISION.
46051 * iconvdata/Makefile (distribute): No need to filter out CVS.
46052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46055 2011-11-16 Andreas Schwab <schwab@redhat.com>
46057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46059 [USE_AS_STRNCASECMP_L]: Likewise.
46060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46061 NO_TLS_DIRECT_SEG_REFS.
46062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46063 Fix argument offsets for non-PIC.
46064 [USE_AS_STRNCASECMP_L]: Likewise.
46065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46066 NO_TLS_DIRECT_SEG_REFS.
46068 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46072 * locale/loadlocale.c (_nl_load_locale): Likewise.
46074 2011-11-15 Andreas Schwab <schwab@redhat.com>
46076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46079 (SYSCALL_GETTIME): Set errno on error.
46081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46082 count references to noai6ai_cached.
46084 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46089 FD_CLOEXEC for /proc/self/maps.
46091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46092 FD_CLOEXEC for /proc/meminfo.
46094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46098 FD_CLOEXEC for given file.
46100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46103 FD_CLOEXEC for /etc/hosts.
46104 (_gethtent): Likewise.
46106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46109 cancellation and set FD_CLOEXEC for /etc/netgroup.
46111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46112 reading /etc/publickey.
46114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46115 allow cancellation when reading /etc/group.
46117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46122 when using data file.
46124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46127 (write_nis_obj): Use "c" and "e" in fopen.
46129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46147 file parsing and set FD_CLOEXEC.
46149 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46153 2011-11-14 Andreas Schwab <schwab@redhat.com>
46155 * malloc/arena.c (arena_get2): Don't call reused_arena when
46156 _int_new_arena failed.
46158 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46166 to compile strcasecmp and strncasecmp.
46167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46172 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46175 locale-defines.sym to gen-as-const-headers.
46176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46179 to compile strcasecmp and strncasecmp.
46180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46181 strcasecmp_l and strncasecmp_l.
46182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46194 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46197 result of SYSDEP_GETTIME_CPU to retval.
46198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46199 parameter list to macro. Remove trailing semicolon. Adjust users.
46201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46209 from unused variable.
46211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46219 * sunrpc/rpc_prot.c (rejected): Fix case value.
46221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46222 unsigned long long int to avoid warnings in shift.
46224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46233 * nis/nis_table.c (nis_list): Use variable of correct type for
46234 result of __follow_path call.
46236 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46239 of math functions ceil, trunc, floor, round, and sqrt, when
46240 avaliable on the platform.
46241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46247 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46252 2011-11-11 Roland McGrath <roland@hack.frob.com>
46254 * include/unistd.h: Fix __readlink return type.
46255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46257 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46259 * stdlib/ucontext.h: Undo last change for makecontext.
46261 2011-11-11 Andreas Schwab <schwab@redhat.com>
46263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46266 * setjmp/setjmp.h: Mark functions as non-leaf.
46267 * setjmp/bits/setjmp2.h: Likewise.
46268 * stdlib/ucontext.h: Likewise.
46270 2011-11-10 Andreas Schwab <schwab@redhat.com>
46272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46273 (reused_arena): Don't check arena limit.
46274 (arena_get2): Atomically check arena limit.
46276 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46284 2011-11-07 Andreas Schwab <schwab@redhat.com>
46286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46287 handler when locking.
46289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46290 Fix size of allocated buffer.
46292 2011-11-04 Andreas Schwab <schwab@redhat.com>
46295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46296 declarations for long double functions.
46297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46301 2011-11-03 Andreas Schwab <schwab@redhat.com>
46303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46309 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46313 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46315 * include/alloca.h (stackinfo_alloca_round): Define.
46316 (extend_alloca): Use it.
46317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46321 * scripts/check-local-headers.sh: Ignore libaudit.h.
46323 * nscd/Makefile (extra-objs): Make recursively expanded.
46325 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46331 * posix/tst-rfc3484-2.c: Likewise.
46332 * posix/tst-rfc3484-3.c: Likewise.
46334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46339 process_vm_writev from libc using GLIBC_2.15 version.
46341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46343 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46348 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46351 * nss/getent.c (initgroups_keys): Show error message in case no group
46354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46356 __bump_nl_timestamp.
46357 * nscd/connections (nscd_init): When host database is served open
46358 netlink socket and request notification about configuration changes.
46359 (main_loop_poll): Track netlink file descriptor and bump timestamp
46360 in case data becomes available.
46361 (main_loop_epoll): Likewise.
46362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46363 (database_pers_head): Add extra_data fileds.
46364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46369 in6ai data, call __free_in6ai.
46370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46371 Add -DHAVE_NETLINK.
46372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46373 interface information. Reuse previous data if netlink timestamp
46375 (__bump_nl_timestamp): New function.
46376 (__free_in6ai): New function.
46378 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46381 close_not_cancel_no_status here.
46382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46384 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46394 2011-07-03 Andreas Jaeger <aj@suse.de>
46397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46399 * math/libm-test.inc (sin_test): Add test case.
46401 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46407 * elf/chroot_canon.c (chroot_canon): Cleanups.
46409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46415 * string/test-strchr.c: Make usable for strchrnul testing.
46416 * string/test-strchrnul.c: New file.
46417 * string/Makefile (strop-tests): Add strchrnul.
46419 * po/it.po: Update from translation team.
46420 * po/es.po: Likewise.
46422 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46425 the three constants needed as parameters. Drop the others.
46426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46427 __m128i_strloadu_tolower.
46428 Create and initialize variable zero and use it in all the places
46429 where _mm_setzero_si128 was used.
46431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46441 __mpranred, __mptan.
46442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46452 2011-10-28 Andreas Schwab <schwab@redhat.com>
46454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46455 redefine if SHARED.
46456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46459 wide char related routines to wcsmbs subdir.
46461 2011-10-27 Andreas Schwab <schwab@redhat.com>
46464 * misc/sys/cdefs.h (__THROWNL): Define.
46465 * posix/unistd.h: Use __THREADNL instead of __THREAD
46466 for memory synchronization functions.
46468 2011-10-26 Roland McGrath <roland@hack.frob.com>
46471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46473 * manual/stdio.texi (Obstack Streams): Node removed.
46475 2011-10-26 Andreas Schwab <schwab@redhat.com>
46477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46481 * math/math_private.h (math_force_eval): Allow non-addressable
46483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46485 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46488 file is not needed.
46490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46523 place. Use VEX encoding when compiling for AVX.
46525 2011-10-25 Andreas Schwab <schwab@redhat.com>
46527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46532 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46535 useless if() expression.
46536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46558 2011-10-25 Andreas Schwab <schwab@redhat.com>
46560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46567 .text section. Avoid duplicate constants.
46568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46614 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46616 * sysdeps/x86_64/dla.h: Move to ...
46617 * sysdeps/x86_64/fpu/dla.h: ...here.
46618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46619 situations. Use __builtin_fma only for gcc 4.6 and up.
46621 * config.make.in: Add have-mfma4 entry.
46622 * configure.in: Substitute libc_cv_cc_fma4.
46623 * math/Makefile (dbl-only-routines): Add sincostab.
46624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46625 Use __sincostab not sincos.
46626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46642 define aliases when function name is a macro.
46643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46644 sysdeps/ieee754/dbl-64/sincos.tbl.
46645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46646 fma4-enabled routines.
46647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46689 2011-10-24 Andreas Schwab <schwab@redhat.com>
46691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46702 Remove unused variable magic_bits.
46703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46705 * string/strnlen.c: Define and use STRNLEN macro.
46706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46709 * wcsmbs/wcslen.c: Define and use WCSLEN.
46710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46718 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46721 strnlen-sse2-no-bsf.
46722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46725 Add strnlen support.
46726 (USE_AS_STRNLEN): New macro.
46727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46730 * sysdeps/x86_64/wcslen.S: New file.
46732 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46735 XMM-moves are used for copying on small sizes.
46737 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46739 * wcsmbs/Makefile (strop-tests): Add wcschr.
46740 * wcsmbs/test-wcschr.c: New file.
46741 * string/test-strchr.c: Update.
46742 Add wcschr support.
46745 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46747 * wcsmbs/Makefile (strop-tests): Add wcslen.
46748 * wcsmbs/test-wcslen.c: New file.
46749 * string/test-strlen.c: Update.
46750 Add wcslen support.
46753 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46755 * po/it.po: Update from translation team.
46757 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46759 * sysdeps/x86_64/wcscmp.S: Update.
46760 Fix wrong comparison semantics.
46761 wcscmp shall use signed comparison not unsigned.
46762 Don't use substraction to avoid overflow bug.
46763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46764 * wcsmbc/wcscmp.c: Likewise.
46765 * string/test-strcmp.c: Likewise.
46766 Add new tests to check cases with negative values.
46768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46771 * sysdeps/x86_64/dla.h: ...here. New file.
46772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46782 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46785 __ynl_finite aliases.
46787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46793 [DLA_FMA] (EMULV): Use DLA_FMA.
46794 [DLA_FMA] (MUL12): Use EMULV.
46795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46796 that are not needed.
46797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46805 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46807 * math/s_nan.c: Undef __nan.
46808 * math/s_nanf.c: Undef __nanf.
46809 * math/s_nanl.c: Undef __nanl.
46810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46813 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46815 * math/s_catan.c: Add branch predictions.
46816 * math/s_catanf.c: Likewise.
46817 * math/s_catanh.c: Likewise.
46818 * math/s_catanhf.c: Likewise.
46819 * math/s_catanhl.c: Likewise.
46820 * math/s_catanl.c: Likewise.
46821 * math/s_cexp.c: Likewise.
46822 * math/s_cexpf.c: Likewise.
46823 * math/s_cexpl.c: Likewise.
46824 * math/s_clog.c: Likewise.
46825 * math/s_clog10.c: Likewise.
46826 * math/s_clog10f.c: Likewise.
46827 * math/s_clog10l.c: Likewise.
46828 * math/s_clogf.c: Likewise.
46829 * math/s_clogl.c: Likewise.
46830 * math/s_csqrt.c: Likewise.
46831 * math/s_csqrtf.c: Likewise.
46832 * math/s_csqrtl.c: Likewise.
46833 * math/s_ctanf.c: Likewise.
46834 * math/s_ctanh.c: Likewise.
46835 * math/s_ctanhf.c: Likewise.
46836 * math/s_ctanhl.c: Likewise.
46837 * math/s_ctanl.c: Likewise.
46839 * math/math_private.h: Define __nan, __nanf, __nanl.
46840 * math/s_cacosh.c: Include <math_private.h>.
46841 * math/s_cacoshl.c: Likewise.
46842 * math/s_casinh.c: Likewise.
46843 * math/s_casinhf.c: Likewise.
46844 * math/s_casinhl.c: Likewise.
46845 * math/s_ccos.c: Rely entire on ccosh.
46846 * math/s_ccosf.c: Rely entire on ccoshf.
46847 * math/s_ccosl.c: Rely entirely on ccoshl.
46848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46849 Remove tests for FE_INVALID.
46850 * math/s_ccoshf.c: Likewise.
46851 * math/s_ccoshl.c: Likewise.
46852 * math/s_csin.c: Likewise.
46853 * math/s_csinf.c: Likewise.
46854 * math/s_csinh.c Likewise.
46855 * math/s_csinhf.c: Likewise.
46856 * math/s_csinhl.c: Likewise.
46857 * math/s_csinl.c: Likewise.
46858 * math/s_ctan.c: Likewise.
46859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46863 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46866 compilation problems.
46868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46871 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46873 * sysdeps/i386/configure.in: Test for -mfma4 option.
46874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46876 COMMON_CPUID_INDEX_80000001.
46877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46879 use it if FMA3 is not supported.
46880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46885 2011-10-20 Andreas Schwab <schwab@redhat.com>
46888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46889 it would create a cycle with a link time dependency.
46891 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46895 * string/Makefile (strop-tests): Add rawmemchr.
46896 * string/test-rawmemchr.c: New file.
46898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46901 when compiling str{,n}casecmp and when AVX is available. Hook up
46902 new optimized code in initializers.
46904 2011-10-19 Andreas Schwab <schwab@redhat.com>
46906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46907 __feraiseexcept instead of feraiseexcept.
46909 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46911 * math/math_private.h: Define defaults for libc_fetestexcept and
46913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46919 libc_fetestexcept and libc_feupdateenv.
46921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46925 libc_feholdexcept_setround.
46927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46928 Add s_nearbyint-c and s_nearbyintf-c.
46929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46930 nearbyintf inlines.
46931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46936 * math/math_private.h: Define defaults for libc_fegetround,
46937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46942 standard functions.
46943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46944 Remove comments and hacks for old compiler versions.
46945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46947 libc_feholdexceptl.
46949 2011-10-18 Andreas Schwab <schwab@redhat.com>
46951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46952 (__feraiseexcept_renamed): Add __NTH.
46953 (feraiseexcept): Add __NTH. Rename local variables to fix
46954 namespace violations.
46956 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46963 recently added interfaces.
46964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46967 about macro parameter expansion.
46969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46970 __NO_MATH_INLINES is defined. Cleanups.
46972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46973 and __floorf is target has SSE4.1.
46974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46981 (floorf): Likewise.
46983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46985 2011-10-17 Andreas Schwab <schwab@redhat.com>
46987 * misc/sys/cdefs.h: Fix last change.
46989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46992 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47020 ceil, ceilf, floor, floorf.
47022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47023 Perform IRELATIVE relocations last.
47025 * elf/do-rel.h: Add another parameter nrelative, replacing the
47026 local variable with the same name. Change name of the function
47027 to end in Rel or Rela (uppercase).
47028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47030 elf_dynamic_do_##reloc function.
47032 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47035 is sufficient, at least on modern CPUs.
47037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47044 * math/bits/math-finite.h: Add entries for exp.
47045 * math/e_expl.c: Add __*_finite alias.
47046 * sysdeps/i386/fpu/e_exp.S: Likewise.
47047 * sysdeps/i386/fpu/e_expf.S: Likewise.
47048 * sysdeps/i386/fpu/e_expl.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47058 is sufficient, at least on modern CPUs.
47060 * ctype/ctype-info.c (__ctype_init): Define.
47061 * include/ctype.h (__ctype_init): Declare.
47062 (__ctype_b_loc): The variable is always initialized.
47063 (__ctype_toupper_loc): Likewise.
47064 (__ctype_tolower_loc): Likewise.
47065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47068 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47072 * configure.in: Also look in $cxxmachine/include for C++ system
47075 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47082 (USE_AS_WMEMCMP): New macro.
47084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47095 (USE_AS_WMEMCMP): New macro.
47096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47097 * sysdeps/string/test-memcmp.c: Update.
47098 Fix simple_wmemcmp.
47100 * wcsmbs/wmemcmp.c: Update.
47101 (WMEMCMP): New macro.
47104 2011-10-12 Andreas Jaeger <aj@suse.de>
47107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47109 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47111 * libio/iofwide.c (do_length): Avoid warning.
47113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47115 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47122 * sysdeps/i386/i686/fpu/e_log.S: New file.
47123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47126 * ctype/ctype.h: Add support for inlined isXXX functions when
47127 compiling C++ code.
47129 2011-10-14 Andreas Schwab <schwab@redhat.com>
47131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47135 2011-10-13 Roland McGrath <roland@hack.frob.com>
47138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47140 2011-10-13 Andreas Schwab <schwab@redhat.com>
47142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47146 * sysdeps/x86_64/memrchr.S: Check for zero size.
47148 * string/stratcliff.c: Add memrchr tests.
47150 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47154 rawmemchr-sse2 rawmemchr-sse2-bsf.
47155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47165 * string/memrchr.c (MEMRCHR): New macro.
47167 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47169 Add integration with gcc's -ffinite-math-only and optimize wrapper
47171 * Versions.def: Define GLIBC_2.15 version for libm.
47172 * math/Makefile (headers): Add bits/math-finite.h.
47173 * math/bits/math-finite.h: New file.
47174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47176 * math/e_acoshl.c: Add __*_finite alias.
47177 * math/e_acosl.c: Likewise.
47178 * math/e_asinl.c: Likewise.
47179 * math/e_atan2l.c: Likewise.
47180 * math/e_atanhl.c: Likewise.
47181 * math/e_coshl.c: Likewise.
47182 * math/e_exp10.c: Likewise.
47183 * math/e_exp10f.c: Likewise.
47184 * math/e_exp10l.c: Likewise.
47185 * math/e_exp2l.c: Likewise.
47186 * math/e_fmodl.c: Likewise.
47187 * math/e_gammal_r.c: Likewise.
47188 * math/e_hypotl.c: Likewise.
47189 * math/e_j0l.c: Likewise.
47190 * math/e_j1l.c: Likewise.
47191 * math/e_jnl.c: Likewise.
47192 * math/e_lgammal_r.c: Likewise.
47193 * math/e_log10l.c: Likewise.
47194 * math/e_log2l.c: Likewise.
47195 * math/e_logl.c: Likewise.
47196 * math/e_powl.c: Likewise.
47197 * math/e_sinhl.c: Likewise.
47198 * math/e_sqrtl.c: Likewise.
47199 * math/e_scalb.c: Completely rewritten and optimized.
47200 * math/e_scalbf.c: Likewise.
47201 * math/e_scalbl.c: Likewise.
47202 * math/w_acos.c: Likewise.
47203 * math/w_acosf.c: Likewise.
47204 * math/w_acosl.c: Likewise.
47205 * math/w_acosh.c: Likewise.
47206 * math/w_acoshf.c: Likewise.
47207 * math/w_acoshl.c: Likewise.
47208 * math/w_asin.c: Likewise.
47209 * math/w_asinf.c: Likewise.
47210 * math/w_asinl.c: Likewise.
47211 * math/w_atan2.c: Likewise.
47212 * math/w_atan2f.c: Likewise.
47213 * math/w_atan2l.c: Likewise.
47214 * math/w_atanh.c: Likewise.
47215 * math/w_atanhf.c: Likewise.
47216 * math/w_atanhl.c: Likewise.
47217 * math/w_exp10.c: Likewise.
47218 * math/w_exp10f.c: Likewise.
47219 * math/w_exp10l.c: Likewise.
47220 * math/w_fmod.c: Likewise.
47221 * math/w_fmodf.c: Likewise.
47222 * math/w_fmodl.c: Likewise.
47223 * math/w_j0.c: Likewise.
47224 * math/w_j0f.c: Likewise.
47225 * math/w_j0l.c: Likewise.
47226 * math/w_j1.c: Likewise.
47227 * math/w_j1f.c: Likewise.
47228 * math/w_j1l.c: Likewise.
47229 * math/w_jn.c: Likewise.
47230 * math/w_jnf.c: Likewise.
47231 * math/w_log.c: Likewise.
47232 * math/w_logf.c: Likewise.
47233 * math/w_logl.c: Likewise.
47234 * math/w_log10.c: Likewise.
47235 * math/w_log10f.c: Likewise.
47236 * math/w_log10l.c: Likewise.
47237 * math/w_log2.c: Likewise.
47238 * math/w_log2f.c: Likewise.
47239 * math/w_log2l.c: Likewise.
47240 * math/w_pow.c: Likewise.
47241 * math/w_powf.c: Likewise.
47242 * math/w_powl.c: Likewise.
47243 * math/w_remainder.c: Likewise.
47244 * math/w_remainderf.c: Likewise.
47245 * math/w_remainderl.c: Likewise.
47246 * math/w_scalb.c: Likewise.
47247 * math/w_scalbf.c: Likewise.
47248 * math/w_scalbl.c: Likewise.
47249 * math/w_sqrt.c: Likewise.
47250 * math/w_sqrtf.c: Likewise.
47251 * math/w_sqrtl.c: Likewise.
47252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47255 * math/math_private.h: Declare __kernel_standard_f.
47256 * math/w_cosh.c: Remove cruft and optimize a bit.
47257 * math/w_coshf.c: Likewise.
47258 * math/w_coshl.c: Likewise.
47259 * math/w_exp2.c: Likewise.
47260 * math/w_exp2f.c: Likewise.
47261 * math/w_exp2l.c: Likewise.
47262 * math/w_hypot.c: Likewise.
47263 * math/w_hypotf.c: Likewise.
47264 * math/w_hypotl.c: Likewise.
47265 * math/w_lgamma.c: Likewise.
47266 * math/w_lgamma_r.c: Likewise.
47267 * math/w_lgammaf.c: Likewise.
47268 * math/w_lgammaf_r.c: Likewise.
47269 * math/w_lgammal.c: Likewise.
47270 * math/w_lgammal_r.c: Likewise.
47271 * math/w_sinh.c: Likewise.
47272 * math/w_sinhf.c: Likewise.
47273 * math/w_sinhl.c: Likewise.
47274 * math/w_tgamma.c: Likewise.
47275 * math/w_tgammaf.c: Likewise.
47276 * math/w_tgammal.c: Likewise.
47277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47280 Minor optimizations. Pretty printing. Remove cruft.
47281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47286 * sysdeps/i386/fpu/e_asin.S: Likewise.
47287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47305 * sysdeps/i386/fpu/e_log.S: Likewise.
47306 * sysdeps/i386/fpu/e_log10.S: Likewise.
47307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47309 * sysdeps/i386/fpu/e_log2.S: Likewise.
47310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47312 * sysdeps/i386/fpu/e_logf.S: Likewise.
47313 * sysdeps/i386/fpu/e_logl.S: Likewise.
47314 * sysdeps/i386/fpu/e_pow.S: Likewise.
47315 * sysdeps/i386/fpu/e_powf.S: Likewise.
47316 * sysdeps/i386/fpu/e_powl.S: Likewise.
47317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47439 (__isnanf): Likewise.
47440 (__isinf_ns): Likewise.
47441 (__isinf_nsf): Likewise.
47442 (__finite): Likewise.
47443 (__finitef): Likewise.
47444 (__ieee754_sqrt): Define as macro.
47445 (__ieee754_sqrtf): Define as macro.
47446 (__ieee754_sqrtl): Define as macro.
47447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47450 __FINITE_MATH_ONLY__ consistent.
47451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47453 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47460 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47462 * po/ja.po: Update from translation team.
47464 2011-10-08 Roland McGrath <roland@hack.frob.com>
47466 * locale/programs/locarchive.c (prepare_address_space): New function.
47467 (create_archive, enlarge_archive, open_archive): Use it.
47469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47470 inside [SHARED], where it is used.
47472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47474 * nss/getent.c (netgroup_keys): Remove unused variable.
47475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47477 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47485 * math/Makefile (libm-calls): Add s_isinf_ns.
47486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47487 * math/multc3.c: Likewise.
47488 * math/s_casin.c: Likewise.
47489 * math/s_casinf.c: Likewise.
47490 * math/s_casinl.c: Likewise.
47491 * math/s_ccos.c: Likewise.
47492 * math/s_ccosf.c: Likewise.
47493 * math/s_ccosl.c: Likewise.
47494 * math/s_ctan.c: Likewise.
47495 * math/s_ctanf.c: Likewise.
47496 * math/s_ctanh.c: Likewise.
47497 * math/s_ctanhf.c: Likewise.
47498 * math/s_ctanhl.c: Likewise.
47499 * math/s_ctanl.c: Likewise.
47500 * math/w_fmod.c: Likewise.
47501 * math/w_fmodf.c: Likewise.
47502 * math/w_fmodl.c: Likewise.
47503 * math/w_remainder.c: Likewise.
47504 * math/w_remainderf.c: Likewise.
47505 * math/w_remainderl.c: Likewise.
47506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47517 * stdio-common/printf_fphex.c: Likewise.
47518 * stdio-common/printf_size.c: Likewise.
47520 * math/e_exp10.c: Include math_private.h using <...> not "...".
47521 * math/e_exp10f.c: Likewise.
47522 * math/e_exp10l.c: Likewise.
47523 * math/e_exp2l.c: Likewise.
47524 * math/e_j0l.c: Likewise.
47525 * math/e_j1l.c: Likewise.
47526 * math/e_jnl.c: Likewise.
47527 * math/e_lgammal_r.c: Likewise.
47528 * math/e_rem_pio2l.c: Likewise.
47529 * math/e_scalb.c: Likewise.
47530 * math/e_scalbf.c: Likewise.
47531 * math/e_scalbl.c: Likewise.
47532 * math/k_cosl.c: Likewise.
47533 * math/k_sinl.c: Likewise.
47534 * math/k_tanl.c: Likewise.
47535 * math/s_cacoshf.c: Likewise.
47536 * math/s_catan.c: Likewise.
47537 * math/s_catanf.c: Likewise.
47538 * math/s_catanh.c: Likewise.
47539 * math/s_catanhf.c: Likewise.
47540 * math/s_catanhl.c: Likewise.
47541 * math/s_catanl.c: Likewise.
47542 * math/s_ccosh.c: Likewise.
47543 * math/s_ccoshf.c: Likewise.
47544 * math/s_ccoshl.c: Likewise.
47545 * math/s_cexp.c: Likewise.
47546 * math/s_cexpf.c: Likewise.
47547 * math/s_cexpl.c: Likewise.
47548 * math/s_clog.c: Likewise.
47549 * math/s_clog10.c: Likewise.
47550 * math/s_clog10f.c: Likewise.
47551 * math/s_clog10l.c: Likewise.
47552 * math/s_clogf.c: Likewise.
47553 * math/s_clogl.c: Likewise.
47554 * math/s_csin.c: Likewise.
47555 * math/s_csinf.c: Likewise.
47556 * math/s_csinh.c: Likewise.
47557 * math/s_csinhf.c: Likewise.
47558 * math/s_csinhl.c: Likewise.
47559 * math/s_csinl.c: Likewise.
47560 * math/s_csqrt.c: Likewise.
47561 * math/s_csqrtf.c: Likewise.
47562 * math/s_csqrtl.c: Likewise.
47563 * math/s_ctan.c: Likewise.
47564 * math/s_ctanf.c: Likewise.
47565 * math/s_ctanh.c: Likewise.
47566 * math/s_ctanhf.c: Likewise.
47567 * math/s_ctanhl.c: Likewise.
47568 * math/s_ctanl.c: Likewise.
47569 * math/s_ldexp.c: Likewise.
47570 * math/s_ldexpf.c: Likewise.
47571 * math/s_ldexpl.c: Likewise.
47572 * math/s_significand.c: Likewise.
47573 * math/s_significandf.c: Likewise.
47574 * math/s_significandl.c: Likewise.
47575 * math/w_acos.c: Likewise.
47576 * math/w_acosf.c: Likewise.
47577 * math/w_acosh.c: Likewise.
47578 * math/w_acoshf.c: Likewise.
47579 * math/w_acoshl.c: Likewise.
47580 * math/w_acosl.c: Likewise.
47581 * math/w_asin.c: Likewise.
47582 * math/w_asinf.c: Likewise.
47583 * math/w_asinl.c: Likewise.
47584 * math/w_atan2.c: Likewise.
47585 * math/w_atan2f.c: Likewise.
47586 * math/w_atan2l.c: Likewise.
47587 * math/w_atanh.c: Likewise.
47588 * math/w_atanhf.c: Likewise.
47589 * math/w_atanhl.c: Likewise.
47590 * math/w_cosh.c: Likewise.
47591 * math/w_coshf.c: Likewise.
47592 * math/w_coshl.c: Likewise.
47593 * math/w_dremf.c: Likewise.
47594 * math/w_exp10.c: Likewise.
47595 * math/w_exp10f.c: Likewise.
47596 * math/w_exp10l.c: Likewise.
47597 * math/w_exp2.c: Likewise.
47598 * math/w_exp2f.c: Likewise.
47599 * math/w_fmod.c: Likewise.
47600 * math/w_fmodf.c: Likewise.
47601 * math/w_fmodl.c: Likewise.
47602 * math/w_hypot.c: Likewise.
47603 * math/w_hypotf.c: Likewise.
47604 * math/w_hypotl.c: Likewise.
47605 * math/w_j0.c: Likewise.
47606 * math/w_j0f.c: Likewise.
47607 * math/w_j0l.c: Likewise.
47608 * math/w_j1.c: Likewise.
47609 * math/w_j1f.c: Likewise.
47610 * math/w_j1l.c: Likewise.
47611 * math/w_jn.c: Likewise.
47612 * math/w_jnf.c: Likewise.
47613 * math/w_jnl.c: Likewise.
47614 * math/w_lgamma.c: Likewise.
47615 * math/w_lgamma_r.c: Likewise.
47616 * math/w_lgammaf.c: Likewise.
47617 * math/w_lgammaf_r.c: Likewise.
47618 * math/w_lgammal.c: Likewise.
47619 * math/w_lgammal_r.c: Likewise.
47620 * math/w_log.c: Likewise.
47621 * math/w_log10.c: Likewise.
47622 * math/w_log10f.c: Likewise.
47623 * math/w_log10l.c: Likewise.
47624 * math/w_log2.c: Likewise.
47625 * math/w_log2f.c: Likewise.
47626 * math/w_log2l.c: Likewise.
47627 * math/w_logf.c: Likewise.
47628 * math/w_logl.c: Likewise.
47629 * math/w_pow.c: Likewise.
47630 * math/w_powf.c: Likewise.
47631 * math/w_powl.c: Likewise.
47632 * math/w_remainder.c: Likewise.
47633 * math/w_remainderf.c: Likewise.
47634 * math/w_remainderl.c: Likewise.
47635 * math/w_scalb.c: Likewise.
47636 * math/w_scalbf.c: Likewise.
47637 * math/w_scalbl.c: Likewise.
47638 * math/w_sinh.c: Likewise.
47639 * math/w_sinhf.c: Likewise.
47640 * math/w_sinhl.c: Likewise.
47641 * math/w_sqrt.c: Likewise.
47642 * math/w_sqrtf.c: Likewise.
47643 * math/w_sqrtl.c: Likewise.
47644 * math/w_tgamma.c: Likewise.
47645 * math/w_tgammaf.c: Likewise.
47646 * math/w_tgammal.c: Likewise.
47648 * po/ja.po: Update from translation team.
47650 2011-09-29 Andreas Jaeger <aj@suse.de>
47653 * sunrpc/netname.c (netname2host): Fix logic.
47657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47659 * math/w_remainder.c (__remainder): Likewise.
47660 * math/w_remainderf.c (__remainderf): Likewise.
47661 * math/libm-test.inc (remainder_test): Add test cases.
47663 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47668 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47670 * string/test-memcmp.c: Avoid unncessary #defines.
47671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47673 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47676 Use new sse2 version for core i3 - i7 as it's faster
47677 than sse42 version.
47678 (bit_Prefer_PMINUB_for_stringop): New.
47679 * sysdeps/x86_64/rawmemchr.S: Update.
47680 Replace with faster SSE2 version.
47681 * sysdeps/x86_64/memrchr.S: New file.
47682 * sysdeps/x86_64/memchr.S: Update.
47683 Replace with faster SSE2 version.
47685 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47687 * elf/dl-load.c (lose): Add cast to avoid warning.
47689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47691 * po/ca.po: Update from translation team.
47693 * inet/getnetgrent_r.c: Hook up nscd.
47694 * nscd/Makefile (routines): Add nscd_netgroup.
47695 (nscd-modules): Add netgroupcache.
47696 (CFLAGS-netgroupcache.c): Define.
47697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47698 (cache_search): Add const to second parameter.
47699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47701 (dbs): Add netgrdb entry.
47702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47703 (verify_persistent_db): Handle netgrdb.
47704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47707 (netgroup_response_header): Define.
47708 (innetgroup_response_header): Define.
47709 (datahead): Add netgroup_response_header and innetgroup_response_header
47711 * nscd/nscd.conf: Add entries for netgroup cache.
47712 * nscd/nscd.h (dbtype): Add netgrdb.
47713 (_PATH_NSCD_NETGROUP_DB): Define.
47714 (netgroup_iov_disabled): Declare.
47715 (xmalloc, xcalloc, xrealloc): Move declarations here.
47716 (cache_search): Adjust prototype.
47717 Add netgroup-related prototypes.
47718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47720 (__nscd_innetgr): Declare.
47721 * nscd/selinux.c (perms): Use access_vector_t as element type and
47722 add netgroup-related initializers.
47723 * nscd/netgroupcache.c: New file.
47724 * nscd/nscd_netgroup.c: New file.
47725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47727 For four parameters use innetgr.
47728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47733 * nscd/connections.c (register_traced_file): Don't register file
47734 for disabled databases.
47736 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47741 from tree and freeing node.
47743 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47745 * nss/nsswitch.c (__nss_database_lookup): Handle
47746 nss_parse_service_list out of memory case.
47748 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47751 out of memory case.
47753 2011-10-04 Andreas Schwab <schwab@redhat.com>
47755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47759 elf_machine_rela, elf_machine_lazy_rel.
47760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47761 (ELF_DYNAMIC_DO_REL): Likewise.
47762 (ELF_DYNAMIC_DO_RELA): Likewise.
47763 (ELF_DYNAMIC_RELOCATE): Likewise.
47764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47765 to ELF_DYNAMIC_DO_REL.
47766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47771 skip_ifunc, don't call ifunc function if non-zero.
47772 (elf_machine_rela): Likewise.
47773 (elf_machine_lazy_rel): Likewise.
47774 (elf_machine_lazy_rela): Likewise.
47775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47776 (elf_machine_lazy_rel): Likewise.
47777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47779 (elf_machine_lazy_rel): Likewise.
47780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47782 (elf_machine_lazy_rel): Likewise.
47783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47784 (elf_machine_lazy_rel): Likewise.
47785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47786 (elf_machine_lazy_rel): Likewise.
47787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47788 (elf_machine_lazy_rel): Likewise.
47789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47790 (elf_machine_lazy_rel): Likewise.
47791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47792 (elf_machine_lazy_rel): Likewise.
47793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47794 (elf_machine_lazy_rel): Likewise.
47796 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47798 * nss/nss_files/files-init.c (_nss_files_init): Use static
47799 initialization for all the *_traced_file variables.
47801 2011-09-28 Andreas Schwab <schwab@redhat.com>
47803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47805 2011-09-27 Roland McGrath <roland@hack.frob.com>
47808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47810 2011-09-27 Andreas Schwab <schwab@redhat.com>
47812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47813 Reread the line before reparsing it.
47815 2011-09-26 Andreas Schwab <schwab@redhat.com>
47817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47819 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47820 Maxim Kuvyrkov <maxim@codesourcery.com>
47821 Joseph Myers <joseph@codesourcery.com>
47823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47824 if needed for __stack_chk_guard.
47826 2011-09-19 Roland McGrath <roland@hack.frob.com>
47828 * sysdeps/posix/spawni.c (script_execute): Always define it.
47829 It will be optimized away if unused.
47830 (maybe_script_execute): New function.
47831 (__spawni): Call it.
47833 * Makerules: Don't include tls.make.
47834 (config-tls): Always set to thread.
47835 * tls.make.c: File removed.
47837 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47840 * config.make.in (CPPFLAGS-config): New substituted variable.
47842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47850 2011-09-15 Roland McGrath <roland@hack.frob.com>
47852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47855 (CALL_FAIL): Likewise.
47856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47857 (CALL_FAIL): Macro removed.
47858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47863 for __FINITE_MATH_ONLY__ == 1.
47865 2011-09-15 Andreas Schwab <schwab@redhat.com>
47867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47868 __ieee754_sqrt instead of sqrt.
47869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47870 __ieee754_sqrtf instead of sqrtf.
47871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47872 __floorf instead of floorf.
47873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47874 __floorf, __truncf instead of floorf, truncf.
47876 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47881 __extern_always_inline.
47882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47885 2011-09-14 Andreas Schwab <schwab@redhat.com>
47887 * elf/rtld.c (dl_main): Also relocate in dependency order when
47888 doing symbol dependency testing.
47890 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47893 Always define `refsym'.
47895 2011-09-13 Andreas Schwab <schwab@redhat.com>
47897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47898 (__FD_ELT): Renamed from __FDELT.
47899 * misc/bits/select2.h (__FD_ELT): Likewise.
47900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47901 __FD_MASK instead of __FDELT, __FDMASK.
47902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47907 * elf/Makefile (gen-ldd): Fix pattern.
47909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47910 (init_tls): Likewise.
47912 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47916 2011-09-12 Andreas Schwab <schwab@redhat.com>
47918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47919 `struct cmsghdr *' instead of `void *'.
47920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47923 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47928 ldd_rewrite_script.
47930 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47932 * configure.in: Remove --with-tls option.
47933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47935 out in case it is missing.
47936 * sysdeps/ia64/elf/configure.in: Likewise.
47937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47941 * sysdeps/sh/elf/configure.in: Likewise.
47942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47944 * sysdeps/x86_64/elf/configure.in: Likewise.
47945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47946 * sysdeps/mach/hurd/tls.h: Likewise.
47949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47952 * configure.in: Fix use of AC_INIT.
47954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47956 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47960 * malloc/hooks.c: Likewise.
47963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47964 variables statically.
47965 (narenas): Initialize.
47966 (list_lock): Initialize.
47967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47968 initializtion of main_arena and list_lock. Small cleanups.
47969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47971 Add initializers to main_arena and mp_.
47972 (malloc_state): Remove pagesize member. Change all users to use
47975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47977 is always initialized.
47979 * malloc/malloc.c: Removed unused configurations and dead code.
47980 * malloc/arena.c: Likewise.
47981 * malloc/hooks.c: Likewise.
47982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47984 * include/tls.h: Removed. USE___THREAD must always be defined.
47985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47986 * elf/dl-libc.c: Likewise.
47987 * elf/dl-tsd.c: Likewise.
47988 * include/errno.h: Likewise.
47989 * include/netdb.h: Likewise.
47990 * include/resolv.h: Likewise.
47991 * inet/herrno-loc.c: Likewise.
47992 * inet/herrno.c: Likewise.
47993 * malloc/arena.c: Likewise.
47994 * malloc/hooks.c: Likewise.
47995 * malloc/malloc.c: Likewise.
47996 * resolv/res-state.c: Likewise.
47997 * resolv/res_libc.c: Likewise.
47998 * sysdeps/i386/dl-machine.h: Likewise.
47999 * sysdeps/ia64/dl-machine.h: Likewise.
48000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48004 * sysdeps/sh/dl-machine.h: Likewise.
48005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48007 * sysdeps/unix/i386/sysdep.S: Likewise.
48008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48019 * sysdeps/x86_64/dl-machine.h: Likewise.
48020 * tls.make.c: Likewise.
48022 * configure.in: Remove --with-__thread option. Make tests for
48023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48024 tls_model attribute fail if no support is available. Remove
48026 * Makeconfig: Adjust for dropped configure option. All features are
48028 * Makerules: Likewise.
48029 * Versions.def: Likewise.
48030 * argp/argp-fmtstream.c: Likewise.
48031 * argp/argp-fmtstream.h: Likewise.
48032 * argp/argp-help.c: Likewise.
48033 * assert/assert.c: Likewise.
48034 * config.h.in: Likewise.
48035 * config.make.in: Likewise.
48036 * configure: Likewise.
48037 * configure.in: Likewise.
48038 * csu/Versions: Likewise.
48039 * csu/init.c: Likewise.
48040 * elf/tst-audit2.c: Likewise.
48041 * elf/tst-tls10.c: Likewise.
48042 * elf/tst-tls10.h: Likewise.
48043 * elf/tst-tls11.c: Likewise.
48044 * elf/tst-tls12.c: Likewise.
48045 * elf/tst-tls14.c: Likewise.
48046 * elf/tst-tlsmod11.c: Likewise.
48047 * elf/tst-tlsmod12.c: Likewise.
48048 * elf/tst-tlsmod13.c: Likewise.
48049 * elf/tst-tlsmod13a.c: Likewise.
48050 * elf/tst-tlsmod14a.c: Likewise.
48051 * elf/tst-tlsmod15b.c: Likewise.
48052 * elf/tst-tlsmod16a.c: Likewise.
48053 * elf/tst-tlsmod16b.c: Likewise.
48054 * elf/tst-tlsmod7.c: Likewise.
48055 * elf/tst-tlsmod8.c: Likewise.
48056 * elf/tst-tlsmod9.c: Likewise.
48057 * gmon/gmon.c: Likewise.
48058 * grp/fgetgrent_r.c: Likewise.
48059 * grp/putgrent.c: Likewise.
48060 * hurd/fopenport.c: Likewise.
48061 * include/libc-symbols.h: Likewise.
48062 * include/tls.h: Likewise.
48063 * intl/gettextP.h: Likewise.
48064 * intl/loadinfo.h: Likewise.
48065 * locale/global-locale.c: Likewise.
48066 * locale/localeinfo.h: Likewise.
48067 * mach/devstream.c: Likewise.
48068 * malloc/arena.c: Likewise.
48069 * malloc/set-freeres.c: Likewise.
48070 * misc/err.c: Likewise.
48071 * misc/getttyent.c: Likewise.
48072 * misc/mntent_r.c: Likewise.
48073 * posix/getopt.c: Likewise.
48074 * posix/wordexp.c: Likewise.
48075 * pwd/fgetpwent_r.c: Likewise.
48076 * resolv/Versions: Likewise.
48077 * resolv/res_hconf.c: Likewise.
48078 * shadow/fgetspent_r.c: Likewise.
48079 * shadow/putspent.c: Likewise.
48080 * stdio-common/printf_fphex.c: Likewise.
48081 * stdio-common/tmpfile.c: Likewise.
48082 * stdlib/abort.c: Likewise.
48083 * stdlib/fmtmsg.c: Likewise.
48084 * sunrpc/auth_unix.c: Likewise.
48085 * sunrpc/clnt_perr.c: Likewise.
48086 * sunrpc/clnt_tcp.c: Likewise.
48087 * sunrpc/clnt_udp.c: Likewise.
48088 * sunrpc/clnt_unix.c: Likewise.
48089 * sunrpc/openchild.c: Likewise.
48090 * sunrpc/svc_simple.c: Likewise.
48091 * sunrpc/svc_tcp.c: Likewise.
48092 * sunrpc/svc_udp.c: Likewise.
48093 * sunrpc/svc_unix.c: Likewise.
48094 * sunrpc/xdr.c: Likewise.
48095 * sunrpc/xdr_array.c: Likewise.
48096 * sunrpc/xdr_rec.c: Likewise.
48097 * sunrpc/xdr_ref.c: Likewise.
48098 * sunrpc/xdr_stdio.c: Likewise.
48100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48104 2011-07-03 Andreas Jaeger <aj@suse.de>
48106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48108 regenerate with gen-libm-tests.pl.
48110 2010-05-12 Petr Baudis <pasky@suse.cz>
48113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48114 around j0() zero points by switching to j1().
48115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48120 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48127 Patch in part by Pavel Roskin <proski@gnu.org>.
48130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48133 Free memory block if necessary.
48136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48137 be NULL. Don't lock in this case.
48139 2011-09-09 Roland McGrath <roland@hack.frob.com>
48141 * elf/elf.h (ELFOSABI_GNU): New macro.
48142 (ELFOSABI_LINUX): Define to that.
48144 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48146 * string/strncat.c (strncat): Undef the symbol in case it has been
48147 defined in bits/string.h.
48149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48156 2011-08-17 Andreas Jaeger <aj@suse.de>
48158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48160 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48161 Ian Lance Taylor <iant@google.com>
48163 * math/libm-test.inc (lround_test): New testcase.
48164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48166 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48168 * Makefile: Remove support for automatic cvs check-ins.
48169 * Makerules: Likewise.
48170 * config.make.in: Likewise.
48171 * configure.in: Likewise.
48172 * intl/Makefile: Likewise.
48173 * locale/Makefile: Likewise.
48174 * po/Makefile: Likewise.
48175 * posix/Makefile: Likewise.
48176 * sysdeps/gnu/Makefile: Likewise.
48177 * sysdeps/mach/hurd/Makefile: Likewise.
48178 * sysdeps/sparc/sparc32/Makefile: Likewise.
48181 * posix/Makefile (bug-regex32-ENV): Define.
48182 Patch by John Stanley <jpsinthemix@verizon.net>.
48184 * misc/Makefile (headers): Add bits/select2.h.
48185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48186 * misc/bits/select2.h: New file.
48187 * include/bits/select2.h: New file.
48188 * debug/Makefile (routines): Add fdelt_chk.
48189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48192 * debug/fdelt_chk.c: New file.
48194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48195 * wcsmbs/test-wmemcmp.c: Likewise.
48196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48199 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48201 * string/Makefile (strop-tests): Add memcmp.
48202 * string/test-wmemcmp.c: New file.
48203 * string/test-memcmp.c: Add wmemcmp support.
48205 2011-09-08 Roland McGrath <roland@hack.frob.com>
48208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48212 garbage value in a __mach_port_mod_refs call in the cases of the
48213 task-self and thread-self ports.
48215 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48219 2011-09-08 Andreas Schwab <schwab@redhat.com>
48221 * elf/dl-load.c (lose): Check for non-null L.
48223 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48227 * elf/dl-libc.c (dlerror_run): Pass back error code from
48231 * elf/dl-load.c (lose): Free l_origin if it is valid.
48233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48242 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48255 2011-08-15 Alan Modra <amodra@gmail.com>
48258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48261 ppc_mcount to static-only-routines.
48262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48267 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48270 for finite and infinity parameters.
48272 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48275 and add nop instructions for throughput optimization.
48276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48278 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48281 aligned copy for power7 with vector-scalar instructions.
48282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48284 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48289 2011-09-07 Andreas Schwab <schwab@redhat.com>
48292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48295 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48306 Forgot to demangle the pointer.
48308 * sysdeps/i386/sysdep.h: Define atom_text_section.
48309 * sysdeps/x86_64/sysdep.h: Likewise.
48310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48311 section with atom_text_section.
48312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48320 already be defined. Change to take two parameters and don't assign
48321 result to variable. Adjust all users.
48322 Define INTERNAL_GETTIME if not already defined.
48323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48326 HAVE_CLOCK_GETTIME_VSYSCALL.
48327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48330 gettimeofday vsyscall, just use time.
48332 2011-09-06 Andreas Schwab <schwab@redhat.com>
48334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48345 syscall if possible.
48347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48350 e_ident. Don't pass to find_mapsXX.
48351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48353 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48357 * sysdeps/x86_64/multiarch/strchr.S: Update.
48358 Check bit_slow_BSF bit.
48359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48363 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48368 (tryshell): Define.
48369 (__spawni): Change last parameter to be flag. Test
48370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48373 * posix/spawni.c: Likewise.
48374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48375 * posix/spawnp.c: Likewise. Change normal version to use
48376 SPAWN_XFLAGS_USE_PATH.
48377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48378 SPAWN_XFLAGS_TRY_SHELL.
48381 * posix/glob.h: Remove gcc 1.x support.
48384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48386 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48398 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48400 * sysdeps/x86_64/wcscmp.S: New file.
48402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48403 wcscmp-c wcscmp-sse2
48404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48407 * wcsmbs/wcscmp.c: Allow renaming.
48409 2011-09-05 David S. Miller <davem@davemloft.net>
48411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48412 stack slot, rather than the struct return pointer slot.
48413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48418 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48420 * po/ja.po: Update from translation team.
48423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48424 kernel in 64-bit binaries.
48426 2011-09-01 David S. Miller <davem@davemloft.net>
48428 * elf/elf.h (HWCAP_SPARC_*): Move to..
48429 * sysdeps/sparc/sysdep.h: this new file and add new values.
48430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48432 _DL_HWCAP_COUNT to 24.
48433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48439 instead of magic constants.
48440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48442 2011-08-31 David S. Miller <davem@davemloft.net>
48444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48446 Reimplement to do errno handling inline.
48447 (SYSCALL_ERROR_HANDLER): New macro.
48448 (__SYSCALL_STRING): Do not do errno handling in asm.
48449 (__CLONE_SYSCALL_STRING): Delete.
48450 (__INTERNAL_SYSCALL_STRING): Delete.
48451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48453 (PSEUDO): Reimplement to do errno handling inline.
48454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48455 (SYSCALL_ERROR_HANDLER): New macro.
48456 (__SYSCALL_STRING): Do not do errno handling in asm.
48457 (__CLONE_SYSCALL_STRING): Delete.
48458 (__INTERNAL_SYSCALL_STRING): Delete.
48459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48463 (inline_syscall*): Add 'err' argument.
48464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48472 2011-08-30 Andreas Schwab <schwab@redhat.com>
48474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48476 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48481 2011-08-24 David S. Miller <davem@davemloft.net>
48483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48485 2011-08-24 Andreas Schwab <schwab@redhat.com>
48487 * elf/Makefile: Add rules to build and run unload8 test.
48488 * elf/unload8.c: New file.
48489 * elf/unload8mod1.c: New file.
48490 * elf/unload8mod1x.c: New file.
48491 * elf/unload8mod2.c: New file.
48492 * elf/unload8mod3.c: New file.
48494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48497 2011-08-23 David S. Miller <davem@davemloft.net>
48499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48500 subtract stack bias.
48501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48502 %sp not %fp in calculations.
48503 (_JMPBUF_UNWINDS_ADJ): Likewise.
48505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48506 (aio_suspend): Call it to force an exception region around the
48507 AIO_MISC_WAIT() invocation.
48509 2011-08-23 Andreas Schwab <schwab@redhat.com>
48511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48514 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48519 and <dl-machine.h>.
48520 (Elf64_FuncDesc): Remove.
48522 2011-08-22 David S. Miller <davem@davemloft.net>
48524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48525 sigaltstack check, add missing cfi directives.
48526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48527 missing cfi directives, and sigaltstack handling.
48529 2011-08-16 Andreas Schwab <schwab@redhat.com>
48532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48533 object is seen twice.
48534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48536 * elf/Makefile (distribute): Add tst-initorder2.c.
48537 (tests): Add tst-initorder2.
48538 (modules-names): Add tst-initorder2a tst-initorder2b
48539 tst-initorder2c tst-initorder2d. Add rules to build them.
48540 ($(objpfx)tst-initorder2.out): New rule.
48541 * elf/tst-initorder2.c: New file.
48542 * elf/tst-initorder2.exp: New file.
48544 2011-08-22 Andreas Schwab <schwab@redhat.com>
48546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48549 dependencies back to end of function.
48551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48552 $(elfobjdir)/ld.so.
48554 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48561 of __vdso_gettimeofday.
48562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48565 (_libc_vdso_platform_setup): Remove initialization of
48566 __vdso_gettimeofday and __vdso_time.
48568 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48571 and fgetc_unlocked.
48572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48575 * elf/dl-open.c (add_to_global): Report additions to the global scope
48576 for LD_DEBUG=scopes.
48577 (dl_open_worker): Also print scope of newly loaded dependencies.
48578 (_dl_show_scope): Indicate if there is no scope.
48581 * stdio-common/Makefile (tests): Add bug24.
48582 * stdio-common/bug24.c: New file.
48584 2011-08-19 Andreas Jaeger <aj@suse.de>
48587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48588 non-existant file when using close-on-exec mode.
48590 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48593 the very first instruction.
48595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48596 the CFI state in the end.
48597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48598 inclusion of dl-trampoline.h.
48599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48601 2011-08-19 Andreas Schwab <schwab@redhat.com>
48603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48604 expectations for long double.
48606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48609 2011-08-14 David S. Miller <davem@davemloft.net>
48611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48612 artificual limit depends upon the system page size.
48614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48617 * resolv/Makefile: Define CFLAGS-libresolv.
48619 2011-08-17 Andreas Schwab <schwab@redhat.com>
48621 * nss/makedb.c (compute_tables): Make variables used in nested
48624 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48628 if buffer was too small.
48630 * elf/pldd.c (main): Attach to all threads in the process.
48631 Rewrite /proc handling to use *at functions.
48633 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48636 specifies first scope to show.
48637 (dl_open_worker): Update callers. Move printing scope of new
48638 object to before the relocation.
48639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48640 * sysdeps/generic/ldsodefs.h: Update declaration.
48642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48643 string for the scope number.
48645 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48647 * nscd/servicescache.c (cache_addserv): Make sure written is always
48650 2011-08-14 Roland McGrath <roland@hack.frob.com>
48652 * sysdeps/i386/i486/bits/atomic.h
48653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48654 statement expression, so as to suppress "set but not used" warning.
48655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48657 * string/strncat.c (STRNCAT): Use prototype definition.
48659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48663 (localedef-modules): Add localedef.
48664 (locale-modules): Add locale.
48666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48668 to avoid a warning.
48670 2011-08-14 David S. Miller <davem@davemloft.net>
48672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48675 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48679 * elf/rtld.c (dl_main): Set l_name of vDSO.
48680 Call _dl_show_scope when DL_DEBUG_SCOPES.
48681 (process_dl_debug): Recognize scopes flag and also set it for all.
48682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48683 Declare _dl_show_scope.
48685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48686 (do_dlopen): Pass caller_dlopen to dl_open.
48687 (__libc_dlopen_mode): Initialize caller_dlopen.
48689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48690 of libc. Make tolower call locale-independent. Optimize a bit by
48691 using isdigit instead of isalnum.
48692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48694 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48697 was a dependency or dynamically loaded.
48699 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48701 * intl/l10nflist.c: Allow architecture-specific pop function.
48702 * sysdeps/x86_64/l10nflist.c: New file.
48704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48707 2011-08-10 Andreas Schwab <schwab@redhat.com>
48709 * include/dirent.h: Add libc_hidden_proto for scandirat and
48710 scandirat64. Don't declare __scandirat64.
48711 * dirent/scandirat.c: Add libc_hidden_def.
48712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48715 2011-08-10 David S. Miller <davem@davemloft.net>
48717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48723 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48725 * Versions.def [libc]: Add GLIBC_2.15.
48726 * dirent/Makefile (routines): Add scandirat and scandirat64.
48727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48729 * dirent/dirent.h: Declare scandirat and scandirat64.
48730 * dirent/scandirat.c: New file.
48731 * dirent/scandirat64.c: New file.
48732 * sysdeps/wordsize-64/scandirat.c: New file.
48733 * sysdeps/wordsize-64/scandirat64.c: New file.
48734 * dirent/opendir.c: Define opendirat.
48735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48737 * dirent/scandir64.c: Adjust for scandir.c change.
48738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48739 __scandirat64, and __scandir_cancel_handler.
48740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48741 additional parameter and use openat instead of open (outside of ld.so).
48742 Add new __opendir as wrapper around __opendirat.
48743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48744 here without requiring old scandirat implementation.
48746 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48748 * dirent/scandir.c (cancel_handler): Renamed to
48749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48750 defined. Adjust users.
48751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48754 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48756 * string/test-string.h (IMPL): Use __STRING to expand name and then
48759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48764 * string/Makefile: Update.
48765 (strop-tests): Append strncat.
48766 * string/test-wcscmp.c: New file.
48767 New comprehensive test for wcscmp.
48768 * string/test-strcmp.c: Update.
48769 (WIDE): New define.
48771 2011-07-22 Andreas Schwab <schwab@redhat.com>
48773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48776 2011-07-26 Andreas Schwab <schwab@redhat.com>
48778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48779 encoding to ACE if AI_IDN.
48781 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48786 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48789 Fix overflow bug in strncat.
48790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48792 * string/test-strncat.c: Update.
48793 Add new tests for checking overflow bugs.
48795 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48808 (USE_AS_STRCAT): Define.
48809 Add strcat and strncat support.
48810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48812 2011-07-25 Andreas Schwab <schwab@redhat.com>
48814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48815 __n bigger than INT_MAX+1.
48816 (__strncmp_g): Likewise.
48818 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48821 * libio/stido.h: Likewise.
48823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48840 (_dl_x86_64_save_sse): Likewise.
48842 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48846 (_dl_x86_64_save_sse): Likewise.
48848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48852 2011-07-21 Andreas Schwab <schwab@redhat.com>
48854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48856 (_dl_x86_64_save_sse): Use correct AVX check.
48858 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48861 bug in strncpy/strncat.
48862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48864 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48866 * string/tester.c (test_strcat): Add tests for different alignments
48867 of source and destination.
48868 (test_strncat): Likewise.
48870 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48873 * posix/glob.c (glob): Check passed in values before using them in
48874 expressions to avoid some overflows.
48875 (glob_in_dir): Likewise.
48878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48879 check for AVX enablement so that we don't crash with old kernels and
48881 * elf/tst-audit4.c: Add same checks here.
48882 * elf/tst-audit6.c: Likewise.
48884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48886 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48890 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48892 * po/cs.po: Update from translation team.
48893 * po/bg.po: Likewise.
48895 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48897 * misc/sys/cdefs.h: Add support for const attribute.
48898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48899 to gnu_dev_{major,minor,makedev} functions.
48901 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48905 2011-07-20 Andreas Schwab <schwab@redhat.com>
48907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48910 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48914 register in order to avoid conflicts with the soft frame pointer
48915 being held in r11 when necessary.
48916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48917 (INTERNAL_VSYSCALL_NCS): Likewise.
48919 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48922 * elf/dl-fini.c (_dl_fini): Adjust caller.
48923 * elf/dl-close.c (_dl_close_worker): Likewise.
48924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48926 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48929 "aux_cache->nlibs < 0".
48931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48932 in the reload-count case.
48934 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48940 * sysdeps/x86_64/multiarch/strcat.S: New file.
48941 * sysdeps/x86_64/multiarch/strncat.S: New file.
48942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48947 (USE_AS_STRCAT): Define.
48948 Add strcat and strncat support.
48949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48952 * string/strncat.c: Update.
48953 (USE_AS_STRNCAT): Define.
48954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48957 * sysdeps/x86_64/multiarch/init-arch.h
48958 (bit_Prefer_PMINUB_for_stringop): New.
48959 (index_Prefer_PMINUB_for_stringop): Likewise.
48960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48961 bit_Prefer_PMINUB_for_stringop.
48963 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48968 of casting of buffer.
48969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48970 buffer32 and buffer64.
48971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48972 writes instead of casting of buffer.
48973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48978 2011-07-19 Andreas Schwab <schwab@redhat.com>
48980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48982 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48984 * nscd/nscd.c (termination_handler): Don't do anything for a database
48985 if it has not yet been initialized.
48987 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48995 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48997 * po/nl.po: Update from translation team.
48998 * po/sv.po: Likewise.
49000 2011-07-16 Roland McGrath <roland@hack.frob.com>
49002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49003 now disallowed by GCC.
49005 * configure.in (use-default-link): Default to yes if a test -shared
49006 link meets our qualifications.
49007 * configure: Regenerated.
49009 * config.make.in (output-format): New variable.
49010 * configure.in: Check for ld --print-output-format support.
49011 * configure: Regenerated.
49012 * Makerules ($(common-objpfx)format.lds)
49013 [$(output-format) != unknown]: Just use $(output-format),
49014 instead of the linker-script munging.
49016 2011-07-14 Roland McGrath <roland@hack.frob.com>
49018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49019 of $(common-objpfx)shlib.lds.
49020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49025 * configure.in (-z relro check): Adjust test code to add a large
49026 writable data section after it.
49027 * configure: Regenerated.
49029 2011-07-11 Roland McGrath <roland@hack.frob.com>
49031 * configure.in (-z relro check): Fix test code to make the variable
49033 * configure: Regenerated.
49035 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49037 * nscd/nscd.h (struct traced_file): Define.
49038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49039 elements. Add traced_files.
49040 (inotify_fd): Declare.
49041 (register_traced_file): Declare.
49042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49043 (inotify_fd): Export.
49044 (resolv_conf_descr): Remove.
49045 (nscd_init): Move inotify descriptor creation to main.
49046 Don't register files for notification here.
49047 (register_traced_file): New function.
49048 (invalidate_cache): Don't use reset_res to determine whether to call
49049 res_init, go through the list of registered files.
49050 (main_loop_poll): The inotify descriptors are now stored in the
49051 structures for the traced files.
49052 (main_loop_epoll): Likewise
49053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49054 to __nss_disable_nscd.
49055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49056 for a database anymore. Check the records for all the registered
49058 * nss/Makefile (libnss_files-routines): Add files-init.
49059 (libnss_db-routines): Add db-init.
49060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49062 * nss/nss_db/db-init.c: New file.
49063 * nss/nss_files/files-init.c: New file.
49064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49065 __nss_lookup_function.
49066 (__nss_lookup_function): Call nss_load_library.
49067 (nss_load_all_libraries): New function.
49068 (__nss_disable_nscd): Take parameter with callback function for files
49069 to register. Set is_nscd. Load all the DSOs for the NSS modules
49070 used for the cached services.
49071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49073 options for features to all the files in nscd.
49075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49077 2011-07-10 Roland McGrath <roland@hack.frob.com>
49079 * csu/elf-init.c (__libc_csu_init): Comment typo.
49081 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49083 * po/pl.po: Update from translation team.
49084 * po/ja.po: Likewise.
49085 * po/ru.po: Likewise.
49086 * po/ko.po: Likewise.
49087 * po/fr.po: Likewise.
49089 2011-07-09 Roland McGrath <roland@hack.frob.com>
49091 * configure.in (.ctors/.dtors header and trailer check):
49092 Use an empirical test on a built program.
49093 * configure: Regenerated.
49095 * configure.in (-z relro check): Use an empirical test on a built DSO.
49096 Detect, but do not require, on ia64.
49097 * configure: Regenerated.
49099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49100 Update tests that use readelf to use $READELF instead.
49101 * configure: Regenerated.
49103 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49106 if the result is not used.
49108 2011-07-05 Andreas Jaeger <aj@suse.de>
49111 * stdlib/tst-strtod.c: Add testcase.
49113 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49117 The latter has a higher limit. Take additional parameter to pass to
49119 (__pathconf): Pass file to __statfs_link_max.
49120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49130 (__statfs_filesize_max): Likewise.
49131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49133 2011-07-05 Andreas Jaeger <aj@suse.de>
49135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49137 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49144 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49146 * Makefile (strop-tests): Add strncat.
49147 * string/test-strncat.c: New file.
49149 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49153 2011-06-21 Andreas Jaeger <aj@suse.de>
49155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49156 Copy rule from iconvdata/Makefile.
49158 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49162 but no long options are defined, just return 'W'.
49164 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49169 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49173 (innetgr): Likewise.
49175 2011-07-05 Roland McGrath <roland@hack.frob.com>
49177 * config.make.in (install_root): Default to $(DESTDIR).
49179 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49183 2011-07-02 Roland McGrath <roland@hack.frob.com>
49185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49188 containing directory rather than embedding absolute directory names.
49190 * scripts/check-local-headers.sh: Rewritten using awk.
49191 Match by word, not by line. Print error messages for matches.
49192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49194 * Makerules [shlib-lds-flags empty]:
49195 ($(common-objpfx)libc_pic.opts): New target.
49196 ($(common-objpfx)libc_pic.os.clean): New target.
49197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49199 * config.make.in (OBJCOPY): New variable.
49200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49201 * configure: Regenerated.
49203 * config.make.in (use-default-link): New variable.
49204 * configure.in (use_default_link): Grok --with-default-link to set it.
49205 * configure: Regenerated.
49206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49207 (shlib-lds, shlib-lds-flags): Define to empty.
49209 * Makerules (shlib-lds): New variable.
49210 (shlib-lds-flags): New variable.
49211 (build-shlib, build-moduile, build-module-asneeded): Use it.
49212 ($(common-objpfx)libc.so): Use $(shlib-lds).
49213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49217 DT_FLAGS/DT_FLAGS_1 with zero flags.
49219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49220 linker script munging.
49222 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49226 * crypt/sha512.c (sha512_process_block): Perform total addition using
49227 128-bit if possible.
49228 (__sha512_finish_ctx): Likewise.
49229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49231 * crypt/sha256.c (SWAP64): Define.
49232 (sha256_process_block): Perform total addition using 64-bit if
49234 (__sha256_finish_ctx): Likewise.
49236 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49240 * nscd/hstcache.c (cache_addhst): Likewise.
49241 * nscd/grpcache.c (cache_addgr): Likewise.
49242 * nscd/aicache.c (addhstaiX): Likewise
49243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49245 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49249 * nscd/hstcache.c (cache_addhst): Likewise.
49250 * nscd/grpcache.c (cache_addgr): Likewise.
49251 * nscd/aicache.c (addhstaiX): Likewise
49253 2011-07-01 Andreas Schwab <schwab@redhat.com>
49255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49256 domain only when needed.
49258 2011-06-30 Andreas Schwab <schwab@redhat.com>
49260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49261 is always restored.
49263 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49266 are re-adding the entry.
49267 * nscd/servicescache.c (cache_addserv): Likewise.
49269 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49271 * sysdeps/generic/dl-irel.h: fix protection against multiple
49273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49275 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49278 * malloc/memusage.sh: Fix quoting in message.
49279 * debug/xtrace.sh: Likewise.
49281 * configure.in: Remove support for --experimental-malloc option, make
49283 * config.make.in: Likewise.
49284 * malloc/Makefile: Likewise.
49286 2011-06-27 Andreas Schwab <schwab@redhat.com>
49288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49289 two-byte characters.
49291 2011-06-27 Roland McGrath <roland@hack.frob.com>
49293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49294 AC_CACHE_CHECK invocation.
49295 * configure: Regenerated.
49297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49299 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49303 bit from old_res_options.
49305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49308 value type for setfct.
49310 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49313 __gettimeofday instead of gettimeofday.
49315 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49319 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49330 strcpy-sse2-unaligned strncpy-sse2-unaligned
49331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49341 (STRCPY): Support SSE2 and SSSE3 versions.
49343 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49348 kernels which artificially limit size of requests.
49350 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49368 Enable unaligned load optimization for Intel Core i3, i5 and i7
49370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49372 (index_Fast_Unaligned_Load): Define.
49373 (HAS_FAST_UNALIGNED_LOAD): Define.
49375 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49379 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49383 until it is clear that the information is realy needed.
49384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49386 2011-06-22 Andreas Schwab <schwab@redhat.com>
49388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49390 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49393 /sys/devices/system/cpu/online if it is usable.
49395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49396 reading the information from the /proc filesystem to once a second.
49398 2011-06-21 Andreas Jaeger <aj@suse.de>
49400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49401 NULL after inclusion of kernel headers.
49403 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49406 calls to internal_setent.
49409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49410 addresses using gethostbyname4_r ignore IPv4 addresses.
49412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49417 2011-06-20 David S. Miller <davem@davemloft.net>
49419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49424 (elf_irel): Use it.
49425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49429 * sysdeps/x86_64/dl-irel.h: Likewise.
49431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49432 * elf/dl-sym.c: Likewise.
49434 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49437 need to dereference resplen2.
49439 2011-06-14 Andreas Schwab <schwab@redhat.com>
49441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49443 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49445 * Makeconfig: Define vardbdir and inst_vardbdir.
49446 * nss/Makefile: Add rules to install db-Makefile.
49448 * nss/nss_db/db-XXX.c: Cleanup.
49450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49454 * nss/makedb.c: Implement -g option to specify that value strings
49455 are generated and should not be added to table iterated over for
49457 * nss/nss_db/db-initgroups.c: New file.
49459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49463 (internal_getgrouplist): Adjust to name change.
49464 Update use_initgroups_entry if this is not the first call.
49465 * nss/databases.def: Add initgroups entry.
49467 * nss/makedb.c (compute_tables): Check result of multiple hash table
49468 sizes to minimize maximum chain length.
49470 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49472 * Versions.def: Add entry for libnss_db.
49473 * shlib-versions: Likewise.
49474 * nss/Makefile: Add rules to build libnss_db.
49475 * nss/Versions: Add libnss_db information. Organize libnss_files
49477 * nss/db-Makefile: Add gshadow support. Change rules for the new
49478 makedb progra. Some minor improvements to generate smaller files.
49479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49481 * nss/makedb.c: ...here.
49482 Improve database format to be smaller and require less memory at
49484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49486 * nss/nss_db/db-netgrp.c: Likewise.
49487 * nss/nss_db/db-open.c: Likewise.
49488 * nss/nss_files/flies-XXX.x: Adjust comments.
49489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49490 * nss/nss_files/files-grp.c: Likewise.
49491 * nss/nss_files/files-hosts.c: Likewise.
49492 * nss/nss_files/files-network.c: Likewise.
49493 * nss/nss_files/files-proto.c: Likewise.
49494 * nss/nss_files/files-pwd.c: Likewise.
49495 * nss/nss_files/files-rpc.c: Likewise.
49496 * nss/nss_files/files-service.c: Likewise.
49497 * nss/nss_files/files-sgrp.c: Likewise.
49498 * nss/nss_files/files-spwd.c: Likewise.
49499 * nss/nss_db/db-alias.c: Removed.
49500 * nss/nss_db/dummy-db.h: Removed.
49502 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49504 * nss/makedb.c: Rewritten to not use database library.
49505 * nss/Makefile: Update to build new makedb program.
49507 2011-06-14 Andreas Jaeger <aj@suse.de>
49509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49510 memset declaration.
49512 2011-06-10 Andreas Schwab <schwab@redhat.com>
49514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49517 2011-06-10 Roland McGrath <roland@hack.frob.com>
49519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49520 * elf/Makefile ($(objpfx)ld.so): Likewise.
49522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49523 Don't list ld.so twice in dependencies.
49525 * posix/bug-regex31.c: Include <stdlib.h>.
49527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49529 * nis/nss_compat/compat-spwd.c
49530 (getspent_next_nss_netgr): Remove unused variable.
49531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49534 nonmembers" output to use the right array.
49536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49542 * catgets/gencat.c (read_input_file): Likewise.
49543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49546 variable definition inside #if's controlling its use.
49548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49560 * configure: Regenerated.
49562 * Makerules: Revert last change.
49563 * elf/Makefile: Likewise.
49565 2011-06-09 Roland McGrath <roland@hack.frob.com>
49567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49569 (reloc-link): Likewise.
49571 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49573 * elf/Makefile: Add rules to build pldd.
49574 * elf/pldd.c: New file.
49575 * elf/pldd-xx.c: New file.
49577 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49579 * version.h: Update for 2.15 development version.
49581 2011-06-07 David S. Miller <davem@davemloft.net>
49583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49586 elf_machine_lazy_rel): Likewise.
49587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49589 elf_machine_lazy_rel): Likewise.
49590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49591 dl_hwcap via passed in argument.
49592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49595 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49599 2011-06-06 Roland McGrath <roland@hack.frob.com>
49602 * manual/fdl-1.1.texi: New file, verbatim from:
49603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49604 * manual/lgpl-2.1.texi: New file, verbatim from:
49605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49606 * manual/Makefile (licenses): New variable, list those new file names.
49608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49610 * manual/fdl.texi: File removed.
49611 * manual/lesser.texi: File removed.
49612 * manual/libc.texinfo (Copying, Documentation License):
49613 Use new @include file names, put @appendix directive before @include.
49615 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49620 (mq_open): Add __NTH.
49622 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49625 Assume Intel Core i3/i5/i7 processor if AVX is available.
49627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49632 2011-05-31 Andreas Schwab <schwab@redhat.com>
49634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49635 memory. Use alloca_account. Fix memory leak when retrying.
49637 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49639 * version.h (RELEASE): Bump for 2.14 release.
49640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49642 * config.make.in (RANLIB): Remove entry.
49644 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49647 (libc.pot): Work around missing support for .ksh extension in xgettext.
49650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49651 if both request failed.
49652 (send_dg): In case of server errors clear resplen or *resplen2.
49655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49656 when there are multiple maps.
49657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49658 (_dl_fini): Remove test here.
49660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49662 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49666 bit from old_res_options.
49667 (gaih_inet): Likewise.
49670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49673 * resolv/res_init.c (res_setoptions): Make the code more compact.
49676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49685 * malloc/malloc.h: Declare malloc hook variables as volatile.
49687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49692 raise in the comment.
49693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49697 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49701 grow the buffers more if it already has to be sufficient.
49702 (build_wcs_upper_buffer): Likewise.
49703 * posix/regexec.c (check_matching): Likewise.
49704 (clean_state_log_if_needed): Likewise.
49705 (extend_buffers): Don't enlarge buffers beyond size of the input
49707 Patches mostly by Emil Wojak <emil@wojak.eu>.
49708 * posix/bug-regex32.c: New file.
49709 * posix/Makefile (tests): Add bug-regex32.
49711 * locale/findlocale.c (_nl_find_locale): Return right away if
49712 _nl_explode_name failed.
49713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49717 * debug/xtrace.sh: Unify messages.
49718 * malloc/memusage.sh: Likewise.
49721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49722 time symbol from vDSO. Substitute with vsyscall if not available.
49723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49729 Add sendmmsg and internal_sendmmsg.
49730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49738 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49748 * iconvdata/Makefile (tests): Add bug-iconv9.
49749 * iconvdata/bug-iconv9.c: New file.
49751 2011-05-27 Andreas Schwab <schwab@redhat.com>
49754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49756 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49759 (struct user_regs_struct): Change intcs field back to cs.
49761 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49763 * po/ja.po: Update from translation team.
49765 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49771 2011-05-20 Andreas Schwab <schwab@redhat.com>
49773 * stdlib/longlong.h: Update from GCC.
49775 2011-05-23 Andreas Schwab <schwab@redhat.com>
49777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49780 Add parameter name.
49781 (__sysconf): Pass it down.
49783 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49790 add in in __libc_use_alloca calls. Adjust callers.
49791 (glob): Use malloc in some situations.
49793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49797 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49800 and CLOCK_BOOTTIME_ALARM.
49803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49806 * string/_strerror.c (__strerror_r): Print negative errors as signed
49810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49814 * configure.in: Fix typo in redirection and correct removal of test
49815 files in two cases.
49818 * locale/setlocale.c (new_composite_name): Fix test to check for
49819 identical name of all categories.
49822 * libio/filedoalloc.c (local_isatty): New function.
49823 (_IO_file_doallocate): Use local_isatty.
49824 * stdio-common/perror.c (perror): In case a new stream is used
49825 forward the stream error.
49826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49829 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49834 * include/alloca.h (extend_alloca_account): Define.
49837 * posix/regex.h: Fix comments with documentation of user-accessible
49838 fields after compilation and describe correct free'ing of pattern
49839 after re_compile_pattern.
49840 Patch by Reuben Thomas <rrt@sc3d.org>.
49842 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49845 and -mno-altivec to prevent the compiler from using Altivec and/or
49846 VSX instructions when the corresponding registers are not available.
49848 2011-05-19 Andreas Schwab <schwab@redhat.com>
49850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49852 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49854 * libio/freopen.c (freopen): Use __dup2, not dup2.
49855 * libio/freopen64.c (freopen64): Likewise.
49857 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49861 * math/Makefile (tests): Add test-powl.
49862 (CFLAGS-test-powl.c): Define.
49863 * math/test-powl.c: New file.
49865 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49869 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49872 * iconvdata/gb18030.c: Update to GB18020-2005.
49874 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49878 Patch by Aharon Robbins <arnold@skeeve.com>.
49881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49886 through underflows.
49889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49890 point to strings before performing equality test for error_one_per_line
49894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49898 (struct user_fpregs_struct): Avoid __uint*_t types.
49901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49902 symbol info. Use it instead of calling _dl_addr locally.
49903 (lock_and_info): New function.
49904 (tr_freehook): Call lock_and_info and pass symbol info as additional
49905 parameter to tr_where.
49906 (tr_mallochook): Likewise.
49907 (tr_reallochook): Likewise.
49908 (tr_memalignhook): Likewise.
49910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49911 used and couldn't be at all thread-safe.
49913 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49915 * libio/freopen.c (freopen): Don't close old file descriptor
49916 before the new one is opened. Instead dup the new file descriptor
49917 to the old one after the new stream is created.
49918 * libio/freopen64.c (freopen64): Likewise.
49919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49920 * libio/fileops.c (_IO_new_file_close_it): Handle new
49921 _IO_FLAGS2_NOCLOSE flag.
49922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49925 _IO_FLAGS2_NOCLOSE flag.
49926 * include/unistd.h: Add hidden_proto for dup3.
49927 Define __have_dup3.
49928 * io/dup3.c: Define hidden symbol.
49929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49933 when an incomplete long option is used.
49934 * posix/tst-getopt_long1.c: New file.
49935 * posix/Makefile (tests): Add tst-getopt_long1.
49938 * scripts/config.guess: Update from autoconf-2.68.
49939 * scripts/config.sub: Likewise.
49942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49944 (has_cpuclock): ...this. New function.
49945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49946 macro here based on has_cpuclock code.
49949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49950 First byte (not low byte) is now always NUL.
49951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49954 Use non-cancelable interfaces.
49957 * locale/iso-639.def: Add entry for Sorani.
49960 * include/stdlib.h: Move include protection to the right place.
49961 Define abort_msg_s. Declare __abort_msg with it.
49962 * stdlib/abort.c (__abort_msg): Adjust type.
49963 * assert/assert.c (__assert_fail_base): New function. Majority
49964 of code from __assert_fail. Allocate memory for __abort_msg with
49966 (__assert_fail): Now call __assert_fail_base.
49967 * assert/assert-perr.c: Remove bulk of implementation. Use
49968 __assert_fail_base.
49969 * include/assert.hL Declare __assert_fail_base.
49970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49974 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49979 until all modules are registered in the DTV.
49980 * elf/Makefile: Add rules to build and run tst-tls19.
49981 * elf/tst-tls19.c: New file.
49982 * elf/tst-tls19mod1.c: New file.
49983 * elf/tst-tls19mod2.c: New file.
49984 * elf/tst-tls19mod3.c: New file.
49985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49993 two-byte sequence errors.
49994 * iconvdata/Makefile (tests): Add bug-iconv8.
49995 * iconvdata/bug-iconv8.c: New file.
49998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50005 (dummy_getcfa): New function.
50006 (init): Get _Unwind_GetCFA address, use dummy if not found.
50007 (backtrace_helper): In recursion check, also check whether CFA changes.
50008 (__backtrace): Completely initialize arg.
50010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50011 storing incomplete byte sequence in state object. Avoid testing for
50012 guaranteed too small input if we know there is enough data available.
50014 2011-05-11 Andreas Schwab <schwab@redhat.com>
50016 * Makeconfig (+link-pie): Indent.
50017 * Rules (binaries-pie): Define if $(have-fpie) and
50019 (binaries-shared): Also filter out $(binaries-pie).
50020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50021 * nscd/Makefile (others-pie): Add nscd.
50022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50023 ($(objpfx)nscd): Remove command override.
50024 * login/Makefile (others-pie): Add pt_chown.
50025 ($(objpfx)pt_chown): Remove command override.
50026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50027 remove command overrides.
50029 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50031 * libio/tst_putwc.c: Fix error messages.
50034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50035 currently writing and seek to current position when not.
50036 * libio/Makefile (tests): Add bug-fclose1.
50037 * libio/bug-fclose1.c: New file.
50039 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50043 don't set DF_1_NODELETE here.
50044 (do_lookup_x): When entering new entry test for copy relocation
50045 and if necessary set DF_1_NODELETE flag.
50046 * elf/tst-unique4.cc: New file.
50047 * elf/tst-unique4.h: New file.
50048 * elf/tst-unique4lib.cc: New file.
50049 * elf/Makefile: Add rules to build and run tst-unique4.
50050 Patch by Piotr Bury <pbury@goahead.com>.
50052 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50058 * misc/mntent_r.c (addmntent): Flush the stream after the output
50061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50062 (is_trusted_path_normalize): Skip initial colon. Append slash
50063 to empty buffer. Duplicate is_trusted_path code but allow
50064 constructed patch to be prefix.
50065 (is_dst): Allow $ORIGIN followed by /.
50066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50067 Correct testing of result of is_trusted_path_normalize
50068 (decompose_rpath): Fix warning.
50070 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50073 * grp/initgroups.c (internal_getgrouplist): When we found the service
50074 list through the initgroups entry in nsswitch.conf do not always
50075 continue on a successful lookup. Don't always use the
50076 __nss_group_database value if it is set.
50077 * nss/nsswitch.conf (initgroups): Change action for successful db
50078 lookup to continue for compatibility.
50080 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50087 * iconvdata/tst-tables.sh: Likewise.
50088 * iconvdata/cp770.c: New file.
50089 * iconvdata/cp771.c: New file.
50090 * iconvdata/cp772.c: New file.
50091 * iconvdata/cp773.c: New file.
50092 * iconvdata/cp774.c: New file.
50093 * iconvdata/testdata/CP770: New file.
50094 * iconvdata/testdata/CP770..UTF8: New file.
50095 * iconvdata/testdata/CP771: New file.
50096 * iconvdata/testdata/CP771..UTF8: New file.
50097 * iconvdata/testdata/CP772: New file.
50098 * iconvdata/testdata/CP772..UTF8: New file.
50099 * iconvdata/testdata/CP773: New file.
50100 * iconvdata/testdata/CP773..UTF8: New file.
50101 * iconvdata/testdata/CP774: New file.
50102 * iconvdata/testdata/CP774..UTF8: New file.
50104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50106 * iconvdata/gen-8bit-gap.sh: Likewise.
50107 * iconvdata/gen-8bit.sh: Likewise.
50109 * locale/iso-639.def: Add ary entry.
50112 * locale/C-translit.h.in: Add U20A1 transliteration.
50115 * locale/iso-639.def: Add wae entry.
50116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50123 * locale/C-translit.h.in: Add entry for U20B9.
50124 Patch by pravin.d.s@gmail.com.
50126 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50130 ENAMETOOLONG use generic getcwd.
50131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50132 in rtld. Use *stat64.
50133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50140 __fstatat64 macros.
50141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50142 * dirent/rewinddir.c: Add libc_hidden_def.
50143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50146 * include/dirent.h (__alloc_dir): Add flags parameter.
50147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50151 from fdopendir if O_CLOEXEC is already set.
50153 2011-03-15 Alan Modra <amodra@gmail.com>
50155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50156 l_tls_firstbyte_offset non-zero. Save padding offset in
50157 l_tls_firstbyte_offset for later use.
50158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50159 freeing static tls block.
50161 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50164 where #ifdef was intended. The intent is to prevent ARG_MAX from
50165 being defined by the kernel headers.
50167 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50170 * resolv/resolv.h: Define RES_NOTLDQUERY.
50171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50172 no-tld-query and set RES_NOTLDQUERY.
50173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50175 modern BIND to search name as TLD unless forbidden.
50177 2011-05-07 Petr Baudis <pasky@suse.cz>
50178 Ulrich Drepper <drepper@gmail.com>
50181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50182 (is_trusted_path): ...to here.
50183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50185 using is_trusted_path_normalize() in setuid scripts.
50187 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50190 __BEGIN/__END_DECLS.
50192 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50195 NSS_STATUS_NOTFOUND if no record was found.
50197 2011-05-05 Andreas Schwab <schwab@redhat.com>
50199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50200 (headers-not-in-tirpc): Remove rpc/netdb.h
50201 * resolv/netdb.h: Revert last change.
50203 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50206 circular dependency between libgcc.a and libc.a.
50208 2011-05-05 Andreas Schwab <schwab@redhat.com>
50210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50211 * nis/Makefile: Don't install rpcsvc/*.
50212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50213 instead of <rpc/types.h>.
50214 (MAXHOSTNAMELEN): Define.
50216 2011-05-03 Andreas Schwab <schwab@redhat.com>
50218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50220 2011-04-28 Maciej Babinski <mbabinski@google.com>
50223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50224 gethostbyname4_r when IPv6 results are possible.
50226 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50230 _PC_PIPE_BUF handling.
50232 2011-04-30 Bruno Haible <bruno@clisp.org>
50235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50238 * inet/getnameinfo.c (getnameinfo): Likewise.
50240 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50243 to groups setting in database lookup.
50244 * nss/nsswitch.conf: Add initgroups entry.
50246 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50251 Patch by Eric Blake <eblake@redhat.com>.
50253 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50255 * sunrpc/Makefile (need-export-routines): Add svc_run.
50256 (routines): Remove svc_run.
50257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50259 * sunrpc/svc_run.c (svc_run): Likewise.
50260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50262 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50265 problem in reallocation in last patch.
50267 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50269 * sunrpc/Makefile: Move inclusion of Rules.
50271 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50273 * nss/nss_files/files-initgroups.c: New file.
50274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50276 _nss_files_initgroups_dyn.
50278 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50280 * elf/elf.h (R_ARM_IRELATIVE): Define.
50282 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50284 * po/ru.po: Update from translation team.
50286 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50291 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50300 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50308 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50313 * stdlib/bug-getcontext.c: New file.
50314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50316 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50319 instructions into .machine "z9-109".
50320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50323 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50326 between environment variables and auxiliary vector.
50328 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50330 * Makefile: Add rules to build linkobj/libc.so.
50331 * include/libc-symbols.h: Define libc_hidden_nolink.
50332 * include/rpc/auth.h: Mark functions which are to be hidden.
50333 * include/rpc/auth_des.h: Likewise.
50334 * include/rpc/auth_unix.h: Likewise.
50335 * include/rpc/clnt.h: Likewise.
50336 * include/rpc/des_crypt.h: Likewise.
50337 * include/rpc/key_prot.h: Likewise.
50338 * include/rpc/pmap_clnt.h: Likewise.
50339 * include/rpc/pmap_prot.h: Likewise.
50340 * include/rpc/pmap_rmt.h: Likewise.
50341 * include/rpc/rpc_msg.h: Likewise.
50342 * include/rpc/svc.h: Likewise.
50343 * include/rpc/svc_auth.h: Likewise.
50344 * include/rpc/xdr.h: Likewise.
50345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50346 * nss/Makefile: Likewise.
50347 * sunrpc/Makefile: Don't install headers. Build library with normal
50348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50350 for the compat linking library. Remove use of INTDEF/INTUSE.
50351 * sunrpc/auth_none.c: Likewise.
50352 * sunrpc/auth_unix.c: Likewise.
50353 * sunrpc/authdes_prot.c: Likewise.
50354 * sunrpc/authuxprot.c: Likewise.
50355 * sunrpc/clnt_gen.c: Likewise.
50356 * sunrpc/clnt_perr.c: Likewise.
50357 * sunrpc/clnt_raw.c: Likewise.
50358 * sunrpc/clnt_simp.c: Likewise.
50359 * sunrpc/clnt_tcp.c: Likewise.
50360 * sunrpc/clnt_udp.c: Likewise.
50361 * sunrpc/clnt_unix.c: Likewise.
50362 * sunrpc/des_crypt.c: Likewise.
50363 * sunrpc/des_soft.c: Likewise.
50364 * sunrpc/get_myaddr.c: Likewise.
50365 * sunrpc/key_call.c: Likewise.
50366 * sunrpc/key_prot.c: Likewise.
50367 * sunrpc/netname.c: Likewise.
50368 * sunrpc/pm_getmaps.c: Likewise.
50369 * sunrpc/pm_getport.c: Likewise.
50370 * sunrpc/pmap_clnt.c: Likewise.
50371 * sunrpc/pmap_prot.c: Likewise.
50372 * sunrpc/pmap_prot2.c: Likewise.
50373 * sunrpc/pmap_rmt.c: Likewise.
50374 * sunrpc/publickey.c: Likewise.
50375 * sunrpc/rpc_cmsg.c: Likewise.
50376 * sunrpc/rpc_common.c: Likewise.
50377 * sunrpc/rpc_dtable.c: Likewise.
50378 * sunrpc/rpc_prot.c: Likewise.
50379 * sunrpc/rpc_thread.c: Likewise.
50380 * sunrpc/rtime.c: Likewise.
50381 * sunrpc/svc.c: Likewise.
50382 * sunrpc/svc_auth.c: Likewise.
50383 * sunrpc/svc_authux.c: Likewise.
50384 * sunrpc/svc_raw.c: Likewise.
50385 * sunrpc/svc_run.c: Likewise.
50386 * sunrpc/svc_simple.c: Likewise.
50387 * sunrpc/svc_tcp.c: Likewise.
50388 * sunrpc/svc_udp.c: Likewise.
50389 * sunrpc/svc_unix.c: Likewise.
50390 * sunrpc/svcauth_des.c: Likewise.
50391 * sunrpc/xcrypt.c: Likewise.
50392 * sunrpc/xdr.c: Likewise.
50393 * sunrpc/xdr_array.c: Likewise.
50394 * sunrpc/xdr_float.c: Likewise.
50395 * sunrpc/xdr_intXX_t.c: Likewise.
50396 * sunrpc/xdr_mem.c: Likewise.
50397 * sunrpc/xdr_rec.c: Likewise.
50398 * sunrpc/xdr_ref.c: Likewise.
50399 * sunrpc/xdr_sizeof.c: Likewise.
50400 * sunrpc/xdr_stdio.c: Likewise.
50402 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50406 * sysdeps/ia64/dl-tls.h: Likewise.
50407 * sysdeps/powerpc/dl-tls.h: Likewise.
50408 * sysdeps/s390/dl-tls.h: Likewise.
50409 * sysdeps/sh/dl-tls.h: Likewise.
50410 * sysdeps/sparc/dl-tls.h: Likewise.
50411 * sysdeps/x86_64/dl-tls.h: Likewise.
50412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50414 2011-03-14 Andreas Schwab <schwab@redhat.com>
50416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50417 rpath element also skip the following colon.
50418 (expand_dynamic_string_token): Add is_path parameter and pass
50419 down to DL_DST_REQUIRED and _dl_dst_substitute.
50420 (decompose_rpath): Call expand_dynamic_string_token with
50421 non-zero is_path. Ignore empty rpaths.
50422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50425 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50430 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50434 Patch by Filipe David Manana <fdmanana@apache.org>.
50436 2011-04-07 Andreas Schwab <schwab@redhat.com>
50438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50439 Maintain aligned stack.
50440 (CHECK_RSP): Remove unused macro.
50442 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50447 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50453 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50458 * sysdeps/x86_64/memmove.c: New file.
50459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50460 (memcpy): Renamed to ...
50461 (__new_memcpy): This.
50462 (memcpy): Provide GLIBC_2_14 memcpy.
50463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50464 (memcpy): Provide GLIBC_2_2_5 memcpy.
50466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50471 2011-03-30 Andreas Schwab <schwab@redhat.com>
50473 * misc/syncfs.c: New file.
50474 * misc/Makefile (routines): Add syncfs.
50475 * posix/unistd.h: Declare syncfs.
50476 * sysdeps/unix/syscalls.list: Add syncfs.
50478 2011-04-01 Andreas Schwab <schwab@redhat.com>
50480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50501 sync_file_range.c with -fexceptions.
50502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50509 sync_file_range as cancellation point
50510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50511 now a wrapper around __call_sync_file_range with cancellation handling.
50512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50514 function name to __call_sync_file_range.
50515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50516 Add call_sync_file_range.
50518 2011-04-01 Andreas Schwab <schwab@redhat.com>
50520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50525 * iconv/iconv.h: Fix typo in comment.
50526 * io/fcntl.h: Likewise.
50527 * libio/stdio.h: Likewise.
50528 * posix/spawn.h: Likewise.
50529 * posix/unistd.h: Likewise.
50530 * stdlib/stdlib.h: Likewise.
50531 * time/time.h: Likewise.
50532 * wcsmbs/wchar.h: Likewise.
50534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50535 open_by_handle): Add.
50536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50538 Augment a few comments.
50539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50547 * io/fcntl.h (AT_EMPTY_PATH): Define.
50549 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50556 * Versions.def: Add GLIBC_2.14.
50557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50560 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50566 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50569 * string/test-strncmp.c (do_page_test): New function.
50570 (check2): Likewise.
50571 (test_main): Call check2.
50572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50574 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50578 Handle cache information in CPU leaf 4.
50579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50581 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50585 character representation.
50586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50588 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50591 END(__isnan) to END(__isnanf) to match function entry point/label
50592 EALIGN(__isnanf,...).
50594 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50598 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50602 copy from the symbol referenced in the relocation to initialize the
50604 Patch by Piotr Bury <pbury@goahead.com>.
50605 * elf/Makefile: Add rules to build and tst-unique3.
50606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50607 * elf/tst-unique3.cc: New file.
50608 * elf/tst-unique3.h: New file.
50609 * elf/tst-unique3lib.cc: New file.
50610 * elf/tst-unique3lib2.cc: New file.
50612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50614 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50620 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50623 to-be-loaded object along a path to loader is ld.so.
50625 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50626 Ulrich Drepper <drepper@gmail.com>
50628 * sysdeps/x86_64/memset.S: After aligning destination, code
50629 branches to different locations depending on the value of
50630 misalignment, when multiarch is enabled. Fix this.
50632 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50635 Set _x86_64_preferred_memory_instruction for AMD processsors.
50636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50637 Set bit_Prefer_SSE_for_memop for AMD processors.
50639 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50641 * libio/fmemopen.c (fmemopen): Optimize a bit.
50643 2011-03-03 Andreas Schwab <schwab@redhat.com>
50645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50647 2011-03-03 Roland McGrath <roland@redhat.com>
50649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50651 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50654 __bzero_ultra1 instead of __memset_ultra1.
50656 2011-02-23 Andreas Schwab <schwab@redhat.com>
50657 Ulrich Drepper <drepper@gmail.com>
50660 * include/link.h (struct link_map): Add l_orig_initfini.
50661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50662 returning unsuccessfully.
50663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50664 close of a file loaded at startup, restore the original l_initfini
50666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50667 list, store the pointer.
50668 * elf/Makefile ($(objpfx)noload-mem): New rule.
50669 (noload-ENV): Define.
50670 (tests): Add $(objpfx)noload-mem.
50671 * elf/noload.c: Include <memcheck.h>.
50672 (main): Call mtrace. Close all opened handles.
50674 2011-02-17 Andreas Schwab <schwab@redhat.com>
50677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50678 dependencies are missing.
50680 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50682 Fix __if_freereq crash: Unlike the generic version which uses free,
50684 * sysdeps/mach/hurd/ifreq.h: New file.
50686 2011-01-27 Petr Baudis <pasky@suse.cz>
50687 Ulrich Drepper <drepper@gmail.com>
50690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50691 to extend_alloca().
50692 * stdio-common/bug23.c: New file.
50693 * stdio-common/Makefile (tests): Add bug23.
50695 2010-09-28 Andreas Schwab <schwab@redhat.com>
50696 Ulrich Drepper <drepper@gmail.com>
50699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50700 before performing relro protection. At old place add assertion
50701 to make sure nothing changed.
50703 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50704 Glauber de Oliveira Costa <glommer@gmail.com>
50706 * elf/elf.h: Add new ARM TLS relocs.
50708 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50715 * sysdeps/wordsize-64/tst-writev.c: New file.
50717 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50721 insns in _dl_start to prevent a TOC reference before relocs are
50724 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50727 * Makeconfig: Remove RANLIB definition.
50728 * Makerules: Don't use RANLIB.
50729 * aclocal.m4: Remove ranlib test.
50730 * configure.in: No need to check for ranlib.
50731 * elf/rtld-Rules: Don't use RANLIB.
50733 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50738 inclusion protection macro.
50740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50741 SIGRTMIN and SIGRTMAX and print information in that case only when
50742 SIGRTMIN is defined.
50744 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50747 arginfo fn returning -1.
50749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50750 and thousands string is zero terminated.
50752 2011-02-03 Andreas Schwab <schwab@redhat.com>
50754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50755 sysdeps/unix/sysv/linux/bits/socket.h.
50757 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50760 (__CPU_COUNT): Remove old macros.
50761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50763 (__CPU_ALLOC, __CPU_FREE): Add macros.
50764 (__sched_cpualloc, __sched_cpufree): Add declarations.
50766 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50771 (readdhstai): Return value of addhstaiX call.
50772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50773 (addgrbyX): Return value returned by cache_addgr.
50774 (readdgrbyname): Return value returned by addgrbyX.
50775 (readdgrbygid): Likewise.
50776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50777 (addpwbyX): Return value returned by cache_addpw.
50778 (readdpwbyname): Return value returned by addhstbyX.
50779 (readdpwbyuid): Likewise.
50780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50781 (addservbyX): Return value returned by cache_addserv.
50782 (readdservbyname): Return value returned by addservbyX:
50783 (readdservbyport): Likewise.
50784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50785 (addhstbyX): Return value returned by cache_addhst.
50786 (readdhstbyname): Return value returned by addhstbyX.
50787 (readdhstbyaddr): Likewise.
50788 (readdhstbynamev6): Likewise.
50789 (readdhstbyaddrv6): Likewise.
50790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50791 (readdinitgroups): Return value returned by addinitgroupsX.
50792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50793 (prune_cache): Keep track of timeout value of re-added entries.
50794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50795 * nscd/nscd.h: Adjust prototypes of readd* functions.
50797 2011-02-04 Roland McGrath <roland@redhat.com>
50799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50800 (nis_stats): Likewise.
50801 * nis/nis_modify.c (nis_modify): Likewise.
50802 * nis/nis_remove.c (nis_remove): Likewise.
50803 * nis/nis_add.c (nis_add): Likewise.
50805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50807 * posix/fnmatch_loop.c: Add some consts.
50809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50811 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50814 * config.make.in (config-cflags-novzeroupper): Define.
50815 * configure.in: Substitute libc_cv_cc_novzeroupper.
50816 * elf/Makefile (AVX-CFLAGS): Define.
50817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50818 (CFLAGS-tst-auditmod4a.c): Likewise.
50819 (CFLAGS-tst-auditmod4b.c): Likewise.
50820 (CFLAGS-tst-auditmod6b.c): Likewise.
50821 (CFLAGS-tst-auditmod6c.c): Likewise.
50822 (CFLAGS-tst-auditmod7b.c): Likewise.
50823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50825 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50828 function to the callback.
50829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50831 2011-02-02 Andreas Schwab <schwab@redhat.com>
50833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50836 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50846 * elf/Makefile: Add rules to build and run new test.
50847 * elf/tst-initorder.c: New file.
50848 * elf/tst-initorder.exp: New file.
50849 * elf/tst-initordera1.c: New file.
50850 * elf/tst-initordera2.c: New file.
50851 * elf/tst-initordera3.c: New file.
50852 * elf/tst-initordera4.c: New file.
50853 * elf/tst-initorderb1.c: New file.
50854 * elf/tst-initorderb2.c: New file.
50855 * elf/tst-order-a1.c: New file.
50856 * elf/tst-order-a2.c: New file.
50857 * elf/tst-order-a3.c: New file.
50858 * elf/tst-order-a4.c: New file.
50859 * elf/tst-order-b1.c: New file.
50860 * elf/tst-order-b2.c: New file.
50861 * elf/tst-order-main.c: New file.
50862 New test case by George Gensure <werkt0@gmail.com>.
50864 2010-10-01 Andreas Schwab <schwab@redhat.com>
50866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50867 decoding ACE if AI_CANONIDN.
50869 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50873 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50875 * version.h (RELEASE): Bump for 2.13 release.
50876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50889 * posix/getconf.c: Update copyright year.
50890 * catgets/gencat.c: Likewise.
50891 * csu/version.c: Likewise.
50892 * debug/catchsegv.sh: Likewise.
50893 * debug/xtrace.sh: Likewise.
50894 * elf/ldconfig.c: Likewise.
50895 * elf/ldd.bash.in: Likewise.
50896 * elf/sprof.c (print_version): Likewise.
50897 * iconv/iconv_prog.c: Likewise.
50898 * iconv/iconvconfig.c: Likewise.
50899 * locale/programs/locale.c: Likewise.
50900 * locale/programs/localedef.c: Likewise.
50901 * malloc/memusage.sh: Likewise.
50902 * malloc/mtrace.pl: Likewise.
50903 * nscd/nscd.c (print_version): Likewise.
50904 * nss/getent.c: Likewise.
50906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50907 PF_CAIF, and PF_ALG.
50908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50910 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50913 (modules-names): Use them.
50914 (ifunc-test-modules, ifunc-pie-tests): Define.
50915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50917 (test-extras): Likewise.
50918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50919 $(compile-command.c).
50920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50921 (all-built-dso): Define.
50922 (check-textrel.out, check-execstack.out): Depend on it.
50924 * configure.in: Don't override --enable-multi-arch.
50926 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50929 * nscd/hstcache.c (tryagain): Define.
50930 (cache_addhst): Return tryagain not notfound for temporary errors.
50931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50934 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50938 to make the syscall.
50939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50943 and fall back to matching as normal character if the string ends before
50944 the matching ']' is found. This is what POSIX requires.
50945 * posix/testfnm.c: Adjust test result.
50946 * posix/globtest.sh: Adjust test result. Add new test.
50947 * posix/tst-fnmatch.input: Likewise.
50948 * posix/tst-fnmatch2.c: Add new test.
50950 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50952 * elf/Makefile (check-execstack): Revert last change. Depend on
50954 (check-execstack.h): New target.
50955 (generated): Add check-execstack.h.
50956 * elf/check-execstack.c: Include "check-execstack.h".
50957 (main): Revert last change.
50958 (handle_file): Return zero if GNU_STACK is absent and
50959 DEFAULT_STACK_PERMS doesn't include PF_X.
50961 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50964 in child fails because the descriptor is already closed.
50965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50975 temporary buffer used to handle multi lookups locally.
50976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50983 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50986 alignment for SSE2.
50988 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50992 characters. When rounding increased number of integer digits recompute
50994 * stdio-common/tst-grouping.c: New file.
50995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50997 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51004 * bits/select.h: Likewise.
51006 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51008 * po/ja.po: Update from translation team.
51010 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51014 implementation just like for lxstat, fxstatat, et al.
51016 2010-12-27 Jim Meyering <meyering@redhat.com>
51019 * posix/regexec.c (build_trtable): Return failure indication upon
51020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51022 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51037 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51041 script has SORT_BY_INIT_PRIORITY.
51042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51043 NO_CTORS_DTORS_SECTIONS is defined.
51044 * elf/soinit.c: Likewise.
51045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51046 NO_CTORS_DTORS_SECTIONS is defined.
51047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51049 * sysdeps/sh/init-first.c: Likewise.
51050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51052 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51055 always use the slow path.
51057 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51060 similar rule which adds the sysdep directories to the header search in
51061 order to pick up the correct platform stackinfo.h.
51062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51063 perform test if it is, otherwise return successfully without testing.
51064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51065 DEFAULT_STACK_PERMS define in stackinfo.h.
51066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51067 defined in stackinfo.h.
51068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51069 DEFAULT_STACK_PERMS defined in stackinfo.h.
51070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51071 * sysdeps/ia64/stackinfo.h: Likewise.
51072 * sysdeps/s390/stackinfo.h: Likewise.
51073 * sysdeps/sh/stackinfo.h: Likewise.
51074 * sysdeps/sparc/stackinfo.h: Likewise.
51075 * sysdeps/x86_64/stackinfo.h: Likewise.
51076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51077 PF_X for powerpc64. Retain PF_X for powerpc32.
51079 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51084 GETDENTS_64BIT_ALIGNED.
51086 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51090 2010-12-10 Andreas Schwab <schwab@redhat.com>
51092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51101 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51107 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51111 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51113 * po/it.po: Update from translation team.
51115 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51120 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51124 2010-11-24 Andreas Schwab <schwab@redhat.com>
51126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51128 (gaih_getanswer_slice): Likewise.
51130 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51134 2010-05-31 Petr Baudis <pasky@suse.cz>
51137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51138 silently even in the chroot mode.
51140 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51143 last patch a bit. Pretty printing
51145 2010-05-31 Petr Baudis <pasky@suse.cz>
51148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51149 initialization of skip_initgroups_dyn.
51151 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51156 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51160 2010-11-11 Andreas Schwab <schwab@redhat.com>
51162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51165 ($(objpfx)tst-fnmatch-mem): New rule.
51166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51167 * posix/tst-fnmatch.c (main): Call mtrace.
51169 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51172 Support Intel processor model 6 and model 0x2c.
51174 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51179 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51182 * string/test-strncasecmp.c (check_result): New function.
51183 (do_one_test): Use it.
51184 (check1): New function.
51185 (test_main): Use it.
51186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51187 Support strcasecmp and strncasecmp.
51189 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51195 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51201 * sysdeps/x86_64/multiarch/bzero.S: New file.
51202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51204 * sysdeps/x86_64/multiarch/memset.S: New file.
51205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51207 Set bit_Prefer_SSE_for_memop for Intel processors.
51208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51210 (index_Prefer_SSE_for_memop): Define.
51211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51213 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51218 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51221 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51222 (__x86_64_raw_data_cache_size_half): Likewise.
51223 (__x86_64_raw_shared_cache_size): Likewise.
51224 (__x86_64_raw_shared_cache_size_half): Likewise.
51226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51227 (__x86_64_raw_data_cache_size_half): Likewise.
51228 (__x86_64_raw_shared_cache_size): Likewise.
51229 (__x86_64_raw_shared_cache_size_half): Likewise.
51230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51232 and __x86_64_raw_shared_cache_size_half. Round
51233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51235 to multiple of 256 bytes.
51237 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51241 of inacessible symlinks. Verify result of symlink before returning it.
51242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51245 2010-10-28 Erich Ritz <erichritz@gmail.com>
51247 * math/math.h (isinf): Fix typo in comment.
51249 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51251 * po/da.po: Update from translation team.
51253 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51256 is added to the list.
51258 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51259 Ulrich Drepper <drepper@gmail.com>
51261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51262 the global list here. Move code to...
51263 (_dl_add_to_namespace_list): ...here. New function.
51264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51266 * elf/dl-load.c (lose): Don't remove the element from the list.
51267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51268 (_dl_map_object): Likewise.
51270 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51274 into all bytes of SSE register.
51275 Patch by Richard Li <richardpku@gmail.com>.
51277 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51283 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51293 2010-10-22 Andreas Schwab <schwab@redhat.com>
51295 * include/dlfcn.h (__RTLD_SECURE): Define.
51296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51297 mode & __RTLD_SECURE instead.
51298 (open_path): Rename preloaded parameter to secure.
51299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51301 * elf/dl-deps.c (openaux): Likewise.
51302 * elf/rtld.c (struct map_args): Remove is_preloaded.
51303 (map_doit): Don't use it.
51304 (dl_main): Likewise.
51305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51308 2010-09-09 Andreas Schwab <schwab@redhat.com>
51310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51311 (sysd-rules-targets): Remove duplicates.
51312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51313 rtld-%.$o dependency.
51315 2010-10-18 Andreas Schwab <schwab@redhat.com>
51317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51318 _dl_map_object do it.
51320 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51323 fast fma builtins, define the macros in the C99 standard.
51324 (FP_FAST_FMAF): Likewise.
51325 (FP_FAST_FMAL): Likewise.
51326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51328 * bits/mathdef.h: Update copyright year.
51329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51331 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51334 builtins, define the macros in the C99 standard.
51335 (FP_FAST_FMAF): Likewise.
51336 (FP_FAST_FMAL): Likewise.
51337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51339 (FP_FAST_FMAF): Likewise.
51341 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51344 * math/libm-test.inc (fma_test): Some new testcases.
51345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51347 y and infinite z. Do multiplication by C already in long double.
51348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51350 y and infinite z. Do bitwise or of inexact bit into u.d.
51351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51353 * sysdeps/i386/fpu/s_fma.S: Removed.
51354 * sysdeps/i386/fpu/s_fmal.S: Removed.
51356 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51361 computation is not scheduled after fetestexcept. Fix value
51362 of minimum denormal long double.
51364 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51367 * math/libm-test.inc (fma_test): Add some more tests.
51368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51371 2010-10-15 Andreas Schwab <schwab@redhat.com>
51373 * scripts/data/localplt-s390-linux-gnu.data: New file.
51374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51376 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51386 if one of x and y is very large and the other is subnormal.
51387 * sysdeps/s390/fpu/s_fmaf.c: New file.
51388 * sysdeps/s390/fpu/s_fma.c: New file.
51389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51390 * sysdeps/powerpc/fpu/s_fma.S: New file.
51391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51395 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51408 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51412 * posix/bug-regex31.input: Add test case.
51414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51417 * posix/bug-regex31.input: New file.
51420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51421 (parse_sub_exp): Fix last change, use postorder.
51423 * posix/bug-regex31.c: New file.
51424 * posix/Makefile: Add rules to build and run bug-regex31.
51426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51433 to have entries in sys_siglist.
51436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51439 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51455 * math/ftestexcept.c (fetestexcept): Likewise.
51456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51470 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51472 * string/bug-strstr1.c: New file.
51473 * string/Makefile: Add rules to build and run bug-strstr1.
51475 2010-10-05 Eric Blake <eblake@redhat.com>
51478 * string/str-two-way.h (two_way_long_needle): Always clear memory
51479 when skipping input due to the shift table.
51481 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51484 * malloc/mcheck.c: Handle large requests.
51487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51488 for strncmp and strncasecmp.
51489 * string/stratcliff.c: Add tests for strcmp and strncmp.
51490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51492 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51497 2010-09-30 Andreas Jaeger <aj@suse.de>
51499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51500 (CGROUP_SUPER_MAGIC): Define.
51501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51502 Handle btrfs and cgroup file systems.
51503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51506 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51511 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51515 trying to locate the ELF header.
51517 2010-09-27 Andreas Schwab <schwab@redhat.com>
51520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51521 Mask out sign-bit copies when constructing f_fsid.
51523 2010-09-24 Petr Baudis <pasky@suse.cz>
51525 * debug/stack_chk_fail_local.c: Add missing licence exception.
51526 * debug/warning-nop.c: Likewise.
51528 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51531 implementing getdents64 using getdents syscall, set d_type if
51532 __ASSUME_GETDENTS32_D_TYPE.
51534 2010-09-16 Andreas Schwab <schwab@redhat.com>
51536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51539 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51542 * posix/unistd.h: Undo change of feature selection for ftruncate from
51545 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51550 2010-09-20 Andreas Schwab <schwab@redhat.com>
51552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51556 2010-09-14 Andreas Schwab <schwab@redhat.com>
51558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51559 variables after CHECK_SP call.
51560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51562 2010-09-13 Andreas Schwab <schwab@redhat.com>
51563 Ulrich Drepper <drepper@redhat.com>
51565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51566 re-relocationg ld.so.
51567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51568 _dl_init_paths call.
51569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51572 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51574 * resolv/res_init.c (__res_vinit): Count the default server we added.
51576 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51577 Ulrich Drepper <drepper@redhat.com>
51580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51581 (____longjmp_chk): Use %ebx for saving value across system call.
51584 2010-09-06 Andreas Schwab <schwab@redhat.com>
51586 * manual/Makefile: Don't mix pattern rules with normal rules.
51588 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51599 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51605 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51608 * sysdeps/x86_64/addmul_1.S: Likewise.
51609 * sysdeps/x86_64/lshift.S: Likewise.
51610 * sysdeps/x86_64/mul_1.S: Likewise.
51611 * sysdeps/x86_64/rshift.S: Likewise.
51612 * sysdeps/x86_64/sub_n.S: Likewise.
51613 * sysdeps/x86_64/submul_1.S: Likewise.
51615 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51618 Define __sched_param instead of SCHED_* and sched_param when
51619 <bits/sched.h> is included with __need_schedparam defined.
51620 * bits/sched.h [__need_schedparam]
51621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51623 (__defined_schedparam): Define to 1.
51624 (__sched_param): New structure, identical to sched_param.
51625 (__need_schedparam): Undefine.
51627 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51630 (epoll_create1): Declare.
51632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51634 2010-08-31 Andreas Schwab <schwab@redhat.com>
51637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51638 shifting retval into place.
51640 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51642 * nis/rpcsvc/nis.h: Update copyright notice.
51643 * nis/rpcsvc/nis.x: Likewise.
51644 * nis/rpcsvc/nis_callback.h: Likewise.
51645 * nis/rpcsvc/nis_callback.x: Likewise.
51646 * nis/rpcsvc/nis_object.x: Likewise.
51647 * nis/rpcsvc/nis_tags.h: Likewise.
51648 * nis/rpcsvc/yp.h: Likewise.
51649 * nis/rpcsvc/yp.x: Likewise.
51650 * nis/rpcsvc/ypupd.h: Likewise.
51651 * nis/yp_xdr.c: Likewise.
51652 * nis/ypupdate_xdr.c: Likewise.
51654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51655 mainly the body of pmap_getport. Add parameters to specify timeouts.
51656 (pmap_getport): Use __libc_rpc_getport.
51657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51661 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51666 2010-08-27 Roland McGrath <roland@redhat.com>
51668 * sysdeps/i386/i686/multiarch/Makefile
51669 (CFLAGS-varshift.c): New variable.
51671 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51680 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51682 * sysdeps/x86_64/strlen.S: Unroll the loop.
51683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51684 strlen-sse2 strlen-sse2-bsf.
51685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51686 __strlen_no_bsf if bit_Slow_BSF is set.
51687 (__strlen_sse42): Removed.
51688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51691 2010-08-25 Roland McGrath <roland@redhat.com>
51693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51694 * sysdeps/x86_64/multiarch/varshift.c: New file.
51695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51700 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51703 strlen-sse2 strlen-sse2-bsf.
51704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51706 (__strlen_sse2): Removed.
51707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51710 bit_Slow_BSF for Atom.
51711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51712 (index_Slow_BSF): Define.
51713 (HAS_SLOW_BSF): Define.
51715 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51718 * resolv/res_init.c (__res_vinit): When no server address at all
51719 is given default to loopback.
51721 2010-08-24 Roland McGrath <roland@redhat.com>
51723 * configure.in: Remove config-name.h generation.
51724 * configure: Regenerated.
51725 * config-name.in: File removed.
51726 * scripts/config-uname.sh: New file.
51727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51728 ($(objdir)config-name.h): New target.
51730 * sunrpc/rpc_parse.h: Avoid nested comment.
51732 2010-08-24 Richard Henderson <rth@redhat.com>
51733 Ulrich Drepper <drepper@redhat.com>
51734 H.J. Lu <hongjiu.lu@intel.com>
51736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51740 _mm_alignr_epi8 with _mm_loadu_si128.
51741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51743 (__m128i_shift_right): Removed.
51744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51746 * sysdeps/x86_64/multiarch/varshift.h: New file.
51747 * sysdeps/x86_64/multiarch/varshift.S: New file.
51749 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51751 * configure.in: Move assembler checks to before sysdep dir checking.
51753 2010-08-20 Petr Baudis <pasky@suse.cz>
51755 * LICENSES: Sync the sunrpc license.
51757 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51759 * sunrpc/auth_des.c: Update copyright notice once again.
51760 * sunrpc/auth_none.c: Likewise.
51761 * sunrpc/auth_unix.c: Likewise.
51762 * sunrpc/authdes_prot.c: Likewise.
51763 * sunrpc/authuxprot.c: Likewise.
51764 * sunrpc/bindrsvprt.c: Likewise.
51765 * sunrpc/clnt_gen.c: Likewise.
51766 * sunrpc/clnt_perr.c: Likewise.
51767 * sunrpc/clnt_raw.c: Likewise.
51768 * sunrpc/clnt_simp.c: Likewise.
51769 * sunrpc/clnt_tcp.c: Likewise.
51770 * sunrpc/clnt_udp.c: Likewise.
51771 * sunrpc/clnt_unix.c: Likewise.
51772 * sunrpc/des_crypt.c: Likewise.
51773 * sunrpc/des_soft.c: Likewise.
51774 * sunrpc/get_myaddr.c: Likewise.
51775 * sunrpc/getrpcport.c: Likewise.
51776 * sunrpc/key_call.c: Likewise.
51777 * sunrpc/key_prot.c: Likewise.
51778 * sunrpc/openchild.c: Likewise.
51779 * sunrpc/pm_getmaps.c: Likewise.
51780 * sunrpc/pm_getport.c: Likewise.
51781 * sunrpc/pmap_clnt.c: Likewise.
51782 * sunrpc/pmap_prot.c: Likewise.
51783 * sunrpc/pmap_prot2.c: Likewise.
51784 * sunrpc/pmap_rmt.c: Likewise.
51785 * sunrpc/rpc/auth.h: Likewise.
51786 * sunrpc/rpc/auth_unix.h: Likewise.
51787 * sunrpc/rpc/clnt.h: Likewise.
51788 * sunrpc/rpc/des_crypt.h: Likewise.
51789 * sunrpc/rpc/key_prot.h: Likewise.
51790 * sunrpc/rpc/netdb.h: Likewise.
51791 * sunrpc/rpc/pmap_clnt.h: Likewise.
51792 * sunrpc/rpc/pmap_prot.h: Likewise.
51793 * sunrpc/rpc/pmap_rmt.h: Likewise.
51794 * sunrpc/rpc/rpc.h: Likewise.
51795 * sunrpc/rpc/rpc_des.h: Likewise.
51796 * sunrpc/rpc/rpc_msg.h: Likewise.
51797 * sunrpc/rpc/svc.h: Likewise.
51798 * sunrpc/rpc/svc_auth.h: Likewise.
51799 * sunrpc/rpc/types.h: Likewise.
51800 * sunrpc/rpc/xdr.h: Likewise.
51801 * sunrpc/rpc_clntout.c: Likewise.
51802 * sunrpc/rpc_cmsg.c: Likewise.
51803 * sunrpc/rpc_common.c: Likewise.
51804 * sunrpc/rpc_cout.c: Likewise.
51805 * sunrpc/rpc_dtable.c: Likewise.
51806 * sunrpc/rpc_hout.c: Likewise.
51807 * sunrpc/rpc_main.c: Likewise.
51808 * sunrpc/rpc_parse.c: Likewise.
51809 * sunrpc/rpc_parse.h: Likewise.
51810 * sunrpc/rpc_prot.c: Likewise.
51811 * sunrpc/rpc_sample.c: Likewise.
51812 * sunrpc/rpc_scan.c: Likewise.
51813 * sunrpc/rpc_scan.h: Likewise.
51814 * sunrpc/rpc_svcout.c: Likewise.
51815 * sunrpc/rpc_tblout.c: Likewise.
51816 * sunrpc/rpc_util.c: Likewise.
51817 * sunrpc/rpc_util.h: Likewise.
51818 * sunrpc/rpcinfo.c: Likewise.
51819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51820 * sunrpc/rpcsvc/key_prot.x: Likewise.
51821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51822 * sunrpc/rpcsvc/mount.x: Likewise.
51823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51825 * sunrpc/rpcsvc/rex.x: Likewise.
51826 * sunrpc/rpcsvc/rstat.x: Likewise.
51827 * sunrpc/rpcsvc/rusers.x: Likewise.
51828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51829 * sunrpc/rpcsvc/spray.x: Likewise.
51830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51831 * sunrpc/rtime.c: Likewise.
51832 * sunrpc/svc.c: Likewise.
51833 * sunrpc/svc_auth.c: Likewise.
51834 * sunrpc/svc_authux.c: Likewise.
51835 * sunrpc/svc_raw.c: Likewise.
51836 * sunrpc/svc_run.c: Likewise.
51837 * sunrpc/svc_simple.c: Likewise.
51838 * sunrpc/svc_tcp.c: Likewise.
51839 * sunrpc/svc_udp.c: Likewise.
51840 * sunrpc/svc_unix.c: Likewise.
51841 * sunrpc/svcauth_des.c: Likewise.
51842 * sunrpc/xcrypt.c: Likewise.
51843 * sunrpc/xdr.c: Likewise.
51844 * sunrpc/xdr_array.c: Likewise.
51845 * sunrpc/xdr_float.c: Likewise.
51846 * sunrpc/xdr_mem.c: Likewise.
51847 * sunrpc/xdr_rec.c: Likewise.
51848 * sunrpc/xdr_ref.c: Likewise.
51849 * sunrpc/xdr_sizeof.c: Likewise.
51850 * sunrpc/xdr_stdio.c: Likewise.
51852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51855 2010-08-19 Andreas Schwab <schwab@redhat.com>
51857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51859 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51876 2010-07-26 Anton Blanchard <anton@samba.org>
51878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51879 * malloc/arena.c (heap_trim): Likewise.
51881 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51888 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51890 * sysdeps/i386/elf/Makefile: New file.
51892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51895 from fanotify_init.
51896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51899 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51903 * sysdeps/multiarch/strcmp.S: Likewise.
51905 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51908 strncase_l-nonascii.
51909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51910 Add strncase_l-ssse3.
51911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51912 * sysdeps/x86_64/strcmp.S: Likewise.
51913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51915 * sysdeps/x86_64/strncase.S: New file.
51916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51917 * sysdeps/x86_64/strncase_l.S: New file.
51918 * string/Makefile (strop-tests): Add strncasecmp.
51919 * string/test-strncasecmp.c: New file.
51921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51927 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51931 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51937 2010-05-01 Alan Modra <amodra@gmail.com>
51939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51944 tidying. Don't tail-call __sigjmp_save for static lib.
51945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51948 (CALL_MCOUNT): Add eh info, and nop after bl.
51949 (TAIL_CALL_SYSCALL_ERROR): New macro.
51950 (PSEUDO_RET): Use it.
51951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51952 Correct save location of integer regs and cr.
51953 (_dl_profile_resolve): Correct cr save location. Delete nops
51954 after bl when SHARED. Reduce cfi size a little by better
51955 placement of cfi directives.
51956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51957 make a stack frame. Instead use parm save area as a temp.
51958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51961 Don't make a stack frame for parent, use parm save area.
51962 Increase child stack frame to 112 bytes. Don't save unused reg,
51963 and adjust reg usage. Set up cfi on error recovery and
51964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51966 (__makecontext): Add dummy nop after jump to exit.
51967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51968 Use correct parm save area and cr save, reduce stack frame.
51969 Correct cfi for possible PSEUDO_RET frame setup.
51970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51971 Branch to local label emitted by PSEUDO_RET rather than
51974 2010-08-12 Andreas Schwab <schwab@redhat.com>
51977 * locale/programs/locale.c (print_assignment): New function.
51978 (show_locale_vars): Use it.
51980 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51984 (struct statfs64): Likewise.
51985 (_STATFS_F_FLAGS): Define.
51986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51989 (ST_VALID): Define locally.
51990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51991 __statvfs_getflags, use the provided value.
51992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51993 __ASSUME_STATFS_F_FLAGS.
51995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51998 Add sys/fanotify.h.
51999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52000 fanotify_mask for GLIBC_2.13.
52001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52002 fanotify_init and fanotify_mark.
52003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52009 prlimit64 for GLIBC_2.13.
52010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52026 * nss/Makefile: Add rules to build and run tst-nss-test1.
52027 * shlib-versions: Add entry for libnss_test1.
52028 * nss/nss_test1.c: New file.
52029 * nss/tst-nss-test1.c: New file.
52031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52032 (__nss_configure_lookup): Set appropriate entry in
52033 __nss_configure_lookup to true.
52034 * nss/nsswitch.h: Define enum with indeces of databases in
52035 databases and __nss_database_custom arrays. Declare
52036 __nss_database_custom.
52037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52038 to avoid using nscd when custom rules are installed.
52039 * nss/getXXbyYY_r.c: Likewise.
52040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52042 * nss/nss_files/files-parse.c: Whitespace fixes.
52044 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52048 * posix/fnmatch_loop.c: Likewise.
52050 2010-07-17 Andi Kleen <ak@linux.intel.com>
52052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52055 * Versions.def [GLIBC_2.13]: Add.
52057 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52060 Also fail if tpwd after pwuid call is NULL.
52062 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52065 when converting to ms.
52067 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52070 EOPNOTSUPP errors with ENOTTY.
52071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52072 EOPNOTSUPP errors with ENOTTY.
52074 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52077 Add strcasecmp_l-ssse3.
52078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52084 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52088 * string/Makefile (strop-tests): Add strcasecmp.
52089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52090 strcasecmp_l-nonascii.
52091 (gen-as-const-headers): Add locale-defines.sym.
52092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52093 * sysdeps/x86_64/strcasecmp.S: New file.
52094 * sysdeps/x86_64/strcasecmp_l.S: New file.
52095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52096 * sysdeps/x86_64/locale-defines.sym: New file.
52097 * string/test-strcasecmp.c: New file.
52099 * string/test-strcasestr.c: Test both ends of the range of characters.
52100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52102 2010-07-29 Roland McGrath <roland@redhat.com>
52105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52107 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52112 2010-07-27 Andreas Schwab <schwab@redhat.com>
52114 * manual/memory.texi (Malloc Tunable Parameters): Document
52117 2010-07-26 Roland McGrath <roland@redhat.com>
52120 * configure.in (-fgnu89-inline check): Set and substitute
52121 gnu89_inline, not libc_cv_gnu89_inline.
52122 * configure: Regenerated.
52123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52125 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52127 * string/test-strnlen.c: New file.
52128 * string/Makefile (strop-tests): Add strnlen.
52129 * string/tester.c (test_strnlen): Add a few more test cases.
52130 * string/tst-strlen.c: Better error reporting.
52132 * sysdeps/x86_64/strnlen.S: New file.
52134 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52137 lower-latency instructions.
52139 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52141 * string/test-strcasestr.c: New file.
52142 * string/test-strstr.c: New file.
52143 * string/Makefile (strop-tests): Add strstr and strcasestr.
52144 * string/str-two-way.h: Don't undefine MAX.
52145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52147 2010-07-21 Andreas Schwab <schwab@redhat.com>
52149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52150 strcasestr-nonascii.
52151 (CFLAGS-strcasestr-nonascii.c): Define.
52152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52154 Remove unused attribute.
52156 2010-07-20 Roland McGrath <roland@redhat.com>
52158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52160 ld.so.cache was broken. With it, there is no way to disable dsocaps
52161 like LD_HWCAP_MASK can disable hwcaps.
52163 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52167 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52170 call in strcasestr.
52171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52172 __strcasestr_sse42_nonascii.
52173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52174 strcasestr-nonascii.c.
52175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52177 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52184 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52189 2010-07-06 Andreas Schwab <schwab@redhat.com>
52192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52195 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52198 _PC_PIPE_BUF using F_GETPIPE_SZ.
52200 2010-07-05 Roland McGrath <roland@redhat.com>
52202 * manual/arith.texi (Rounding Functions): Fix rint description
52203 implicit in round description.
52205 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52207 * elf/Makefile: Fix linking for a few tests to make recent linker
52210 2010-06-30 Andreas Schwab <schwab@redhat.com>
52212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52213 $(common-objpfx)libc_nonshared.a.
52215 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52266 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52270 * string/memmove.c (memmove): Renamed to ...
52271 (MEMMOVE): ...this. Default to memmove.
52272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52277 mempcpy-ssse3-back memmove-ssse3-back.
52278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52285 * sysdeps/x86_64/multiarch/memmove.c: New file.
52286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52293 (index_Fast_Copy_Backward): Define.
52294 (HAS_ARCH_FEATURE): Define.
52295 (HAS_FAST_REP_STRING): Define.
52296 (HAS_FAST_COPY_BACKWARD): Define.
52298 2010-06-21 Andreas Schwab <schwab@redhat.com>
52300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52301 Restore proper fallback handling.
52303 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52306 * posix/group_member.c (__group_member): Correct checking loop.
52308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52309 OOM in getpwuid_r correctly. Return error number when the caller
52310 should return, otherwise -1.
52311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52312 call returning > 0 value.
52313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52315 2010-06-07 Andreas Schwab <schwab@redhat.com>
52317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52318 libc_nonshared.a from targets in modules-names.
52320 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52325 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52332 2010-06-02 Andreas Schwab <schwab@redhat.com>
52334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52336 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52347 2010-06-14 Roland McGrath <roland@redhat.com>
52349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52351 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52354 __REDIRECT followed by __THROW.
52355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52356 * posix/getopt.h (getopt): Likewise.
52358 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52367 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52371 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52375 Properly check family and model.
52377 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52381 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52385 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52390 2010-05-19 Andreas Schwab <schwab@redhat.com>
52392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52395 2010-05-21 Andreas Schwab <schwab@redhat.com>
52397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52398 and internal_recvmmsg.
52399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52408 2010-05-20 Andreas Schwab <schwab@redhat.com>
52410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52412 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52414 POWER7 optimizations.
52415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52418 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52420 * version.h: Update for 2.13 development version.
52422 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52425 exceptions. Return 0.
52427 2010-05-07 Roland McGrath <roland@redhat.com>
52429 * elf/ldconfig.c (main): Add a const.
52431 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52434 (args_options): Add no-idn option.
52435 (ahosts_keys_int): Add idn_flags to ai_flags.
52436 (parse_option): Handle 'i' option to clear idn_flags.
52438 * malloc/malloc.c (_int_free): Possible race in the most recently
52439 added check. Only act on the data if no current modification
52442 See ChangeLog.17 for earlier changes.